CVE-2025-38254
MEDIUM 5.5CVSS 3.1In 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)
- Published
- 9 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.15.5 | 6.15.5 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:* |
= 6.16 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:* |
= 6.16 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:* |
= 6.16 |
References
- https://git.kernel.org/stable/c/4b63507d7cd243574753c6b91f68516d9103f1de · Patch
- https://git.kernel.org/stable/c/6847b3b6e84ef37451c074e6a8db3fbd250c8dbf · Patch
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Jul 2025)