{"id":"CVE-2023-52821","summary":"drm/panel: fix a possible null pointer dereference","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panel: fix a possible null pointer dereference\n\nIn versatile_panel_get_modes(), the return value of drm_mode_duplicate()\nis assigned to mode, which will lead to a NULL pointer dereference\non failure of drm_mode_duplicate(). Add a check to avoid npd.","modified":"2026-04-02T09:43:23.051101Z","published":"2024-05-21T15:31:26.888Z","related":["SUSE-SU-2024:1979-1","SUSE-SU-2024:1983-1","SUSE-SU-2024:2008-1","SUSE-SU-2024:2011-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2184-1","SUSE-SU-2024:2189-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52821.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2381f6b628b3214f07375e0adf5ce17093c31190"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4fa930ba046d20fc1899770396ee11e905fa96e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/79813cd59398015867d51e6d7dcc14d287d4c402"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a9dd36fcb4f3906982b82593393578db4479992"},{"type":"WEB","url":"https://git.kernel.org/stable/c/924e5814d1f84e6fa5cb19c6eceb69f066225229"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7dc0aca5962fb37dbea9769dd26ec37813faae1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52821.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52821"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5"}