In the Linux kernel, the following vulnerability has been resolved:
drm/amd: check num of link levels when update pcie param
In SR-IOV environment, the value of pcietable->numoflinklevels will be 0, and numoflevels - 1 will cause array index out of bounds
[
{
"digest": {
"function_hash": "13893650056178292576561344341781659018",
"length": 952.0
},
"id": "CVE-2023-52812-27e809b6",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f2d48b6247ae3001f83c98730b3cce475cb2927",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c",
"function": "smu_v13_0_update_pcie_parameters"
},
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"210003834485898871820478580034606623050",
"197159163832323889193567389529774211907",
"205834372643309289276097871172627631535"
]
},
"id": "CVE-2023-52812-4489b3a6",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b4574b663d0a1a0a62d5232429b7db9ae6d0670",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c"
},
"deprecated": false
},
{
"digest": {
"function_hash": "333904232418007912700307177507167655450",
"length": 995.0
},
"id": "CVE-2023-52812-970805b6",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09f617219fe9ccd8d7b65dc3e879b5889f663b5a",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c",
"function": "smu_v13_0_update_pcie_parameters"
},
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"210003834485898871820478580034606623050",
"197159163832323889193567389529774211907",
"205834372643309289276097871172627631535"
]
},
"id": "CVE-2023-52812-be3bb659",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09f617219fe9ccd8d7b65dc3e879b5889f663b5a",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c"
},
"deprecated": false
},
{
"digest": {
"function_hash": "333904232418007912700307177507167655450",
"length": 995.0
},
"id": "CVE-2023-52812-e0a37fc0",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b4574b663d0a1a0a62d5232429b7db9ae6d0670",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c",
"function": "smu_v13_0_update_pcie_parameters"
},
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"135002796977196426673142543730741351266",
"137078663613168124351932238068522316494",
"299735045837046096321302551435737386982"
]
},
"id": "CVE-2023-52812-e60e32a8",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f2d48b6247ae3001f83c98730b3cce475cb2927",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c"
},
"deprecated": false
}
]