Menu

Star on GitHub · 3.2k

CVE-2022-49945

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: hwmon: (gpio-fan) Fix array out of bounds access The driver does not check if the cooling state passed to gpio_fan_set_cur_stat…

Published Jun 18, 2025CWE-125EPSS 0.23%

Overview

CVE-2022-49945 is a high-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.1 (HIGH).

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

hwmon: (gpio-fan) Fix array out of bounds access

The driver does not check if the cooling state passed to

gpio_fan_set_cur_state() exceeds the maximum cooling state as

stored in fan_data->num_speeds. Since the cooling state is later

used as an array index in set_fan_speed(), an array out of bounds

access can occur.

This can be exploited by setting the state of the thermal cooling device

to arbitrary values, causing for example a kernel oops when unavailable

memory is accessed this way.

Example kernel oops:

[ 807.987276] Unable to handle kernel paging request at virtual address ffffff80d0588064

[ 807.987369] Mem abort info:

[ 807.987398] ESR = 0x96000005

[ 807.987428] EC = 0x25: DABT (current EL), IL = 32 bits

[ 807.987477] SET = 0, FnV = 0

[ 807.987507] EA = 0, S1PTW = 0

[ 807.987536] FSC = 0x05: level 1 translation fault

[ 807.987570] Data abort info:

[ 807.987763] ISV = 0, ISS = 0x00000005

[

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-2022-49945?

CVE-2022-49945 is a high-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2022-49945?

This vulnerability has a CVSS 3.1 base score of 7.1, 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-2022-49945?

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-2022-49945?

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

View all