CVE-2021-46993

High

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.

Package Linux Kernel
Published 2024-02-28
Last modified 2024-12-24
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.1

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Weakness type

CWE-125

CVE-2021-46993 is a Out-of-bounds Read vulnerability

What is Out-of-bounds Read?

The product reads data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE

Affected versions

Linux kernel versions 5.3 and later are affected. Fixed in 5.4.120, 5.10.38, 5.11.22, 5.12.5, 5.13 and their respective stable series.

Affected from
≥ 5.3
Fixed in
✓ 5.4.120 5.4.x ✓ 5.10.38 5.10.x ✓ 5.11.22 5.11.x ✓ 5.12.5 5.12.x ✓ 5.13

Frequently asked questions

  • What is CVE-2021-46993?

    CVE-2021-46993 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 , classified as an Out-of-bounds Read flaw (CWE-125) . It affects Linux kernel versions from 5.3 onward and has been patched in 5.4.120, 5.10.38, 5.11.22 and others. CVE-2021-46993 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2021-46993?

    CVE-2021-46993 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H .

  • Is there a patch available for CVE-2021-46993?

    Yes. CVE-2021-46993 has been patched. Fixed versions include 5.4.120, 5.10.38, 5.11.22 and others. If you are running Linux kernel 5.3 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2021-46993 actively exploited?

    No. CVE-2021-46993 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.