ext4: Fix bug_on in ext4_writepages
Summary
GSD-2022-1003238: ext4: fix bug_on in ext4_writepages. Affects Kernel versions < 18a759f7f99f0b65a08ff5b7e745fc405a42bde4. 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 filesystem is a widely used file system in the Linux kernel. It provides features such as journaling, scalability, and support for large file systems. The ext4_writepages function is responsible for writing dirty pages to disk in the ext4 filesystem. However, a bug in this function can lead to a bug_on assertion failure, potentially causing a denial-of-service (DoS) condition or other unexpected behavior.
Vulnerability Detail
The vulnerability in ext4_writepages arises from a bug_on assertion that is triggered under certain conditions. This assertion failure can be exploited by an attacker to crash the system or cause other unpredictable behavior. 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 the Linux Kernel version v5.15.46 by commit 18a759f7f99f0b65a08ff5b7e745fc405a42bde4.
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 specific workaround mentioned for this vulnerability. The recommended approach is to apply the fix by updating the Linux Kernel.
Conclusion
The ext4_writepages vulnerability can be mitigated by updating the Linux Kernel to version v5.15.46 or later. It is important to promptly apply the fix to ensure the security and stability of the system. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ext4 is a file system used in the Linux kernel. It provides features such as journaling, scalability, and support for large file systems.
ext4_writepages is a function in the ext4 filesystem that is responsible for writing dirty pages to disk.
A bug_on assertion is a debugging mechanism used in the Linux kernel to check for unexpected conditions. If the assertion fails, it triggers an error message or a kernel panic.
The vulnerability can lead to a bug_on assertion failure, potentially causing a denial-of-service (DoS) condition or other unexpected behavior.
Yes, this vulnerability has been fixed in the Linux Kernel version v5.15.46 by commit 18a759f7f99f0b65a08ff5b7e745fc405a42bde4.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.