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

5.5 · MEDIUM
Published May 22, 2024 linux CWE-908 EPSS 0.18% (8th pctl)

Overview

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

mm/mempolicy: do not allow illegal MPOL_F_NUMA_BALANCING | MPOL_LOCAL in mbind()

syzbot reported access to unitialized memory in mbind() [1]

Issue came with commit bda420b98505 ("numa balancing: migrate on fault

among multiple bound nodes")

This commit added a new bit in MPOL_MODE_FLAGS, but only checked valid

combination (MPOL_F_NUMA_BALANCING can only be used with MPOL_BIND) in

do_set_mempolicy()

This patch moves the check in sanitize_mpol_flags() so that it is also

used by mbind()

[1]

BUG: KMSAN: uninit-value in __mpol_equal+0x567/0x590 mm/mempolicy.c:2260

__mpol_equal+0x567/0x590 mm/mempolicy.c:2260

mpol_equal include/linux/mempolicy.h:105 [inline]

vma_merge+0x4a1/0x1e60 mm/mmap.c:1190

mbind_range+0xcc8/0x1e80 mm/mempolicy.c:811

do_mbind+0xf42/0x15f0 mm/mempolicy.c:1333

kernel_mbind mm/mempolicy.c:1483 [inline]

__do_sys_mbind mm/mempolicy.c:1490 [inline]

__se_sys_mbind+0x437/0xb80

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.12, < 5.14.15 Affected

Frequently Asked Questions

What is CVE-2021-47462?

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

How severe is CVE-2021-47462?

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

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

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