# drm/amdkfd: Fix UBSAN shift-out-of-bounds warning

CVE record · `CVE-2021-4460`

- **Identifiers:** `CVE-2021-4460`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-125](https://cwe.mitre.org/data/definitions/125.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 Oct 2025
- **Updated:** 11 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 Oct 2025, 11:45 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `35cdc81bfa94d10373ecae279f3c48ca858ac4fd to before 0c0356ef2498c1a250fe3846f30293f828737309` (git)
  - affected: `35cdc81bfa94d10373ecae279f3c48ca858ac4fd to before 1874b0ef1426b873de94c61861e38f29a8df714c` (git)
  - affected: `35cdc81bfa94d10373ecae279f3c48ca858ac4fd to before 3fdc5182700910a685d23df57d65166e8556a266` (git)
  - affected: `35cdc81bfa94d10373ecae279f3c48ca858ac4fd to before 9069b1b542de8f3bbffef868aff41521b21485cf` (git)
  - affected: `35cdc81bfa94d10373ecae279f3c48ca858ac4fd to before 50e2fc36e72d4ad672032ebf646cecb48656efe0` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.4`
  - unaffected: `before 5.4` (semver)
  - unaffected: `5.4.118 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.36 to 5.10.*, inclusive` (semver)
  - unaffected: `5.11.20 to 5.11.*, inclusive` (semver)
  - unaffected: `5.12.3 to 5.12.*, inclusive` (semver)
  - unaffected: `5.13 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.1 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0017, the 6th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 1 Oct 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2021-4460](https://www.cve.org/CVERecord?id=CVE-2021-4460)
- [NVD: CVE-2021-4460](https://nvd.nist.gov/vuln/detail/CVE-2021-4460)

### References from the CNA

- <https://git.kernel.org/stable/c/0c0356ef2498c1a250fe3846f30293f828737309>
- <https://git.kernel.org/stable/c/1874b0ef1426b873de94c61861e38f29a8df714c>
- <https://git.kernel.org/stable/c/3fdc5182700910a685d23df57d65166e8556a266>
- <https://git.kernel.org/stable/c/9069b1b542de8f3bbffef868aff41521b21485cf>
- <https://git.kernel.org/stable/c/50e2fc36e72d4ad672032ebf646cecb48656efe0>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2021-4460>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2021-4460/>. Everything for agents: <https://agentprime.io/llms.txt>.
