In the Linux kernel, the following vulnerability has been resolved:
drm/msm/dpu: check for null return of devmkzalloc() in dpuwriteback_init()
Because of the possilble failure of devmkzalloc(), dpuwb_conn might be NULL and will cause null pointer dereference later.
Therefore, it might be better to check it and directly return -ENOMEM.
Patchwork: https://patchwork.freedesktop.org/patch/512277/ [DB: fixed typo in commit message]
[
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@21e9a838f505178e109ccb3bf19d7808eb0326f4",
"id": "CVE-2023-53284-1505d457",
"digest": {
"threshold": 0.9,
"line_hashes": [
"289371329797327270068538409952721386154",
"252934752565993383183515008235105975702",
"79394151078260488181075108441777239170",
"163796680212385280151903559958667825526"
]
},
"target": {
"file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@21e9a838f505178e109ccb3bf19d7808eb0326f4",
"id": "CVE-2023-53284-55e04326",
"digest": {
"function_hash": "227352050569006473415584498252829384200",
"length": 390.0
},
"target": {
"function": "dpu_writeback_init",
"file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3723c4dbcd14cc96771000ce0b0540801e6ba059",
"id": "CVE-2023-53284-5d1e9ca8",
"digest": {
"function_hash": "227352050569006473415584498252829384200",
"length": 390.0
},
"target": {
"function": "dpu_writeback_init",
"file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3723c4dbcd14cc96771000ce0b0540801e6ba059",
"id": "CVE-2023-53284-62193474",
"digest": {
"threshold": 0.9,
"line_hashes": [
"289371329797327270068538409952721386154",
"252934752565993383183515008235105975702",
"79394151078260488181075108441777239170",
"163796680212385280151903559958667825526"
]
},
"target": {
"file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ee51b19855c5dd72aca57b8014f3b70d7798733",
"id": "CVE-2023-53284-bb9eee9b",
"digest": {
"function_hash": "227352050569006473415584498252829384200",
"length": 390.0
},
"target": {
"function": "dpu_writeback_init",
"file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ee51b19855c5dd72aca57b8014f3b70d7798733",
"id": "CVE-2023-53284-d52c8bd5",
"digest": {
"threshold": 0.9,
"line_hashes": [
"289371329797327270068538409952721386154",
"252934752565993383183515008235105975702",
"79394151078260488181075108441777239170",
"163796680212385280151903559958667825526"
]
},
"target": {
"file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c"
},
"signature_type": "Line",
"signature_version": "v1"
}
]