← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel io_uring Network Connect BPF Filter Fails to Populate IPv6 Socket Address Fields for 24-Byte sockaddr_in6 Structures

Last refreshed2026-10-25

Status: UPDATED  |  Advisory ID: CVE-2026-99042

Key Details

CVECVE-2026-99042
CVSS Score / Version
8.4 (High) / CVSS v3.1
Updated2026-10-24
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is changed; confidentiality impact is high; integrity impact is high; availability impact is none.
Affected products
Linux Kernel
Exploitation prediction (EPSS)
0.16% probability of exploitation in the next 30 days (5% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-99042
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-99042
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.