CVE-2024-27072: media: usbtv: Remove useless locks in usbtv_video_free()
In the Linux kernel, the following vulnerability has been resolved:
media: usbtv: Remove useless locks in usbtvvideofree()
Remove locks calls in usbtvvideofree() because are useless and may led to a deadlock as reported here: https://syzkaller.appspot.com/x/bisect.txt?x=166dc872180000 Also remove usbtvstop() call since it will be called when unregistering the device.
Before 'c838530d230b' this issue would only be noticed if you disconnect while streaming and now it is noticeable even when disconnecting while not streaming.
[hverkuil: fix minor spelling mistake in log message]
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.115-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.8.9-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Compensating control
In the Linux kernel media usbtv driver, remove the lock calls from usbtv_video_free() to prevent a deadlock, and remove the usbtv_stop() call because it is invoked when unregistering the device.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-27072?
CVE-2024-27072 is classified as a low severity vulnerability due to its limited impact.
How do I fix CVE-2024-27072?
To fix CVE-2024-27072, upgrade your Linux kernel to version 6.1.123-1 or later.
Which Linux kernel versions are affected by CVE-2024-27072?
CVE-2024-27072 affects Linux kernel versions prior to 5.10.226-1.
What components of the Linux kernel are impacted by CVE-2024-27072?
CVE-2024-27072 impacts the media subsystem, specifically the usbtv module.
What issues does CVE-2024-27072 address in the Linux kernel?
CVE-2024-27072 addresses unnecessary locking mechanisms in the usbtv_video_free function that could lead to deadlocks.