{"id":"CVE-2021-4460","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Fix UBSAN shift-out-of-bounds warning\n\nIf get_num_sdma_queues or get_num_xgmi_sdma_queues is 0, we end up\ndoing a shift operation where the number of bits shifted equals\nnumber of bits in the operand. This behaviour is undefined.\n\nSet num_sdma_queues or num_xgmi_sdma_queues to ULLONG_MAX, if the\ncount is \u003e= number of bits in the operand.\n\nBug: https://gitlab.freedesktop.org/drm/amd/-/issues/1472","modified":"2026-03-23T05:07:46.488078Z","published":"2025-10-01T12:15:31.850Z","related":["SUSE-SU-2025:03613-1","SUSE-SU-2025:03626-1","SUSE-SU-2025:4189-1"],"references":[{"type":"FIX","url":"https://git.kernel.org/stable/c/1874b0ef1426b873de94c61861e38f29a8df714c"},{"type":"FIX","url":"https://git.kernel.org/stable/c/3fdc5182700910a685d23df57d65166e8556a266"},{"type":"FIX","url":"https://git.kernel.org/stable/c/50e2fc36e72d4ad672032ebf646cecb48656efe0"},{"type":"FIX","url":"https://git.kernel.org/stable/c/9069b1b542de8f3bbffef868aff41521b21485cf"},{"type":"FIX","url":"https://git.kernel.org/stable/c/0c0356ef2498c1a250fe3846f30293f828737309"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4460.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"5.4.118"}]},{"events":[{"introduced":"5.5"},{"fixed":"5.10.36"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.11.20"}]},{"events":[{"introduced":"5.12"},{"fixed":"5.12.3"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}