CVE-2025-40319bpf: Sync pending IRQ work before freeing ring buffer
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
In the Linux kernel, the following vulnerability has been resolved: bpf: Sync pending IRQ work before freeing ring buffer Fix a race where irq_work can be queued in bpf_ringbuf_commit() but the ring buffer is freed before the work executes. In the syzbot reproducer, a BPF program attached to sched_switch triggers bpf_ringbuf_commit(), queuing an irq_work. If the ring buffer is freed before this work executes, the irq_work thread may accesses freed memory. Calling `irq_work_sync(&rb->work)` ensures that all pending irq_work complete before freeing the buffer.
- CVSS
- 7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Deferred
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from 457f44363a8894135c85b7a9afd2bd8196db24ab before 47626748a2a00068dbbd5836d19076637b4e235b; from 457f44363a8894135c85b7a9afd2bd8196db24ab before de2ce6b14bc3e565708a39bdba3ef9162aeffc72; from 457f44363a8894135c85b7a9afd2bd8196db24ab before e1828c7a8d8135e21ff6adaaa9458c32aae13b11; from 457f44363a8894135c85b7a9afd2bd8196db24ab before 6451141103547f4efd774e912418a3b4318046c6; 457f44363a8894135c85b7a9afd2bd8196db24ab builds before 10ca3b2eec384628bc9f5d8190aed9427ad2dde6; 457f44363a8894135c85b7a9afd2bd8196db24ab builds before 430e15544f11f8de26b2b5109c7152f71b78295e; 457f44363a8894135c85b7a9afd2bd8196db24ab builds before 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c | CNA record |
References
- https://git.kernel.org/stable/c/47626748a2a00068dbbd5836d19076637b4e235b
- https://git.kernel.org/stable/c/de2ce6b14bc3e565708a39bdba3ef9162aeffc72
- https://git.kernel.org/stable/c/e1828c7a8d8135e21ff6adaaa9458c32aae13b11
- https://git.kernel.org/stable/c/6451141103547f4efd774e912418a3b4318046c6
- https://git.kernel.org/stable/c/10ca3b2eec384628bc9f5d8190aed9427ad2dde6
- https://git.kernel.org/stable/c/430e15544f11f8de26b2b5109c7152f71b78295e
- https://git.kernel.org/stable/c/4e9077638301816a7d73fa1e1b4c1db4a7e3b59c
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.