PoC Monitor
← All CVEs
CVE-2025-40319published 8 Dec 2025 00:46 UTCData: JSON · API

Linux

bpf: Sync pending IRQ work before freeing ring buffer

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < 47626748a2a00068dbbd5836d19076637b4e235b
  • >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < de2ce6b14bc3e565708a39bdba3ef9162aeffc72
  • >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < e1828c7a8d8135e21ff6adaaa9458c32aae13b11
  • >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < 6451141103547f4efd774e912418a3b4318046c6
  • >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < 10ca3b2eec384628bc9f5d8190aed9427ad2dde6
  • >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < 430e15544f11f8de26b2b5109c7152f71b78295e
  • >= 457f44363a8894135c85b7a9afd2bd8196db24ab, < 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c

Fixed in 47626748a2a00068dbbd5836d19076637b4e235b, de2ce6b14bc3e565708a39bdba3ef9162aeffc72, e1828c7a8d8135e21ff6adaaa9458c32aae13b11, 6451141103547f4efd774e912418a3b4318046c6, 10ca3b2eec384628bc9f5d8190aed9427ad2dde6, 430e15544f11f8de26b2b5109c7152f71b78295e, 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c

Linux Linux
  • 5.8

Fixed in 0, 5.10.247, 5.15.197, 6.1.159, 6.6.117, 6.12.58, 6.17.8, 6.18

Mitigation

Upgrade Linux to 47626748a2a00068dbbd5836d19076637b4e235b or de2ce6b14bc3e565708a39bdba3ef9162aeffc72 or e1828c7a8d8135e21ff6adaaa9458c32aae13b11 or 6451141103547f4efd774e912418a3b4318046c6 or 10ca3b2eec384628bc9f5d8190aed9427ad2dde6 or 430e15544f11f8de26b2b5109c7152f71b78295e or 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c or later.

Upgrade Linux to 0 or 5.10.247 or 5.15.197 or 6.1.159 or 6.6.117 or 6.12.58 or 6.17.8 or 6.18 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published8 Dec 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.