CVE-2025-40319

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux
PublishedDec 8, 2025
First seenDec 8, 2025

How to fix

Update
  • Linux Linux47626748a2a00068dbbd5836d19076637b4e235b, de2ce6b14bc3e565708a39bdba3ef9162aeffc72, e1828c7a8d8135e21ff6adaaa9458c32aae13b11, 6451141103547f4efd774e912418a3b4318046c6, 10ca3b2eec384628bc9f5d8190aed9427ad2dde6, 430e15544f11f8de26b2b5109c7152f71b78295e, 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c or later

Affected products

ProductAffected versionsFixed in
Linux Linux457f44363a8894135c85b7a9afd2bd8196db24ab ≤ v < 47626748a2a00068dbbd5836d19076637b4e235b, 457f44363a8894135c85b7a9afd2bd8196db24ab ≤ v < de2ce6b14bc3e565708a39bdba3ef9162aeffc72, 457f44363a8894135c85b7a9afd2bd8196db24ab ≤ v < e1828c7a8d8135e21ff6adaaa9458c32aae13b11, 457f44363a8894135c85b7a9afd2bd8196db24ab ≤ v < 6451141103547f4efd774e912418a3b4318046c6, 457f44363a8894135c85b7a9afd2bd8196db24ab ≤ v < 10ca3b2eec384628bc9f5d8190aed9427ad2dde6, 457f44363a8894135c85b7a9afd2bd8196db24ab ≤ v < 430e15544f11f8de26b2b5109c7152f71b78295e, 457f44363a8894135c85b7a9afd2bd8196db24ab ≤ v < 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c, 5.847626748a2a00068dbbd5836d19076637b4e235b, de2ce6b14bc3e565708a39bdba3ef9162aeffc72, e1828c7a8d8135e21ff6adaaa9458c32aae13b11, 6451141103547f4efd774e912418a3b4318046c6, 10ca3b2eec384628bc9f5d8190aed9427ad2dde6, 430e15544f11f8de26b2b5109c7152f71b78295e, 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-40319 · Linux · Dark Radar