CVE-2025-40319

CVE-2025-40319

High · published December 8, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
3.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00144 · 3.4th percentile
Published
2025-12-08T06:16Z
References (7)
EPSS history
Timeline
  • 08 DEC 00:46Z
    bpf: Sync pending IRQ work before freeing ring buffer
    cvelistv5