# CVE-2023-52812: drm/amd: check num of link levels when update pcie param

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-21T15:31:20.940Z
- Modified: 2026-06-17T06:43:38.540Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

drm/amd: check num of link levels when update pcie param

In SR-IOV environment, the value of pcie_table->num_of_link_levels will
be 0, and num_of_levels - 1 will cause array index out of bounds

(As written by CVE List.)

## Affected

- Linux Linux: from bd8cd38d3ac6b6410ac4e7401ef3dca057a9b285 before 2f2d48b6247ae3001f83c98730b3cce475cb2927; from 31c7a3b378a136adc63296a2ff17645896fcf303 before 5b4574b663d0a1a0a62d5232429b7db9ae6d0670; from 31c7a3b378a136adc63296a2ff17645896fcf303 before 09f617219fe9ccd8d7b65dc3e879b5889f663b5a; from 31c7a3b378a136adc63296a2ff17645896fcf303 before 406e8845356d18bdf3d3a23b347faf67706472ec; a924e0fa77d0ce382346b7b4c8419cb47189fb58; from 6.1.40 before 6.1.119; from 6.4.5 before 6.5; 6.5 (not affected: before 6.5; from 6.1.119 up to 6.1.*; from 6.5.13 up to 6.5.*; from 6.6.3 up to 6.6.*; from 6.7 up to *)
- debian debian_linux: 11.0
- linux linux_kernel: from 5.19 before 6.1.119; from 6.2 before 6.5.13; from 6.6 before 6.6.3

## References

- <https://git.kernel.org/stable/c/2f2d48b6247ae3001f83c98730b3cce475cb2927> (patch)
- <https://git.kernel.org/stable/c/5b4574b663d0a1a0a62d5232429b7db9ae6d0670> (patch)
- <https://git.kernel.org/stable/c/09f617219fe9ccd8d7b65dc3e879b5889f663b5a> (patch)
- <https://git.kernel.org/stable/c/406e8845356d18bdf3d3a23b347faf67706472ec> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html> (mailing-list, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2023-52812 · Whole record: https://cve.day/CVE-2023-52812.json · Rebuilt by cve.day 2026-11-25T22:58:34.032Z
