Skip to main content
Network Thinking Solutions Logo

CVE-2025-40319

Linux kernel: bpf: Sync pending IRQ work before freeing ring buffer

All CVEs
CVE-2025-40319Published 12/8/2025

Linux kernel: bpf: Sync pending IRQ work before freeing ring buffer

Vendor advisory
CVSS7.8High

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.

Published
12/8/2025
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < 47626748a2a00068dbbd5836d19076637b4e235b

Verify advisory

Source
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < de2ce6b14bc3e565708a39bdba3ef9162aeffc72

Verify advisory

Source
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < e1828c7a8d8135e21ff6adaaa9458c32aae13b11

Verify advisory

Source
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < 6451141103547f4efd774e912418a3b4318046c6

Verify advisory

Source
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < 10ca3b2eec384628bc9f5d8190aed9427ad2dde6

Verify advisory

Source
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < 430e15544f11f8de26b2b5109c7152f71b78295e

Verify advisory

Source
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c

Verify advisory

Source
Linux
Linux
5.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.