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

4.7 · MEDIUM
Published May 22, 2024 linux CWE-476 EPSS 0.24% (15th pctl)

Overview

CVE-2021-47435 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 4.7 (MEDIUM).

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

dm: fix mempool NULL pointer race when completing IO

dm_io_dec_pending() calls end_io_acct() first and will then dec md

in-flight pending count. But if a task is swapping DM table at same

time this can result in a crash due to mempool->elements being NULL:

task1 task2

do_resume

->do_suspend

->dm_wait_for_completion

bio_endio

->clone_endio

->dm_io_dec_pending

->end_io_acct

->wakeup task1

->dm_swap_table

->__bind

->__bind_mempools

->bioset_exit

->mempool_exit

->free_io

[ 67.330330] Unable to handle kernel NULL pointer dereference at

virtual address 0000000000000000

......

[ 67.330494] pstate: 80400085 (Nzcv daIf +PAN -UAO)

[ 67.330510] pc : mempool_free+0x70/0xa0

[ 67.330515] lr : mempool_free+0x4c/0xa0

[ 67.330520] sp : ffffff8008013b20

[ 67.330524] x29: ffffff8008013

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 >= 0, < 4.9.313 Affected

Frequently Asked Questions

What is CVE-2021-47435?

CVE-2021-47435 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 4.7 (MEDIUM).

How severe is CVE-2021-47435?

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

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

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