CVE-2023-52821

Source
https://cve.org/CVERecord?id=CVE-2023-52821
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52821.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52821
Downstream
Related
Published
2024-05-21T15:31:26.888Z
Modified
2026-04-11T12:46:36.852019Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52821.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
f40f5b87d974655984ce545515e5c9e57b371b3c
Fixed
c7dc0aca5962fb37dbea9769dd26ec37813faae1
Fixed
2381f6b628b3214f07375e0adf5ce17093c31190
Fixed
79813cd59398015867d51e6d7dcc14d287d4c402
Fixed
4fa930ba046d20fc1899770396ee11e905fa96e4
Fixed
8a9dd36fcb4f3906982b82593393578db4479992
Fixed
924e5814d1f84e6fa5cb19c6eceb69f066225229

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.17.0
Fixed
5.10.202
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.140
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.64
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.5.13
Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.3

Database specific

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