CVE-2021-4460

High

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

Package Linux Kernel
Published 2025-10-01
Last modified 2026-01-14
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.1

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Weakness type

CWE-125

CVE-2021-4460 is a Out-of-bounds Read vulnerability

What is Out-of-bounds Read?

The product reads data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE

Affected versions

Linux kernel versions 3.19 and later are affected. Fixed in 5.4.118, 5.10.36, 5.11.20, 5.12.3, 5.13 and their respective stable series.

Affected from
≥ 3.19
Fixed in
✓ 5.4.118 5.4.x ✓ 5.10.36 5.10.x ✓ 5.11.20 5.11.x ✓ 5.12.3 5.12.x ✓ 5.13

References

The following references provide additional information about CVE-2021-4460 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2021-4460?

    CVE-2021-4460 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 , classified as an Out-of-bounds Read flaw (CWE-125) . It affects Linux kernel versions from 3.19 onward and has been patched in 5.4.118, 5.10.36, 5.11.20 and others. CVE-2021-4460 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2021-4460?

    CVE-2021-4460 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H .

  • Is there a patch available for CVE-2021-4460?

    Yes — CVE-2021-4460 has been patched. Fixed versions include 5.4.118, 5.10.36, 5.11.20 and others. If you are running Linux kernel 3.19 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2021-4460 actively exploited?

    No — CVE-2021-4460 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

  • What is Out-of-bounds Read (CWE-125)?

    The product reads data past the end or before the beginning of the intended buffer. View CWE-125 on MITRE CWE →