Shift-out-of-bounds Vulnerability in sched/fair

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000273: sched/fair: Fix shift-out-of-bounds in load_balance(). Affects Kernel versions >= 5a7f555904671c0737819fe4d19bd6143de3f6c0, < 805cea93e66ca7deaaf6ad3b67224ce47c104c2f. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux Kernel is an open-source monolithic Unix-like computer operating system kernel. It provides the essential services to enable programs to run on the computer's hardware. The 'sched/fair' component of the kernel is responsible for managing the fair scheduling of tasks across multiple CPUs. It ensures that tasks are distributed evenly to achieve optimal performance. However, a vulnerability has been discovered in the 'load_balance()' function of 'sched/fair' that can lead to a shift-out-of-bounds issue.

Vulnerability Detail

The shift-out-of-bounds vulnerability in the 'load_balance()' function of 'sched/fair' in the Linux Kernel allows an attacker to manipulate the shift operation, potentially resulting in out-of-bounds memory access. This vulnerability can be exploited to execute arbitrary code or cause a denial-of-service condition. The issue was introduced in version v5.10 of the Linux Kernel and has been fixed in version v5.12.4.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If updating the Linux Kernel is not immediately feasible, a possible workaround is to disable the affected functionality or limit access to the vulnerable component. However, this may impact system performance or functionality. It is strongly advised to update to the latest version of the kernel as soon as possible.

Conclusion

The shift-out-of-bounds vulnerability in the 'load_balance()' function of 'sched/fair' in the Linux Kernel can have serious security implications. It is crucial to update the Linux Kernel to version v5.12.4 or later to mitigate the risk. Regularly updating the kernel is essential to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can allow an attacker to execute arbitrary code or cause a denial-of-service condition.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for vulnerabilities.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to update the Linux Kernel to the latest version to mitigate the risk.

Yes, this vulnerability can be exploited remotely if the affected system is exposed to the internet and the attacker can send malicious requests.

The primary mitigation for this vulnerability is to update the Linux Kernel to the latest version. If immediate update is not possible, limiting access to the vulnerable component or disabling the functionality can provide temporary mitigation.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback