Menu

Star on GitHub · 3.2k

CVE-2026-31421

5.5 · MEDIUM

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 d…

Published Apr 13, 2026CWE-476EPSS 0.17%

Overview

CVE-2026-31421 is a medium-severity vulnerability. 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, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2026-31421?

CVE-2026-31421 is a medium-severity vulnerability. 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, patches, and mitigation guidance. 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 is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-31421 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2026

View all