In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix potential null dereference
The adev->dm.dc pointer can be NULL and dereferenced in amdgpudmfini() without checking.
Add a NULL pointer check before calling dcdmubsrv_destroy().
Found by Linux Verification Center (linuxtesting.org) with SVACE.
{ "vanir_signatures": [ { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c", "function": "amdgpu_dm_fini" }, "id": "CVE-2023-53498-0332a2cd", "digest": { "length": 2141.0, "function_hash": "239195408163712315108380964358653919218" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4b749771fed3f99bbe8880eaab32a05ede0e5fa" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c" }, "id": "CVE-2023-53498-0e94bafa", "digest": { "line_hashes": [ "339629759645999030199657088887429061505", "64889663379315069952442183154739934971", "93451837903915783038580450779796883592", "159381240767019745872898500894997942957" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b75aaebac265e3f29863699d9a929fdfba13d0a4" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c" }, "id": "CVE-2023-53498-24d8c612", "digest": { "line_hashes": [ "339629759645999030199657088887429061505", "64889663379315069952442183154739934971", "93451837903915783038580450779796883592", "159381240767019745872898500894997942957" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b1afffdd94093118b3cc235ef2b4d2520fb4950" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c", "function": "amdgpu_dm_fini" }, "id": "CVE-2023-53498-3208b8b4", "digest": { "length": 1892.0, "function_hash": "95492166361649116935036296705496350476" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b1afffdd94093118b3cc235ef2b4d2520fb4950" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c" }, "id": "CVE-2023-53498-48e663b0", "digest": { "line_hashes": [ "339629759645999030199657088887429061505", "64889663379315069952442183154739934971", "93451837903915783038580450779796883592", "159381240767019745872898500894997942957" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4b749771fed3f99bbe8880eaab32a05ede0e5fa" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c" }, "id": "CVE-2023-53498-6597acaf", "digest": { "line_hashes": [ "339629759645999030199657088887429061505", "64889663379315069952442183154739934971", "93451837903915783038580450779796883592", "159381240767019745872898500894997942957" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@281933f36a53fed1c2993a92cf1edfb424595474" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c" }, "id": "CVE-2023-53498-8add92f9", "digest": { "line_hashes": [ "10346236063933440647504230281947317596", "289115794257969211467669987946326789894", "211427793010300950621174233003583166976", "159381240767019745872898500894997942957" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f1783ff4146344342422c1cd94fcb4ce39b6fe" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c", "function": "amdgpu_dm_fini" }, "id": "CVE-2023-53498-c310ddf3", "digest": { "length": 1893.0, "function_hash": "55786808687343388389742971152658635208" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b75aaebac265e3f29863699d9a929fdfba13d0a4" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c", "function": "amdgpu_dm_fini" }, "id": "CVE-2023-53498-d93310c8", "digest": { "length": 2102.0, "function_hash": "268551557892576006186033058909412101119" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f1783ff4146344342422c1cd94fcb4ce39b6fe" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c", "function": "amdgpu_dm_fini" }, "id": "CVE-2023-53498-f86ed910", "digest": { "length": 1893.0, "function_hash": "55786808687343388389742971152658635208" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@281933f36a53fed1c2993a92cf1edfb424595474" } ] }