CVE-2021-47140 Vulnerability Analysis & Exploit Details

CVE-2021-47140
Vulnerability Scoring

5.3
/10
Significant Risk

Security assessments indicate that CVE-2021-47140 presents a notable risk, potentially requiring prompt mitigation.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2021-47140 Details

Status: Analyzed

Last updated: 🕓 19 Mar 2025, 16:28 UTC
Originally published on: 🕘 25 Mar 2024, 09:15 UTC

Time between publication and last update: 359 days

CVSS Release: version 3

CVSS3 Source

134c704f-9b21-4f2e-91b3-4a467353bcc0

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVE-2021-47140 Vulnerability Summary

CVE-2021-47140: In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Clear DMA ops when switching domain Since commit 08a27c1c3ecf ("iommu: Add support to change default domain of an iommu group") a user can switch a device between IOMMU and direct DMA through sysfs. This doesn't work for AMD IOMMU at the moment because dev->dma_ops is not cleared when switching from a DMA to an identity IOMMU domain. The DMA layer thus attempts to use the dma-iommu ops on an identity domain, causing an oops: # echo 0000:00:05.0 > /sys/sys/bus/pci/drivers/e1000e/unbind # echo identity > /sys/bus/pci/devices/0000:00:05.0/iommu_group/type # echo 0000:00:05.0 > /sys/sys/bus/pci/drivers/e1000e/bind ... BUG: kernel NULL pointer dereference, address: 0000000000000028 ... Call Trace: iommu_dma_alloc e1000e_setup_tx_resources e1000e_open Since iommu_change_dev_def_domain() calls probe_finalize() again, clear the dma_ops there like Vt-d does.

Assessing the Risk of CVE-2021-47140

Access Complexity Graph

The exploitability of CVE-2021-47140 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2021-47140

With low attack complexity and no required privileges, CVE-2021-47140 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2021-47140, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2021-47140, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2021-47140 has no significant impact on data confidentiality.
  • Integrity: None
    CVE-2021-47140 poses no threat to data integrity.
  • Availability: Low
    CVE-2021-47140 may slightly degrade system performance without fully affecting service availability.

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.043% (probability of exploit)

EPSS Percentile: 12.0% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 88.0% of others.

CVE-2021-47140 References

External References

CWE Common Weakness Enumeration

CWE-476

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:5.11:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.13:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.13:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.14:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.14:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.15:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.15:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.16:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.16:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.17:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.17:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.18:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.18:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.19:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.19:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.20:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.20:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.21:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.21:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.22:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.22:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc7:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2021-47140: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-43903 – NSSCryptoSignBackend.cc in Poppler before 25.04.0 does not verify the adbe.pkcs7.sha1 signatures on documents, resulting in potential signature forgeries.
  • CVE-2025-3796 – A vulnerability classified as critical has been found in PHPGurukul Men Salon Management System 1.0. This affects an unknown part of the file /admi...
  • CVE-2025-32953 – z80pack is a mature emulator of multiple platforms with 8080 and Z80 CPU. In version 1.38 and prior, the `makefile-ubuntu.yml` workflow file uses `...
  • CVE-2025-29058 – An issue in Qimou CMS v.3.34.0 allows a remote attacker to execute arbitrary code via the upgrade.php component.
  • CVE-2024-53591 – An issue in the login page of Seclore v3.27.5.0 allows attackers to bypass authentication via a brute force attack.