Skip to main content
Network Thinking Solutions Logo

CVE-2021-4460

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.

All CVEs
CVE-2021-4460Published 10/1/2025

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.

Vendor advisory
CVSS7.1High

Overview

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

Published
10/1/2025
Last modified
8/11/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 5.4.118

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.36

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.11.20

Verify advisory

Source
linux kernel
linux
≥ 5.12, < 5.12.3

Verify advisory

Source
Linux
Linux
≥ 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 0c0356ef2498c1a250fe3846f30293f828737309

Verify advisory

Source
Linux
Linux
≥ 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 1874b0ef1426b873de94c61861e38f29a8df714c

Verify advisory

Source
Linux
Linux
≥ 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 3fdc5182700910a685d23df57d65166e8556a266

Verify advisory

Source
Linux
Linux
≥ 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 9069b1b542de8f3bbffef868aff41521b21485cf

Verify advisory

Source
Linux
Linux
≥ 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 50e2fc36e72d4ad672032ebf646cecb48656efe0

Verify advisory

Source
Linux
Linux
5.4

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.