# CVE-2026-31484: io_uring/fdinfo: fix OOB read in SQE_MIXED wrap check

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-22T13:54:10.223Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-125
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 1cba30bf9fdd6c982708f3587f609a30c370d889 before ba21ab247a5be5382da7464b95afbe5f0e9aa503; from 1cba30bf9fdd6c982708f3587f609a30c370d889 before 5170efd9c344c68a8075dcb8ed38d3f8a60e7ed4; 6.19 (not affected: before 6.19; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.19.1 before 6.19.11; 6.19; 7.0

## References

- <https://git.kernel.org/stable/c/ba21ab247a5be5382da7464b95afbe5f0e9aa503> (patch)
- <https://git.kernel.org/stable/c/5170efd9c344c68a8075dcb8ed38d3f8a60e7ed4> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-31484 · Whole record: https://cve.day/CVE-2026-31484.json · Rebuilt by cve.day 2026-11-25T22:59:19.285Z
