CVE-2026-31484
published high CVSS 3.1 · 7.1io_uring/fdinfo: fix OOB read in SQE_MIXED wrap check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1cba30bf9fdd6c982708f3587f609a30c370d889 to < ba21ab247a5be5382da7464b95afbe5f0e9aa503 · 1cba30bf9fdd6c982708f3587f609a30c370d889 to < 5170efd9c344c68a8075dcb8ed38d3f8a60e7ed4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.11 through 6.19.* (unaffected · semver) · 7.0 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 |
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring/fdinfo: fix OOB read in SQE_MIXED wrap check __io_uring_show_fdinfo() iterates over pending SQEs and, for 128-byte SQEs on an IORING_SETUP_SQE_MIXED ring, needs to detect when the second half of the SQE would be past the end of the sq_sqes array. The current check tests (++sq_head & sq_mask) == 0, but sq_head is only incremented when a 128-byte SQE is encountered, not on every iteration. The actual array index is sq_idx = (i + sq_head) & sq_mask, which can be sq_mask (the last slot) while the wrap check passes. Fix by checking sq_idx directly. Keep the sq_head increment so the loop still skips the second half of the 128-byte SQE on the next iteration.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:L - The vulnerable path is reached locally by creating an io_uring instance and reading its procfs fdinfo entry; there is no network or adjacent attack surface. AC:L - The attacker controls the ring setup flags, SQ tail, SQ array mapping, and 128-byte SQE opcode needed to place a mixed SQE at the last physical slot. No race or external timing condition is required, and transient lock contention can be retried. PR:L - A normal unprivileged local user can use io_uring when the default io_uring sysctl allows it and can read /proc/self/fdinfo for its own fd. No real root or init-namespace capability is required. UI:N - The attacker triggers the bug by reading their own fdinfo file. No victim action is needed. S:U - The issue is a local kernel memory access bug within the same kernel security authority. It does not cross a VM, IOMMU, or other separate security scope boundary. C:H - The bug prints the second half of a 128-byte SQE by dereferencing up to 64 bytes past the SQE array, exposing adjacent kernel memory through procfs. The leak is attacker-triggerable and repeatable, so the highest defensible confidentiality impact is high. I:N - The vulnerable operation is an out-of-bounds read used for fdinfo printing and does not write to kernel memory or directly modify protected state. A:H - The same out-of-bounds kernel dereference can cross the end of the SQE allocation or a vmap-backed region and fault/oops depending on allocation layout. An unprivileged attacker can repeatedly trigger the path, so availability impact is high.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1cba30bf9fdd6c982708f3587f609a30c370d889 to < ba21ab247a5be5382da7464b95afbe5f0e9aa503 (affected · git)1cba30bf9fdd6c982708f3587f609a30c370d889 to < 5170efd9c344c68a8075dcb8ed38d3f8a60e7ed4 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.11 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
io_uring/fdinfo: fix OOB read in SQE_MIXED wrap check
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cbbc301ffa2f6d5ae722c4fbb693a6b432b0054d3ea9a7b218f6ed870792f464
- Ingested
- 23 Sep 2026, 09:09:24 UTC
- Source record
- Official CVE record