Fix wrong offset in bio_truncate() in Kernel

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000205: block: Fix wrong offset in bio_truncate(). Affects Kernel versions < b63e120189fd92aff00096d11e2fc5253f60248b. 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 Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential functions and services for the proper functioning of the system. The bio_truncate() function is part of the block subsystem in the Kernel and is responsible for handling truncation of block I/O requests. This vulnerability in bio_truncate() can lead to incorrect offset calculations, potentially resulting in data corruption or other security issues.

Vulnerability Detail

The vulnerability in bio_truncate() arises from a wrong offset calculation. This can be exploited by an attacker to manipulate block I/O requests and potentially cause data corruption or other security breaches. The impact and attack plausibility of this vulnerability have not been proven yet. It is fixed in Linux Kernel version v5.10.96 by commit b63e120189fd92aff00096d11e2fc5253f60248b.

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.

Conclusion

The vulnerability in bio_truncate() in the Kernel can potentially lead to data corruption or other security breaches. It is recommended to update the Linux Kernel to version v5.10.96 or later to fix this vulnerability. If you need further assistance or support in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can potentially lead to data corruption or other security breaches.

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 Vulert will analyze it for any open-source vulnerabilities, including this one.

As of now, there is no known exploit for this vulnerability. However, it is still important to apply the fix to ensure the security and integrity of your system.

While there is no specific workaround mentioned, it is generally recommended to follow best security practices such as restricting access to vulnerable systems, implementing network segmentation, and monitoring for any suspicious activity.

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