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

5.5 · MEDIUM
Published May 21, 2024 linux EPSS 0.25% (17th pctl)

Overview

CVE-2021-47376 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 21, 2024 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:

bpf: Add oversize check before call kvcalloc()

Commit 7661809d493b ("mm: don't allow oversized kvmalloc() calls") add the

oversize check. When the allocation is larger than what kmalloc() supports,

the following warning triggered:

WARNING: CPU: 0 PID: 8408 at mm/util.c:597 kvmalloc_node+0x108/0x110 mm/util.c:597

Modules linked in:

CPU: 0 PID: 8408 Comm: syz-executor221 Not tainted 5.14.0-syzkaller #0

Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011

RIP: 0010:kvmalloc_node+0x108/0x110 mm/util.c:597

Call Trace:

kvmalloc include/linux/mm.h:806 [inline]

kvmalloc_array include/linux/mm.h:824 [inline]

kvcalloc include/linux/mm.h:829 [inline]

check_btf_line kernel/bpf/verifier.c:9925 [inline]

check_btf_info kernel/bpf/verifier.c:10049 [inline]

bpf_check+0xd634/0x150d0 kernel/bpf/verifier.c:13759

bpf_prog_load kernel/bpf/syscall.c:2301 [inline]

__sys_bpf+0x11181/0x126e0 kerne

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.0, < 5.4.150 Affected

Frequently Asked Questions

What is CVE-2021-47376?

CVE-2021-47376 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47376?

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

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

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