CVE-2024-53072 platform/x86/amd/pmc: Detect when STB is not available

Medium 5.5 Published Updated

Loading the AMD PMC module with STB enabled on unsupported hardware causes a kernel warning and potential instability due to invalid memory mapping.

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-2024-53072?

CVE-2024-53072 is a medium-severity vulnerability in Linux kernel, published on 19 Nov 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:

platform/x86/amd/pmc: Detect when STB is not available

Loading the amd_pmc module as:

amd_pmc enable_stb=1

...can result in the following messages in the kernel ring buffer:

amd_pmc AMDI0009:00: SMU cmd failed. err: 0xff ioremap on RAM at 0x0000000000000000 - 0x0000000000ffffff WARNING: CPU: 10 PID: 2151 at arch/x86/mm/ioremap.c:217 __ioremap_caller+0x2cd/0x340

Further debugging reveals that this occurs when the requests for S2D_PHYS_ADDR_LOW and S2D_PHYS_ADDR_HIGH return a value of 0, indicating that the STB is inaccessible. To prevent the ioremap warning and provide clarity to the user, handle the invalid address and display an error message.

Which versions are affected by CVE-2024-53072?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53072?

Apply the vendor's patch.

Is CVE-2024-53072 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-53903, BELL-CVE-2024-53072, DEBIAN-CVE-2024-53072, GHSA-cgh6-mrm3-hqpj, UBUNTU-CVE-2024-53072.

Is CVE-2024-53072 in your software?

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

Check your SBOMs for free