CVE-2024-44954 ALSA: line6: Fix racy access to midibuf
A race condition in the ALSA line6 driver allows concurrent access to midibuf, potentially causing system instability or crashes.
- 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-44954?
CVE-2024-44954 is a high-severity vulnerability in Linux kernel, published on 4 Sep 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:
ALSA: line6: Fix racy access to midibuf
There can be concurrent accesses to line6 midibuf from both the URB completion callback and the rawmidi API access. This could be a cause of KMSAN warning triggered by syzkaller below (so put as reported-by here).
This patch protects the midibuf call of the former code path with a spinlock for avoiding the possible races.
Weakness: CWE-362
Which versions are affected by CVE-2024-44954?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-44954?
Apply the vendor's patch.
Is CVE-2024-44954 being exploited?
There is no known exploitation of CVE-2024-44954 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-44954, DEBIAN-CVE-2024-44954, GHSA-gh37-h7xr-7hj2, UBUNTU-CVE-2024-44954.