CVE-2024-50207
published high CVSS 3.1 · 7.8ring-buffer: Fix reader locking when changing the sub buffer order
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8e7b58c27b3c567316a51079b375b846f9223bba to < a569290525a05162d5dd26d9845591eaf46e5802 · 8e7b58c27b3c567316a51079b375b846f9223bba to < 09661f75e75cb6c1d2d8326a70c311d46729235f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.11.6 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1028 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1028 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-headers-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-headers-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-modules-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-modules-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-modules-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached only through tracefs file operations — write() to buffer_subbuf_size_kb racing read()/splice() on trace_pipe_raw or trace_pipe. There is no network or remote data path into ring_buffer_subbuf_order_set(). AC:L - The attacker owns both sides of the race, running one thread that repeatedly toggles the sub-buffer order and another that continuously reads the per-CPU raw buffer, and can retry indefinitely with no reliance on external state. No condition beyond the attacker's control is required. PR:L - tracefs supports gid=/mode= delegation and real deployments (Android/Perfetto tracing group, ChromeOS, distro tracing groups) hand tracefs control files to unprivileged accounts, which is sufficient for both the resize and the concurrent read. The kernel CNA scored the follow-up locking fix to this exact function (CVE-2025-38101) at PR:L, and the higher-severity option is taken here. UI:N - The attacker's own threads perform both the sub-buffer order change and the concurrent buffer read; no victim action or interaction is involved. S:U - The corruption is confined to kernel memory managed by the same kernel security authority; there is no VM, IOMMU, or sandbox boundary crossed. C:H - ring_buffer_read_page() memcpy()s from cpu_buffer->reader_page->page after that page has been freed by the concurrent order change and potentially recycled for unrelated kernel data, copying it straight to userspace — a use-after-free read that leaks arbitrary kernel memory. I:H - Readers perform stores into freed sub-buffers and buffer_page structures (local_set on ->write/->entries, the rb_head_page_replace() cmpxchg, ->list.prev/next fixups, and reader->page assignment), and splice stale pages into the newly installed list — a use-after-free write plus linked-list corruption exploitable for control over kernel memory. A:H - The commit states the race results in "incorrect memory access and various crashes"; the corrupted ring-buffer list and freed-page accesses produce RB_WARN_ON splats and kernel oopses/panics.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8e7b58c27b3c567316a51079b375b846f9223bba to < a569290525a05162d5dd26d9845591eaf46e5802 (affected · git)8e7b58c27b3c567316a51079b375b846f9223bba to < 09661f75e75cb6c1d2d8326a70c311d46729235f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.11.6 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-667 CWE-667 Improper Locking
References
2Provider assertions
2Linux · cna
ring-buffer: Fix reader locking when changing the sub buffer order
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 057f053f566166b2f6d55b4212d61ccac43e8f6f086e14869d21e775ccf49fd2
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record