Vulnerability in Kernel package: bcache: Use 64-bit arithmetic instead of 32-bit

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000267: bcache: Use 64-bit arithmetic instead of 32-bit. Affects Kernel versions >= d0cf9503e908ee7b235a5efecedeb74aabc482f3, < 4fa8634493253c3f8932410a65680f588c7b7e4a. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel package is a crucial component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The bcache subsystem within the Kernel package is responsible for caching data on solid-state drives (SSDs) using a combination of caching algorithms. This vulnerability specifically affects the bcache subsystem and its use of 32-bit arithmetic instead of 64-bit arithmetic.

Vulnerability Detail

The vulnerability arises from the use of 32-bit arithmetic in the bcache subsystem instead of the recommended 64-bit arithmetic. This can lead to integer overflow or truncation issues, potentially resulting in incorrect calculations and unexpected behavior. An attacker could potentially exploit this vulnerability to manipulate data, cause denial of service, or execute arbitrary code. The impact and attack plausibility of this vulnerability have not yet been proven.

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

There is no specific workaround mentioned for this vulnerability. However, applying the recommended fix by updating the Kernel package to the latest version is the best course of action.

Conclusion

The vulnerability in the Kernel package's bcache subsystem, caused by the use of 32-bit arithmetic instead of 64-bit arithmetic, can potentially lead to various security risks. It is crucial to update the Kernel package to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a critical component of the Linux operating system, providing core functionality and acting as an interface between hardware and software layers.

The bcache subsystem is responsible for caching data on solid-state drives (SSDs) using a combination of caching algorithms.

The impact of this vulnerability is not yet proven. However, it could potentially lead to data manipulation, denial of service, or arbitrary code execution.

To fix this vulnerability, update the Linux Kernel package to version v5.12.4 or later, which includes the necessary fix for the bcache subsystem.

There is no specific workaround mentioned for this vulnerability. Updating the Kernel package is the recommended solution.

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