CVE-2023-53284

Source
https://cve.org/CVERecord?id=CVE-2023-53284
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53284.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53284
Downstream
Related
Published
2025-09-16T08:11:17.741Z
Modified
2026-02-20T09:56:06.214996Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
drm/msm/dpu: check for null return of devm_kzalloc() in dpu_writeback_init()
Details

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]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53284.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
77b001acdcfeb892842caac49fb7f0d286b29c43
Fixed
3723c4dbcd14cc96771000ce0b0540801e6ba059
Fixed
5ee51b19855c5dd72aca57b8014f3b70d7798733
Fixed
21e9a838f505178e109ccb3bf19d7808eb0326f4

Affected versions

v5.*
v5.18
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8
v6.*
v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.10
v6.1.11
v6.1.12
v6.1.13
v6.1.14
v6.1.15
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.1.9
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.2.1
v6.2.2

Database specific

vanir_signatures
[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@21e9a838f505178e109ccb3bf19d7808eb0326f4",
        "deprecated": false,
        "signature_type": "Line",
        "target": {
            "file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "289371329797327270068538409952721386154",
                "252934752565993383183515008235105975702",
                "79394151078260488181075108441777239170",
                "163796680212385280151903559958667825526"
            ]
        },
        "signature_version": "v1",
        "id": "CVE-2023-53284-1505d457"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@21e9a838f505178e109ccb3bf19d7808eb0326f4",
        "deprecated": false,
        "signature_type": "Function",
        "target": {
            "file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c",
            "function": "dpu_writeback_init"
        },
        "digest": {
            "length": 390.0,
            "function_hash": "227352050569006473415584498252829384200"
        },
        "signature_version": "v1",
        "id": "CVE-2023-53284-55e04326"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3723c4dbcd14cc96771000ce0b0540801e6ba059",
        "deprecated": false,
        "signature_type": "Function",
        "target": {
            "file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c",
            "function": "dpu_writeback_init"
        },
        "digest": {
            "length": 390.0,
            "function_hash": "227352050569006473415584498252829384200"
        },
        "signature_version": "v1",
        "id": "CVE-2023-53284-5d1e9ca8"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3723c4dbcd14cc96771000ce0b0540801e6ba059",
        "deprecated": false,
        "signature_type": "Line",
        "target": {
            "file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "289371329797327270068538409952721386154",
                "252934752565993383183515008235105975702",
                "79394151078260488181075108441777239170",
                "163796680212385280151903559958667825526"
            ]
        },
        "signature_version": "v1",
        "id": "CVE-2023-53284-62193474"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ee51b19855c5dd72aca57b8014f3b70d7798733",
        "deprecated": false,
        "signature_type": "Function",
        "target": {
            "file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c",
            "function": "dpu_writeback_init"
        },
        "digest": {
            "length": 390.0,
            "function_hash": "227352050569006473415584498252829384200"
        },
        "signature_version": "v1",
        "id": "CVE-2023-53284-bb9eee9b"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ee51b19855c5dd72aca57b8014f3b70d7798733",
        "deprecated": false,
        "signature_type": "Line",
        "target": {
            "file": "drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "289371329797327270068538409952721386154",
                "252934752565993383183515008235105975702",
                "79394151078260488181075108441777239170",
                "163796680212385280151903559958667825526"
            ]
        },
        "signature_version": "v1",
        "id": "CVE-2023-53284-d52c8bd5"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53284.json"

Git / github.com/gregkh/linux

Affected versions

v5.*
v5.19
v6.*
v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.10
v6.1.11
v6.1.12
v6.1.13
v6.1.14
v6.1.15
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.1.9
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.2.1
v6.2.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53284.json"