CVE-2024-27072 media: usbtv: Remove useless locks in usbtv_video_free()

Medium 5.5 Published Updated

A race condition in the usbtv video driver can cause a deadlock during device disconnection, leading to a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-27072?

CVE-2024-27072 is a medium-severity vulnerability in Linux kernel, published on 1 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

media: usbtv: Remove useless locks in usbtv_video_free()

Remove locks calls in usbtv_video_free() because are useless and may led to a deadlock as reported here: https://syzkaller.appspot.com/x/bisect.txt?x=166dc872180000 Also remove usbtv_stop() 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]

Weakness: CWE-667

Which versions are affected by CVE-2024-27072?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-27072?

Apply the vendor's patch.

Is CVE-2024-27072 being exploited?

There is no known exploitation of CVE-2024-27072 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-27072, DEBIAN-CVE-2024-27072, GHSA-cx5c-hrvr-85gj, UBUNTU-CVE-2024-27072.

Is CVE-2024-27072 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free