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

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

CVE-2026-98101 is a race condition flaw in Linux kernel IPv6 multicast code that causes data corruption during concurrent access. This article covers the technical details, affected kernel versions, 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-98101 Overview

CVE-2026-98101 is a race condition in the Linux kernel's IPv6 multicast source filter handling. The flaw resides in ip6_mc_source(), which mutated the per-multicast-group source list (pmc->sflist) in place while concurrent readers accessed it locklessly under RCU. Readers in inet6_mc_check() operate during UDP and RAW multicast packet reception, meaning the filter state can be observed mid-update. Because 16-byte struct in6_addr writes are not atomic and array shifts are not synchronized with RCU readers, concurrent reception paths can observe torn IPv6 addresses or duplicated and missing source entries. The upstream fix converts ip6_mc_source() to a copy-on-write RCU update pattern.

Critical Impact

Concurrent IPv6 multicast receivers can read torn addresses or inconsistent source filter state, resulting in unpredictable packet filtering behavior and potential kernel memory safety issues on affected hosts.

Affected Products

  • Linux kernel (IPv6 multicast subsystem, net/ipv6/mcast.c)
  • Distributions shipping kernels prior to the backported fix commits
  • Systems with IPv6 multicast enabled and applications using source-specific multicast (SSM)

Discovery Timeline

  • 2026-09-25 - CVE-2026-98101 published to the National Vulnerability Database
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-98101

Vulnerability Analysis

The vulnerability is a race condition [CWE-362] between writers in ip6_mc_source() and lockless RCU readers in inet6_mc_check(). The reader path executes on every incoming UDP or RAW IPv6 multicast packet and traverses pmc->sflist under rcu_read_lock(). The writer path adds or removes source filter entries when userspace invokes setsockopt() operations such as MCAST_JOIN_SOURCE_GROUP or IPV6_ADD_SOURCE_MEMBERSHIP.

Before the fix, ip6_mc_source() mutated psl->sl_addr and psl->sl_count directly within the live list. When the filter buffer needed to grow, the kernel published the new allocation via rcu_assign_pointer() before writing the new source address into the array slot. Readers traversing the newly published list could therefore observe uninitialized or partially written address entries.

Root Cause

The root cause is twofold. First, struct in6_addr is 16 bytes and its assignment is not guaranteed to be atomic on any supported architecture, so a concurrent reader can observe a torn address during update. Second, in-place array shifting during source removal breaks the invariant that RCU-protected data is immutable while readers may be running. Publishing memory with rcu_assign_pointer() prior to populating it compounds the issue by exposing uninitialized storage to readers.

Attack Vector

Triggering the race requires the ability to call multicast source filter setsockopt() operations and concurrent IPv6 multicast traffic reception. Local unprivileged processes that can open IPv6 sockets can issue the vulnerable setsockopt() calls. The impact depends on what the reader observes: incorrect filter decisions, duplicated or missed source entries, or reads of partially written memory in the kernel's networking fast path. Public exploit code is not referenced in the advisory, and no CISA KEV listing exists.

The fix follows the pattern already used by ip6_mc_msfilter(): allocate a new newpsl, fully populate it, publish it with rcu_assign_pointer(), and reclaim the old filter via kfree_rcu(). The patch also removes the now-unused IP6_SFBLOCK macro. See the upstream commits for implementation details: 20db91a0, 2c2091e2, and c073d1b0.

Detection Methods for CVE-2026-98101

Indicators of Compromise

  • No file-based or network IOCs are published for this vulnerability. Exploitation leaves no distinctive on-disk artifact.
  • Unexpected kernel oops, KASAN reports, or UBSAN warnings referencing ip6_mc_source, inet6_mc_check, or mcast.c call sites on IPv6 multicast workloads.

Detection Strategies

  • Inventory running kernel versions across the fleet and compare them against the fixed commits referenced in the kernel.org stable tree.
  • Enable CONFIG_KASAN on test and canary hosts to surface data races and torn reads in the IPv6 multicast path during fuzzing.
  • Audit syscall telemetry for processes making unusual volumes of setsockopt() calls with IPV6_ADD_SOURCE_MEMBERSHIP, IPV6_DROP_SOURCE_MEMBERSHIP, or MCAST_JOIN_SOURCE_GROUP.

Monitoring Recommendations

  • Collect kernel ring buffer messages (dmesg) centrally and alert on crashes or warnings in IPv6 multicast functions.
  • Track EDR telemetry for processes manipulating multicast source filters at high rates, which may indicate race-condition probing.
  • Monitor host crash and reboot metrics on servers that handle IPv6 multicast traffic such as routing daemons and streaming receivers.

How to Mitigate CVE-2026-98101

Immediate Actions Required

  • Apply the vendor-supplied kernel update that includes the three upstream commits listed in the advisory.
  • Prioritize patching hosts that process IPv6 multicast traffic, including PIM/MLD routers, media distribution servers, and multicast-based service discovery endpoints.
  • Restrict local shell access on multi-tenant systems until the fix is deployed, as the race is reachable from unprivileged user space.

Patch Information

The fix is distributed via the Linux stable tree. Reference the commits 20db91a052332ef5552bd2f651ffb9db911cf67b, 2c2091e2ee93049fc513ad1e6c99d8b6c809f467, and c073d1b070f171d206b19c98d71739a97f15b3f1. Apply the stable kernel release that incorporates these commits, or install the equivalent backport from your Linux distribution vendor.

Workarounds

  • Disable IPv6 multicast on hosts that do not require it by removing applications that join source-filtered multicast groups.
  • Where feasible, disable IPv6 entirely via sysctl net.ipv6.conf.all.disable_ipv6=1 on systems that have no IPv6 dependency.
  • Reduce local attack surface by enforcing least-privilege execution and seccomp profiles that restrict setsockopt() on IPv6 sockets for untrusted workloads.
bash
# Verify running kernel version and check for the fix
uname -r

# Example: disable IPv6 as a temporary workaround (only if not required)
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1

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.