Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2024-38601: ring-buffer: Fix a race between readers and resize checks

Noroxi assessment

Priority: Monitor (action score 18/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.17% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: Linux Linux 1e160196042cac946798ac192a0bc3398f1aa66b, 54c64967ba5f8658ae7da76005024ebd3d9d8f6e, 595363182f28786d641666a09e674b852c83b4bb.

Low priority for now. Upgrade to Linux Linux 1e160196042cac946798ac192a0bc3398f1aa66b, 54c64967ba5f8658ae7da76005024ebd3d9d8f6e, 595363182f28786d641666a09e674b852c83b4bb or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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: 000000010291e001 CR4: 0000000000370ef0 [ 190.272070] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 190.272073] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 190.272077] Call Trace: [ 190.272098] <TASK> [ 190.272189] ring_buffer_resize+0x2ab/0x460 [ 190.272199] __tracing_resize_ring_buffer.part.0+0x23/0xa0 [ 190.272206] tracing_resize_ring_buffer+0x65/0x90 [ 190.272216] tracing_entries_write+0x74/0xc0 [ 190.272225] vfs_write+0xf5/0x420 [ 190.272248] ksys_write+0x67/0xe0 [ 190.272256] do_syscall_64+0x82/0x170 [ 190.272363] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 190.272373] RIP: 0033:0x7f1bd657d263 [ 190.272381] Code: [...] [ 190.272385] RSP: 002b:00007ffe72b643f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 190.272391] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f1bd657d263 [ 190.272395] RDX: 0000000000000002 RSI: 0000555a6eb538e0 RDI: 0000000000000001 [ 190.272398] RBP: 0000555a6eb538e0 R08: 000000000000000a R09: 0000000000000000 [ 190.272401] R10: 0000555a6eb55190 R11: 0000000000000246 R12: 00007f1bd6662500 [ 190.272404] R13: 0000000000000002 R14: 00007f1bd6667c00 R15: 0000000000000002 [ 190.272412] </TASK> [ 190.272414] ---[ end trace 0000000000000000 ]--- Note that ring_buffer_resize() calls rb_check_pages() only if the parent trace_buffer has recording disabled. Recent commit d78ab792705c ("tracing: Stop current tracer when resizing buffer") causes that it is now always the case which makes it more likely to experience this issue. The window to hit this race is nonetheless very small. To help reproducing it, one can add a delay loop in rb_get_reader_page(): ret = rb_head_page_replace(reader, cpu_buffer->reader_page); if (!ret) goto spin; for (unsigned i = 0; i < 1U << 26; i++) /* inserted delay loop */ __asm__ __volatile__ ("" : : : "memory"); rb_list_head(reader->list.next)->prev = &cpu_buffer->reader_page->list; .. ---truncated---

MediumCVSS 4.7 · v3.1—No exploit Fix available
Published
Jun 19, 2024
Updated
Jun 17, 2026
EPSS
0.1% · 7th percentile

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
18 / 40 · 4.7 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.1%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-38601

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel3.5 and later · before 4.19.316
  • linux linux kernel4.20 and later · before 5.4.278
  • linux linux kernel5.5 and later · before 5.10.219
  • linux linux kernel5.11 and later · before 5.15.161
  • linux linux kernel5.16 and later · before 6.1.93
  • linux linux kernel6.2 and later · before 6.6.33
  • linux linux kernel6.7 and later · before 6.8.12
  • linux linux kernel6.9 and later · before 6.9.3

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 3.5affected
    • 659f451ff21315ebfeeb46b9adccee8ce1b52c25 and later · before b50932ea673b5a089a4bb570a8a868d95c72854eaffected · git
    • 659f451ff21315ebfeeb46b9adccee8ce1b52c25 and later · before c68b7a442ee61d04ca58b2b5cb5ea7cb8230f84aaffected · git
    • 659f451ff21315ebfeeb46b9adccee8ce1b52c25 and later · before 1e160196042cac946798ac192a0bc3398f1aa66baffected · git
    • 659f451ff21315ebfeeb46b9adccee8ce1b52c25 and later · before 595363182f28786d641666a09e674b852c83b4bbaffected · git
    • 659f451ff21315ebfeeb46b9adccee8ce1b52c25 and later · before 54c64967ba5f8658ae7da76005024ebd3d9d8f6eaffected · git
    • 659f451ff21315ebfeeb46b9adccee8ce1b52c25 and later · before af3274905b3143ea23142bbf77bd9b610c54e533affected · git
    • 659f451ff21315ebfeeb46b9adccee8ce1b52c25 and later · before 5ef9e330406d3fb4f4b2c8bca2c6b8a93bae32d1affected · git
    • 659f451ff21315ebfeeb46b9adccee8ce1b52c25 and later · before 79b52013429a42b8efdb0cda8bb0041386abab87affected · git
    • 659f451ff21315ebfeeb46b9adccee8ce1b52c25 and later · before c2274b908db05529980ec056359fae916939fdaaaffected · git

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:9bpftoolbefore 7.3.0-427.37.1.el9_47.3.0-427.37.1.el9_4
AlmaLinux:9kernelbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64kbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-corebefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-debugbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-debug-corebefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-debug-develbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-debug-devel-matchedbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-debug-modulesbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-debug-modules-corebefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-debug-modules-extrabefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-develbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-devel-matchedbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-modulesbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-modules-corebefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-64k-modules-extrabefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-abi-stablelistsbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-corebefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-cross-headersbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-debugbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-debug-corebefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-debug-develbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-debug-devel-matchedbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4
AlmaLinux:9kernel-debug-modulesbefore 5.14.0-427.37.1.el9_45.14.0-427.37.1.el9_4

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2024-38597Jun 19, 2024 · eth: sungem: remove .ndo_poll_controller to avoid deadlocks
    22Monitor
  • ← EarlierCVE-2024-38600Jun 19, 2024 · ALSA: Fix deadlocks with kctl removals at disconnection
    22Monitor
  • Later →CVE-2024-38602Jun 19, 2024 · ax25: Fix reference count leak issues of ax25_dev
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux1e160196042cac946798ac192a0bc3398f1aa66bVendor (CNA)
Linux Linux54c64967ba5f8658ae7da76005024ebd3d9d8f6eVendor (CNA)
Linux Linux595363182f28786d641666a09e674b852c83b4bbVendor (CNA)
Linux Linux5ef9e330406d3fb4f4b2c8bca2c6b8a93bae32d1Vendor (CNA)
Linux Linux79b52013429a42b8efdb0cda8bb0041386abab87Vendor (CNA)
Linux Linuxaf3274905b3143ea23142bbf77bd9b610c54e533Vendor (CNA)
Linux Linuxb50932ea673b5a089a4bb570a8a868d95c72854eVendor (CNA)
Linux Linuxc2274b908db05529980ec056359fae916939fdaaVendor (CNA)
Linux Linuxc68b7a442ee61d04ca58b2b5cb5ea7cb8230f84aVendor (CNA)
almalinux:bpftool7.3.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-core5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-core5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel-matched5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-core5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-extra5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-devel5.14.0-427.37.1.el9_4 · AlmaLinux:9Package registry (OSV)
debian:linux6.1.94-1 · Debian:12Package registry (OSV)
red hat:bpftool-debuginfo0:7.3.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-debuginfo0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel-matched0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debuginfo0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-devel0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-devel-matched0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debug-debuginfo0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)

+4

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records