CVE-2024-57893·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: oss: Fix races at processing SysEx messages OSS sequencer handles the SysEx messages split in 6 bytes packets, and ALSA sequencer OSS layer tries to combine those. It stores the data in the internal buffer and this access is racy as of now, which may lead to the out-of-bounds access. As a temporary band-aid fix, introduce a mutex for serializing the process of the SysEx message packets.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.12.9
- Published
- 2025-01-15
Affected versions
From: 6.7
Until: 6.12.9
Fixed in: 6.12.9
How to fix this CVE
Update your Linux kernel to version 6.12.9 or later to resolve a race condition in the ALSA sequencer OSS layer that processes MIDI SysEx messages. This vulnerability allows a local user with ALSA privileges to trigger out-of-bounds memory access by exploiting concurrent access to shared SysEx packet buffers. Applying the kernel update will patch the synchronization mechanism that protects these buffers.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and verify it is between 6.7.x and 6.12.8 inclusive
- Step 2: Verify ALSA sequencer OSS support is loaded by running `lsmod | grep snd_seq_oss`
- Step 3: Search system logs for SysEx-related errors with `sudo journalctl -xe | grep -i sysex` or `sudo grep -i sysex /var/log/kern.log`
- Step 4: After patching, confirm the new kernel version with `uname -r` and verify it shows 6.12.9 or later, then reboot to activate
FAQ
What is CVE-2024-57893?
CVE-2024-57893 is a race condition in the Linux kernel's ALSA sequencer OSS layer that improperly handles MIDI SysEx message fragments. When multiple processes access the internal SysEx buffer concurrently, an out-of-bounds memory read or write can occur, potentially causing kernel crashes or privilege escalation.
Is CVE-2024-57893 being actively exploited?
No, CVE-2024-57893 is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits have been released. However, it requires local access with ALSA privileges to trigger.
What versions of Kernel are affected by CVE-2024-57893?
Linux kernel versions 6.7.0 through 6.12.8 are vulnerable. Version 6.12.9 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-57893?
Run `uname -r` to display your kernel version. If the output shows 6.7.x through 6.12.8, your system is vulnerable. Cross-reference against your distribution's security advisories for exact patched versions.
Does Defensia detect CVE-2024-57893?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If a vulnerable kernel version is detected on a monitored server, CVE-2024-57893 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0179488ca992d79908b8e26b9213f1554fc5bacc
- https://git.kernel.org/stable/c/9d382112b36382aa65aad765f189ebde9926c101
- https://git.kernel.org/stable/c/cff1de87ed14fc0f2332213d2367100e7ad0753a
- https://git.kernel.org/stable/c/d2392b79d8af3714ea8878b71c66dc49d3110f44
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-57893. Free for 1 server.
Get started free