Menu

Star on GitHub · 3.2k

CVE-2021-47441

7.3 · HIGH

In the Linux kernel, the following vulnerability has been resolved: mlxsw: thermal: Fix out-of-bounds memory accesses Currently, mlxsw allows cooling states to be set above the maximum cooling st…

Published May 22, 2024CWE-787EPSS 0.24%

Overview

CVE-2021-47441 is a high-severity vulnerability. It was published on May 22, 2024 and has a CVSS 3.1 base score of 7.3 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. 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:

mlxsw: thermal: Fix out-of-bounds memory accesses

Currently, mlxsw allows cooling states to be set above the maximum

cooling state supported by the driver:

# cat /sys/class/thermal/thermal_zone2/cdev0/type

mlxsw_fan

# cat /sys/class/thermal/thermal_zone2/cdev0/max_state

10

# echo 18 > /sys/class/thermal/thermal_zone2/cdev0/cur_state

# echo $?

0

This results in out-of-bounds memory accesses when thermal state

transition statistics are enabled (CONFIG_THERMAL_STATISTICS=y), as the

transition table is accessed with a too large index (state) [1].

According to the thermal maintainer, it is the responsibility of the

driver to reject such operations [2].

Therefore, return an error when the state to be set exceeds the maximum

cooling state supported by the driver.

To avoid dead code, as suggested by the thermal maintainer [3],

partially revert commit a421ce088ac8 ("mlxsw: core: Extend cooling

device with cooling

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

CVE-2021-47441 is a high-severity vulnerability. It was published on May 22, 2024 and has a CVSS 3.1 base score of 7.3 (HIGH).

How severe is CVE-2021-47441?

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. 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-47441?

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47441 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 HIGH CVEs from 2021

View all