Memory Leak Vulnerability in jffs2_do_fill_super
Summary
GSD-2022-1004050: jffs2: fix memory leak in jffs2_do_fill_super. Affects Kernel versions >= e631ddba588783edd521c5a89f7b2902772fb691, < 4ba7bbeab8009faf3a726e565d98816593ddd5b0. 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 jffs2 package is a component of the Linux Kernel, which is responsible for handling the Journalling Flash File System 2 (JFFS2). JFFS2 is a file system designed for use on flash memory devices. It provides features such as wear leveling and bad block management to ensure reliable storage on flash media. However, a memory leak vulnerability has been discovered in the jffs2_do_fill_super function.
Vulnerability Detail
The memory leak vulnerability in jffs2_do_fill_super allows an attacker to cause a denial of service (DoS) condition by repeatedly mounting and unmounting a specially crafted JFFS2 file system. This can lead to exhaustion of system memory resources, resulting in system instability or a complete system crash. The vulnerability was introduced in version v2.6.15 of the Linux Kernel and has been fixed in version v4.9.318.
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 above.
Conclusion
The memory leak vulnerability in jffs2_do_fill_super can be exploited to cause a denial of service (DoS) condition. Users are advised to update their 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
JFFS2 is a file system designed for use on flash memory devices. It provides features such as wear leveling and bad block management to ensure reliable storage on flash media.
The vulnerability can lead to a denial of service (DoS) condition, causing system instability or a complete system crash.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.
Yes, a patch for this vulnerability has been released in version v4.9.318 of the Linux Kernel.
There is no known workaround for this vulnerability. It is recommended to update the Linux Kernel to the latest version to mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.