CVE-2024-58002
published high CVSS 3.1 · 7.8media: uvcvideo: Remove dangling pointers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe5225c820c057537dc780244760e2e24c7d27366 to < 2a29413ace64627e178fd422dd8a5d95219a2c0b · e5225c820c057537dc780244760e2e24c7d27366 to < 653993f46861f2971e95e9a0e36a34b49dec542c · e5225c820c057537dc780244760e2e24c7d27366 to < 117f7a2975baa4b7d702d3f4830d5a4ebd0c6d50 · e5225c820c057537dc780244760e2e24c7d27366 to < ac18d781466252cd35a3e311e0a4b264260fd927 · e5225c820c057537dc780244760e2e24c7d27366 to < 4dbaa738c583a0e947803c69e8996e88cf98d971 · e5225c820c057537dc780244760e2e24c7d27366 to < 438bda062b2c40ddd7df23b932e29ffe0a448cac · e5225c820c057537dc780244760e2e24c7d27366 to < 9edc7d25f7e49c33a1ce7a5ffadea2222065516c · e5225c820c057537dc780244760e2e24c7d27366 to < 221cd51efe4565501a3dbf04cc011b537dcce7fb · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.19 (affected) · 0 to < 4.19 (unaffected · semver) · 5.4.291 through 5.4.* (unaffected · semver) · 5.10.235 through 5.10.* (unaffected · semver) · 5.15.179 through 5.15.* (unaffected · semver) · 6.1.130 through 6.1.* (unaffected · semver) · 6.6.80 through 6.6.* (unaffected · semver) · 6.12.14 through 6.12.* (unaffected · semver) · 6.13.3 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-55.22.1.el10_0 | ALSA-2025:11428 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-55.22.1.el10_0 | ALSA-2025:11428 |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.62.1.rt7.403.el8_10 | ALSA-2025:11299 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.62.1.rt7.403.el8_10 | ALSA-2025:11299 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.62.1.rt7.403.el8_10 | ALSA-2025:11299 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.62.1.rt7.403.el8_10 | ALSA-2025:11299 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.62.1.rt7.403.el8_10 | ALSA-2025:11299 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.62.1.rt7.403.el8_10 | ALSA-2025:11299 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.62.1.rt7.403.el8_10 | ALSA-2025:11299 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.62.1.rt7.403.el8_10 | ALSA-2025:11299 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.62.1.rt7.403.el8_10 | ALSA-2025:11299 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.62.1.rt7.403.el8_10 | ALSA-2025:11299 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.62.1.el8_10 | ALSA-2025:11298 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-kvm | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-kvm | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Remove dangling pointers When an async control is written, we copy a pointer to the file handle that started the operation. That pointer will be used when the device is done. Which could be anytime in the future. If the user closes that file descriptor, its structure will be freed, and there will be one dangling pointer per pending async control, that the driver will try to use. Clean all the dangling pointers during release(). To avoid adding a performance penalty in the most common case (no async operation), a counter has been introduced with some logic to make sure that it is properly handled.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached entirely through local syscalls on the video character device — VIDIOC_S_EXT_CTRLS followed by close() on /dev/videoN. No physical access or device insertion is needed since the camera is already attached and its normal async-control interrupt drives the use of the stale pointer. AC:L - The attacker controls both halves: they choose when to set the asynchronous control and when to close the fd, and can spray the generic kmalloc slab to reclaim the freed uvc_fh before the status event fires. The use can even be forced synchronously in the same close() via uvc_status_put()->uvc_status_stop()->cancel_work_sync(), and the whole sequence is freely repeatable. PR:L - Only read/write access to /dev/videoN is required — no capability check exists anywhere on the uvc_ctrl_set/commit path. That access is granted to the ordinary logged-in user via logind ACLs or the video group, and to unprivileged camera services on Android/ChromeOS. UI:N - The attacker performs every step themselves — open, set async control, close — with no victim action required. The control-change interrupt that consumes the dangling pointer is autonomous device behaviour. S:U - The freed object and the code that uses it are both kernel-resident in the uvcvideo driver; no VM, IOMMU, or sandbox boundary is crossed. This is a standard same-authority kernel memory-safety defect. C:H - A pointer to a freed uvc_fh persists in device-scoped uvc_control state and is reclaimable at will from unprivileged userspace, so the driver operates on an attacker- or victim-controlled aliased slab object treated as a struct v4l2_fh. Consistent with use-after-free scoring, this yields high confidentiality impact through control over freed-object contents and leakage of another handle's control-event stream. I:H - The stale pointer is the identity token gating event routing, so reclaiming the slot lets an attacker corrupt which file handles receive control-change notifications and type-confuse the reallocated object. Use-after-free conditions of this kind are scored as enabling heap-spray-based write primitives and control-flow corruption. A:H - One dangling pointer is left per pending async control in long-lived per-device structures, and the driver subsequently consumes it — a use-after-free that can crash or destabilize the kernel, and which the attacker can re-arm indefinitely by looping open/set/close.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e5225c820c057537dc780244760e2e24c7d27366 to < 2a29413ace64627e178fd422dd8a5d95219a2c0b (affected · git)e5225c820c057537dc780244760e2e24c7d27366 to < 653993f46861f2971e95e9a0e36a34b49dec542c (affected · git)e5225c820c057537dc780244760e2e24c7d27366 to < 117f7a2975baa4b7d702d3f4830d5a4ebd0c6d50 (affected · git)e5225c820c057537dc780244760e2e24c7d27366 to < ac18d781466252cd35a3e311e0a4b264260fd927 (affected · git)e5225c820c057537dc780244760e2e24c7d27366 to < 4dbaa738c583a0e947803c69e8996e88cf98d971 (affected · git)e5225c820c057537dc780244760e2e24c7d27366 to < 438bda062b2c40ddd7df23b932e29ffe0a448cac (affected · git)e5225c820c057537dc780244760e2e24c7d27366 to < 9edc7d25f7e49c33a1ce7a5ffadea2222065516c (affected · git)e5225c820c057537dc780244760e2e24c7d27366 to < 221cd51efe4565501a3dbf04cc011b537dcce7fb (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.19 (affected)0 to < 4.19 (unaffected · semver)5.4.291 through 5.4.* (unaffected · semver)5.10.235 through 5.10.* (unaffected · semver)5.15.179 through 5.15.* (unaffected · semver)6.1.130 through 6.1.* (unaffected · semver)6.6.80 through 6.6.* (unaffected · semver)6.12.14 through 6.12.* (unaffected · semver)6.13.3 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 and later (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
0No weakness assertions.
References
11- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
- https://git.kernel.org/stable/c/117f7a2975baa4b7d702d3f4830d5a4ebd0c6d50
- https://git.kernel.org/stable/c/221cd51efe4565501a3dbf04cc011b537dcce7fb
- https://git.kernel.org/stable/c/2a29413ace64627e178fd422dd8a5d95219a2c0b
- https://git.kernel.org/stable/c/438bda062b2c40ddd7df23b932e29ffe0a448cac
- https://git.kernel.org/stable/c/4dbaa738c583a0e947803c69e8996e88cf98d971
- https://git.kernel.org/stable/c/653993f46861f2971e95e9a0e36a34b49dec542c
- https://git.kernel.org/stable/c/9edc7d25f7e49c33a1ce7a5ffadea2222065516c
- https://git.kernel.org/stable/c/ac18d781466252cd35a3e311e0a4b264260fd927
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Provider assertions
4Linux · cna
media: uvcvideo: Remove dangling pointers
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3e38c4b60dd2e4ba17af9a8ee725bdd7e7b7d498109bb357d26a69bca8426174
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record