Skip to content
7.8 High

CVE-2024-58002 In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Remove dangling pointers When an…

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.

Affected products and versions

Product Affected versions Fixed in
Linux 6.14 earliest → < 6.14 6.14
Linux 6.13 earliest → < 6.13.3 6.13.3
Linux 6.12 earliest → < 6.12.14 6.12.14
Linux 6.6 earliest → < 6.6.80 6.6.80
Linux 6.1 earliest → < 6.1.130 6.1.130
Linux 5.15 earliest → < 5.15.179 5.15.179
Linux 5.10 earliest → < 5.10.235 5.10.235
Linux 5.4 earliest → < 5.4.291 5.4.291
Linux 4.19 No fix stated
Show the other branch
Product Affected versions Fixed in
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Versions not published
The 18286 CVEs of Linux →
Track this CVE