CVE-2023-52821

published 21 May 2024 · updated 11 May 2026

drm/panel: fix a possible null pointer dereference

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2381f6b628b3214f07375e0adf5ce17093c31190, Kernel 4fa930ba046d20fc1899770396ee11e905fa96e4, Kernel 79813cd59398015867d51e6d7dcc14d287d4c402 and 3 more.

In the Linux kernel, the following vulnerability has been resolved: drm/panel: fix a possible null pointer dereference In versatile_panel_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.17, >=f40f5b87d974655984ce545515e5c9e57b371b3c <2381f6b628b3214f07375e0adf5ce17093c31190, >=f40f5b87d974655984ce545515e5c9e57b371b3c <4fa930ba046d20fc1899770396ee11e905fa96e4, >=f40f5b87d974655984ce545515e5c9e57b371b3c <79813cd59398015867d51e6d7dcc14d287d4c402, >=f40f5b87d974655984ce545515e5c9e57b371b3c <8a9dd36fcb4f3906982b82593393578db4479992, >=f40f5b87d974655984ce545515e5c9e57b371b3c <924e5814d1f84e6fa5cb19c6eceb69f066225229, >=f40f5b87d974655984ce545515e5c9e57b371b3c <c7dc0aca5962fb37dbea9769dd26ec37813faae12381f6b628b3214f07375e0adf5ce17093c31190, 4fa930ba046d20fc1899770396ee11e905fa96e4, 79813cd59398015867d51e6d7dcc14d287d4c402, 8a9dd36fcb4f3906982b82593393578db4479992, 924e5814d1f84e6fa5cb19c6eceb69f066225229, c7dc0aca5962fb37dbea9769dd26ec37813faae1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52821 severity on Zeptric[![CVE-2023-52821](https://zeptric.io/badge/cve/CVE-2023-52821.svg)](https://zeptric.io/cve/CVE-2023-52821)