CVE-2023-52493 bus: mhi: host: Drop chan lock before queuing buffers

Medium 5.5 Published Updated

A race condition in the Linux kernel MHI host driver can cause a soft lockup and denial of service when queuing buffers.

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-2023-52493?

CVE-2023-52493 is a medium-severity vulnerability in Linux kernel, published on 29 Feb 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:

bus: mhi: host: Drop chan lock before queuing buffers

Ensure read and write locks for the channel are not taken in succession by dropping the read lock from parse_xfer_event() such that a callback given to client can potentially queue buffers and acquire the write lock in that process. Any queueing of buffers should be done without channel read lock acquired as it can result in multiple locks and a soft lockup.

[mani: added fixes tag and cc'ed stable]

Weakness: CWE-667

Which versions are affected by CVE-2023-52493?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52493?

Apply the vendor's patch.

Is CVE-2023-52493 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52493, DEBIAN-CVE-2023-52493, GHSA-7vjh-prmq-cfm3, UBUNTU-CVE-2023-52493.

Is CVE-2023-52493 in your software?

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

Check your SBOMs for free