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

published high CVSS 3.1 · 7.8

io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo()

Published
06 Jun 2025, 13:43:41 UTC
Updated
05 Aug 2026, 11:58:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to < bdb7d2ec2e31c46c45d1f32667dfa8216a72705e · 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to < d871198ee431d90f5308d53998c1ba1d5db5619a · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.14.8 through 6.14.* (unaffected · semver) · 6.15 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
Ubuntu noble linux-aws-6.14 Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-aws-6.14-cloud-tools-6.14.0-1011 Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-aws-6.14-headers-6.14.0-1011 Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-aws-6.14-tools-6.14.0-1011 Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Show 92 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-buildinfo-6.14.0-1010-oem Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-buildinfo-6.14.0-1011-aws Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-buildinfo-6.14.0-1011-aws-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-buildinfo-6.14.0-1011-oracle Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-buildinfo-6.14.0-1011-oracle-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-buildinfo-6.14.0-1014-gcp Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-buildinfo-6.14.0-1014-gcp-64k Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-buildinfo-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-buildinfo-6.14.0-28-generic-64k Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-cloud-tools-6.14.0-1011-aws Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-cloud-tools-6.14.0-1011-aws-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-cloud-tools-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-gcp-6.14 Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-gcp-6.14-headers-6.14.0-1014 Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-gcp-6.14-tools-6.14.0-1014 Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-headers-6.14.0-1010-oem Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-headers-6.14.0-1011-aws Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-headers-6.14.0-1011-aws-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-headers-6.14.0-1011-oracle Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-headers-6.14.0-1011-oracle-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-headers-6.14.0-1014-gcp Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-headers-6.14.0-1014-gcp-64k Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-headers-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-headers-6.14.0-28-generic-64k Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-hwe-6.14 Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-hwe-6.14-cloud-tools-6.14.0-28 Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-hwe-6.14-headers-6.14.0-28 Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-hwe-6.14-tools-6.14.0-28 Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-image-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-image-unsigned-6.14.0-1010-oem Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-image-unsigned-6.14.0-1011-aws Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-image-unsigned-6.14.0-1011-aws-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-image-unsigned-6.14.0-1011-oracle Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-image-unsigned-6.14.0-1011-oracle-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-image-unsigned-6.14.0-1014-gcp Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-image-unsigned-6.14.0-1014-gcp-64k Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-image-unsigned-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-image-unsigned-6.14.0-28-generic-64k Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-lib-rust-6.14.0-1014-gcp Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-lib-rust-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-modules-6.14.0-1010-oem Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-modules-6.14.0-1011-aws Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-modules-6.14.0-1011-aws-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-modules-6.14.0-1011-oracle Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-modules-6.14.0-1011-oracle-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-modules-6.14.0-1014-gcp Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-modules-6.14.0-1014-gcp-64k Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-modules-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-modules-6.14.0-28-generic-64k Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-modules-extra-6.14.0-1011-aws Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-modules-extra-6.14.0-1011-aws-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-modules-extra-6.14.0-1011-oracle Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-modules-extra-6.14.0-1011-oracle-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-modules-extra-6.14.0-1014-gcp Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-modules-extra-6.14.0-1014-gcp-64k Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-modules-extra-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-modules-ipu6-6.14.0-1010-oem Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-modules-ipu6-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-modules-ipu7-6.14.0-1010-oem Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-modules-ipu7-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-modules-iwlwifi-6.14.0-1010-oem Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-modules-iwlwifi-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-modules-usbio-6.14.0-1010-oem Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-modules-usbio-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-modules-vision-6.14.0-1010-oem Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-modules-vision-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-oem-6.14 Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-oem-6.14-headers-6.14.0-1010 Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-oem-6.14-tools-6.14.0-1010 Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-oracle-6.14 Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-oracle-6.14-headers-6.14.0-1011 Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-oracle-6.14-tools-6.14.0-1011 Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-tools-6.14.0-1010-oem Advisory build 6.14.0-1010.10 USN-7699-2
Ubuntu noble linux-tools-6.14.0-1011-aws Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-tools-6.14.0-1011-aws-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-tools-6.14.0-1011-oracle Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-tools-6.14.0-1011-oracle-64k Advisory build 6.14.0-1011.11~24.04.1 USN-7699-1
Ubuntu noble linux-tools-6.14.0-1014-gcp Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-tools-6.14.0-1014-gcp-64k Advisory build 6.14.0-1014.15~24.04.1 USN-7699-1
Ubuntu noble linux-tools-6.14.0-28-generic Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu noble linux-tools-6.14.0-28-generic-64k Advisory build 6.14.0-28.28~24.04.1 USN-7699-2
Ubuntu plucky linux-azure Advisory build 6.14.0-1010.10 USN-7721-1
Ubuntu plucky linux-azure-cloud-tools-6.14.0-1010 Advisory build 6.14.0-1010.10 USN-7721-1
Ubuntu plucky linux-azure-headers-6.14.0-1010 Advisory build 6.14.0-1010.10 USN-7721-1
Ubuntu plucky linux-azure-tools-6.14.0-1010 Advisory build 6.14.0-1010.10 USN-7721-1
Ubuntu plucky linux-buildinfo-6.14.0-1010-azure Advisory build 6.14.0-1010.10 USN-7721-1
Ubuntu plucky linux-cloud-tools-6.14.0-1010-azure Advisory build 6.14.0-1010.10 USN-7721-1
Ubuntu plucky linux-headers-6.14.0-1010-azure Advisory build 6.14.0-1010.10 USN-7721-1
Ubuntu plucky linux-image-unsigned-6.14.0-1010-azure Advisory build 6.14.0-1010.10 USN-7721-1
Ubuntu plucky linux-modules-6.14.0-1010-azure Advisory build 6.14.0-1010.10 USN-7721-1
Ubuntu plucky linux-modules-extra-6.14.0-1010-azure Advisory build 6.14.0-1010.10 USN-7721-1
Ubuntu plucky linux-tools-6.14.0-1010-azure Advisory build 6.14.0-1010.10 USN-7721-1

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo() Not everything requires locking in there, which is why the 'has_lock' variable exists. But enough does that it's a bit unwieldy to manage. Wrap the whole thing in a ->uring_lock trylock, and just return with no output if we fail to grab it. The existing trylock() will already have greatly diminished utility/output for the failure case. This fixes an issue with reading the SQE fields, if the ring is being actively resized at the same time.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

3

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 vulnerable path is reached purely through local syscalls — `io_uring_setup()`/`io_uring_register(IORING_REGISTER_RESIZE_RINGS)` plus a `read()` of `/proc/self/fdinfo/<ring fd>`. No remote or adjacent-network data is processed anywhere along the path. AC:L - The attacker controls both sides of the race, spinning one thread on resize and another on fdinfo reads, and can widen the window arbitrarily by using a large old ring and a small new ring so the unlocked SQE/CQE dump loop runs for thousands of iterations. No condition outside the attacker's influence is required. PR:L - Any unprivileged local user can create an io_uring instance with `IORING_SETUP_DEFER_TASKRUN|SINGLE_ISSUER` and resize it; no capability check exists on the register path. Reading one's own `/proc/self/fdinfo/<fd>` always satisfies the `ptrace_may_access(PTRACE_MODE_READ_FSCREDS)` gate in `proc_fdinfo_permission()`. UI:N - The entire attack runs inside the attacker's own process using its own ring fd and its own procfs entries. No other user or administrator has to do anything. S:U - The stale-pointer reads, faults, and information disclosure all occur in kernel context against the attacking process's own kernel objects, within the same security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - Stale `ctx->rings`/`ctx->sq_array` pointers are dereferenced after `release_pages()`/`vunmap()` frees the old ring regions, and stale `sq_entries`/`sq_mask` combined with the new smaller `ctx->sq_sqes` yield an out-of-bounds read of up to ~2 MB past the SQE region at an offset the attacker chooses through the userspace-mapped `sq_array`. The recovered bytes (`opcode, fd, flags, off, addr, rw_flags, buf_index, user_data`, or a full 128 bytes with SQE128) are `seq_printf()`ed directly into the fdinfo output the attacker reads, giving a repeatable kernel-memory disclosure primitive. I:H - This is a use-after-free on freed ring pages that can be recycled into arbitrary kernel allocations and then heap-sprayed by the attacker to steer the derived out-of-bounds dereference, consistent with UAF scoring practice for this subsystem. The leaked heap contents and kernel pointers also defeat KASLR and directly enable control-flow-hijacking exploitation of adjacent kernel state. A:H - `ctx->rings` and `ctx->sq_sqes` are transiently NULL during the swap, so `READ_ONCE(r->sq.head)` and `&ctx->sq_sqes[sq_idx << sq_shift]` produce a NULL-pointer oops, and dereferencing a `vunmap()`'d old region or reading megabytes past the new SQE region faults the kernel. An unprivileged user can trigger these in a tight loop for a reliable panic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to < bdb7d2ec2e31c46c45d1f32667dfa8216a72705e (affected · git)79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to < d871198ee431d90f5308d53998c1ba1d5db5619a (affected · git)Default: unaffected Linux · cna
Linux Linux 6.13 (affected)0 to < 6.13 (unaffected · semver)6.14.8 through 6.14.* (unaffected · semver)6.15 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/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo()

Provenance

Schema
5.2
Searchable
yes
Content hash
88f1c16b44202358c8db4b7880f124ec99e0ff51047c22dd3e5287d79b43a286
Ingested
23 Sep 2026, 08:46:29 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