Kernel crash via unchecked mode allocation failure
Published May 21, 2024 · Updated May 11, 2026
NULL pointer dereference in the Linux kernel's Versatile panel driver allows local users to crash the kernel during mode discovery. versatile_panel_get_modes assigns drm_mode_duplicate's return to mode and dereferences it without checking whether allocation returned NULL. Reaching the fault requires the Versatile DRM panel path and a failed mode allocation; the documented consequence is a kernel crash, not data access or code execution.
Summary
What happened
NULL pointer dereference in the Linux kernel's Versatile panel driver allows local users to crash the kernel during mode discovery. versatile_panel_get_modes assigns drm_mode_duplicate's return to mode and dereferences it without checking whether allocation returned NULL. Reaching the fault requires the Versatile DRM panel path and a failed mode allocation; the documented consequence is a kernel crash, not data access or code execution.
The record
- CVE
- CVE-2023-52821
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.17
- Affected versionversion=f40f5b87d974655984ce545515e5c9e57b371b3c <2381f6b628b3214f07375e0adf5ce17093c31190
- Affected versionversion=f40f5b87d974655984ce545515e5c9e57b371b3c <4fa930ba046d20fc1899770396ee11e905fa96e4
- Affected versionversion=f40f5b87d974655984ce545515e5c9e57b371b3c <79813cd59398015867d51e6d7dcc14d287d4c402
- Affected versionversion=f40f5b87d974655984ce545515e5c9e57b371b3c <8a9dd36fcb4f3906982b82593393578db4479992
- Affected versionversion=f40f5b87d974655984ce545515e5c9e57b371b3c <924e5814d1f84e6fa5cb19c6eceb69f066225229
- Affected versionversion=f40f5b87d974655984ce545515e5c9e57b371b3c <c7dc0aca5962fb37dbea9769dd26ec37813faae1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo