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 S2DPHYSADDRLOW and S2DPHYSADDRHIGH 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.
[
{
"digest": {
"line_hashes": [
"41729049867918178351713571594985039487",
"177865669912275326872438961470366454796",
"335219416664294746214753797634751582031"
],
"threshold": 0.9
},
"target": {
"file": "drivers/platform/x86/amd/pmc/pmc.c"
},
"id": "CVE-2024-53072-0603d9f4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bceec87a73804bb4c33b9a6c96e2d27cd893a801",
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"198095122870128408554075431398341040379",
"304630664610059731098694318205997697437",
"179899817674578049577394464653790133585"
],
"threshold": 0.9
},
"target": {
"file": "drivers/platform/x86/amd/pmc.c"
},
"id": "CVE-2024-53072-1a2e1d5c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a50863dd1f92d43c975ab2ecc3476617fe98a66e",
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"41729049867918178351713571594985039487",
"177865669912275326872438961470366454796",
"335219416664294746214753797634751582031"
],
"threshold": 0.9
},
"target": {
"file": "drivers/platform/x86/amd/pmc/pmc.c"
},
"id": "CVE-2024-53072-4000f70b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@67ff30e24a0466bdd5be1d0b84385ec3c85fdacd",
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"function_hash": "60918469023069956716313120231824452276",
"length": 800.0
},
"target": {
"file": "drivers/platform/x86/amd/pmc/pmc.c",
"function": "amd_pmc_s2d_init"
},
"id": "CVE-2024-53072-460b8ee2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bceec87a73804bb4c33b9a6c96e2d27cd893a801",
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"41729049867918178351713571594985039487",
"177865669912275326872438961470366454796",
"335219416664294746214753797634751582031"
],
"threshold": 0.9
},
"target": {
"file": "drivers/platform/x86/amd/pmc/pmc.c"
},
"id": "CVE-2024-53072-4d42cafa",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7a3ed3f125292bc3398e04d10108124250892e3f",
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"function_hash": "66819315794961342157412836041322215944",
"length": 821.0
},
"target": {
"file": "drivers/platform/x86/amd/pmc/pmc.c",
"function": "amd_pmc_s2d_init"
},
"id": "CVE-2024-53072-777eaeb0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7a3ed3f125292bc3398e04d10108124250892e3f",
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false
},
{
"digest": {
"function_hash": "60918469023069956716313120231824452276",
"length": 800.0
},
"target": {
"file": "drivers/platform/x86/amd/pmc/pmc.c",
"function": "amd_pmc_s2d_init"
},
"id": "CVE-2024-53072-97aed0a3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@67ff30e24a0466bdd5be1d0b84385ec3c85fdacd",
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false
},
{
"digest": {
"function_hash": "109275257112647282656802519003217771151",
"length": 601.0
},
"target": {
"file": "drivers/platform/x86/amd/pmc.c",
"function": "amd_pmc_s2d_init"
},
"id": "CVE-2024-53072-c25fdd20",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a50863dd1f92d43c975ab2ecc3476617fe98a66e",
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false
}
]