Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99042

published high CVSS 3.1 · 8.4

io_uring/net: populate CONNECT filter fields for 24-byte sockaddr_in6

Published
23 Oct 2026, 12:22:01 UTC
Updated
24 Oct 2026, 14:10:09 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux899bea8248cee35d54760a5e7d61a76af8e64411 to < 596a955d2d01b7e29d9fed60ebcf7c4ba518b8e5 · 899bea8248cee35d54760a5e7d61a76af8e64411 to < aa5d5f8e502318e783545ba5d04bb40130b83e20 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.2 (affected) · 0 to < 7.2 (unaffected · semver) · 7.2.11 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.4 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Scenarios
en: AV:L - An attacker reaches the patched io_connect_bpf_populate() by locally submitting IORING_OP_CONNECT through io_uring_enter(), with sqe->addr2 supplying the malicious 24-byte length. No network packet carries the value creating the mismatch. AC:L - Against a CONNECT filter denying an IPv6 port or address, addr2=24 deterministically makes io_connect_bpf_populate() expose zero port/address while tcp_v6_connect() accepts and uses the real fields; no race or uncontrolled condition is involved. PR:L - No capability check exists in io_uring_enter(), io_connect_prep(), or io_connect(), and AF_INET6 SOCK_STREAM creation avoids inet6_create()'s CAP_NET_RAW check. An ordinary confined process with access to the filtered ring can trigger the bypass. UI:N - The confined process prepares and submits the 24-byte sockaddr itself, and io_connect_prep() copies it during io_uring_enter(); no other user must mount, open, approve, or otherwise act. S:C - The false port/address view escapes the io_uring BPF CONNECT sandbox: __io_uring_run_bpf_filters() allows an operation that an inherited or ring-level filter intended to deny, reaching network resources outside that policy scope. C:H - After the filter sees :: and port 0, tcp_v6_connect() uses sin6_addr and sin6_port from the same 24 bytes; the confined process can establish a full socket and read responses from IPv6 services the CONNECT filter explicitly made inaccessible. I:H - tcp_v6_connect() stores the hidden destination in sk_v6_daddr and inet_dport and establishes the denied socket, enabling arbitrary application data and requests to be sent to IPv6 services and ports prohibited by the sandbox policy. A:N - The bug only substitutes zero values in the filter context; move_addr_to_kernel() safely copies 24 bytes and the IPv6 socket layer accepts that size. It introduces no corruption, out-of-bounds access, oops, hang, or resource exhaustion.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 899bea8248cee35d54760a5e7d61a76af8e64411 to < 596a955d2d01b7e29d9fed60ebcf7c4ba518b8e5 (affected · git)899bea8248cee35d54760a5e7d61a76af8e64411 to < aa5d5f8e502318e783545ba5d04bb40130b83e20 (affected · git)Default: unaffected Linux · cna
Linux Linux 7.2 (affected)0 to < 7.2 (unaffected · semver)7.2.11 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

io_uring/net: populate CONNECT filter fields for 24-byte sockaddr_in6

Provenance

Schema
5.2
Searchable
yes
Content hash
069086693fed7410b61f126828daf886bfa76aa9eeafbf04009d4a3af3289036
Ingested
24 Oct 2026, 14:14:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected