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

CVE-2026-100071: Linux Kernel HSR Privilege Escalation Flaw

CVE-2026-100071 is a privilege escalation vulnerability in the Linux kernel HSR networking module that fails to free learned nodes during device setup failures. This article covers the technical details, security impact, 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-100071 Overview

CVE-2026-100071 is a memory management flaw in the Linux kernel's High-availability Seamless Redundancy (HSR) networking subsystem. The vulnerability resides in hsr_dev_finalize(), where failure during device setup leaves learned dynamic nodes allocated in node_db. Lower-device RX handlers execute in softirq context regardless of the master device's state, allowing frames to populate the node database before setup completes. The error unwind path does not release these entries, resulting in a kernel memory leak.

Critical Impact

Repeated failed HSR device setup attempts can exhaust kernel memory by leaking dynamically learned node entries that are never released during error unwind.

Affected Products

  • Linux kernel HSR (High-availability Seamless Redundancy) subsystem
  • Multiple stable kernel branches referenced in the upstream fix commits
  • Systems configuring HSR interfaces with slave and interlink devices

Discovery Timeline

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

Technical Details for CVE-2026-100071

Vulnerability Analysis

The HSR driver registers lower-device RX handlers as slave interfaces are added to the HSR master. When hsr_dev_finalize() adds slave A successfully but subsequent operations fail (such as adding slave B or the interlink device), the RX handler for the already-registered slave remains active. Because RX handlers run in softirq context independent of the master device's administrative state, incoming frames in that window are processed and can learn dynamic node entries into node_db.

The original error unwind path did not free the owned dynamic databases, leaving the learned entries allocated indefinitely. This represents a classified kernel memory leak [CWE-401] triggered by the race between RX handler registration and setup failure.

Root Cause

The root cause is an incomplete error-handling path in hsr_dev_finalize(). The function registers RX handlers early during device setup but failed to mirror the cleanup logic found in hsr_dellink() when later steps fail. Dynamic node learning begins the moment an RX handler is registered, meaning any error after that point strands allocated node entries.

Attack Vector

The vulnerability requires local privileges sufficient to configure network interfaces, typically CAP_NET_ADMIN. An actor with these privileges can repeatedly trigger HSR device setup failures while traffic is present on the registered slave interface. Each failed attempt leaks node entries, progressively consuming kernel memory. Exploitation is limited to local privileged users rather than remote attackers.

No exploitation code is published. See the upstream fix in the Linux Kernel Commit 49b01f2939ab for the authoritative patch.

Detection Methods for CVE-2026-100071

Indicators of Compromise

  • Kernel slab allocator growth attributable to HSR node database structures without corresponding HSR interface activity
  • Repeated hsr_dev_finalize() failure messages in kernel logs correlated with RTNETLINK operations
  • Unexplained increases in non-reclaimable kernel memory on hosts running HSR configurations

Detection Strategies

  • Monitor kernel memory accounting via /proc/slabinfo and /proc/meminfo for sustained growth in kernel allocations on HSR-enabled hosts
  • Audit ip link add type hsr operations and their return codes using netlink auditing
  • Correlate CAP_NET_ADMIN usage with HSR interface creation attempts that return errors

Monitoring Recommendations

  • Track SLAB/SUnreclaim metrics over time on industrial and telecom systems where HSR is deployed
  • Alert on repeated failed interface creation events from the same user or process
  • Collect kernel ring buffer output (dmesg) centrally for forensic review of HSR subsystem errors

How to Mitigate CVE-2026-100071

Immediate Actions Required

  • Apply the stable kernel update that includes the HSR node cleanup fix on all affected systems
  • Restrict CAP_NET_ADMIN to trusted administrators and automation accounts only
  • Inventory hosts running HSR to prioritize patching, focusing on industrial control and redundant-network deployments

Patch Information

The fix frees both owned dynamic databases in the error unwind of hsr_dev_finalize(), mirroring the cleanup logic in hsr_dellink(). The patched code calls hsr_del_port() to unregister each RX handler with synchronize_net() before hsr_del_nodes() removes remaining entries with list_del_rcu() and defers their release with call_rcu(). Patch commits are available at Commit 0a340ffd9694, Commit 49b01f2939ab, Commit 65702339b3e9, Commit 7f16289b91eb, Commit e691eee88687, and Commit f7289e3492f2.

Workarounds

  • Disable or unload the hsr kernel module on hosts that do not require HSR functionality
  • Avoid programmatic retry loops that recreate HSR interfaces after failure until the patch is applied
  • Isolate HSR interface configuration to maintenance windows under administrator supervision

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.