Memory Leak Vulnerability in jffs2_do_fill_super
Summary
GSD-2022-1003717: jffs2: fix memory leak in jffs2_do_fill_super. Affects Kernel versions >= e631ddba588783edd521c5a89f7b2902772fb691, < d3a4fff1e7e408c32649030daa7c2c42a7e19a95. 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 that provides support for the Journalling Flash File System 2 (JFFS2). JFFS2 is a file system specifically designed for use with flash memory devices. It offers features such as wear leveling and bad block management to ensure reliable storage on flash media. However, a vulnerability has been discovered in the jffs2_do_fill_super function, which can lead to a memory leak.
Vulnerability Detail
The vulnerability in jffs2_do_fill_super is caused by a memory leak. When the function is called to initialize a JFFS2 file system, it fails to release allocated memory in certain error paths. This can result in a gradual depletion of system memory, leading to performance degradation or even system instability. An attacker may be able to exploit this vulnerability to exhaust system resources, causing a denial-of-service condition.
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 lead to system instability and performance degradation. It is crucial to update the Linux Kernel to a version that includes the fix. 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 with 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 memory leak, resulting in gradual depletion of system memory and potential performance degradation or system instability.
An attacker may be able to exploit this vulnerability to exhaust system resources, causing a denial-of-service condition.
Yes, a fix is available in the Linux Kernel version v5.4.198 or later. Users should update their kernel to a version that includes the fix.
There are no known workarounds for this vulnerability. It is recommended to apply the fix mentioned above.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.