Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40319

published high CVSS 3.1 · 7.8

bpf: Sync pending IRQ work before freeing ring buffer

Published
08 Dec 2025, 00:46:46 UTC
Updated
15 Oct 2026, 22:02:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux457f44363a8894135c85b7a9afd2bd8196db24ab to < 47626748a2a00068dbbd5836d19076637b4e235b · 457f44363a8894135c85b7a9afd2bd8196db24ab to < de2ce6b14bc3e565708a39bdba3ef9162aeffc72 · 457f44363a8894135c85b7a9afd2bd8196db24ab to < e1828c7a8d8135e21ff6adaaa9458c32aae13b11 · 457f44363a8894135c85b7a9afd2bd8196db24ab to < 6451141103547f4efd774e912418a3b4318046c6 · 457f44363a8894135c85b7a9afd2bd8196db24ab to < 10ca3b2eec384628bc9f5d8190aed9427ad2dde6 · 457f44363a8894135c85b7a9afd2bd8196db24ab to < 430e15544f11f8de26b2b5109c7152f71b78295e · 457f44363a8894135c85b7a9afd2bd8196db24ab to < 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.10.247 through 5.10.* (unaffected · semver) · 5.15.197 through 5.15.* (unaffected · semver) · 6.1.159 through 6.1.* (unaffected · semver) · 6.6.117 through 6.6.* (unaffected · semver) · 6.12.58 through 6.12.* (unaffected · semver) · 6.17.8 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-112 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-096 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1350 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.247-1 DLA-4404-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-1495 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.159-1~deb11u1 DLA-4436-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-317.197.5.1.el8uek ELSA-2026-50113
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-317.197.5.1.el9uek ELSA-2026-50113
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-317.197.5.1.el9uek ELSA-2026-50113
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-317.197.5.1.el9uek ELSA-2026-50113
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-317.197.5.1.el9uek ELSA-2026-50113
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-317.197.5.1.el9uek ELSA-2026-50113
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-317.197.5.1.el9uek ELSA-2026-50113
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-317.197.5.1.el9uek ELSA-2026-50113
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-317.197.5.1.el9uek ELSA-2026-50113
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-317.197.5.1.el9uek ELSA-2026-50113
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

45

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached through the `bpf()` syscall — creating a ringbuf map, loading a program that calls `bpf_ringbuf_output`/`submit`, and closing the fds to drive `ringbuf_map_free()`. There is no path for a remote peer to load BPF programs, so local system access is required. AC:L - The attacker controls both sides of the race: he triggers `bpf_ringbuf_commit()` on demand (loopback packet into his own socket filter, using `BPF_RB_FORCE_WAKEUP` to guarantee `irq_work_queue()` on every commit) and separately triggers the free by detaching and closing the map/prog fds, looping unboundedly. On PREEMPT_RT the work is deferred to the `irq_workd` kthread and on architectures without `arch_irq_work_has_interrupt()` to the next tick, widening the window to milliseconds; syzbot both reproduced the bug and confirmed the fix. PR:L - `BPF_MAP_TYPE_RINGBUF`/`USER_RINGBUF` are listed as unprivileged map types in `map_create()`, the ringbuf helpers sit above the `CAP_BPF` gate in `bpf_base_func_proto()`, `BPF_PROG_TYPE_SOCKET_FILTER` is exempt from the CAP_BPF prog-load check, and `SO_ATTACH_BPF` has no capability check — so an ordinary unprivileged user can build the entire chain on the upstream default `unprivileged_bpf_disabled=0`. UI:N - The attacker performs every step himself — map creation, program load, socket attach, packet injection, and fd close — with no victim action or cooperating process required. S:U - The use-after-free corrupts kernel memory and the per-CPU irq_work list within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - `irq_work_single()` and `bpf_ringbuf_notify()`/`wake_up_all()` read `work->node.llist`, `work->func`, `work->irqwait.task`, and the `waitq` list head out of freed memory, and the vmalloc VA range can be reclaimed with a large vmalloc-backed `BPF_MAP_TYPE_ARRAY` whose contents the attacker sets — turning the dangling traversal into an arbitrary kernel-memory read/disclosure primitive. I:H - The irq_work core performs `atomic_set()`/`atomic_cmpxchg()` writes into the freed object and an indirect call `work->func(work)` on a pointer read from it, while `wake_up_all()` adds `list_del_init()` unlink writes and a second function-pointer call — after VA-range reclamation with controlled data this is a direct control-flow hijack and arbitrary-write path to privilege escalation. A:H - This is a use-after-free reported by syzbot as a KASAN splat; in the common case the irq_work dereferences an already-unmapped vmalloc address from hardirq or the `irq_workd` kthread, producing an unhandled page fault and kernel panic, and it can be re-triggered in a loop.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 457f44363a8894135c85b7a9afd2bd8196db24ab to < 47626748a2a00068dbbd5836d19076637b4e235b (affected · git)457f44363a8894135c85b7a9afd2bd8196db24ab to < de2ce6b14bc3e565708a39bdba3ef9162aeffc72 (affected · git)457f44363a8894135c85b7a9afd2bd8196db24ab to < e1828c7a8d8135e21ff6adaaa9458c32aae13b11 (affected · git)457f44363a8894135c85b7a9afd2bd8196db24ab to < 6451141103547f4efd774e912418a3b4318046c6 (affected · git)457f44363a8894135c85b7a9afd2bd8196db24ab to < 10ca3b2eec384628bc9f5d8190aed9427ad2dde6 (affected · git)457f44363a8894135c85b7a9afd2bd8196db24ab to < 430e15544f11f8de26b2b5109c7152f71b78295e (affected · git)457f44363a8894135c85b7a9afd2bd8196db24ab to < 4e9077638301816a7d73fa1e1b4c1db4a7e3b59c (affected · git)Default: unaffected Linux · cna
Linux Linux 5.8 (affected)0 to < 5.8 (unaffected · semver)5.10.247 through 5.10.* (unaffected · semver)5.15.197 through 5.15.* (unaffected · semver)6.1.159 through 6.1.* (unaffected · semver)6.6.117 through 6.6.* (unaffected · semver)6.12.58 through 6.12.* (unaffected · semver)6.17.8 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

2

Linux · cna

bpf: Sync pending IRQ work before freeing ring buffer

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
41c5c9a542694533c5fd09ceb119d28b24d12c8b10c47ba906645907cd586fa2
Ingested
15 Oct 2026, 23:29:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected