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

7.8 · HIGH
Published May 22, 2024 linux CWE-908 EPSS 0.23% (14th pctl)

Overview

CVE-2021-47451 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 22, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, 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:

netfilter: xt_IDLETIMER: fix panic that occurs when timer_type has garbage value

Currently, when the rule related to IDLETIMER is added, idletimer_tg timer

structure is initialized by kmalloc on executing idletimer_tg_create

function. However, in this process timer->timer_type is not defined to

a specific value. Thus, timer->timer_type has garbage value and it occurs

kernel panic. So, this commit fixes the panic by initializing

timer->timer_type using kzalloc instead of kmalloc.

Test commands:

# iptables -A OUTPUT -j IDLETIMER --timeout 1 --label test

$ cat /sys/class/xt_idletimer/timers/test

Killed

Splat looks like:

BUG: KASAN: user-memory-access in alarm_expires_remaining+0x49/0x70

Read of size 8 at addr 0000002e8c7bc4c8 by task cat/917

CPU: 12 PID: 917 Comm: cat Not tainted 5.14.0+ #3 79940a339f71eb14fc81aee1757a20d5bf13eb0e

Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1

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.7, < 5.10.76 Affected

Frequently Asked Questions

What is CVE-2021-47451?

CVE-2021-47451 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 22, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-47451?

This vulnerability has a CVSS 3.1 base score of 7.8, 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-47451?

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-47451?

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