Vulnerability in Kernel: fs-writeback: writeback_sb_inodes
Summary
GSD-2022-1002607: fs-writeback: writeback_sb_inodes:Recalculate 'wrote' according skipped pages. Affects Kernel versions < 187436400081c81fd55219ca12bf21e2c9a95b51. 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 functions and services to enable the proper functioning of the system. The fs-writeback module within the Kernel is responsible for flushing modified data from the page cache back to the storage device. This process ensures data consistency and persistence. However, a vulnerability has been discovered in the writeback_sb_inodes function of fs-writeback, which may lead to incorrect calculation of 'wrote' based on skipped pages.
Vulnerability Detail
The vulnerability in fs-writeback's writeback_sb_inodes function allows for the miscalculation of 'wrote' when certain pages are skipped. This could result in data corruption or loss, as the incorrect 'wrote' value may lead to incomplete writeback operations. An attacker could potentially exploit this vulnerability to manipulate or tamper with data on the storage device. It is important to note that the impact and feasibility of such an attack 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 →
Workaround
No specific workaround has been provided for this vulnerability. It is advised to apply the fix mentioned above by updating the Kernel to the fixed version.
Conclusion
The vulnerability in Kernel's fs-writeback module, specifically in the writeback_sb_inodes function, could lead to data corruption or loss due to incorrect calculation of 'wrote' during writeback operations. It is crucial to update the Kernel to the fixed version (v5.18.3) to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability may result in data corruption or loss due to incorrect calculation of 'wrote' during writeback operations. However, the actual impact and feasibility of an attack exploiting this vulnerability have not been proven yet.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, and you can upload your package-lock.json file to check for any vulnerabilities.
Yes, the vulnerability has been fixed in Linux Kernel version v5.18.3 by commit 187436400081c81fd55219ca12bf21e2c9a95b51. It is recommended to update the Kernel to the fixed version to address this vulnerability.
No known exploits for this vulnerability have been reported at this time. However, it is important to stay updated with the latest security patches and follow best practices to mitigate potential risks.
You can find more information about this vulnerability in the official GitHub repository of the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002607.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.