← Back to search

CVE-2026-99042

8.4 HIGH

Published 2026-10-23 · Updated 2026-10-24

AI risk analysis

Summary
The Linux kernel's io_uring CONNECT filter incorrectly requires 28 bytes for IPv6 socket addresses (struct sockaddr_in6), but the kernel accepts 24-byte addresses (SIN6_LEN_RFC2133) that contain the same port and address fields. This allows an attacker with local privileges to bypass the filter by using a 24-byte address, causing the filter to see zeroed port and address while the kernel connects to the real destination.
Exploitability
Exploitation requires local access with low privileges (PR:L) and knowledge of the io_uring CONNECT filter configuration; no public exploit exists yet.
Blast radius
An attacker could bypass network restrictions enforced by eBPF filters on io_uring CONNECT operations, potentially allowing unauthorized outbound IPv6 connections from a compromised host.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Apply the patch referenced in the commit that changes the threshold from sizeof(struct sockaddr_in6) (28 bytes) to SIN6_LEN_RFC2133 (24 bytes); this fix is included in Linux kernel 7.3 and later.
bpf-bypassio_uringkernellocal-privilege-escalation

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.