CVE-2026-99042·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: io_uring/net: populate CONNECT filter fields for 24-byte sockaddr_in6 io_connect_bpf_populate() fills connect.port and connect.v6_addr for AF_INET6 only when addr_len >= sizeof(struct sockaddr_in6), i.e. 28 bytes. The IPv6 connect paths accept SIN6_LEN_RFC2133 (24 bytes), which already holds sin6_port and sin6_addr. io_connect() passes addr_len to the socket layer unchanged. At addr_len 24 the filter sees family AF_INET6 with port and address zero, while the kernel connects to the real destination. A filter that denies an IPv6 port or address is bypassed. Denying connect.port == P rejects [::1]:P with -EACCES at addr_len 28 but connects at addr_len 24. Use SIN6_LEN_RFC2133 as the threshold. sin6_scope_id stays zero when absent. The threshold mismatch was found by an AI coding assistant (Claude Code) comparing this hook against the net/ipv6 length checks on my instructions; it also drafted the reproducer and this patch. I verified the bypass and the fix in a VM on 7.3-rc6 and that 7.2 has the same code.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.2.11, 7.3
- 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.16% — higher than 5% 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-99042 scores 8.4 on CVSS, so a successful attack would be serious — but at 0.16%, 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.
How to fix this CVE
Update your Linux kernel to version 7.2.11 or later (7.3+ for mainline users) to patch the io_uring BPF filter bypass vulnerability. Most users should install their distribution's patched kernel package rather than compiling mainline, as distro kernels receive backported security fixes. Apply the update immediately and reboot to activate the patched kernel.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your running kernel version with `uname -r` and compare against the affected range (anything below 7.2.11 in the 7.2 stable branch or early 7.3 builds).
- Step 2: Verify if io_uring is in use on your system by running `grep -r io_uring /proc/*/fd/ 2>/dev/null | head -5` to see if any processes have io_uring file descriptors open.
- Step 3: Search kernel audit logs for failed connect operations by running `ausearch -m NETFILTER_CFG 2>/dev/null | tail -20` to detect BPF filter rejections that may have been bypassed.
- Step 4: After applying the kernel update and rebooting, confirm the fix by running `uname -r` and verifying the new version is 7.2.11+ or 7.3+ as appropriate for your branch.
FAQ
What is CVE-2026-99042?
This vulnerability allows a process with limited privileges to bypass Linux kernel BPF security filters on IPv6 connect operations by using a 24-byte sockaddr_in6 structure instead of the standard 28-byte format. The kernel accepts both sizes but the BPF filter validation only checked the larger format, creating a security filter bypass window.
Is CVE-2026-99042 being actively exploited?
No, this vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, the CVSS score of 8.4 indicates high severity and the bypass nature makes it a priority fix.
What versions of Kernel are affected by CVE-2026-99042?
The vulnerability affects Linux kernel versions prior to 7.2.11 in the 7.2 stable branch and early builds of the 7.3 mainline series. Kernel 7.1 and earlier versions are also affected; check your distribution's backported patch status.
How do I check if my server is vulnerable to CVE-2026-99042?
Run `uname -r` to get your kernel version. If it shows 7.2.10 or earlier, or a 7.3-rc build, your kernel is vulnerable. Additionally, check if BPF-based security policies are enforced with `cat /proc/sys/net/core/bpf_stats_enabled` (if non-zero, BPF filtering is active).
Does Defensia detect CVE-2026-99042?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel package is installed on a monitored server, CVE-2026-99042 will appear in your dashboard with remediation steps and recommended actions for your distribution.
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-99042. Free for 1 server.
Get started free