CVE-2023-52821

drm/panel: fix a possible null pointer dereference

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f40f5b87d974655984ce545515e5c9e57b371b3c to before c7dc0aca5962fb37dbea9769dd26ec37813faae1Affected
  • f40f5b87d974655984ce545515e5c9e57b371b3c to before 2381f6b628b3214f07375e0adf5ce17093c31190Affected
  • f40f5b87d974655984ce545515e5c9e57b371b3c to before 79813cd59398015867d51e6d7dcc14d287d4c402Affected
  • f40f5b87d974655984ce545515e5c9e57b371b3c to before 4fa930ba046d20fc1899770396ee11e905fa96e4Affected
  • f40f5b87d974655984ce545515e5c9e57b371b3c to before 8a9dd36fcb4f3906982b82593393578db4479992Affected
  • f40f5b87d974655984ce545515e5c9e57b371b3c to before 924e5814d1f84e6fa5cb19c6eceb69f066225229Affected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 5.10.202 through 5.10.*Not affected
  • 5.15.140 through 5.15.*Not affected
  • 6.1.64 through 6.1.*Not affected
  • 6.5.13 through 6.5.*Not affected
  • 6.6.3 through 6.6.*Not affected
  • 6.7 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.