Skip to main content
Vulnerability Database/CVE-2026-98099

CVE-2026-98099: Linux Kernel IPv6 Race Condition Vulnerability

CVE-2026-98099 is a race condition flaw in Linux kernel IPv6 multicast code affecting RCU-protected list operations. Improper pointer assignments could lead to system instability. This article covers technical details, impact analysis, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98099 Overview

CVE-2026-98099 is a race condition vulnerability in the Linux kernel's IPv6 multicast (mcast) subsystem. The flaw resides in net/ipv6/mcast.c, where several code paths update RCU-protected lists using direct pointer assignments instead of rcu_assign_pointer(). Affected lists include np->ipv6_mc_list, idev->mc_list, and idev->mc_tomb. Concurrent lockless readers traversing these lists under rcu_read_lock() can observe inconsistent pointer state. The issue has been resolved upstream in the Linux kernel source tree.

Critical Impact

Missing memory ordering during RCU list updates in the IPv6 multicast layer can expose kernel readers to torn or stale pointers, potentially leading to memory corruption or kernel instability.

Affected Products

  • Linux kernel net/ipv6/mcast.c IPv6 multicast subsystem
  • Linux distributions shipping unpatched kernel versions
  • Systems with IPv6 multicast enabled

Discovery Timeline

  • 2026-09-25 - CVE-2026-98099 published to NVD
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-98099

Vulnerability Analysis

The vulnerability is a race condition rooted in incorrect use of the Read-Copy-Update (RCU) synchronization primitive within the IPv6 multicast code. Four distinct code paths in net/ipv6/mcast.c modify __rcu-annotated list pointers without using rcu_assign_pointer().

In __ipv6_dev_mc_dec(), unlinking a group from idev->mc_list executed *map = ma->next directly. Readers walking idev->mc_list locklessly under rcu_read_lock() could observe inconsistent list state. In ipv6_sock_mc_drop() and __ipv6_sock_mc_close(), assignments such as *lnk = mc_lst->next and np->ipv6_mc_list = mc_lst->next raced with lockless readers in inet6_mc_check().

In __ipv6_sock_mc_join(), mc_lst->next was initialized to np->ipv6_mc_list via raw assignment before the new element was published. In mld_del_delrec() and __ipv6_dev_mc_inc(), __rcu source pointers passed into rcu_assign_pointer() lacked explicit dereference helpers.

Root Cause

The root cause is a missing memory barrier contract between writers and lockless RCU readers. The rcu_assign_pointer() macro inserts the memory barrier required to guarantee that readers see a fully constructed object. Raw pointer assignment permits compiler and CPU reordering, allowing readers to observe partially initialized or stale list nodes.

Attack Vector

Triggering the race requires concurrent IPv6 multicast socket operations such as joining, leaving, or dropping multicast groups while other threads traverse the multicast lists. The resulting undefined behavior can manifest as kernel memory corruption, invalid pointer dereferences, or system instability on affected kernels. No proof-of-concept exploit is currently published, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

The upstream fix replaces raw assignments with rcu_assign_pointer() and introduces mc_dereference() and sock_dereference() helpers for correctly reading __rcu pointers under lock. See the Kernel Git Commit 0c8f56c and Kernel Git Commit 2e46b0c for the full patch set.

Detection Methods for CVE-2026-98099

Indicators of Compromise

  • Unexplained kernel oops or panics referencing ipv6_mc_list, mc_tomb, or functions in net/ipv6/mcast.c
  • Kernel log entries referencing inet6_mc_check, __ipv6_dev_mc_dec, or mld_del_delrec during multicast activity
  • Sporadic IPv6 multicast group state inconsistencies under heavy socket churn

Detection Strategies

  • Inventory running kernel versions and compare against upstream stable trees that incorporate the referenced commits
  • Collect dmesg and crash dumps from systems using IPv6 multicast to identify RCU-related faults
  • Review distribution security trackers for backported fixes referencing CVE-2026-98099

Monitoring Recommendations

  • Monitor kernel crash telemetry centrally and correlate against workloads using IPv6 multicast (MLD, mDNS, routing daemons)
  • Track package and kernel update status across the fleet to confirm patched versions are deployed
  • Alert on repeated kernel soft lockups or RCU stall warnings on IPv6-enabled hosts

How to Mitigate CVE-2026-98099

Immediate Actions Required

  • Identify Linux hosts running kernel builds without the referenced upstream commits
  • Prioritize patching systems that terminate IPv6 multicast traffic or run multicast-heavy workloads
  • Schedule rolling reboots after kernel package upgrades to activate the fixed code paths

Patch Information

The fix consistently uses rcu_assign_pointer() for all __rcu list updates in net/ipv6/mcast.c and introduces proper mc_dereference() and sock_dereference() usage for reading __rcu pointers. Apply the stable kernel updates referenced in Kernel Git Commit 0c8f56c and Kernel Git Commit 2e46b0c, or install the vendor-backported kernel package from your distribution.

Workarounds

  • Disable IPv6 multicast on hosts that do not require it, where operationally feasible
  • Restrict untrusted local workloads from performing arbitrary IPv6 multicast join and drop operations
  • Prefer kernel updates over configuration workarounds, as the underlying race cannot be fully mitigated without the patch
bash
# Verify kernel version and check for the fix in distribution changelogs
uname -r
# Debian/Ubuntu
apt-get changelog linux-image-$(uname -r) | grep -i 'ipv6.*mcast\|CVE-2026-98099'
# RHEL/Alma/Rocky
rpm -q --changelog kernel | grep -i 'ipv6.*mcast\|CVE-2026-98099'

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.