Review reviewHigh

CVE-2025-40319

Linux

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
EPSS
0.14%
3.88% percentile
CISA KEV
Not listed
Published
2025.12.08
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.14%
Technical severityCVSS 7.8

Vulnerability overview

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.

Affected product and versions

Product
Linux
Affected versions
>= 457f44363a8894135c85b7a9afd2bd8196db24ab < 47626748a2a00068dbbd5836d19076637b4e235b, >= 457f44363a8894135c85b7a9afd2bd8196db24ab < de2ce6b14bc3e565708a39bdba3ef9162aeffc72, >= 457f44363a8894135c85b7a9afd2bd8196db24ab < e1828c7a8d8135e21ff6adaaa9458c32aae13b11, >= 457f44363a8894135c85b7a9afd2bd8196db24ab < 6451141103547f4efd774e912418a3b4318046c6, >= 457f44363a8894135c85b7a9afd2bd8196db24ab < 10ca3b2eec384628bc9f5d8190aed9427ad2dde6, >= 457f44363a8894135c85b7a9afd2bd8196db24ab < 430e15544f11f8de26b2b5109c7152f71b78295e, >= 457f44363a8894135c85b7a9afd2bd8196db24ab < 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c, >= 5.8
Fixed versions
No verified fixed-version field is available yet

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
Not available
CVE-2025-40319 — Linux | SECUFOCUS NOW