Fix wrong offset in bio_truncate() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000635: block: Fix wrong offset in bio_truncate(). Affects Kernel versions < 941d5180c430ce5b0f7a3622ef9b76077bfa3d82. 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 Penetration testing for web, API and mobile 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 is a crucial component of the Linux operating system that manages communication between hardware and software. It provides essential functions and services to enable 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 operations on block I/O requests. This vulnerability in bio_truncate() leads to a wrong offset calculation, potentially resulting in data corruption or other security issues.

Vulnerability Detail

The vulnerability in bio_truncate() arises from an incorrect offset calculation. This can lead to incorrect truncation of block I/O requests, potentially causing data corruption or other security implications. An attacker may be able to exploit this vulnerability to manipulate or access sensitive data, disrupt system operations, or execute arbitrary code. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.

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 →

Conclusion

The vulnerability in bio_truncate() in the Kernel can lead to data corruption and other security issues. It is crucial to update the Linux Kernel to version v5.16.5 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to data corruption, unauthorized access to sensitive information, disruption of system operations, or arbitrary code execution.

There is no evidence of this vulnerability being exploited in the wild at the moment. However, it is important to apply the recommended fix to mitigate any potential risks.

The vulnerability is present in versions of the Linux Kernel prior to v5.16.5. Updating to the latest stable version ensures that the issue is resolved.

No specific workaround has been provided for this vulnerability. It is recommended to update to the latest version of the Linux Kernel.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in software.

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