CVE-2024-26654
Last modified
CVE-2024-26654 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.23, < 4.19.312 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.274 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.215 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.154 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.84 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.24 | — |
| Linux | Linux Kernel | >= 6.7, < 6.7.12 | — |
| Linux | Linux Kernel | >= 6.8, < 6.8.3 | — |
| Linux | Linux Kernel | 6.9 | Rc1 |
| Debian | Debian Linux | 10.0 | — |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-26654?
How severe is CVE-2024-26654?
How do I fix CVE-2024-26654?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-26649In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-2665The Premium Addons for Elementor plugin for WordPress is vul…6.4
- CVE-2024-26650Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-26651In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26652In the Linux kernel, the following vulnerability has been re…4.1
- CVE-2024-26653In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-26655In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26656In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26657In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26658In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26659In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-2666The Premium Addons for Elementor plugin for WordPress is vul…5.4
Are you affected by CVE-2024-26654?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
