Vulnerability in Kernel: fs-writeback: writeback_sb_inodes

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003696: fs-writeback: writeback_sb_inodes:Recalculate 'wrote' according skipped pages. Affects Kernel versions < 440d345d027402c6b79f0ba24c8fa8c4e139b00b. 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 functionalities such as memory management, process scheduling, and device drivers. The fs-writeback subsystem within the Kernel is responsible for flushing modified data from the file system cache back to disk. This process ensures data consistency and durability. However, a vulnerability has been discovered in the writeback_sb_inodes function, which can lead to incorrect calculation of the 'wrote' parameter when certain pages are skipped during writeback. This vulnerability affects the Linux Kernel versions prior to v5.4.198.

Vulnerability Detail

The vulnerability in the writeback_sb_inodes function of the fs-writeback subsystem can result in an incorrect calculation of the 'wrote' parameter. This miscalculation occurs when certain pages are skipped during the writeback process. An attacker could potentially exploit this vulnerability to manipulate the 'wrote' parameter, leading to data corruption or loss. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.4.198 by commit 440d345d027402c6b79f0ba24c8fa8c4e139b00b.

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

As this vulnerability has been fixed in Linux Kernel version v5.4.198, there is no specific workaround available. It is advised to update to the fixed version as soon as possible.

Conclusion

The vulnerability in the Kernel's fs-writeback subsystem, specifically in the writeback_sb_inodes function, can result in incorrect calculation of the 'wrote' parameter. This vulnerability has been fixed in Linux Kernel version v5.4.198. It is crucial to update to the fixed version to mitigate the risk of data corruption or loss. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential functionalities such as memory management, process scheduling, and device drivers.

The fs-writeback subsystem is responsible for flushing modified data from the file system cache back to disk. This process ensures data consistency and durability.

The writeback_sb_inodes function is a part of the fs-writeback subsystem in the Kernel. It is responsible for calculating the 'wrote' parameter during the writeback process.

The impact of this vulnerability can include data corruption or loss if an attacker successfully exploits it. However, the actual impact and attack plausibility have not been proven yet.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.198 or later. This can be done by obtaining the updated Kernel source code from the official Linux Kernel repository and compiling it for the target system.

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