CVSS 7.8 · High EPSS 0,13%
Kerentanan NULL Pointer Dereference pada linux kernel. Skor CVSS 3.1 7.8 (High) menurut CNA.
In the Linux kernel, the following vulnerability has been resolved: ALSA: PCM: Fix wait queue list corruption in snd_pcm_drain() on linked streams snd_pcm_drain() uses init_waitqueue_entry which does not clear entry.prev/next, and add_wait_queue with a conditional remove_wait_queue that is skipped when to_check is no longer in the group after concurrent UNLINK. The orphaned wait entry remains on the unlinked substream sleep queue. On the next drain iteration, add_wait_queue adds the entry to a new queue while still linked on the old one, corrupting both lists. A subsequent wake_up dereferences NULL at the func pointer (mapped from the spinlock at offset 0 of the misinterpreted wait_queue_head_t), causing a kernel panic. Replace init_waitqueue_entry/add_wait_queue/conditional remove_wait_queue with init_wait_entry/prepare_to_wait/ finish_wait. init_wait_entry clears prev/next via INIT_LIST_HEAD on each iteration and sets autoremove_wake_function which auto-removes the entry on wake-up. finish_wait safely handles both the already-removed and still-queued cases.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
· uraikan di kalkulator | Vendor | Produk | Versi terdampak |
|---|---|---|
| linux | linux kernel | Versi 5.10.253 hingga sebelum 5.10.259 |
| linux | linux kernel | Versi 6.1.167 hingga sebelum 6.1.176 |
| linux | linux kernel | Versi 6.6.130 hingga sebelum 6.6.143 |
| linux | linux kernel | Versi 6.12.78 hingga sebelum 6.12.94 |
| linux | linux kernel | Versi 6.18.19 hingga sebelum 6.18.36 |
| linux | linux kernel | Versi 6.19.9 hingga sebelum 7.0 |
| linux | linux kernel | Versi 7.0.1 hingga sebelum 7.0.13 |
| linux | linux kernel | Versi 7.0 |
| linux | linux kernel | Versi 7.0 rc4 |
| linux | linux kernel | Versi 7.0 rc5 |
| linux | linux kernel | Versi 7.0 rc6 |
| linux | linux kernel | Versi 7.0 rc7 |
| linux | linux kernel | Versi 7.1 rc1 |
| linux | linux kernel | Versi 7.1 rc2 |
| linux | linux kernel | Versi 7.1 rc3 |
| linux | linux kernel | Versi 7.1 rc4 |
| linux | linux kernel | Versi 7.1 rc5 |
| linux | linux kernel | Versi 7.1 rc6 |