ext4: Fix bug_on in ext4_writepages
Summary
GSD-2022-1002936: ext4: fix bug_on in ext4_writepages. Affects Kernel versions < 1cde35417edc0370fb0179a4e38b78a15350a8d0. 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 ext4 file system, which is commonly used in Linux distributions. The ext4_writepages function is responsible for writing dirty pages to disk in the ext4 file system. 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 can trigger an assertion failure. This vulnerability can be exploited by an attacker with local access to the system to cause a DoS condition or potentially execute arbitrary code. The bug has been fixed in Linux Kernel version v5.17.14 by commit 1cde35417edc0370fb0179a4e38b78a15350a8d0.
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 recommended to apply the fix mentioned in the 'how_to_fix' section.
Conclusion
The ext4 package in the Linux Kernel is vulnerable to a bug_on assertion failure in the ext4_writepages function. This vulnerability can be exploited by an attacker with local access to the system to cause a denial-of-service condition or potentially execute arbitrary code. It is recommended to update the Linux Kernel to version v5.17.14 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ext4 is a file system driver for the Linux kernel, providing support for the ext4 file system.
ext4_writepages is a function in the ext4 package responsible for writing dirty pages to disk in the ext4 file system.
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 assertion failure and potentially halts the system.
This vulnerability can lead to a denial-of-service (DoS) condition or potentially allow an attacker to execute arbitrary code.
You can use Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.