In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix possible NULL dereference in amdgpurasqueryerrorstatus_helper()
Return invalid error code -EINVAL for invalid block id.
Fixes the below:
drivers/gpu/drm/amd/amdgpu/amdgpuras.c:1183 amdgpurasqueryerrorstatushelper() error: we previously assumed 'info' could be null (see line 1176)
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92cb363d16ac1e41c9764cdb513d0e89a6ff4915",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-0239ea72",
"target": {
"function": "amdgpu_ras_query_error_status",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Function",
"digest": {
"length": 2289.0,
"function_hash": "216578560832023481401007788086142025575"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c364e7a34c85c2154fb2e47561965d5b5a0b69b1",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-1888781e",
"target": {
"function": "amdgpu_ras_query_error_status",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Function",
"digest": {
"length": 2335.0,
"function_hash": "245305486928046352122466780446739567860"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e6d6f27522bcd037856234b720ff607b9c4a09b",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-33871f4d",
"target": {
"function": "amdgpu_ras_query_error_status",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Function",
"digest": {
"length": 3571.0,
"function_hash": "134654723588751570818787167376032974783"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0eb296233f86750102aa43b97879b8d8311f249a",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-33d56469",
"target": {
"function": "amdgpu_ras_error_query",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Function",
"digest": {
"length": 1886.0,
"function_hash": "287911592000912383154866413799413779987"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0eb296233f86750102aa43b97879b8d8311f249a",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-380f622d",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"103035884886217101975312890762891193889",
"126949579434807933948408040332969754348",
"244322076943903022140100118314767827532"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@467139546f3fb93913de064461b1a43a212d7626",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-3de61de9",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"53520737902715964079648296730780451761",
"126949579434807933948408040332969754348",
"244322076943903022140100118314767827532"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b8d55a90fd55b767c25687747e2b24abd1ef8680",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-4f877899",
"target": {
"function": "amdgpu_ras_query_error_status_helper",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Function",
"digest": {
"length": 1125.0,
"function_hash": "70874254807155294549039034803095718728"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c364e7a34c85c2154fb2e47561965d5b5a0b69b1",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-50e49c65",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"169648303345374149736523639745672298809",
"258944375321777962308021617427002935912",
"78267465506070656291386912397494172399"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@467139546f3fb93913de064461b1a43a212d7626",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-533e856b",
"target": {
"function": "amdgpu_ras_error_query",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Function",
"digest": {
"length": 1326.0,
"function_hash": "230757553774359265570270277098630240165"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b8d55a90fd55b767c25687747e2b24abd1ef8680",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-59745a1b",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"219789901661491161969243531499160212250",
"209418969049442100195543200635522800816",
"287260605086544937204544513090480014147"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92cb363d16ac1e41c9764cdb513d0e89a6ff4915",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-8c122fd1",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"169648303345374149736523639745672298809",
"258944375321777962308021617427002935912",
"78267465506070656291386912397494172399"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@195a6289282e039024ad30ba66e6f94a4d0fbe49",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-8e49fd85",
"target": {
"function": "amdgpu_ras_query_error_status_helper",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Function",
"digest": {
"length": 1125.0,
"function_hash": "70874254807155294549039034803095718728"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@195a6289282e039024ad30ba66e6f94a4d0fbe49",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-c78a5c45",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"219789901661491161969243531499160212250",
"209418969049442100195543200635522800816",
"287260605086544937204544513090480014147"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e6d6f27522bcd037856234b720ff607b9c4a09b",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-52585-ee46e074",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"103035884886217101975312890762891193889",
"126949579434807933948408040332969754348",
"128283306583508883921677509626000693318"
]
}
}
]