Vulnerability in Kernel: fs-writeback: writeback_sb_inodes
Summary
GSD-2022-1003696: fs-writeback: writeback_sb_inodes:Recalculate 'wrote' according skipped pages. Affects Kernel versions < 440d345d027402c6b79f0ba24c8fa8c4e139b00b. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.