# CVE-2025-38002: io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-06T13:43:41.137Z
- Modified: 2026-08-05T11:58:53.483Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 before bdb7d2ec2e31c46c45d1f32667dfa8216a72705e; from 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 before d871198ee431d90f5308d53998c1ba1d5db5619a; 6.13 (not affected: before 6.13; from 6.14.8 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.13 before 6.14.8; 6.15

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://project-zero.issues.chromium.org/issues/417522668> (exploit, issue-tracking)
- <https://git.kernel.org/stable/c/bdb7d2ec2e31c46c45d1f32667dfa8216a72705e> (patch)
- <https://git.kernel.org/stable/c/d871198ee431d90f5308d53998c1ba1d5db5619a> (patch)

## Sources

- CVE List: [CVE-2025-38002](https://www.cve.org/CVERecord?id=CVE-2025-38002), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38002](https://nvd.nist.gov/vuln/detail/CVE-2025-38002), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-38002 · Whole record: https://cve.day/CVE-2025-38002.json · Rebuilt by cve.day 2026-11-25T22:58:58.882Z
