Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-46993

published high CVSS 3.1 · 7.8

sched: Fix out-of-bound access in uclamp

Published
28 Feb 2024, 08:13:18 UTC
Updated
05 Aug 2026, 08:45:26 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux69842cba9ace84849bb9b8edcdf2cefccd97901c to < 687f523c134b7f0bd040ee1230f6d17990d54172 · 69842cba9ace84849bb9b8edcdf2cefccd97901c to < f7347c85490b92dd144fa1fba9e1eca501656ab3 · 69842cba9ace84849bb9b8edcdf2cefccd97901c to < 3da3f804b82a0a382d523a21acf4cf3bb35f936d · 69842cba9ace84849bb9b8edcdf2cefccd97901c to < 42ee47c7e3569d9a0e2cb5053c496d97d380472f · 69842cba9ace84849bb9b8edcdf2cefccd97901c to < 6d2f8909a5fabb73fe2a63918117943986c39b6c · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.3 (affected) · 0 to < 5.3 (unaffected · semver) · 5.4.120 through 5.4.* (unaffected · semver) · 5.10.38 through 5.10.* (unaffected · semver) · 5.11.22 through 5.11.* (unaffected · semver) · 5.12.5 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-004 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.4-2022-004
Show 6 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.4-2022-004
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.4-2022-004
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.4-2022-004

Description

In the Linux kernel, the following vulnerability has been resolved: sched: Fix out-of-bound access in uclamp Util-clamp places tasks in different buckets based on their clamp values for performance reasons. However, the size of buckets is currently computed using a rounding division, which can lead to an off-by-one error in some configurations. For instance, with 20 buckets, the bucket size will be 1024/20=51. A task with a clamp of 1024 will be mapped to bucket id 1024/51=20. Sadly, correct indexes are in range [0,19], hence leading to an out of bound memory access. Clamp the bucket id to fix the issue.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached via the local sched_setattr syscall when a task sets util-clamp attributes; it is not reachable from the network stack or remote protocol handlers. AC:L - On the primary uclamp deployment (Android GKI with UCLAMP_BUCKETS_COUNT=20), setting clamp value 1024 reliably maps to out-of-range bucket_id 20 with no race or attacker-uncontrollable condition. PR:L - An unprivileged process can set its own sched_util_min/max through sched_setattr; __sched_setscheduler does not require CAP_SYS_NICE for UTIL_CLAMP on a same-owner fair-policy task. UI:N - Exploitation requires only the attacker’s own syscalls; no victim action such as opening a file or mounting a filesystem is needed. S:U - The corruption stays within the host kernel’s scheduling authority and does not cross a VM, IOMMU, or other security boundary. C:H - The out-of-bounds bucket access reads and writes adjacent per-CPU runqueue memory (including into cfs_rq), which can be leveraged for kernel information disclosure under the memory-corruption guidance. I:H - uclamp_rq_inc_id/dec_id perform out-of-bounds writes (tasks++/value assignment) that, for UCLAMP_MAX, land on uclamp_flags and the start of cfs_rq, enabling scheduler-state corruption and control-flow impact. A:H - Corrupting runqueue uclamp/cfs state can cause kernel warnings, oopses, or hangs, as seen when the bug was found via SCHED_WARN_ON on Android.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 69842cba9ace84849bb9b8edcdf2cefccd97901c to < 687f523c134b7f0bd040ee1230f6d17990d54172 (affected · git)69842cba9ace84849bb9b8edcdf2cefccd97901c to < f7347c85490b92dd144fa1fba9e1eca501656ab3 (affected · git)69842cba9ace84849bb9b8edcdf2cefccd97901c to < 3da3f804b82a0a382d523a21acf4cf3bb35f936d (affected · git)69842cba9ace84849bb9b8edcdf2cefccd97901c to < 42ee47c7e3569d9a0e2cb5053c496d97d380472f (affected · git)69842cba9ace84849bb9b8edcdf2cefccd97901c to < 6d2f8909a5fabb73fe2a63918117943986c39b6c (affected · git)Default: unaffected Linux · cna
Linux Linux 5.3 (affected)0 to < 5.3 (unaffected · semver)5.4.120 through 5.4.* (unaffected · semver)5.10.38 through 5.10.* (unaffected · semver)5.11.22 through 5.11.* (unaffected · semver)5.12.5 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

sched: Fix out-of-bound access in uclamp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
add4fdc975dac12fc709a8fed0af8a4662c7b89bac432e25010f595147db83a0
Ingested
23 Sep 2026, 07:57:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected