Skip to main content

In the Linux kernel, the following vulnerability has been resolved: ipv6: Fix dst leak for uncached routes. (CVE-2026-98596)

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

Description

A vulnerability in the Linux kernel's IPv6 routing code causes a memory leak of destination cache (dst) objects for uncached routes due to a race condition in list handling when devices are unregistered. This flaw can lead to resource leaks tied to network devices. IPv4 is not affected by this issue. The vulnerability has been resolved by changing the detection method for uncached routes and fixing the race condition in list operations.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The Linux kernel's IPv6 routing functions ip6_route_output_flags(), ip6_rt_put_flags(), and ip6_dst_check() detect uncached routes by checking if the list rt->dst.rt_uncached is empty, replacing a previous static flag check. When a network device is unregistered, the function rt6_uncached_list_flush_dev() unlinks uncached routes tied to that device from the rt6_uncached_list. Previously, routes were moved between lists, but since a commit removing the quarantine list, routes are unlinked with list_del_init(). If list_del_init() runs concurrently, list_empty() may incorrectly evaluate to true, causing ip6_route_output_flags() to call dst_hold_safe() incorrectly and ip6_rt_put_flags() to skip ip6_rt_put(), resulting in a leak of dst objects and associated devices. A partial fix was made in a prior commit addressing races in rt6_uncached_list_del() and rt_del_uncached_list(). The current fix involves checking rt6->dst.rt_uncached_list directly to avoid the race. IPv4 routing code does not have this issue.

Potential Impact

The vulnerability causes a memory leak of destination cache objects and associated network device references in the IPv6 routing subsystem of the Linux kernel. This leak occurs due to a race condition during device unregistration and can lead to resource exhaustion over time. There is no indication of direct code execution or privilege escalation from the provided data. IPv4 routing is unaffected.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel by modifying the detection of uncached routes and correcting the race condition in list handling. Users should apply the official kernel updates that include this fix. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation. No alternative mitigations or workarounds are described.

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-gvvq-54cj-7xg4
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98596"]

Threat ID: 6ad520ae2cdf04f656993a95

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

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

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