{"api_version":"1","generated_at":"2026-08-22T09:26:13+00:00","cve":"CVE-2021-46993","urls":{"html":"https://cve.report/CVE-2021-46993","api":"https://cve.report/api/cve/CVE-2021-46993.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-46993","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-46993"},"summary":{"title":"sched: Fix out-of-bound access in uclamp","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2024-02-28 09:15:37","updated_at":"2026-08-04 10:16:40"},"problem_types":["CWE-125"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/6d2f8909a5fabb73fe2a63918117943986c39b6c","name":"https://git.kernel.org/stable/c/6d2f8909a5fabb73fe2a63918117943986c39b6c","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/42ee47c7e3569d9a0e2cb5053c496d97d380472f","name":"https://git.kernel.org/stable/c/42ee47c7e3569d9a0e2cb5053c496d97d380472f","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f7347c85490b92dd144fa1fba9e1eca501656ab3","name":"https://git.kernel.org/stable/c/f7347c85490b92dd144fa1fba9e1eca501656ab3","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3da3f804b82a0a382d523a21acf4cf3bb35f936d","name":"https://git.kernel.org/stable/c/3da3f804b82a0a382d523a21acf4cf3bb35f936d","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/687f523c134b7f0bd040ee1230f6d17990d54172","name":"https://git.kernel.org/stable/c/687f523c134b7f0bd040ee1230f6d17990d54172","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-46993","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46993","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 69842cba9ace84849bb9b8edcdf2cefccd97901c 687f523c134b7f0bd040ee1230f6d17990d54172 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 69842cba9ace84849bb9b8edcdf2cefccd97901c f7347c85490b92dd144fa1fba9e1eca501656ab3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 69842cba9ace84849bb9b8edcdf2cefccd97901c 3da3f804b82a0a382d523a21acf4cf3bb35f936d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 69842cba9ace84849bb9b8edcdf2cefccd97901c 42ee47c7e3569d9a0e2cb5053c496d97d380472f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 69842cba9ace84849bb9b8edcdf2cefccd97901c 6d2f8909a5fabb73fe2a63918117943986c39b6c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.4.120 5.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.38 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.11.22 5.11.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.12.5 5.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.13 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"46993","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-04T05:24:37.912Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/687f523c134b7f0bd040ee1230f6d17990d54172"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/f7347c85490b92dd144fa1fba9e1eca501656ab3"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/3da3f804b82a0a382d523a21acf4cf3bb35f936d"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/42ee47c7e3569d9a0e2cb5053c496d97d380472f"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/6d2f8909a5fabb73fe2a63918117943986c39b6c"}],"title":"CVE Program Container"},{"metrics":[{"other":{"content":{"id":"CVE-2021-46993","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2024-09-10T16:01:01.662746Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2024-09-11T17:33:38.812Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/sched/core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"687f523c134b7f0bd040ee1230f6d17990d54172","status":"affected","version":"69842cba9ace84849bb9b8edcdf2cefccd97901c","versionType":"git"},{"lessThan":"f7347c85490b92dd144fa1fba9e1eca501656ab3","status":"affected","version":"69842cba9ace84849bb9b8edcdf2cefccd97901c","versionType":"git"},{"lessThan":"3da3f804b82a0a382d523a21acf4cf3bb35f936d","status":"affected","version":"69842cba9ace84849bb9b8edcdf2cefccd97901c","versionType":"git"},{"lessThan":"42ee47c7e3569d9a0e2cb5053c496d97d380472f","status":"affected","version":"69842cba9ace84849bb9b8edcdf2cefccd97901c","versionType":"git"},{"lessThan":"6d2f8909a5fabb73fe2a63918117943986c39b6c","status":"affected","version":"69842cba9ace84849bb9b8edcdf2cefccd97901c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/sched/core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.3"},{"lessThan":"5.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.4.*","status":"unaffected","version":"5.4.120","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.38","versionType":"semver"},{"lessThanOrEqual":"5.11.*","status":"unaffected","version":"5.11.22","versionType":"semver"},{"lessThanOrEqual":"5.12.*","status":"unaffected","version":"5.12.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"5.13","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.120","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.38","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.11.22","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.12.5","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.13","versionStartIncluding":"5.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-08-04T08:58:11.340Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/687f523c134b7f0bd040ee1230f6d17990d54172"},{"url":"https://git.kernel.org/stable/c/f7347c85490b92dd144fa1fba9e1eca501656ab3"},{"url":"https://git.kernel.org/stable/c/3da3f804b82a0a382d523a21acf4cf3bb35f936d"},{"url":"https://git.kernel.org/stable/c/42ee47c7e3569d9a0e2cb5053c496d97d380472f"},{"url":"https://git.kernel.org/stable/c/6d2f8909a5fabb73fe2a63918117943986c39b6c"}],"title":"sched: Fix out-of-bound access in uclamp","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2021-46993","datePublished":"2024-02-28T08:13:18.494Z","dateReserved":"2024-02-27T18:42:55.949Z","dateUpdated":"2026-08-04T08:58:11.340Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-02-28 09:15:37","lastModifiedDate":"2026-08-04 10:16:40","problem_types":["CWE-125"],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-09-10T16:01:01.662746Z","id":"CVE-2021-46993","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.4.120","matchCriteriaId":"E868B513-59E3-4DE6-AC7C-E0219F1AD2C8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.38","matchCriteriaId":"2BB4E5E8-4AAD-475A-A1B9-F287254C7D72"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.11.22","matchCriteriaId":"83B53E9A-F426-4C03-9A5F-A931FF79827E"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"5.12.5","matchCriteriaId":"0274929A-B36C-4F4C-AB22-30A0DD6B995B"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"46993","Ordinal":"1","Title":"sched: Fix out-of-bound access in uclamp","CVE":"CVE-2021-46993","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"46993","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"sched: Fix out-of-bound access in uclamp"}]}}}