CVE-2023-52821

drm/panel: fix a possible null pointer dereference

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 03:31 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.10.2024.17 ≤ v < 5.10.2024.17 ≤ v < 5.15.1404.17 ≤ v < 6.1.644.17 ≤ v < 6.5.134.17 ≤ v < 6.6.34.17 ≤ v < 6.75.11 ≤ v < 5.15.1405.16 ≤ v < 6.1.646.2 ≤ v < 6.5.136.6 ≤ v < 6.6.34.17f40f5b87d974655984ce545515e5c9e57b371b3c
Vendor states this is fixed in 2381f6b628b3214f07375e0adf5ce17093c31190 (fixed)
Vendor states this is fixed in 4fa930ba046d20fc1899770396ee11e905fa96e4 (fixed)
Vendor states this is fixed in 79813cd59398015867d51e6d7dcc14d287d4c402 (fixed)
Vendor states this is fixed in 8a9dd36fcb4f3906982b82593393578db4479992 (fixed)
Vendor states this is fixed in 924e5814d1f84e6fa5cb19c6eceb69f066225229 (fixed)
Vendor states this is fixed in c7dc0aca5962fb37dbea9769dd26ec37813faae1 (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 5.10.202 (unaffected)
Vendor states this is fixed in 5.15.140 (unaffected)
Vendor states this is fixed in 6.1.64 (unaffected)
Vendor states this is fixed in 6.5.13 (unaffected)
Vendor states this is fixed in 6.6.3 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2381f6b628b3214f07375e0adf5ce17093c31190
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4fa930ba046d20fc1899770396ee11e905fa96e4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/79813cd59398015867d51e6d7dcc14d287d4c402
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8a9dd36fcb4f3906982b82593393578db4479992
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/924e5814d1f84e6fa5cb19c6eceb69f066225229
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c7dc0aca5962fb37dbea9769dd26ec37813faae1

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card