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

CVE-2026-98234: Linux Kernel HHF Scheduler DoS Vulnerability

CVE-2026-98234 is a denial of service flaw in the Linux kernel's HHF traffic scheduler that allows unbounded memory allocation through malicious network traffic. This article covers technical details, impact, and mitigation.

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-98234 Overview

CVE-2026-98234 is a Linux kernel vulnerability in the Heavy-Hitter Filter (HHF) queueing discipline under net/sched. The hhf_change() function stores the TCA_HHF_HH_FLOWS_LIMIT attribute with no upper bound. A local user with CAP_NET_ADMIN in a user namespace can configure an arbitrarily large hh_flows_limit value. Each new heavy-hitter flow then bypasses the hh_flows_current_cnt ceiling in alloc_new_hh(), forcing a fixed-size kzalloc(GFP_ATOMIC) per flow under spoofed traffic. The result is unbounded kernel memory growth that can exhaust system resources.

Critical Impact

An unprivileged user with a user namespace can trigger unbounded kernel memory allocation through the HHF qdisc, leading to resource exhaustion and denial of service.

Affected Products

  • Linux kernel versions including the net/sched HHF qdisc implementation prior to the fix
  • Distributions shipping affected kernel branches referenced in the stable commit set
  • Systems permitting unprivileged user namespaces with CAP_NET_ADMIN

Discovery Timeline

  • 2026-10-06 - CVE-2026-98234 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-98234

Vulnerability Analysis

The Heavy-Hitter Filter is a classless queueing discipline that tracks high-volume flows to apply differentiated treatment. It maintains per-flow state structures allocated on demand when new heavy-hitter flows are observed. The hh_flows_limit tunable governs the maximum number of concurrent heavy-hitter flow entries. When this limit is uncapped, the kernel cannot bound its own allocation behavior under adversarial traffic. This belongs to the resource exhaustion class of denial of service vulnerabilities.

A secondary defect compounds the issue. The hhf_init() routine invoked hhf_change() before assigning the default hh_flows_limit, so any user-supplied hh_limit at tc qdisc add time was overwritten by the hardcoded 2048 default. Operators believed their configurations applied when they did not.

Root Cause

The parsing path in hhf_change() accepts TCA_HHF_HH_FLOWS_LIMIT without netlink policy bounds. The attribute value flows directly into the qdisc's hh_flows_limit field. Downstream code in alloc_new_hh() uses this value as the only ceiling before issuing kzalloc(GFP_ATOMIC) for each new flow. With a maximum u32 value configured, allocation effectively proceeds without limit.

Attack Vector

An attacker with CAP_NET_ADMIN inside an unprivileged user namespace executes a command of the form tc qdisc change dev X root hhf hh_limit 4294967295. The command succeeds and tc qdisc show echoes the attacker-supplied value. The attacker then generates spoofed traffic with varied flow identifiers. Each distinct flow drives an atomic kernel allocation. Sustained traffic exhausts memory and can destabilize the host.

No code example is reproduced here. See the upstream fix commits listed under References for the authoritative implementation details.

Detection Methods for CVE-2026-98234

Indicators of Compromise

  • Presence of HHF qdiscs with hh_limit values well above the 2048 default, visible through tc qdisc show dev <iface>
  • Sustained growth in GFP_ATOMIC slab allocations correlated with network interface activity
  • Kernel log entries indicating allocation failures or OOM events tied to softirq context on networking subsystems

Detection Strategies

  • Audit container and workload hosts for processes that create user namespaces and hold CAP_NET_ADMIN, then enumerate qdisc configurations on their network devices
  • Baseline normal qdisc configurations across the fleet and alert on deviations where the active qdisc kind is hhf
  • Correlate tc invocations captured through auditd with subsequent spikes in kernel memory consumption

Monitoring Recommendations

  • Track /proc/meminfo Slab and SUnreclaim counters for anomalous growth on hosts running affected kernels
  • Monitor auditd events for execve of /sbin/tc and netlink RTM_NEWQDISC messages carrying TCA_HHF_HH_FLOWS_LIMIT
  • Alert on kernel ring buffer entries referencing alloc_new_hh allocation failures or OOM killer activity on networking paths

How to Mitigate CVE-2026-98234

Immediate Actions Required

  • Apply the upstream Linux kernel patches that bound TCA_HHF_HH_FLOWS_LIMIT with NLA_POLICY_MAX() at 2*HH_FLOWS_CNT
  • Inventory hosts that permit unprivileged user namespaces and restrict CAP_NET_ADMIN where it is not required
  • Review existing HHF qdisc configurations and remove entries exceeding the supported bound

Patch Information

Fixes are distributed across the stable kernel tree. Relevant commits include 06d2a10, 1731ff1, 2cef258, 35fd423, 7adfd0a, d8e2f1f, f3f4a5c, and f6547d2. This change is a follow-up to commit eb56a495f59b which clamped the quantum of the same qdisc.

Workarounds

  • Disable unprivileged user namespaces by setting kernel.unprivileged_userns_clone=0 or the equivalent user.max_user_namespaces=0 on hosts that do not require them
  • Avoid deploying the hhf qdisc on untrusted multi-tenant hosts until the fix is applied
  • Use seccomp or Linux Security Module policies to block the tc binary and netlink qdisc manipulation for workloads that have no legitimate need
bash
# Restrict unprivileged user namespaces to mitigate the attack path
sysctl -w kernel.unprivileged_userns_clone=0
sysctl -w user.max_user_namespaces=0

# Audit existing HHF qdisc configurations across interfaces
for dev in $(ls /sys/class/net); do
    tc qdisc show dev "$dev" | grep -i hhf
done

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.