CVE-2021-4460: drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
Vulnerability summary
CVE-2021-4460 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6% of scored vulnerabilities.
Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 3Timeline
- 01-10-2025PublishedVulnerability first disclosed.
- 11-08-2026Last modifiedVulnerability information updated.
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
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- NVDNIST7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.16% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu100 products
- linux< 5.4.0-77.86
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1051.53
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 0c0356ef2498c1a250fe3846f30293f828737309 | ≥ 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 1874b0ef1426b873de94c61861e38f29a8df714c | ≥ 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 3fdc5182700910a685d23df57d65166e8556a266 | ≥ 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 9069b1b542de8f3bbffef868aff41521b21485cf | ≥ 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 50e2fc36e72d4ad672032ebf646cecb48656efe0 | 5.4
- linux_kernel< 5.4.118 | ≥ 5.5, < 5.10.36 | ≥ 5.11, < 5.11.20 | ≥ 5.12, < 5.12.3
Debian1 product
- linux< 5.10.38-1
3 vendors · 103 products