# CVE-2025-38319: drm/amd/pp: Fix potential NULL pointer dereference in atomctrl_initialize_mc_reg_table

- 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.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-07-10T07:42:25.111Z
- Modified: 2026-06-17T09:16:36.753Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

drm/amd/pp: Fix potential NULL pointer dereference in atomctrl_initialize_mc_reg_table

The function atomctrl_initialize_mc_reg_table() and
atomctrl_initialize_mc_reg_table_v2_2() does not check the return
value of smu_atom_get_data_table(). If smu_atom_get_data_table()
fails to retrieve vram_info, it returns NULL which is later
dereferenced.

(As written by CVE List.)

## Affected

- Linux Linux: from b3892e2bb519fe18225d0628f0dd255761f16502 before 85cdcb834fb490731ff2d123f87ca799c57dacf2; from b3892e2bb519fe18225d0628f0dd255761f16502 before 7080c20a9139842033ed4af604dc1fa4028593ad; from b3892e2bb519fe18225d0628f0dd255761f16502 before cdf7e1ff99ab06ef15d0b5d1aca5258a4fb62b85; from b3892e2bb519fe18225d0628f0dd255761f16502 before 64f3acc8c7e6809631457b75638601b36dea3129; from b3892e2bb519fe18225d0628f0dd255761f16502 before a4ff7391c8b75b1541900bd9d0c238e558c11fb3; from b3892e2bb519fe18225d0628f0dd255761f16502 before 820116a39f96bdc7d426c33a804b52f53700a919; 4.18 (not affected: before 4.18; from 5.15.186 up to 5.15.*; from 6.1.142 up to 6.1.*; from 6.6.94 up to 6.6.*; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 4.18 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.94; from 6.7 before 6.12.34; from 6.13 before 6.15.3
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/85cdcb834fb490731ff2d123f87ca799c57dacf2> (patch)
- <https://git.kernel.org/stable/c/7080c20a9139842033ed4af604dc1fa4028593ad> (patch)
- <https://git.kernel.org/stable/c/cdf7e1ff99ab06ef15d0b5d1aca5258a4fb62b85> (patch)
- <https://git.kernel.org/stable/c/64f3acc8c7e6809631457b75638601b36dea3129> (patch)
- <https://git.kernel.org/stable/c/a4ff7391c8b75b1541900bd9d0c238e558c11fb3> (patch)
- <https://git.kernel.org/stable/c/820116a39f96bdc7d426c33a804b52f53700a919> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)

## Sources

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

---

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