CVE-2024-50207

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50207
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50207.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-50207
Downstream
Related
Published
2024-11-08T06:07:57Z
Modified
2025-10-15T17:34:54.104973Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ring-buffer: Fix reader locking when changing the sub buffer order
Details

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

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

The function ringbuffersubbuforderset() updates each ringbufferpercpu 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 (RBPAGEHEAD), or the ringbufferpercpu.pages and readerpage pointers. However, no exclusive access is acquired by ringbuffersubbuforder_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 readerlock when updating a specific ringbufferpercpu in ringbuffersubbuforderset().

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8e7b58c27b3c567316a51079b375b846f9223bba
Fixed
a569290525a05162d5dd26d9845591eaf46e5802
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8e7b58c27b3c567316a51079b375b846f9223bba
Fixed
09661f75e75cb6c1d2d8326a70c311d46729235f

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.11.1
v6.11.2
v6.11.3
v6.11.4
v6.11.5
v6.12-rc1
v6.12-rc2
v6.7
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.11.6