Skip to main content

Linux Kernel CVE-2025-38468

MEDIUM
NULL Pointer Dereference (CWE-476)
2025-07-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain local access with CAP_NET_ADMIN
  2. Delivery
    Execute tc qdisc/class commands
  3. Exploit
    Configure nested HTB/netem/blackhole structure
  4. Install
    Send traffic through configuration
  5. C2
    Trigger qdisc dequeue cycle
  6. Execute
    htb_lookup_leaf encounters empty rbtree
  7. Impact
    BUG_ON kernel panic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local access with capability to execute tc (traffic control) commands is required - specifically CAP_NET_ADMIN capability or membership in a group with netadmin privileges. The attacker must create a specific nested qdisc configuration sequence: parent HTB qdisc → HTB class child → netem qdisc → blackhole child qdisc. Traffic must be enqueued to this configuration to trigger the dequeue path where the empty rbtree condition occurs. The condition is not present with simple qdisc configurations or non-nested setups. Default Linux installations without tc access restrictions are not automatically vulnerable; exploitation requires deliberate malicious qdisc setup or compromised local user account with networking privileges. This is not a default-configuration vulnerability - it requires intentional misuse of advanced traffic control features.

Impact

CVSS 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicates local, low-complexity denial of service requiring low privilege with no user interaction needed. EPSS score of 0.03% (7th percentile) is notably low, suggesting minimal real-world exploitation likelihood despite moderate CVSS. No KEV status reported and no public exploit code identified, indicating this is a low-priority denial of service rather than a widespread active threat. The attack requires deliberate setup of a specific qdisc configuration sequence, not something triggered by normal networking. The local-only attack vector significantly limits real-world impact compared to network-exploitable vulnerabilities. However, in shared hosting environments or systems where untrusted local users can execute tc (traffic control) commands, this becomes a feasible privilege escalation or service disruption vector. The low EPSS combined with requires-configuration-knowledge prerequisites suggests this is not a critical priority despite matching KEV criteria for denial of service.

Exploit ScenarioDerived

A local attacker with low privilege (e.g., unprivileged user with CAP_NET_ADMIN or member of netadmin group) executes a sequence of tc commands to create a nested qdisc structure: HTB root qdisc → HTB class → netem qdisc → blackhole child qdisc. The attacker then sends traffic through this configuration (e.g., ping to loopback interface) which causes the blackhole qdisc to drop packets, triggering the deactivation sequence that removes the class from the rbtree. On the next dequeue cycle, htb_lookup_leaf encounters the empty tree and triggers a kernel BUG_ON, crashing the kernel and achieving denial of service.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 12, 2026

Denial of service in Linux kernel net/sched subsystem allows local authenticated attackers to trigger a kernel panic (BUG_ON) by manipulating HTB qdisc (hierarchical token bucket queue discipline) configuration with nested qdisc classes, causing htb_lookup_leaf to encounter an empty rbtree. The vulnerability requires low privilege and local access; no special user interaction is needed once a malicious qdisc configuration is set up. Vendor-released patches are available across multiple stable kernel series.

RemediationAI

Apply vendor-released kernel patches available from kernel.org stable branches: commit 0e1d5d9b5c5966e2e42e298670808590db5ed628, 3691f84269a23f7edd263e9b6edbc27b7ae332f4, 5c0506cd1b1a3b145bda2612bbf7fe78d186c355, 7ff2d83ecf2619060f30ecf9fad4f2a700fca344, 850226aef8d28a00cf966ef26d2f8f2bff344535, 890a5d423ef0a7bd13447ceaffad21189f557301, e5c480dc62a3025b8428d4818e722da30ad6804f, and fed3570e548a6c9f95c5f4c9e1a7afc1679fd90d represent the fix applied across stable series. For Debian systems, follow security advisories at https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html and msg00008.html. The fix replaces the BUG_ON assertion with a NULL return, allowing htb_dequeue_tree to safely handle empty rbtrees. For systems unable to immediately patch, restrict local user access to tc (traffic control) commands by removing capability CAP_NET_ADMIN from untrusted users or disabling HTB qdisc entirely if not required (trade-off: loss of traffic shaping capability). No user-space workaround exists; kernel upgrade is required for complete remediation.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the HTB (Hierarchical Token Bucket) qdisc implementation within the Linux kernel networking scheduler (net/sched). HTB uses red-black trees (rbtree) to maintain priority classes organized by priority level (hprio). The htb_lookup_leaf function performs a tree traversal to find an eligible leaf qdisc for packet dequeuing. The root cause is a BUG_ON assertion that fails when htb_lookup_leaf is called on an empty rbtree after the last class in a priority level is deactivated. This can occur when a nested qdisc structure (HTB parent → netem → blackhole child) causes the blackhole qdisc to drop packets, triggering qdisc_tree_reduce_backlog which deactivates the class and removes it from the rbtree via htb_safe_rb_erase. When htb_lookup_leaf is subsequently called with the now-empty tree, the BUG_ON triggers, crashing the kernel. The CWE-476 classification indicates a null pointer dereference vulnerability in the error handling path.

Know when Debian Linux gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

net/sched: Return NULL when htb_lookup_leaf encounters an empty rbtree

htb_lookup_leaf has a BUG_ON that can trigger with the following:

tc qdisc del dev lo root tc qdisc add dev lo root handle 1: htb default 1 tc class add dev lo parent 1: classid 1:1 htb rate 64bit tc qdisc add dev lo parent 1:1 handle 2: netem tc qdisc add dev lo parent 2:1 handle 3: blackhole ping -I lo -c1 -W0.001 127.0.0.1

The root cause is the following:

  1. htb_dequeue calls htb_dequeue_tree which calls the dequeue handler on

the selected leaf qdisc

  1. netem_dequeue calls enqueue on the child qdisc
  2. blackhole_enqueue drops the packet and returns a value that is not

just NET_XMIT_SUCCESS

  1. Because of this, netem_dequeue calls qdisc_tree_reduce_backlog, and

since qlen is now 0, it calls htb_qlen_notify -> htb_deactivate -> htb_deactiviate_prios -> htb_remove_class_from_row -> htb_safe_rb_erase

  1. As this is the only class in the selected hprio rbtree,

__rb_change_child in __rb_erase_augmented sets the rb_root pointer to NULL

  1. Because blackhole_dequeue returns NULL, netem_dequeue returns NULL,

which causes htb_dequeue_tree to call htb_lookup_leaf with the same hprio rbtree, and fail the BUG_ON

The function graph for this scenario is shown here:

  1. | htb_enqueue() {
  2. + 13.635 us | netem_enqueue();
  3. 4.719 us | htb_activate_prios();

0)

2249.199 us | }

  1. | htb_dequeue() {
  2. 2.355 us | htb_lookup_leaf();
  3. | netem_dequeue() {
  4. + 11.061 us | blackhole_enqueue();
  5. | qdisc_tree_reduce_backlog() {
  6. | qdisc_lookup_rcu() {
  7. 1.873 us | qdisc_match_from_root();
  8. 6.292 us | }
  9. 1.894 us | htb_search();
  10. | htb_qlen_notify() {
  11. 2.655 us | htb_deactivate_prios();
  12. 6.933 us | }
  13. + 25.227 us | }
  14. 1.983 us | blackhole_dequeue();
  15. + 86.553 us | }

0)

2932.761 us | qdisc_warn_nonwc();

  1. | htb_lookup_leaf() {
  2. | BUG_ON();

------------------------------------------

The full original bug report can be seen here [1].

We can fix this just by returning NULL instead of the BUG_ON, as htb_dequeue_tree returns NULL when htb_lookup_leaf returns NULL.

[1] https://lore.kernel.org/netdev/pF5XOOIim0IuEfhI-SOxTgRvNoDwuux7UHKnE_Y5-zVd4wmGvNk2ceHjKb8ORnzw0cGwfmVu42g9dL7XyJLf1NEzaztboTWcm0Ogxuojoeo=@willsroot.io/

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2017-7494 CRITICAL POC
9.8 May 30

Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2022-30333 HIGH POC
7.5 May 09

RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2017-12617 HIGH POC
8.1 Oct 04

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT

CVE-2020-1938 CRITICAL POC
9.8 Feb 24

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate

CVE-2018-7602 CRITICAL POC
9.8 Jul 19

A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.44 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.27 Image SL-Micro Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.67 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.29 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.76 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.14 Affected
Container suse/sle-micro-rancher/5.2:latest Image SLES15-SP3-Micro-5-2-BYOS-Azure Affected
Container suse/sle-micro-rancher/5.3:latest Container suse/sle-micro-rancher/5.4:5.4.4.5.41 Image SLES15-SP4-BYOS Image SLES15-SP4-BYOS-Azure Image SLES15-SP4-BYOS-EC2 Image SLES15-SP4-BYOS-GCE Image SLES15-SP4-CHOST-BYOS Image SLES15-SP4-CHOST-BYOS-Aliyun Image SLES15-SP4-CHOST-BYOS-Azure Image SLES15-SP4-CHOST-BYOS-EC2 Image SLES15-SP4-CHOST-BYOS-GCE Image SLES15-SP4-CHOST-BYOS-SAP-CCloud Image SLES15-SP4-HPC-BYOS Image SLES15-SP4-HPC-BYOS-Azure Image SLES15-SP4-HPC-BYOS-EC2 Image SLES15-SP4-HPC-BYOS-GCE Image SLES15-SP4-HPC-EC2 Image SLES15-SP4-HPC-GCE Image SLES15-SP4-Hardened-BYOS Image SLES15-SP4-Hardened-BYOS-Azure Image SLES15-SP4-Hardened-BYOS-EC2 Image SLES15-SP4-Hardened-BYOS-GCE Image SLES15-SP4-Manager-Proxy-4-3-BYOS Image SLES15-SP4-Manager-Proxy-4-3-BYOS-Azure Image SLES15-SP4-Manager-Proxy-4-3-BYOS-EC2 Image SLES15-SP4-Manager-Proxy-4-3-BYOS-GCE Image SLES15-SP4-Manager-Server-4-3-BYOS Image SLES15-SP4-Manager-Server-4-3-BYOS-Azure Image SLES15-SP4-Manager-Server-4-3-BYOS-EC2 Image SLES15-SP4-Manager-Server-4-3-BYOS-GCE Image SLES15-SP4-Micro-5-3 Image SLES15-SP4-Micro-5-3-BYOS Image SLES15-SP4-Micro-5-3-BYOS-Azure Image SLES15-SP4-Micro-5-3-BYOS-EC2 Image SLES15-SP4-Micro-5-3-BYOS-GCE Image SLES15-SP4-Micro-5-3-EC2 Image SLES15-SP4-Micro-5-4 Image SLES15-SP4-Micro-5-4-BYOS Image SLES15-SP4-Micro-5-4-BYOS-Azure Image SLES15-SP4-Micro-5-4-BYOS-EC2 Image SLES15-SP4-Micro-5-4-BYOS-GCE Image SLES15-SP4-Micro-5-4-EC2 Image SLES15-SP4-Micro-5-4-GCE Image SLES15-SP4-SAP Image SLES15-SP4-SAP-Azure Image SLES15-SP4-SAP-EC2 Image SLES15-SP4-SAP-GCE Image SLES15-SP4-SAPCAL Image SLES15-SP4-SAPCAL-Azure Image SLES15-SP4-SAPCAL-EC2 Image SLES15-SP4-SAPCAL-GCE Affected

References

Advisories & patches
PATCH https://git.kernel.org/stable/c/0e1d5d9b5c5966e2e42e298670808590db5ed628 PATCH https://git.kernel.org/stable/c/3691f84269a23f7edd263e9b6edbc27b7ae332f4 PATCH https://git.kernel.org/stable/c/5c0506cd1b1a3b145bda2612bbf7fe78d186c355 PATCH https://git.kernel.org/stable/c/7ff2d83ecf2619060f30ecf9fad4f2a700fca344 PATCH https://git.kernel.org/stable/c/850226aef8d28a00cf966ef26d2f8f2bff344535 PATCH https://git.kernel.org/stable/c/890a5d423ef0a7bd13447ceaffad21189f557301 PATCH https://git.kernel.org/stable/c/e5c480dc62a3025b8428d4818e722da30ad6804f PATCH https://git.kernel.org/stable/c/fed3570e548a6c9f95c5f4c9e1a7afc1679fd90d ADVISORY https://access.redhat.com/errata/RHSA-2025:20095 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02846/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02849/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02851/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02852/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02853/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02923/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02969/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02996/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02997/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03011/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03023/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03310/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03344/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03384/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20577/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20586/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20601/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20602/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20994/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20996/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21074/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21139/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21179/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20309/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20330/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20560/ REF https://cert-portal.siemens.com/productcert/html/ssa-082556.html REF https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html REF https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy