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-40047

published high CVSS 3.1 · 7.8

io_uring/waitid: always prune wait queue entry in io_waitid_wait()

Published
28 Oct 2025, 11:48:24 UTC
Updated
05 Aug 2026, 12:07:20 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf31ecf671ddc498f20219453395794ff2383e06b to < 696ba6032081e617564a8113a001b8d7943cb928 · f31ecf671ddc498f20219453395794ff2383e06b to < 3e2205db2f0608898d535da1964e1b376aacfdaa · f31ecf671ddc498f20219453395794ff2383e06b to < 2f8229d53d984c6a05b71ac9e9583d4354e3b91f · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.53 through 6.12.* (unaffected · semver) · 6.17.3 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 AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1254 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.20.1.el10_1 ALSA-2025:22854
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.20.1.el10_1 ALSA-2025:22854
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-106.55.4.1.el10uek ELSA-2025-28040
Oracle Linux 10 kernel-uki-virtx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-uki-virt-addonsx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 libperfaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 libperfx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 perfaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 perfx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 python3-perfaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 python3-perfx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 rtlaaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 rtlax86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 rvaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 rvx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854

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

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: always prune wait queue entry in io_waitid_wait() For a successful return, always remove our entry from the wait queue entry list. Previously this was skipped if a cancelation was in progress, but this can race with another invocation of the wait queue entry callback.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

36

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 io_uring syscall interface (`io_uring_setup`/`io_uring_enter` submitting an `IORING_OP_WAITID` SQE) plus process-management signals, all of which require local access to the system. Per kernel scoring guidance, io_uring bugs are Local. AC:L - The attacker controls both sides of the race: it drives the wait-queue wakeups at arbitrary rate by forking children and looping SIGSTOP/SIGCONT (`do_notify_parent_cldstop` → `__wake_up_parent`), while concurrently submitting `IORING_OP_ASYNC_CANCEL` or tearing down the ring from another thread to grab the competing reference. syzbot produced a working reproducer and confirmed the fix, showing the window is hit reliably. PR:L - Any unprivileged local user can create an io_uring ring — `sysctl_io_uring_disabled` defaults to 0 and `IORING_OP_WAITID` carries no capability check — and waiting on one's own forked children needs no privilege at all. No capabilities, user namespaces, or root are required. UI:N - The attacker's own process performs every step: submitting the waitid SQE, forking and signalling the children that generate wakeups, and issuing the concurrent cancel. No action by any other user is needed. S:U - The use-after-free corrupts kernel heap memory and control flow within the same kernel security authority, yielding standard local privilege escalation. No VM, IOMMU, or other security-boundary crossing is involved. C:H - This is a use-after-free on a `struct io_waitid_async` allocated from a general-purpose kmalloc slab, which the attacker can reclaim and shape via heap spraying. The stale wait-queue entry is then dereferenced by `__wake_up_common()` and `list_del_init()`, giving a read primitive over reclaimed kernel memory that can be leveraged for arbitrary kernel memory disclosure. I:H - `list_del_init()` on the freed entry performs `prev->next = next; next->prev = prev` using pointers read from attacker-reclaimed memory, yielding a controlled write of a controlled pointer to a controlled address. Additionally `__wake_up_common()` calls `curr->func(...)` on the freed entry, providing a direct indirect-call/control-flow hijack primitive leading to kernel code execution. A:H - Even without weaponization, the dangling wait-queue entry and the list-corrupting `list_del_init()` on freed memory produce KASAN splats, list debug BUGs, and kernel oopses/panics — this is exactly how syzbot detected it. The race can be re-triggered in a tight loop, so an unprivileged user can crash the machine at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f31ecf671ddc498f20219453395794ff2383e06b to < 696ba6032081e617564a8113a001b8d7943cb928 (affected · git)f31ecf671ddc498f20219453395794ff2383e06b to < 3e2205db2f0608898d535da1964e1b376aacfdaa (affected · git)f31ecf671ddc498f20219453395794ff2383e06b to < 2f8229d53d984c6a05b71ac9e9583d4354e3b91f (affected · git)Default: unaffected Linux · cna
Linux Linux 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.53 through 6.12.* (unaffected · semver)6.17.3 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

io_uring/waitid: always prune wait queue entry in io_waitid_wait()

Provenance

Schema
5.2
Searchable
yes
Content hash
ec9a4d7c330bec6ab5938e15b6ab577ddc8589f2ace1bc6bd013720a4d8ecd42
Ingested
23 Sep 2026, 08:48:04 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