# CVE-2023-52819: drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.6
- **CVSS:** 6.6 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2024-05-21T15:31:25.582Z
- **Modified:** 2026-06-17T06:43:39.747Z

## Who should check

- Anyone running Linux \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 60a00dfc7c5deafd1dd393beaf53224f7256dad6; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< a63fd579e7b1c3a9ebd6e6c494d49b1b6cf5515e; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< d50a56749e5afdc63491b88f5153c1aae00d4679; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 8c1dbddbfcb051e82cea0c197c620f9dcdc38e92; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< a237675aa1e62bbfaa341c535331c8656a508fa1; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< d0725232da777840703f5f1e22f2e3081d712aa4; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 7c68283f3166221af3df5791f0e13d3137a72216; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< b3b8b7c040cf069da7afe11c5bd73b870b8f3d18; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 0f0e59075b5c22f1e871fbd508d6e4f495048356
- Anyone running Linux 4.5

## Description

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

drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga

For pptable structs that use flexible array sizes, use flexible arrays.

## Affected and fixed versions

- Linux: \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 60a00dfc7c5deafd1dd393beaf53224f7256dad6; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< a63fd579e7b1c3a9ebd6e6c494d49b1b6cf5515e; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< d50a56749e5afdc63491b88f5153c1aae00d4679; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 8c1dbddbfcb051e82cea0c197c620f9dcdc38e92; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< a237675aa1e62bbfaa341c535331c8656a508fa1; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< d0725232da777840703f5f1e22f2e3081d712aa4; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 7c68283f3166221af3df5791f0e13d3137a72216; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< b3b8b7c040cf069da7afe11c5bd73b870b8f3d18; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 0f0e59075b5c22f1e871fbd508d6e4f495048356 (cvelist)
- Linux: 4.5 (cvelist)

## Mitigation

- Upgrade Linux to 0f0e59075b5c22f1e871fbd508d6e4f495048356 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52819. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52819.md
Affected: Linux >= c82baa28184356a75c0157129f88af42b2e7b695, < 60a00dfc7c5deafd1dd393beaf53224f7256dad6; >= c82baa28184356a75c0157129f88af42b2e7b695, < a63fd579e7b1c3a9ebd6e6c494d49b1b6cf5515e; >= c82baa28184356a75c0157129f88af42b2e7b695, < d50a56749e5afdc63491b88f5153c1aae00d4679; >= c82baa28184356a75c01571…
Fixed in: Linux 60a00dfc7c5deafd1dd393beaf53224f7256dad6, Linux 8c1dbddbfcb051e82cea0c197c620f9dcdc38e92, Linux 7c68283f3166221af3df5791f0e13d3137a72216, Linux 0f0e59075b5c22f1e871fbd508d6e4f495048356

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52819 being exploited?

There is no confirmed exploitation: CVE-2023-52819 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52819?

Medium: CVSS 6.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52819?

Linux \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 60a00dfc7c5deafd1dd393beaf53224f7256dad6; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< a63fd579e7b1c3a9ebd6e6c494d49b1b6cf5515e; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< d50a56749e5afdc63491b88f5153c1aae00d4679; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 8c1dbddbfcb051e82cea0c197c620f9dcdc38e92; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< a237675aa1e62bbfaa341c535331c8656a508fa1; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< d0725232da777840703f5f1e22f2e3081d712aa4; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 7c68283f3166221af3df5791f0e13d3137a72216; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< b3b8b7c040cf069da7afe11c5bd73b870b8f3d18; \>= c82baa28184356a75c0157129f88af42b2e7b695, \< 0f0e59075b5c22f1e871fbd508d6e4f495048356; Linux 4.5.

### Is there a fix for CVE-2023-52819?

Yes. Fixed in Linux 60a00dfc7c5deafd1dd393beaf53224f7256dad6, Linux 8c1dbddbfcb051e82cea0c197c620f9dcdc38e92, Linux 7c68283f3166221af3df5791f0e13d3137a72216, Linux 0f0e59075b5c22f1e871fbd508d6e4f495048356. Upgrade Linux to 0f0e59075b5c22f1e871fbd508d6e4f495048356 or later.

### How do I check if I'm affected by CVE-2023-52819?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/60a00dfc7c5deafd1dd393beaf53224f7256dad6>
- patch: <https://git.kernel.org/stable/c/a63fd579e7b1c3a9ebd6e6c494d49b1b6cf5515e>
- patch: <https://git.kernel.org/stable/c/d50a56749e5afdc63491b88f5153c1aae00d4679>
- patch: <https://git.kernel.org/stable/c/8c1dbddbfcb051e82cea0c197c620f9dcdc38e92>
- patch: <https://git.kernel.org/stable/c/a237675aa1e62bbfaa341c535331c8656a508fa1>
- patch: <https://git.kernel.org/stable/c/d0725232da777840703f5f1e22f2e3081d712aa4>
- patch: <https://git.kernel.org/stable/c/7c68283f3166221af3df5791f0e13d3137a72216>
- patch: <https://git.kernel.org/stable/c/b3b8b7c040cf069da7afe11c5bd73b870b8f3d18>
- patch: <https://git.kernel.org/stable/c/0f0e59075b5c22f1e871fbd508d6e4f495048356>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52819>

HTML: <https://flawdb.com/CVE-2023-52819> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52819>
