CVE-2025-38254 Details
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add sanity checks for drm_edid_raw() When EDID is retrieved via drm_edid_raw(), it doesn't guarantee to return proper EDID bytes the caller wants: it may be either NULL (that leads to an Oops) or with too long bytes over the fixed size raw_edid array (that may lead to memory corruption). The latter was reported actually when connected with a bad adapter. Add sanity checks for drm_edid_raw() to address the above corner cases, and return EDID_BAD_INPUT accordingly. (cherry picked from commit 648d3f4d209725d51900d6a3ed46b7b600140cdf)
A vulnerability in the Linux kernel's AMD display driver related to the handling of Extended Display Identification Data (EDID) has been addressed. The issue arose because the function 'drm_edid_raw()' could return NULL, leading to a system crash, or provide excessively long data that could cause memory corruption. This problem was particularly noted when a faulty adapter was used. To mitigate these risks, additional sanity checks have been implemented in 'drm_edid_raw()' to ensure proper EDID bytes are returned, with inappropriate inputs flagged as 'EDID_BAD_INPUT'.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/4b63507d7cd243574753c6b91f68516d9103f1de | kernel.org | Patch |
| https://git.kernel.org/stable/c/6847b3b6e84ef37451c074e6a8db3fbd250c8dbf | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.13, < 6.15.5 6.16 rc1 6.16 rc2 6.16 rc3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 19, 2025 | Initial Analysis | [email protected] |
| Jul 9, 2025 | New CVE Received | kernel.org |