io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.14.8
- CVEs
- CVE-2025-38002
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 04:24 UTC · Revision 1
Source evidence
io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo()
core-osv · Original sourcePublished 6 Jun 2025, 13:43 UTC
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.
osv:CVE-2025-38002
Kernel
Fixed versions: 6.14.8
Complete source record
{
"id": "663ca46b072058d820d4a9637624c0ce43ed8912f6996dc5e195716ddf2d320b",
"url": "https://osv.dev/vulnerability/CVE-2025-38002",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo()",
"summary": "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.",
"evidence": "osv:CVE-2025-38002",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.14.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-38002",
"aliases": [
"CVE-2025-38002"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "79cfe9e59c2a12c3b3faeeefe38d23f3d8030972"
},
{
"fixed": "bdb7d2ec2e31c46c45d1f32667dfa8216a72705e"
},
{
"fixed": "d871198ee431d90f5308d53998c1ba1d5db5619a"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38002.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.14.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38002.json"
}
}
],
"modified": "2026-10-28T02:30:42.678840144Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/bdb7d2ec2e31c46c45d1f32667dfa8216a72705e",
"https://git.kernel.org/stable/c/d871198ee431d90f5308d53998c1ba1d5db5619a",
"https://project-zero.issues.chromium.org/issues/417522668",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38002.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38002",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38002.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38002",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510239,
"published_at": "2025-06-06T13:43:41.137+00:00"
}