CVE-2023-52821

Source
https://cve.org/CVERecord?id=CVE-2023-52821
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52821.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52821
Downstream
Related
Published
2024-05-21T15:31:26.888Z
Modified
2026-03-14T12:23:15.054011Z
Summary
drm/panel: fix a possible null pointer dereference
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/panel: fix a possible null pointer dereference

In versatilepanelgetmodes(), the return value of drmmodeduplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drmmode_duplicate(). Add a check to avoid npd.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52821.json"
}
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
f40f5b87d974655984ce545515e5c9e57b371b3c
Fixed
c7dc0aca5962fb37dbea9769dd26ec37813faae1
Fixed
2381f6b628b3214f07375e0adf5ce17093c31190
Fixed
79813cd59398015867d51e6d7dcc14d287d4c402
Fixed
4fa930ba046d20fc1899770396ee11e905fa96e4
Fixed
8a9dd36fcb4f3906982b82593393578db4479992
Fixed
924e5814d1f84e6fa5cb19c6eceb69f066225229

Database specific

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