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

7.5 · HIGH
Published Mar 15, 2024 linux CWE-770 EPSS 0.64% (48th pctl)

Overview

CVE-2021-47130 is a high-severity vulnerability affecting linux linux_kernel. It was published on March 15, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

nvmet: fix freeing unallocated p2pmem

In case p2p device was found but the p2p pool is empty, the nvme target

is still trying to free the sgl from the p2p pool instead of the

regular sgl pool and causing a crash (BUG() is called). Instead, assign

the p2p_dev for the request only if it was allocated from p2p pool.

This is the crash that was caused:

[Sun May 30 19:13:53 2021] ------------[ cut here ]------------

[Sun May 30 19:13:53 2021] kernel BUG at lib/genalloc.c:518!

[Sun May 30 19:13:53 2021] invalid opcode: 0000 [#1] SMP PTI

...

[Sun May 30 19:13:53 2021] kernel BUG at lib/genalloc.c:518!

...

[Sun May 30 19:13:53 2021] RIP: 0010:gen_pool_free_owner+0xa8/0xb0

...

[Sun May 30 19:13:53 2021] Call Trace:

[Sun May 30 19:13:53 2021] ------------[ cut here ]------------

[Sun May 30 19:13:53 2021] pci_free_p2pmem+0x2b/0x70

[Sun May 30 19:13:53 2021] pci_p2pmem_free_sgl+0x4f/0x80

[Sun May 30 19:13:53 2021] nvmet_req

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.8, < 5.10.43 Affected

Frequently Asked Questions

What is CVE-2021-47130?

CVE-2021-47130 is a high-severity vulnerability affecting linux linux_kernel. It was published on March 15, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2021-47130?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

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

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