{"id":"CVE-2021-46993","published":"2024-02-28T08:13:18Z","modified":"2026-08-05T08:45:26Z","title":"sched: Fix out-of-bound access in uclamp","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched: Fix out-of-bound access in uclamp\n\nUtil-clamp places tasks in different buckets based on their clamp values\nfor performance reasons. However, the size of buckets is currently\ncomputed using a rounding division, which can lead to an off-by-one\nerror in some configurations.\n\nFor instance, with 20 buckets, the bucket size will be 1024/20=51. A\ntask with a clamp of 1024 will be mapped to bucket id 1024/51=20. Sadly,\ncorrect indexes are in range [0,19], hence leading to an out of bound\nmemory access.\n\nClamp the bucket id to fix the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00243,"percentile":0.15817,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/687f523c134b7f0bd040ee1230f6d17990d54172","tags":[]},{"url":"https://git.kernel.org/stable/c/f7347c85490b92dd144fa1fba9e1eca501656ab3","tags":[]},{"url":"https://git.kernel.org/stable/c/3da3f804b82a0a382d523a21acf4cf3bb35f936d","tags":[]},{"url":"https://git.kernel.org/stable/c/42ee47c7e3569d9a0e2cb5053c496d97d380472f","tags":[]},{"url":"https://git.kernel.org/stable/c/6d2f8909a5fabb73fe2a63918117943986c39b6c","tags":[]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":3.16},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 69842cba9ace84849bb9b8edcdf2cefccd97901c, < 687f523c134b7f0bd040ee1230f6d17990d54172",">= 69842cba9ace84849bb9b8edcdf2cefccd97901c, < f7347c85490b92dd144fa1fba9e1eca501656ab3",">= 69842cba9ace84849bb9b8edcdf2cefccd97901c, < 3da3f804b82a0a382d523a21acf4cf3bb35f936d",">= 69842cba9ace84849bb9b8edcdf2cefccd97901c, < 42ee47c7e3569d9a0e2cb5053c496d97d380472f",">= 69842cba9ace84849bb9b8edcdf2cefccd97901c, < 6d2f8909a5fabb73fe2a63918117943986c39b6c"]},{"vendor":"Linux","product":"Linux","versions":["5.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:01:01.662746Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33641","exploited":false,"provenance":"source"}}