# CVE-2026-142821: drm/amdkfd: validate SRAT subtables before parsing

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:20:40.001Z
- **Modified:** 2026-12-03T04:18:17.593Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker who can supply malformed firmware ACPI SRAT tables can trigger out-of-bounds reads in the Linux kernel's AMD KFD driver.

## Who should check

- Anyone running Linux \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 218d17d8331036311ffca004933f0e0b023e0705; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 52c175823a937a4a7c1fd1ba45439d8bb1d5ebe3; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 7f51881b0bb6ae781071e11cf327d851c8f3cc8a; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 8f654fea546a16d794c46afd81cdca2ccb4e6cf9; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 7f1ed723c19846fd176243acb68ecdccb22bfa72; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 437fa225f646ee74eef462f592160e608b231d74; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 9866cb13ba4d39aa8fed34b765d4aecabe04f02e
- Anyone running Linux 5.14

## Description

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

drm/amdkfd: validate SRAT subtables before parsing

The KFD SRAT walker reads the first subtable length without checking
that a header is present and trusts subsequent lengths when accessing
CPU and generic affinity records. Invalid firmware lengths can therefore
cause out-of-bounds reads.

Validate the table header, every generic subtable range, and each
supported typed record before reading its fields.

(cherry picked from commit d76b655c98e8cc9e791b31502ad274f47dee2aae)

## Affected and fixed versions

- Linux: \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 218d17d8331036311ffca004933f0e0b023e0705; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 52c175823a937a4a7c1fd1ba45439d8bb1d5ebe3; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 7f51881b0bb6ae781071e11cf327d851c8f3cc8a; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 8f654fea546a16d794c46afd81cdca2ccb4e6cf9; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 7f1ed723c19846fd176243acb68ecdccb22bfa72; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 437fa225f646ee74eef462f592160e608b231d74; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 9866cb13ba4d39aa8fed34b765d4aecabe04f02e (cvelist)
- Linux: 5.14 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 9866cb13ba4d39aa8fed34b765d4aecabe04f02e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-142821.md
Affected: Linux >= ddec8d3be0f8334bf44b0be86f354c835519e458, < 218d17d8331036311ffca004933f0e0b023e0705; >= ddec8d3be0f8334bf44b0be86f354c835519e458, < 52c175823a937a4a7c1fd1ba45439d8bb1d5ebe3; >= ddec8d3be0f8334bf44b0be86f354c835519e458, < 7f51881b0bb6ae781071e11cf327d851c8f3cc8a; >= ddec8d3be0f8334bf44b0be…
Fixed in: Linux 218d17d8331036311ffca004933f0e0b023e0705, Linux 52c175823a937a4a7c1fd1ba45439d8bb1d5ebe3, Linux 7f51881b0bb6ae781071e11cf327d851c8f3cc8a, Linux 8f654fea546a16d794c46afd81cdca2ccb4e6cf9, Linux 7f1ed723c19846fd176243acb68ecdccb22bfa72, Linux 437fa225f646ee74eef462f592160e608b231d74, Linux 9866c…

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-2026-142821 being exploited?

There is no confirmed exploitation: CVE-2026-142821 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142821?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142821?

Linux \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 218d17d8331036311ffca004933f0e0b023e0705; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 52c175823a937a4a7c1fd1ba45439d8bb1d5ebe3; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 7f51881b0bb6ae781071e11cf327d851c8f3cc8a; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 8f654fea546a16d794c46afd81cdca2ccb4e6cf9; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 7f1ed723c19846fd176243acb68ecdccb22bfa72; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 437fa225f646ee74eef462f592160e608b231d74; \>= ddec8d3be0f8334bf44b0be86f354c835519e458, \< 9866cb13ba4d39aa8fed34b765d4aecabe04f02e; Linux 5.14.

### Is there a fix for CVE-2026-142821?

Yes. Fixed in Linux 218d17d8331036311ffca004933f0e0b023e0705, Linux 52c175823a937a4a7c1fd1ba45439d8bb1d5ebe3, Linux 7f51881b0bb6ae781071e11cf327d851c8f3cc8a, Linux 8f654fea546a16d794c46afd81cdca2ccb4e6cf9, Linux 7f1ed723c19846fd176243acb68ecdccb22bfa72, Linux 437fa225f646ee74eef462f592160e608b231d74, Linux 9866cb13ba4d39aa8fed34b765d4aecabe04f02e. Upgrade Linux to 9866cb13ba4d39aa8fed34b765d4aecabe04f02e or later.

### How do I check if I'm affected by CVE-2026-142821?

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

- other: <https://git.kernel.org/stable/c/218d17d8331036311ffca004933f0e0b023e0705>
- other: <https://git.kernel.org/stable/c/52c175823a937a4a7c1fd1ba45439d8bb1d5ebe3>
- other: <https://git.kernel.org/stable/c/7f51881b0bb6ae781071e11cf327d851c8f3cc8a>
- other: <https://git.kernel.org/stable/c/8f654fea546a16d794c46afd81cdca2ccb4e6cf9>
- other: <https://git.kernel.org/stable/c/7f1ed723c19846fd176243acb68ecdccb22bfa72>
- other: <https://git.kernel.org/stable/c/437fa225f646ee74eef462f592160e608b231d74>
- other: <https://git.kernel.org/stable/c/9866cb13ba4d39aa8fed34b765d4aecabe04f02e>

## 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-2026-142821>

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