CVE-2026-31774·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: io_uring/net: fix slab-out-of-bounds read in io_bundle_nbufs() sqe->len is __u32 but gets stored into sr->len which is int. When userspace passes sqe->len values exceeding INT_MAX (e.g. 0xFFFFFFFF), sr->len overflows to a negative value. This negative value propagates through the bundle recv/send path: 1. io_recv(): sel.val = sr->len (ssize_t gets -1) 2. io_recv_buf_select(): arg.max_len = sel->val (size_t gets 0xFFFFFFFFFFFFFFFF) 3. io_ring_buffers_peek(): buf->len is not clamped because max_len is astronomically large 4. iov[].iov_len = 0xFFFFFFFF flows into io_bundle_nbufs() 5. io_bundle_nbufs(): min_t(int, 0xFFFFFFFF, ret) yields -1, causing ret to increase instead of decrease, creating an infinite loop that reads past the allocated iov[] array This results in a slab-out-of-bounds read in io_bundle_nbufs() from the kmalloc-64 slab, as nbufs increments past the allocated iovec entries. BUG: KASAN: slab-out-of-bounds in io_bundle_nbufs+0x128/0x160 Read of size 8 at addr ffff888100ae05c8 by task exp/145 Call Trace: io_bundle_nbufs+0x128/0x160 io_recv_finish+0x117/0xe20 io_recv+0x2db/0x1160 Fix this by rejecting negative sr->len values early in both io_sendmsg_prep() and io_recvmsg_prep(). Since sqe->len is __u32, any value > INT_MAX indicates overflow and is not a valid length.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.19.12
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-31774 scores 7.1 on CVSS, so a successful attack would be serious — but at 0.17%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 6.19.12
Fixed in: 6.19.12
How to fix this CVE
Update your Linux kernel to version 6.19.12 or later to patch a critical integer overflow vulnerability in the io_uring subsystem. This flaw allows unprivileged local users to trigger out-of-bounds memory reads by passing oversized length values to network operations, potentially leading to information disclosure or system crashes. Apply the kernel update and reboot your system to fully remediate the issue.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version and verify it is 6.19.12 or later
- Confirm io_uring support is enabled: grep -i 'CONFIG_IO_URING' /boot/config-$(uname -r) should show 'y'
- Monitor dmesg logs for KASAN warnings: dmesg | grep -i 'slab-out-of-bounds' to detect exploitation attempts
- After patching, reboot and re-run 'uname -r' to confirm the new kernel version is loaded
FAQ
What is CVE-2026-31774?
CVE-2026-31774 is an integer overflow vulnerability in the Linux kernel's io_uring network path that occurs when userspace supplies length values exceeding INT_MAX. This causes buffer validation to fail, leading to out-of-bounds memory reads in kernel buffers.
Is CVE-2026-31774 being actively exploited?
No, according to CISA KEV data, CVE-2026-31774 is not currently being actively exploited in the wild, and no public exploits have been released.
What versions of Kernel are affected by CVE-2026-31774?
Kernel versions 6.19 through 6.19.11 are vulnerable. The issue is resolved in kernel 6.19.12 and later.
How do I check if my server is vulnerable to CVE-2026-31774?
Run 'uname -r' to display your kernel version. If the version is between 6.19 and 6.19.11, your system is vulnerable and requires an immediate update.
Does Defensia detect CVE-2026-31774?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-31774 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31774. Free for 1 server.
Get started free