cbcvebase.
CVE-2024-38601
published 2024-06-19

CVE-2024-38601: In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Fix a race between readers and resize checks The reader code in…

PriorityP418medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.18%
7.3th percentile
In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Fix a race between readers and resize checks The reader code in rb_get_reader_page() swaps a new reader page into the ring buffer by doing cmpxchg on old->list.prev->next to point it to the new page. Following that, if the operation is successful, old->list.next->prev gets updated too. This means the underlying doubly-linked list is temporarily inconsistent, page->prev->next or page->next->prev might not be equal back to page for some page in the ring buffer. The resize operation in ring_buffer_resize() can be invoked in parallel. It calls rb_check_pages() which can detect the described inconsistency and stop further tracing: [ 190.271762] ------------[ cut here ]------------ [ 190.271771] WARNING: CPU: 1 PID: 6186 at kernel/trace/ring_buffer.c:1467 rb_check_pages.isra.0+0x6a/0xa0 [ 190.271789] Modules linked in: [...] [ 190.271991] Unloaded tainted modules: intel_uncore_frequency(E):1 skx_edac(E):1 [ 190.272002] CPU: 1 PID: 6186 Comm: cmd.sh Kdump: loaded Tainted: G E 6.9.0-rc6-default #5 158d3e1e6d0b091c34c3b96bfd99a1c58306d79f [ 190.272011] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.0-0-gd239552c-rebuilt.opensuse.org 04/01/2014 [ 190.272015] RIP: 0010:rb_check_pages.isra.0+0x6a/0xa0 [ 190.272023] Code: [...] [ 190.272028] RSP: 0018:ffff9c37463abb70 EFLAGS: 00010206 [ 190.272034] RAX: ffff8eba04b6cb80 RBX: 0000000000000007 RCX: ffff8eba01f13d80 [ 190.272038] RDX: ffff8eba01f130c0 RSI: ffff8eba04b6cd00 RDI: ffff8eba0004c700 [ 190.272042] RBP: ffff8eba0004c700 R08: 0000000000010002 R09: 0000000000000000 [ 190.272045] R10: 00000000ffff7f52 R11: ffff8eba7f600000 R12: ffff8eba0004c720 [ 190.272049] R13: ffff8eba00223a00 R14: 0000000000000008 R15: ffff8eba067a8000 [ 190.272053] FS: 00007f1bd64752c0(0000) GS:ffff8eba7f680000(0000) knlGS:0000000000000000 [ 190.272057] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 190.272061] CR2: 00007f1bd6662590 CR3: 000000010

Affected

26 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.94-1 (bookworm)linux 6.1.94-1 (bookworm)
linuxlinux
linuxlinux>= 659f451ff21315ebfeeb46b9adccee8ce1b52c25 < b50932ea673b5a089a4bb570a8a868d95c72854eb50932ea673b5a089a4bb570a8a868d95c72854e
linuxlinux>= 659f451ff21315ebfeeb46b9adccee8ce1b52c25 < c68b7a442ee61d04ca58b2b5cb5ea7cb8230f84ac68b7a442ee61d04ca58b2b5cb5ea7cb8230f84a
linuxlinux>= 659f451ff21315ebfeeb46b9adccee8ce1b52c25 < 1e160196042cac946798ac192a0bc3398f1aa66b1e160196042cac946798ac192a0bc3398f1aa66b
linuxlinux>= 659f451ff21315ebfeeb46b9adccee8ce1b52c25 < 595363182f28786d641666a09e674b852c83b4bb595363182f28786d641666a09e674b852c83b4bb
linuxlinux>= 659f451ff21315ebfeeb46b9adccee8ce1b52c25 < 54c64967ba5f8658ae7da76005024ebd3d9d8f6e54c64967ba5f8658ae7da76005024ebd3d9d8f6e
linuxlinux>= 659f451ff21315ebfeeb46b9adccee8ce1b52c25 < af3274905b3143ea23142bbf77bd9b610c54e533af3274905b3143ea23142bbf77bd9b610c54e533
linuxlinux>= 659f451ff21315ebfeeb46b9adccee8ce1b52c25 < 5ef9e330406d3fb4f4b2c8bca2c6b8a93bae32d15ef9e330406d3fb4f4b2c8bca2c6b8a93bae32d1
linuxlinux>= 659f451ff21315ebfeeb46b9adccee8ce1b52c25 < 79b52013429a42b8efdb0cda8bb0041386abab8779b52013429a42b8efdb0cda8bb0041386abab87
linuxlinux>= 659f451ff21315ebfeeb46b9adccee8ce1b52c25 < c2274b908db05529980ec056359fae916939fdaac2274b908db05529980ec056359fae916939fdaa
linuxlinux_kernel>= 0 < 5.10.221-15.10.221-1
linuxlinux_kernel>= 0 < 6.1.94-16.1.94-1
linuxlinux_kernel>= 0 < 6.8.12-16.8.12-1
linuxlinux_kernel>= 0 < 6.8.12-16.8.12-1
linuxlinux_kernel>= 0 < 5.4.0-192.2125.4.0-192.212
linuxlinux_kernel>= 0 < 5.15.0-121.1315.15.0-121.131
linuxlinux_kernel>= 0 < 6.8.0-40.406.8.0-40.40
linuxlinux_kernel>= 3.5 < 4.19.3164.19.316
linuxlinux_kernel>= 4.20 < 5.4.2785.4.278
linuxlinux_kernel>= 5.11 < 5.15.1615.15.161
linuxlinux_kernel>= 5.16 < 6.1.936.1.93
linuxlinux_kernel>= 5.5 < 5.10.2195.10.219
linuxlinux_kernel>= 6.2 < 6.6.336.6.33
linuxlinux_kernel>= 6.7 < 6.8.126.8.12

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian4.7MEDIUM
vendor_redhat4.7MEDIUM
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.