CVE-2025-38002

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

State
Published
Severity
7.8 High
Published
Jun 6, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to before bdb7d2ec2e31c46c45d1f32667dfa8216a72705eAffected
  • 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to before d871198ee431d90f5308d53998c1ba1d5db5619aAffected
LinuxLinux
  • 6.13Affected
  • before 6.13Not affected
  • 6.14.8 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.