CVE-2024-53072

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

State
Published
Severity
5.5 Medium
Published
Nov 19, 2024
Updated
May 11, 2026
Reserved
Nov 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3d7d407dfb05b257e15cb0c6b056428a4a8c2e5d to before a50863dd1f92d43c975ab2ecc3476617fe98a66eAffected
  • 3d7d407dfb05b257e15cb0c6b056428a4a8c2e5d to before 7a3ed3f125292bc3398e04d10108124250892e3fAffected
  • 3d7d407dfb05b257e15cb0c6b056428a4a8c2e5d to before 67ff30e24a0466bdd5be1d0b84385ec3c85fdacdAffected
  • 3d7d407dfb05b257e15cb0c6b056428a4a8c2e5d to before bceec87a73804bb4c33b9a6c96e2d27cd893a801Affected
LinuxLinux
  • 5.18Affected
  • before 5.18Not affected
  • 6.1.117 through 6.1.*Not affected
  • 6.6.61 through 6.6.*Not affected
  • 6.11.8 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.