CVE-2021-4460
published high CVSS 3.1 · 7.1drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux35cdc81bfa94d10373ecae279f3c48ca858ac4fd to < 0c0356ef2498c1a250fe3846f30293f828737309 · 35cdc81bfa94d10373ecae279f3c48ca858ac4fd to < 1874b0ef1426b873de94c61861e38f29a8df714c · 35cdc81bfa94d10373ecae279f3c48ca858ac4fd to < 3fdc5182700910a685d23df57d65166e8556a266 · 35cdc81bfa94d10373ecae279f3c48ca858ac4fd to < 9069b1b542de8f3bbffef868aff41521b21485cf · 35cdc81bfa94d10373ecae279f3c48ca858ac4fd to < 50e2fc36e72d4ad672032ebf646cecb48656efe0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.4 (affected) · 0 to < 5.4 (unaffected · semver) · 5.4.118 through 5.4.* (unaffected · semver) · 5.10.36 through 5.10.* (unaffected · semver) · 5.11.20 through 5.11.* (unaffected · semver) · 5.12.3 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-whitelistsnoarch | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-devels390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-docnoarch | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-docnoarch | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-docnoarch | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-moduless390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extraaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrappc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extras390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrax86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrax86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrax86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-toolsaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 35cdc81bfa94d10373ecae279f3c48ca858ac4fd to < 0c0356ef2498c1a250fe3846f30293f828737309 (affected · git)35cdc81bfa94d10373ecae279f3c48ca858ac4fd to < 1874b0ef1426b873de94c61861e38f29a8df714c (affected · git)35cdc81bfa94d10373ecae279f3c48ca858ac4fd to < 3fdc5182700910a685d23df57d65166e8556a266 (affected · git)35cdc81bfa94d10373ecae279f3c48ca858ac4fd to < 9069b1b542de8f3bbffef868aff41521b21485cf (affected · git)35cdc81bfa94d10373ecae279f3c48ca858ac4fd to < 50e2fc36e72d4ad672032ebf646cecb48656efe0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.4 (affected)0 to < 5.4 (unaffected · semver)5.4.118 through 5.4.* (unaffected · semver)5.10.36 through 5.10.* (unaffected · semver)5.11.20 through 5.11.* (unaffected · semver)5.12.3 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
5- 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/50e2fc36e72d4ad672032ebf646cecb48656efe0
- https://git.kernel.org/stable/c/9069b1b542de8f3bbffef868aff41521b21485cf
Provider assertions
2Linux · cna
drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 56636683eb54961a315407b02090da8af975cf264d6904d956dd828118b78043
- Ingested
- 23 Sep 2026, 07:57:25 UTC
- Source record
- Official CVE record