Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-31421

5.5 · MEDIUM
Published Apr 13, 2026 linux CWE-476 EPSS 0.12% (2th pctl)

Overview

CVE-2026-31421 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 13, 2026 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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)

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.15, < 5.10.253 Affected

Frequently Asked Questions

What is CVE-2026-31421?

CVE-2026-31421 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 13, 2026 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2026-31421?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-31421?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-31421?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-31421 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.