CVE-2025-38002

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38002
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38002.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38002
Downstream
Published
2025-06-06T13:43:41Z
Modified
2025-10-22T11:51:43.655017Z
Summary
io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo()
Details

In the Linux kernel, the following vulnerability has been resolved:

iouring/fdinfo: grab ctx->uringlock around iouringshow_fdinfo()

Not everything requires locking in there, which is why the 'haslock' variable exists. But enough does that it's a bit unwieldy to manage. Wrap the whole thing in a ->uringlock 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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
79cfe9e59c2a12c3b3faeeefe38d23f3d8030972
Fixed
bdb7d2ec2e31c46c45d1f32667dfa8216a72705e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
79cfe9e59c2a12c3b3faeeefe38d23f3d8030972
Fixed
d871198ee431d90f5308d53998c1ba1d5db5619a

Affected versions

v6.*

v6.12
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.14.1
v6.14.2
v6.14.3
v6.14.4
v6.14.5
v6.14.6
v6.14.7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.8