Skip to main content

In the Linux kernel, the following vulnerability has been resolved: io_uring/net: populate CONNECT filter fields for 24-byte sockaddr_in6… (CVE-2026-99042)

0
Medium
Published: 10/23/2026 (10/23/2026, 15:31:35 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's io_uring/net subsystem was resolved that involved incorrect handling of IPv6 sockaddr length in connection filtering. The issue caused connect filters to see zeroed port and address fields when the sockaddr_in6 length was 24 bytes (SIN6_LEN_RFC2133), allowing filters that deny connections based on port or address to be bypassed. The fix aligns the length threshold to SIN6_LEN_RFC2133, ensuring filters correctly see the real destination address and port.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 18:52:21 UTC

Technical Analysis

The vulnerability in the Linux kernel io_uring/net code stemmed from io_connect_bpf_populate() only filling connect.port and connect.v6_addr fields for AF_INET6 addresses when the address length was at least 28 bytes (sizeof(struct sockaddr_in6)). However, IPv6 connect paths accept sockaddr_in6 structures with a length of 24 bytes (SIN6_LEN_RFC2133), which already contain the port and address fields. At this shorter length, the filter incorrectly saw zeroed port and address, allowing connection filters that deny specific IPv6 ports or addresses to be bypassed. The patch changes the threshold to use SIN6_LEN_RFC2133 (24 bytes) to ensure the filter sees the correct connection details. This mismatch was discovered and initially drafted by an AI assistant and verified on kernel versions 7.2 and 7.3-rc6.

Potential Impact

Filters that rely on the connect.port or connect.v6_addr fields to deny IPv6 connections could be bypassed if the sockaddr_in6 length was 24 bytes, potentially allowing unauthorized connections that should have been blocked by the filter. This could lead to unauthorized network connections bypassing security policies implemented via BPF connect filters.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to correct the length threshold used in io_connect_bpf_populate(), aligning it with SIN6_LEN_RFC2133 (24 bytes). Users should update to a kernel version that includes this patch (e.g., 7.3-rc6 or later). No additional mitigation is required beyond applying the official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-cg89-27g3-43v4
Osv Schema Version
1.4.0
Aliases
["CVE-2026-99042"]

Threat ID: 6adbaaced73cc49347b20522

Added to database: 10/23/2026, 18:43:26 UTC

Last enriched: 10/23/2026, 18:52:21 UTC

Last updated: 10/24/2026, 00:25:07 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses