ext4: fix bug_on in ext4_writepages
Summary
GSD-2022-1004045: ext4: fix bug_on in ext4_writepages. Affects Kernel versions < 19918ec7717d87d5ab825884a46b26b21375d7ce. 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 ext4 package is a file system driver for the Linux kernel. It provides support for the fourth extended file system (ext4) and is widely used in Linux distributions. The ext4_writepages function is responsible for writing dirty pages to disk. However, a bug in this function can lead to a bug_on condition, causing the system to crash or become unresponsive.
Vulnerability Detail
The vulnerability in ext4_writepages arises from a bug that triggers a bug_on condition. This bug can be exploited by an attacker to crash the system or cause a denial-of-service (DoS) situation. The bug has been fixed in Linux Kernel version v4.9.318 by commit 19918ec7717d87d5ab825884a46b26b21375d7ce.
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 known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version to mitigate the risk.
Conclusion
The ext4 package in the Linux Kernel is vulnerable to a bug in the ext4_writepages function, which can lead to system crashes or denial-of-service situations. It is crucial to update the Linux Kernel to version v4.9.318 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ext4 is a file system driver for the Linux kernel that supports the fourth extended file system (ext4). It is widely used in Linux distributions.
ext4_writepages is a function in the ext4 package responsible for writing dirty pages to disk.
A bug_on condition is a situation where a bug in the code triggers an assertion failure, causing the system to crash or become unresponsive.
This vulnerability can lead to system crashes or denial-of-service (DoS) situations, potentially impacting system availability and stability.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will alert you in real-time if your application is vulnerable.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.