Skip to main content

In the Linux kernel, the following vulnerability has been resolved: udp: remove a disconnected socket from the 4-tuple hash table A UDP socket bound… (CVE-2026-98595)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:55 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's UDP socket handling was resolved, where a disconnected UDP socket bound to a specific address and port remained in the 4-tuple hash table. This stale entry caused the kernel to continue processing packets through the 4-tuple lookup unnecessarily. The issue affected both IPv4 and IPv6 sockets, with a related but separate IPv6 defect not addressed here. The fix involves removing the socket entry from the hash table before disconnection completes, preventing stale entries and potential lookup inefficiencies.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The Linux kernel UDP implementation had a flaw where a UDP socket bound to a specific address and port retained its entry in the 4-tuple hash table after disconnection. The __udp_disconnect() function only removed the socket entry as a side effect of rehash or unhash operations, which were skipped under certain lock conditions, leaving stale entries. This caused the hash4 count to remain elevated, forcing all packets for that address and port through the 4-tuple lookup unnecessarily. On IPv6, the stale entry could cause matches with zero source ports due to uncleared sk_v6_daddr, a separate defect not fixed here. The patch removes the socket from the hash table before __udp_disconnect() runs, ensuring no stale entries remain and improving lookup correctness and efficiency.

Potential Impact

The vulnerability results in stale UDP socket entries persisting in the kernel's 4-tuple hash table after socket disconnection. This causes unnecessary packet processing overhead as packets continue to be routed through the 4-tuple lookup. On IPv6, it may also lead to incorrect packet matching due to stale address data, though that specific defect is not addressed by this fix. There is no indication of direct security compromise or exploitation in the provided data.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to remove disconnected UDP sockets from the 4-tuple hash table before disconnection completes. Users should update to a kernel version that includes commit 6996a2d2d0a6 or later, which contains this fix. No other mitigation actions are indicated or necessary.

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-mg64-mpw7-gmp2
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98595"]

Threat ID: 6ad520ae2cdf04f656993a92

Added to database: 10/18/2026, 19:40:30 UTC

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

Last updated: 10/18/2026, 23:08:17 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