CVE-2025-40319
Last modified
CVE-2025-40319 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < 47626748a2a00068dbbd5836d19076637b4e235b; >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < de2ce6b14bc3e565708a39bdba3ef9162aeffc72; >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < e1828c7a8d8135e21ff6adaaa9458c32aae13b11; >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < 6451141103547f4efd774e912418a3b4318046c6; >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < 10ca3b2eec384628bc9f5d8190aed9427ad2dde6; >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < 430e15544f11f8de26b2b5109c7152f71b78295e; >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c |
| Linux | Linux | 5.8 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40319?
How severe is CVE-2025-40319?
How do I fix CVE-2025-40319?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40313In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40314In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40315In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40316In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40317In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40318In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2025-4032A vulnerability was found in inclusionAI AWorld up to 8c2576…8.1
- CVE-2025-40320In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2025-40321In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40322In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-40323In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40324In the Linux kernel, the following vulnerability has been re…7.5
Are you affected by CVE-2025-40319?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
