CVE-2025-40319
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
08/12/2025
Última modificación:
08/12/2025
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
bpf: Sync pending IRQ work before freeing ring buffer<br />
<br />
Fix a race where irq_work can be queued in bpf_ringbuf_commit()<br />
but the ring buffer is freed before the work executes.<br />
In the syzbot reproducer, a BPF program attached to sched_switch<br />
triggers bpf_ringbuf_commit(), queuing an irq_work. If the ring buffer<br />
is freed before this work executes, the irq_work thread may accesses<br />
freed memory.<br />
Calling `irq_work_sync(&rb->work)` ensures that all pending irq_work<br />
complete before freeing the buffer.
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/10ca3b2eec384628bc9f5d8190aed9427ad2dde6
- https://git.kernel.org/stable/c/430e15544f11f8de26b2b5109c7152f71b78295e
- https://git.kernel.org/stable/c/47626748a2a00068dbbd5836d19076637b4e235b
- https://git.kernel.org/stable/c/4e9077638301816a7d73fa1e1b4c1db4a7e3b59c
- https://git.kernel.org/stable/c/6451141103547f4efd774e912418a3b4318046c6
- https://git.kernel.org/stable/c/de2ce6b14bc3e565708a39bdba3ef9162aeffc72
- https://git.kernel.org/stable/c/e1828c7a8d8135e21ff6adaaa9458c32aae13b11



