# CVE-2025-38426: drm/amdgpu: Add basic validation for RAS header

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-07-25T14:16:46.482Z
- Modified: 2026-06-17T09:16:50.130Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Add basic validation for RAS header

If RAS header read from EEPROM is corrupted, it could result in trying
to allocate huge memory for reading the records. Add some validation to
header fields.

(As written by CVE List.)

## Affected

- Linux Linux: from 64f55e629237e4752db18df4d6969a69e3f4835a before e1903358b2152f5d64a83e796bb776aba0d3628d; from 64f55e629237e4752db18df4d6969a69e3f4835a before 0479268fdfaaff6e15d69e8a8387410f36d1b793; from 64f55e629237e4752db18df4d6969a69e3f4835a before b52f52bc5ba9feb026c0be600f8ac584fd12d187; from 64f55e629237e4752db18df4d6969a69e3f4835a before 5df0d6addb7e9b6f71f7162d1253762a5be9138e; 5.4 (not affected: before 5.4; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.4 before 6.15.4

## References

- <https://git.kernel.org/stable/c/e1903358b2152f5d64a83e796bb776aba0d3628d>
- <https://git.kernel.org/stable/c/0479268fdfaaff6e15d69e8a8387410f36d1b793>
- <https://git.kernel.org/stable/c/b52f52bc5ba9feb026c0be600f8ac584fd12d187> (patch)
- <https://git.kernel.org/stable/c/5df0d6addb7e9b6f71f7162d1253762a5be9138e> (patch)

## Sources

- CVE List: [CVE-2025-38426](https://www.cve.org/CVERecord?id=CVE-2025-38426), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38426](https://nvd.nist.gov/vuln/detail/CVE-2025-38426), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38426 · Whole record: https://cve.day/CVE-2025-38426.json · Rebuilt by cve.day 2026-11-25T22:59:01.707Z
