CVE-2024-50207CWE-667

CVE-2024-50207

High · published November 8, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
3.5
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ring-buffer: Fix reader locking when changing the sub buffer order

The function ring_buffer_subbuf_order_set() updates each

ring_buffer_per_cpu and installs new sub buffers that match the requested

page order. This operation may be invoked concurrently with readers that

rely on some of the modified data, such as the head bit (RB_PAGE_HEAD), or

the ring_buffer_per_cpu.pages and reader_page pointers. However, no

exclusive access is acquired by ring_buffer_subbuf_order_set(). Modifying

the mentioned data while a reader also operates on them can then result in

incorrect memory access and various crashes.

Fix the problem by taking the reader_lock when updating a specific

ring_buffer_per_cpu in ring_buffer_subbuf_order_set().

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00146 · 3.5th percentile
Weakness
CWE-667 · Improper Locking
Published
2024-11-08T11:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 6.8, < 6.11.66.11.6
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (2)
EPSS history
Timeline
  • 08 NOV 06:07Z
    ring-buffer: Fix reader locking when changing the sub buffer order
    cvelistv5