{"id":"CVE-2021-4460","published":"2025-10-01T11:45:19Z","modified":"2026-08-11T02:05:07Z","title":"drm/amdkfd: Fix UBSAN shift-out-of-bounds warning","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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 >= number of bits in the operand.\n\nBug: https://gitlab.freedesktop.org/drm/amd/-/issues/1472","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00168,"percentile":0.03469,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://git.kernel.org/stable/c/0c0356ef2498c1a250fe3846f30293f828737309","tags":[]},{"url":"https://git.kernel.org/stable/c/1874b0ef1426b873de94c61861e38f29a8df714c","tags":[]},{"url":"https://git.kernel.org/stable/c/3fdc5182700910a685d23df57d65166e8556a266","tags":[]},{"url":"https://git.kernel.org/stable/c/9069b1b542de8f3bbffef868aff41521b21485cf","tags":[]},{"url":"https://git.kernel.org/stable/c/50e2fc36e72d4ad672032ebf646cecb48656efe0","tags":[]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":0.69},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 0c0356ef2498c1a250fe3846f30293f828737309",">= 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 1874b0ef1426b873de94c61861e38f29a8df714c",">= 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 3fdc5182700910a685d23df57d65166e8556a266",">= 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 9069b1b542de8f3bbffef868aff41521b21485cf",">= 35cdc81bfa94d10373ecae279f3c48ca858ac4fd, < 50e2fc36e72d4ad672032ebf646cecb48656efe0"]},{"vendor":"Linux","product":"Linux","versions":["5.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T17:39:30.831800Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-32863","exploited":false,"provenance":"source"}}