ext4: Memory Leak in parse_apply_sb_mount_options()
Summary
GSD-2022-1003017: ext4: fix memory leak in parse_apply_sb_mount_options(). Affects Kernel versions >= 7edfd85b1ffd36593011dec96ab395912a340418, < 9ea3e6168948189cec31d0678d2b55b395f88491. 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 parse_apply_sb_mount_options() function is responsible for parsing and applying mount options for the ext4 file system. However, a memory leak vulnerability has been discovered in this function.
Vulnerability Detail
The vulnerability in parse_apply_sb_mount_options() allows an attacker to cause a memory leak by providing specially crafted mount options. This can lead to a depletion of system resources and potential denial-of-service attacks. The vulnerability was introduced in version v5.17 of the Linux Kernel and has been fixed in version v5.17.14.
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 by updating the Linux Kernel.
Conclusion
The ext4 package in the Linux Kernel is vulnerable to a memory leak in the parse_apply_sb_mount_options() function. This vulnerability can be fixed by updating the Linux Kernel to version v5.17.14 or later. 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 provides support for the ext4 file system.
parse_apply_sb_mount_options() is a function in the ext4 package that is responsible for parsing and applying mount options for the ext4 file system.
This vulnerability can lead to a memory leak, which can result in a depletion of system resources and potential denial-of-service attacks.
To fix this vulnerability, users should update their Linux Kernel to version v5.17.14 or later.
There is no known workaround for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.