CVE-2021-47362 drm/amd/pm: Update intermediate power state for SI

Medium 5.5 Published Updated

A null pointer dereference in the AMD GPU power management driver can cause a system crash during initialization on specific platforms.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-47362?

CVE-2021-47362 is a medium-severity vulnerability in Linux kernel, published on 21 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/pm: Update intermediate power state for SI

Update the current state as boot state during dpm initialization. During the subsequent initialization, set_power_state gets called to transition to the final power state. set_power_state refers to values from the current state and without current state populated, it could result in NULL pointer dereference.

For ex: on platforms where PCI speed change is supported through ACPI ATCS method, the link speed of current state needs to be queried before deciding on changing to final power state's link speed. The logic to query ATCS-support was broken on certain platforms. The issue became visible when broken ATCS-support logic got fixed with commit f9b7f3703ff9 ("drm/amdgpu/acpi: make ATPX/ATCS structures global (v2)").

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1698

Weakness: CWE-476

Which versions are affected by CVE-2021-47362?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47362?

Apply the vendor's patch.

Is CVE-2021-47362 being exploited?

There is no known exploitation of CVE-2021-47362 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-47362, GHSA-cc2x-949j-9v5x, UBUNTU-CVE-2021-47362.

Is CVE-2021-47362 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free