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.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4b749771fed3f99bbe8880eaab32a05ede0e5fa",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "239195408163712315108380964358653919218",
"length": 2141.0
},
"target": {
"function": "amdgpu_dm_fini",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-0332a2cd"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b75aaebac265e3f29863699d9a929fdfba13d0a4",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"339629759645999030199657088887429061505",
"64889663379315069952442183154739934971",
"93451837903915783038580450779796883592",
"159381240767019745872898500894997942957"
]
},
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-0e94bafa"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b1afffdd94093118b3cc235ef2b4d2520fb4950",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"339629759645999030199657088887429061505",
"64889663379315069952442183154739934971",
"93451837903915783038580450779796883592",
"159381240767019745872898500894997942957"
]
},
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-24d8c612"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b1afffdd94093118b3cc235ef2b4d2520fb4950",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "95492166361649116935036296705496350476",
"length": 1892.0
},
"target": {
"function": "amdgpu_dm_fini",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-3208b8b4"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4b749771fed3f99bbe8880eaab32a05ede0e5fa",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"339629759645999030199657088887429061505",
"64889663379315069952442183154739934971",
"93451837903915783038580450779796883592",
"159381240767019745872898500894997942957"
]
},
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-48e663b0"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@281933f36a53fed1c2993a92cf1edfb424595474",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"339629759645999030199657088887429061505",
"64889663379315069952442183154739934971",
"93451837903915783038580450779796883592",
"159381240767019745872898500894997942957"
]
},
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-6597acaf"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@624a60911b71af08a912ee8a296b271b3e7b34ab",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "313190049736793269551015240645276989761",
"length": 1051.0
},
"target": {
"function": "amdgpu_dm_fini",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-8719be58"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f1783ff4146344342422c1cd94fcb4ce39b6fe",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"10346236063933440647504230281947317596",
"289115794257969211467669987946326789894",
"211427793010300950621174233003583166976",
"159381240767019745872898500894997942957"
]
},
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-8add92f9"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@624a60911b71af08a912ee8a296b271b3e7b34ab",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"339629759645999030199657088887429061505",
"101633592003106519028782341130288263039",
"165221588812558625937100727110624556693",
"826794958288597096556495745951960496"
]
},
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-9e6e5b65"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b75aaebac265e3f29863699d9a929fdfba13d0a4",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "55786808687343388389742971152658635208",
"length": 1893.0
},
"target": {
"function": "amdgpu_dm_fini",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-c310ddf3"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f1783ff4146344342422c1cd94fcb4ce39b6fe",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "268551557892576006186033058909412101119",
"length": 2102.0
},
"target": {
"function": "amdgpu_dm_fini",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-d93310c8"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@281933f36a53fed1c2993a92cf1edfb424595474",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "55786808687343388389742971152658635208",
"length": 1893.0
},
"target": {
"function": "amdgpu_dm_fini",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2023-53498-f86ed910"
}
]