cbcvebase.
CVE-2024-26654
published 2024-04-01

CVE-2024-26654: In the Linux kernel, the following vulnerability has been resolved: ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs The dreamcastcard->timer could…

PriorityP429high7CVSS 3.1
AVLACHPRLUINSUCHIHAH
EPSS
0.26%
17.0th percentile
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.

Affected

30 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.85-1 (bookworm)linux 6.1.85-1 (bookworm)
linuxlinux
linuxlinux>= 198de43d758ca2700e2b52b49c0b189b4931466c < eeb2a2ca0b8de7e1c66afaf719529154e7dc60b2eeb2a2ca0b8de7e1c66afaf719529154e7dc60b2
linuxlinux>= 198de43d758ca2700e2b52b49c0b189b4931466c < 4206ad65a0ee76920041a755bd3c17c6ba59bba24206ad65a0ee76920041a755bd3c17c6ba59bba2
linuxlinux>= 198de43d758ca2700e2b52b49c0b189b4931466c < aa39e6878f61f50892ee2dd9d2176f72020be845aa39e6878f61f50892ee2dd9d2176f72020be845
linuxlinux>= 198de43d758ca2700e2b52b49c0b189b4931466c < 8c990221681688da34295d6d76cc2f5b963e83f58c990221681688da34295d6d76cc2f5b963e83f5
linuxlinux>= 198de43d758ca2700e2b52b49c0b189b4931466c < 9d66ae0e7bb78b54e1e0525456c6b54e1d1320469d66ae0e7bb78b54e1e0525456c6b54e1d132046
linuxlinux>= 198de43d758ca2700e2b52b49c0b189b4931466c < 61d4787692c1fccdc268ffa7a891f9c149f5090161d4787692c1fccdc268ffa7a891f9c149f50901
linuxlinux>= 198de43d758ca2700e2b52b49c0b189b4931466c < e955e8a7f38a856fc6534ba4e6bffd4d5cc80ac3e955e8a7f38a856fc6534ba4e6bffd4d5cc80ac3
linuxlinux>= 198de43d758ca2700e2b52b49c0b189b4931466c < 3c907bf56905de7d27b329afaf59c2fb35d17b043c907bf56905de7d27b329afaf59c2fb35d17b04
linuxlinux>= 198de43d758ca2700e2b52b49c0b189b4931466c < 051e0840ffa8ab25554d6b14b62c9ab9e4901457051e0840ffa8ab25554d6b14b62c9ab9e4901457
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.216-15.10.216-1
linuxlinux_kernel>= 0 < 6.1.85-16.1.85-1
linuxlinux_kernel>= 0 < 6.7.12-16.7.12-1
linuxlinux_kernel>= 0 < 6.7.12-16.7.12-1
linuxlinux_kernel>= 0 < 5.4.0-189.2095.4.0-189.209
linuxlinux_kernel>= 0 < 5.15.0-116.1265.15.0-116.126
linuxlinux_kernel>= 0 < 6.8.0-35.356.8.0-35.35
linuxlinux_kernel>= 0 < 4.4.0-258.2924.4.0-258.292
linuxlinux_kernel>= 0 < 4.15.0-228.2404.15.0-228.240
linuxlinux_kernel>= 2.6.23 < 4.19.3124.19.312
linuxlinux_kernel>= 4.20 < 5.4.2745.4.274
linuxlinux_kernel>= 5.11 < 5.15.1545.15.154

CVSS provenance

nvdv3.17.0HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.0HIGH
vendor_debian7.0HIGH
vendor_redhat7.0HIGH
vendor_ubuntu7.0HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.