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

published high CVSS 3.1 · 7.8

io_uring/futex: ensure io_futex_wait() cleans up properly on failure

Published
05 Sep 2025, 17:21:04 UTC
Updated
05 Aug 2026, 12:04:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux194bb58c6090e39bd7d9b9c888a079213628e1f6 to < d9f93172820a53ab42c4b0e5e65291f4f9d00ad2 · 194bb58c6090e39bd7d9b9c888a079213628e1f6 to < d34c04152df517c59979b4bf2a47f491e06d3256 · 194bb58c6090e39bd7d9b9c888a079213628e1f6 to < 508c1314b342b78591f51c4b5dadee31a88335df · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.44 through 6.12.* (unaffected · semver) · 6.16.4 through 6.16.* (unaffected · semver) · 6.17 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-1208 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-55.37.1.el10_0 ALSA-2025:16904
Debian trixie linux Advisory build 6.12.48-1 DSA-6008-1
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-doc Advisory build 6.12.0-55.37.1.el10_0 ALSA-2025:16904
AlmaLinux 9 kernel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-doc Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-headers Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-kvm Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-kvm Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-tools Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 libperf Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 perf Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 python3-perf Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 rtla Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 rv Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-55.37.1.0.1.el10_0 ELSA-2025-16904

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/futex: ensure io_futex_wait() cleans up properly on failure The io_futex_data is allocated upfront and assigned to the io_kiocb async_data field, but the request isn't marked with REQ_F_ASYNC_DATA at that point. Those two should always go together, as the flag tells io_uring whether the field is valid or not. Additionally, on failure cleanup, the futex handler frees the data but does not clear ->async_data. Clear the data and the flag in the error path as well. Thanks to Trend Micro Zero Day Initiative and particularly ReDress for reporting this.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

39

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 purely through the io_uring interface — `io_uring_setup(2)` plus an SQE with `IORING_OP_FUTEX_WAIT` — which requires local code execution on the system. There is no remote or adjacent-network path into `io_futex_wait()`. AC:L - The failure path is hit deterministically by submitting a FUTEX_WAIT SQE whose `futex_val` does not match `*uaddr` (returns -EWOULDBLOCK) or with an unmapped `uaddr` (-EFAULT); no race or timing window is involved. The attacker also fully controls request recycling and heap grooming, since the freed `io_futex_data` lands in a general-purpose kmalloc cache and the sequence can be repeated arbitrarily. PR:L - `sysctl_io_uring_disabled` defaults to 0, so any unprivileged user can create a ring, and `IORING_OP_FUTEX_WAIT` requires no file, no capability, and no privileged setup (`io_futex_prep` only validates futex2 flags). No root or namespace trickery is needed. UI:N - The attacker submits all SQEs from their own process and drives the entire sequence — failing futex wait, request recycling, then POLL_ADD — with no action by any other user. No victim process or administrator involvement is required. S:U - The use-after-free occurs in kernel heap memory managed by the same kernel security authority as the attacking process. Exploitation yields kernel privilege escalation rather than crossing a VM, IOMMU, or other separate security boundary. C:H - The stale `req->async_data` is dereferenced as a `struct io_poll *` in `__io_queue_proc()` (`(*poll_ptr)->head`), reading freed slab memory that the attacker can reclaim and shape, giving a controllable kernel-memory read/type-confusion primitive. Consistent with the guidance, a use-after-free of an attacker-reclaimable heap object is scored as High confidentiality impact. I:H - The dangling pointer is stored in a recycled `io_kiocb` and later treated as a live `struct io_poll`, so poll teardown (`io_poll_remove_entry()`'s `list_del_init(&poll->wait.entry)` / `poll->head = NULL`) and `__io_futex_cancel()`'s unguarded `futex_unqueue(&ifd->q)` operate on attacker-reclaimed memory. This is the classic io_uring UAF/type-confusion shape that is leveraged into arbitrary write and local privilege escalation, which is why ZDI reported it. A:H - Dereferencing the freed `io_futex_data` as an `io_poll` reliably produces slab corruption, KASAN splats, and kernel oopses/panics even without a successful exploit. Any unprivileged user can repeat the trigger at will to crash the machine.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 194bb58c6090e39bd7d9b9c888a079213628e1f6 to < d9f93172820a53ab42c4b0e5e65291f4f9d00ad2 (affected · git)194bb58c6090e39bd7d9b9c888a079213628e1f6 to < d34c04152df517c59979b4bf2a47f491e06d3256 (affected · git)194bb58c6090e39bd7d9b9c888a079213628e1f6 to < 508c1314b342b78591f51c4b5dadee31a88335df (affected · git)Default: unaffected Linux · cna
Linux Linux 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.44 through 6.12.* (unaffected · semver)6.16.4 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-672 CWE-672 Operation on a Resource after Expiration or Release (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

io_uring/futex: ensure io_futex_wait() cleans up properly on failure

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
1f2dc492faa18ca896eda283eb066b86522132c78b00a20d60bdf4db5bcff438
Ingested
23 Sep 2026, 08:47:06 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