CVE-2021-4460drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
- 7.1HighCVSS base score
- 0.17%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix UBSAN shift-out-of-bounds warning If get_num_sdma_queues or get_num_xgmi_sdma_queues is 0, we end up doing a shift operation where the number of bits shifted equals number of bits in the operand. This behaviour is undefined. Set num_sdma_queues or num_xgmi_sdma_queues to ULLONG_MAX, if the count is >= number of bits in the operand. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1472
Timeline
ID reserved
By Linux
Published
- 10 months later
· 10 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.17% · top 94% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected 35cdc81bfa94d10373ecae279f3c48ca858ac4fd – < 0c0356ef2498c1a250fe3846f30293f828737309
- affected 35cdc81bfa94d10373ecae279f3c48ca858ac4fd – < 1874b0ef1426b873de94c61861e38f29a8df714c
- affected 35cdc81bfa94d10373ecae279f3c48ca858ac4fd – < 3fdc5182700910a685d23df57d65166e8556a266
- affected 35cdc81bfa94d10373ecae279f3c48ca858ac4fd – < 9069b1b542de8f3bbffef868aff41521b21485cf
- affected 35cdc81bfa94d10373ecae279f3c48ca858ac4fd – < 50e2fc36e72d4ad672032ebf646cecb48656efe0
- affected 5.4
- unaffected < 5.4
- unaffected 5.4.118 – ≤ 5.4.*
- unaffected 5.10.36 – ≤ 5.10.*
- unaffected 5.11.20 – ≤ 5.11.*
- unaffected 5.12.3 – ≤ 5.12.*
- unaffected 5.13 – ≤ *
References
References5
- https://git.kernel.org/stable/c/0c0356ef2498c1a250fe3846f30293f828737309 (opens in a new tab)
- https://git.kernel.org/stable/c/1874b0ef1426b873de94c61861e38f29a8df714c (opens in a new tab)
- https://git.kernel.org/stable/c/3fdc5182700910a685d23df57d65166e8556a266 (opens in a new tab)
- https://git.kernel.org/stable/c/9069b1b542de8f3bbffef868aff41521b21485cf (opens in a new tab)
- https://git.kernel.org/stable/c/50e2fc36e72d4ad672032ebf646cecb48656efe0 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-32863 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-4460)Record last updated .