Skip to main content
Mallory
MediumVulnerability

CVE-2021-47435: Linux kernel device-mapper I/O completion race NULL-pointer dereference

Published May 22, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS4.7Medium · v3.1
EPSS0.29%14th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2021-47435CWE-476 · NULL Pointer Dereference

CVE-2021-47435 is a race condition in the Linux kernel device-mapper subsystem during I/O completion and concurrent device-mapper table replacement. The I/O completion path invoked end_io_acct() before freeing the associated dm_io object and decrementing the in-flight pending count. This ordering could wake a table-swap path, allowing it to suspend the target, replace the table, and destroy its mempools before the completion path subsequently invoked free_io(). The resulting call to mempool_free() dereferences a cleared mempool element pointer, causing a kernel NULL-pointer dereference.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A successful trigger can panic or crash the kernel, producing a local denial of service. Red Hat rates the availability impact as high; confidentiality and integrity impact are not identified.

Mitigation

If you can’t patch tonight, do this now.

Until an updated kernel can be deployed, restrict local access and administrative capabilities that permit creation, reconfiguration, suspension, resumption, or table replacement of device-mapper devices. Avoid concurrent device-mapper table swaps while I/O is outstanding. These measures reduce exposure but do not correct the race.

Remediation

Patch, then assume compromise.

Install a Linux kernel update containing the upstream fix. The fix preserves the required dm_io member pointers, executes free_io() before end_io_acct(), and passes the preserved pointers to end_io_acct() afterward, preventing completion accounting from enabling mempool destruction before I/O resources are freed. Reboot after installing the updated kernel. For unsupported kernel releases, upgrade to a supported release with the fix available.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2021-47435 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2021-47435 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-47435?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-47435.
Is there a patch for CVE-2021-47435?
Install a Linux kernel update containing the upstream fix. The fix preserves the required dm_io member pointers, executes free_io() before end_io_acct(), and passes the preserved pointers to end_io_acct() afterward, preventing completion accounting from enabling mempool destruction before I/O resources are freed.
What products are affected by CVE-2021-47435?
Linux Kernel.
How severe is CVE-2021-47435?
CVE-2021-47435 has a CVSS v3.1 score of 4.7 (Medium) and an EPSS score of 0.29% (14th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.