CVE-2023-53284

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53284
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53284.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53284
Downstream
Related
Published
2025-09-16T08:11:17Z
Modified
2025-10-21T16:20:15.758009Z
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]

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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
77b001acdcfeb892842caac49fb7f0d286b29c43
Fixed
5ee51b19855c5dd72aca57b8014f3b70d7798733
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
77b001acdcfeb892842caac49fb7f0d286b29c43
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

[
    {
        "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"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.16
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.3