CVE Database
/

CVE-2025-40319

Back to search

CVE-2025-40319

Published: Dec 8, 2025

Modified: May 11, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
457f44363a8894135c85b7a9afd2bd8196db24ab - < 47626748a2a00068dbbd5836d19076637b4e235b
affected
457f44363a8894135c85b7a9afd2bd8196db24ab - < de2ce6b14bc3e565708a39bdba3ef9162aeffc72
affected
457f44363a8894135c85b7a9afd2bd8196db24ab - < e1828c7a8d8135e21ff6adaaa9458c32aae13b11
affected
457f44363a8894135c85b7a9afd2bd8196db24ab - < 6451141103547f4efd774e912418a3b4318046c6
affected
457f44363a8894135c85b7a9afd2bd8196db24ab - < 10ca3b2eec384628bc9f5d8190aed9427ad2dde6

+2 more versions

Linux

Linux

affected
5.8
unaffected
0 - < 5.8
unaffected
5.10.247 - <= 5.10.*
unaffected
5.15.197 - <= 5.15.*
unaffected
6.1.159 - <= 6.1.*

+4 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now