CVE-2021-46993

linux: In the Linux kernel, the following vulnerability has been resolved: sched: Fix out-of-bound access in uclamp Util-c...

CVE-2021-46993 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-46993, released February 28, 2024. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.1
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0024
15th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
linux · Debian 12.15 (bookworm) 5.10.38-1 DEBIAN-CVE-2021-46993 Feb 28, 2024
linux · Debian 13.5 (trixie) 5.10.38-1 DEBIAN-CVE-2021-46993 Feb 28, 2024
linux · Debian 14 5.10.38-1 DEBIAN-CVE-2021-46993 Feb 28, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.