CVE-2024-26654·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs The dreamcastcard->timer could schedule the spu_dma_work and the spu_dma_work could also arm the dreamcastcard->timer. When the snd_pcm_substream is closing, the aica_channel will be deallocated. But it could still be dereferenced in the worker thread. The reason is that del_timer() will return directly regardless of whether the timer handler is running or not and the worker could be rescheduled in the timer handler. As a result, the UAF bug will happen. The racy situation is shown below: (Thread 1) | (Thread 2) snd_aicapcm_pcm_close() | ... | run_spu_dma() //worker | mod_timer() flush_work() | del_timer() | aica_period_elapsed() //timer kfree(dreamcastcard->channel) | schedule_work() | run_spu_dma() //worker ... | dreamcastcard->channel-> //USE In order to mitigate this bug and other possible corner cases, call mod_timer() conditionally in run_spu_dma(), then implement PCM sync_stop op to cancel both the timer and worker. The sync_stop op will be called from PCM core appropriately when needed.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2024-26654 scores 7 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.8
Until: 6.8.3
Fixed in: 6.8.3
How to fix this CVE
Update your Linux kernel to version 6.8.3 or later to resolve a use-after-free vulnerability in the ALSA sound driver for Dreamcast hardware. This flaw could allow local privileged attackers to cause kernel memory corruption through improper synchronization between timer and worker thread cleanup operations. Ensure your system fully reboots after applying the kernel update to activate the patched version.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r | grep -E '^6\.8\.[0-3]$' — if output appears, you are vulnerable
- Verify ALSA Dreamcast driver is loaded: lsmod | grep snd_aica — if empty, the vulnerable component is not present
- Monitor kernel logs for memory corruption signs: sudo dmesg | grep -i 'use.after.free\|UAF\|spu_dma\|aica' — exploitation may trigger kernel oops messages
- After patching, confirm kernel version: uname -r | grep -E '^6\.8\.[4-9]|6\.[9-9]' — should return patched version
FAQ
What is CVE-2024-26654?
CVE-2024-26654 is a use-after-free vulnerability in the Linux kernel's ALSA Dreamcast sound driver where improper synchronization between a timer and worker thread allows deallocation of audio channel memory while it is still being referenced, leading to kernel memory corruption.
Is CVE-2024-26654 being actively exploited?
No, CVE-2024-26654 is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available. However, it still poses a significant risk for local privilege escalation on affected systems.
What versions of Kernel are affected by CVE-2024-26654?
Kernel versions 6.8 through 6.8.3 are affected. The vulnerability was patched in kernel 6.8.3 and later versions.
How do I check if my server is vulnerable to CVE-2024-26654?
Run 'uname -r' and check if the output matches 6.8.0, 6.8.1, 6.8.2, or 6.8.3. If it does, your system is vulnerable. Then verify the ALSA Dreamcast driver is present with 'lsmod | grep snd_aica'.
Does Defensia detect CVE-2024-26654?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-26654 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/051e0840ffa8ab25554d6b14b62c9ab9e4901457
- https://git.kernel.org/stable/c/3c907bf56905de7d27b329afaf59c2fb35d17b04
- https://git.kernel.org/stable/c/4206ad65a0ee76920041a755bd3c17c6ba59bba2
- https://git.kernel.org/stable/c/61d4787692c1fccdc268ffa7a891f9c149f50901
- https://git.kernel.org/stable/c/8c990221681688da34295d6d76cc2f5b963e83f5
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-26654. Free for 1 server.
Get started free