Skip to main content

Linux Kernel EUVDEUVD-2026-21945

| CVE-2026-31421 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-04-13 Linux GHSA-pmqm-g7jm-76hf
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain CAP_NET_ADMIN in host or network namespace
  2. Delivery
    Attach old-method cls_fw filter (no TCA_OPTIONS) to shared tc block
  3. Exploit
    Trigger or wait for packet with nonzero major skb mark
  4. Execution
    fw_classify() calls tcf_block_q() on shared block
  5. Persist
    NULL block->q dereference at offset 0x38
  6. Impact
    Kernel crash and system denial of service

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 CAP_NET_ADMIN privilege is required (confirmed by CVSS PR:L, AV:L). The following specific conditions must all be true: (1) a cls_fw filter must be attached to a shared tc block - not a standard per-qdisc block; shared blocks are created with 'tc qdisc ... ingress' configurations that reference the same block index across multiple interfaces; (2) the filter must be configured using the old method, meaning the tc netlink message omits TCA_OPTIONS - a configuration path that predates the hash-table classifier; (3) live network traffic with a nonzero major skb mark must arrive and be classified through that filter. Systems not using shared tc blocks with cls_fw are entirely unaffected. Exploitation is limited to users with CAP_NET_ADMIN in the host or a privileged network namespace; standard unprivileged container users without NET_ADMIN cannot trigger this condition.

Impact

The CVSS 5.5 vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately characterizes this as a local, low-complexity, low-privilege denial-of-service issue with no scope change and zero confidentiality or integrity impact. Real-world risk is further constrained by the specific tc configuration required (shared blocks plus old-method cls_fw plus nonzero major skb marks), which is not a common production deployment pattern. EPSS at 0.02% (7th percentile) confirms negligible exploitation probability in the broader threat landscape. The vulnerability is absent from CISA KEV, and no POC code has been identified. SSVC signals align: exploitation status is none, automatable is no (requires local CAP_NET_ADMIN access to configure tc), and technical impact is partial (availability only). This is a kernel stability fix appropriate for routine patch cycles rather than an emergency response; teams running containerized workloads where tenants can configure tc rules should prioritize accordingly.

Exploit ScenarioDerived

A local user holding CAP_NET_ADMIN within a Linux network namespace - for example, an unprivileged container user in a Kubernetes environment where NET_ADMIN is granted - uses the tc(8) tool to attach an empty cls_fw filter configured via the old method (no TCA_OPTIONS) to a shared tc block on a network interface. When subsequent network traffic through that interface carries a nonzero major skb mark (a common scenario in policy-routed environments), fw_classify() dereferences the NULL block->q pointer, triggering a kernel NULL pointer dereference that crashes the host kernel or container runtime, causing a complete denial of service. No public exploit code exists at time of analysis.

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 20, 2026

NULL pointer dereference in the Linux kernel's cls_fw traffic classifier (net/sched/cls_fw.c) crashes the kernel when authenticated local users configure an old-method cls_fw filter on a shared tc block and traffic with a nonzero major skb mark is processed. The flaw exists because the old classification path in fw_classify() calls tcf_block_q() and dereferences q->handle, but shared blocks hold a NULL block->q pointer. The impact is limited to local denial of service (kernel panic); no confidentiality or integrity compromise is possible. EPSS is 0.02% (7th percentile), this vulnerability is not in CISA KEV, and no public exploit has been identified at time of analysis.

RemediationAI

Upgrade the Linux kernel to a patched stable release: 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12, or 7.0. Upstream fix commits are available at https://git.kernel.org/stable/c/3d41f9a314afa94b1c7c7c75405920123220e8cd (one of six backport commits across stable branches; see also 18328eff2f97d, 5cf41031922c, 3cb055df9e86, 96426c348def, faeea8bbf6e9). If an immediate kernel upgrade is not feasible, the most targeted workaround is to reconfigure any cls_fw filters on shared tc blocks to use the new method by supplying explicit TCA_OPTIONS in the netlink configuration - this avoids the old-method code path entirely. Alternatively, restructure tc configurations to avoid attaching cls_fw filters to shared blocks and use per-qdisc blocks instead; this has no functional side effects for most deployments. In multi-tenant environments (containers, VMs) where unprivileged users can obtain CAP_NET_ADMIN within their network namespace, restricting that capability via seccomp profiles or LSM policies (AppArmor/SELinux) will prevent configuration of the triggering tc setup. Consult NVD advisory https://nvd.nist.gov/vuln/detail/CVE-2026-31421 for additional context.

Affected VersionsENISA

Linux 4.15
Linux patch: 0
Linux patch: 7.0
Linux 1abf272022cf1d18469405f47b4ec49c6a3125db <5cf41031922c154aa5ccda8bcdb0f5e6226582ec
Linux patch: 6.19.12
Linux 1abf272022cf1d18469405f47b4ec49c6a3125db <3cb055df9e8625ce699a259d8178d67b37f2b160
Linux 1abf272022cf1d18469405f47b4ec49c6a3125db <3d41f9a314afa94b1c7c7c75405920123220e8cd
Linux patch: 6.18.22
Linux patch: 6.12.81
Linux 1abf272022cf1d18469405f47b4ec49c6a3125db <96426c348def662b06bfdc65be3002905604927a
Linux patch: 6.1.168
Linux 1abf272022cf1d18469405f47b4ec49c6a3125db <18328eff2f97d1a6adcdb6d4a0f42f2f83a31e28
Linux patch: 6.6.134
Linux 1abf272022cf1d18469405f47b4ec49c6a3125db <faeea8bbf6e958bf3c00cb08263109661975987c

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The Linux kernel traffic control (tc) subsystem uses classifier blocks to attach packet classifiers (qdiscs) to network interfaces. The cls_fw firewall classifier (net/sched/cls_fw.c) supports two internal classification methods: a newer hash-table-based path and an older path that retrieves the parent qdisc handle via tcf_block_q(). The critical distinction is that shared tc blocks - blocks attached to multiple interfaces or qdiscs simultaneously - set block->q to NULL because they have no single owning qdisc. The old-method path in fw_classify() unconditionally dereferences q->handle at memory offset 0x38 without checking for a NULL q, triggering a KASAN-reported null-ptr-deref when a packet with a nonzero major skb mark is classified. The root cause class is CWE-476 (NULL Pointer Dereference). The fix adds a rejection guard in fw_change() that returns an error when the old method (absence of TCA_OPTIONS in the netlink message) is used on a shared block, preventing the unsafe classification path from ever being reached. Affected products per CPE data: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

Know when the next one hits your stack

  • 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

Lifecycle Timeline

4
CVSS changed
May 20, 2026 - 18:22 NVD
5.5 (MEDIUM)
Patch released
Apr 18, 2026 - 09:16 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
5cf41031922c154aa5ccda8bcdb0f5e6226582ec,3cb055df9e8625ce699a259d8178d67b37f2b160,3d41f9a314afa94b1c7c7c75405920123220e8cd
CVE Published
Apr 13, 2026 - 13:40 nvd
N/A

DescriptionNVD

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

net/sched: cls_fw: fix NULL pointer dereference on shared blocks

The old-method path in fw_classify() calls tcf_block_q() and dereferences q->handle. Shared blocks leave block->q NULL, causing a NULL deref when an empty cls_fw filter is attached to a shared block and a packet with a nonzero major skb mark is classified.

Reject the configuration in fw_change() when the old method (no TCA_OPTIONS) is used on a shared block, since fw_classify()'s old-method path needs block->q which is NULL for shared blocks.

The fixed null-ptr-deref calling stack: KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] RIP: 0010:fw_classify (net/sched/cls_fw.c:81) Call Trace: tcf_classify (./include/net/tc_wrapper.h:197 net/sched/cls_api.c:1764 net/sched/cls_api.c:1860) tc_run (net/core/dev.c:4401) __dev_queue_xmit (net/core/dev.c:4535 net/core/dev.c:4790)

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
2
1 source
Data Quality
7 sources
Confidence: High

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 Yes
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

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: +10
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.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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