High severity · published Feb 27, 2025
CVE-2024-58002
media: uvcvideo: Remove dangling pointers
7.8
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 17% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
4.19 before 6.6.80; 6.7 before 6.12.14; 6.13 before 6.13.3 · source: NVD
LI
Linux · Linux
e5225c820c057537dc780244760e2e24c7d27366 before 2a29413ace64627e178fd422dd8a5d95219a2c0b; e5225c820c057537dc780244760e2e24c7d27366 before 653993f46861f2971e95e9a0e36a34b49dec542c; e5225c820c057537dc780244760e2e24c7d27366 before 117f7a2975baa4b7d702d3f4830d5a4ebd0c6d50; e5225c820c057537dc780244760e2e24c7d27366 before ac18d781466252cd35a3e311e0a4b264260fd927; e5225c820c057537dc780244760e2e24c7d27366 before 4dbaa738c583a0e947803c69e8996e88cf98d971; e5225c820c057537dc780244760e2e24c7d27366 before 438bda062b2c40ddd7df23b932e29ffe0a448cac; +3 more · source: vendor
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
0 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-58002
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-58002
git.kernel.org
https://git.kernel.org/stable/c/117f7a2975baa4b7d702d3f4830d5a4ebd0c6d50
Patch
https://git.kernel.org/stable/c/221cd51efe4565501a3dbf04cc011b537dcce7fb
git.kernel.org
https://git.kernel.org/stable/c/2a29413ace64627e178fd422dd8a5d95219a2c0b
Patch
https://git.kernel.org/stable/c/438bda062b2c40ddd7df23b932e29ffe0a448cac
Patch
https://git.kernel.org/stable/c/4dbaa738c583a0e947803c69e8996e88cf98d971
git.kernel.org
https://git.kernel.org/stable/c/653993f46861f2971e95e9a0e36a34b49dec542c
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
