Menu

Star on GitHub · 3.2k

CVE-2021-47554

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: vdpa_sim: avoid putting an uninitialized iova_domain The system will crash if we put an uninitialized iova_domain, this could h…

Published May 24, 2024CWE-908EPSS 0.19%

Overview

CVE-2021-47554 is a medium-severity vulnerability. It was published on May 24, 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:

vdpa_sim: avoid putting an uninitialized iova_domain

The system will crash if we put an uninitialized iova_domain, this

could happen when an error occurs before initializing the iova_domain

in vdpasim_create().

BUG: kernel NULL pointer dereference, address: 0000000000000000

...

RIP: 0010:__cpuhp_state_remove_instance+0x96/0x1c0

...

Call Trace:

<TASK>

put_iova_domain+0x29/0x220

vdpasim_free+0xd1/0x120 [vdpa_sim]

vdpa_release_dev+0x21/0x40 [vdpa]

device_release+0x33/0x90

kobject_release+0x63/0x160

vdpasim_create+0x127/0x2a0 [vdpa_sim]

vdpasim_net_dev_add+0x7d/0xfe [vdpa_sim_net]

vdpa_nl_cmd_dev_add_set_doit+0xe1/0x1a0 [vdpa]

genl_family_rcv_msg_doit+0x112/0x140

genl_rcv_msg+0xdf/0x1d0

...

So we must make sure the iova_domain is already initialized before

put it.

In addition, we may get the following warning in this case:

WARNING: ... drivers/iommu/iova.c:344 iova_cache_put+0x58/0x70

So we must make sure

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2021-47554?

CVE-2021-47554 is a medium-severity vulnerability. It was published on May 24, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47554?

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

Check the references section for vendor advisories, patches, and mitigation guidance. 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-47554?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47554 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2021

View all