In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
In certain types of chips, such as VEGA20, reading the amdgpuregssmc file could result in an abnormal null pointer access when the smc_rreg pointer is NULL. Below are the steps to reproduce this issue and the corresponding exception log:
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52817.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52817.json"
[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"245937134727305859859988046449726735328",
"207849622798376605761877759961861717363",
"161365401032826690892573735240580551402",
"245937134727305859859988046449726735328",
"207849622798376605761877759961861717363",
"161365401032826690892573735240580551402"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-52817-4bcebbdf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@174f62a0aa15c211e60208b41ee9e7cdfb73d455",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"245937134727305859859988046449726735328",
"207849622798376605761877759961861717363",
"161365401032826690892573735240580551402",
"245937134727305859859988046449726735328",
"207849622798376605761877759961861717363",
"161365401032826690892573735240580551402"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-52817-71801d94",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c1b3d89a2dda79881726bb6e37af19c0936d736",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"245937134727305859859988046449726735328",
"207849622798376605761877759961861717363",
"161365401032826690892573735240580551402",
"245937134727305859859988046449726735328",
"207849622798376605761877759961861717363",
"161365401032826690892573735240580551402"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-52817-751c0605",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@820daf9ffe2b0afb804567b10983fb38bc5ae288",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"245937134727305859859988046449726735328",
"207849622798376605761877759961861717363",
"161365401032826690892573735240580551402",
"245937134727305859859988046449726735328",
"207849622798376605761877759961861717363",
"161365401032826690892573735240580551402"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-52817-7c1ab84a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f475d5502f33a6c5b149b0afe96316ad1962a64a",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c"
}
}
]