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-2021-46954

7.1 · HIGH
Published Feb 27, 2024 linux CWE-125 EPSS 0.23% (14th pctl)

Overview

CVE-2021-46954 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 27, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. 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: sch_frag: fix stack OOB read while fragmenting IPv4 packets

when 'act_mirred' tries to fragment IPv4 packets that had been previously

re-assembled using 'act_ct', splats like the following can be observed on

kernels built with KASAN:

BUG: KASAN: stack-out-of-bounds in ip_do_fragment+0x1b03/0x1f60

Read of size 1 at addr ffff888147009574 by task ping/947

CPU: 0 PID: 947 Comm: ping Not tainted 5.12.0-rc6+ #418

Hardware name: Red Hat KVM, BIOS 1.11.1-4.module+el8.1.0+4066+0f1aadab 04/01/2014

Call Trace:

<IRQ>

dump_stack+0x92/0xc1

print_address_description.constprop.7+0x1a/0x150

kasan_report.cold.13+0x7f/0x111

ip_do_fragment+0x1b03/0x1f60

sch_fragment+0x4bf/0xe40

tcf_mirred_act+0xc3d/0x11a0 [act_mirred]

tcf_action_exec+0x104/0x3e0

fl_classify+0x49a/0x5e0 [cls_flower]

tcf_classify_ingress+0x18a/0x820

__netif_receive_skb_core+0xae7/0x3340

__netif_receive_skb_one_core+0xb6/0x1b0

pr

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 >= 5.11.0, < 5.11.20 Affected

Frequently Asked Questions

What is CVE-2021-46954?

CVE-2021-46954 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 27, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2021-46954?

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

How do I fix or remediate CVE-2021-46954?

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-2021-46954?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-46954 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.