Memory Leak in jffs2_scan_medium in Kernel

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002276: jffs2: fix memory leak in jffs2_scan_medium. Affects Kernel versions >= e631ddba588783edd521c5a89f7b2902772fb691, < 455f4a23490bfcbedc8e5c245c463a59b19e5ddd. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It is responsible for managing system resources, including memory, processes, and input/output operations. The jffs2 file system is a popular choice for embedded systems and flash memory devices. It is designed to provide efficient storage and retrieval of data. However, a vulnerability has been discovered in the jffs2_scan_medium function, which can lead to a memory leak.

Vulnerability Detail

The vulnerability in jffs2_scan_medium function allows an attacker to cause a memory leak in the jffs2 file system. This can result in the exhaustion of available memory resources, leading to system instability or denial of service. The vulnerability was introduced in version v2.6.15 of the Linux Kernel and has been fixed in version v5.4.189. The specific commit that addresses this issue is 455f4a23490bfcbedc8e5c245c463a59b19e5ddd. The impact and attack plausibility of this vulnerability have not been proven yet.

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

As a workaround, users can mitigate the risk of memory leaks by avoiding the use of the jffs2 file system or by limiting the usage of jffs2_scan_medium function in their applications. However, this may not be feasible in all scenarios, and it is strongly recommended to apply the official fix by updating the Kernel.

Conclusion

In conclusion, a memory leak vulnerability has been discovered in the jffs2_scan_medium function of the Kernel. This vulnerability can lead to the exhaustion of available memory resources and system instability. It is recommended to update the Linux Kernel to version v5.4.189 or later to fix this vulnerability. Users can also use the Vulert Playground to check if their system is affected. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The jffs2 file system is a popular choice for embedded systems and flash memory devices. It is designed to provide efficient storage and retrieval of data.

A memory leak occurs when a program fails to release memory that is no longer needed, leading to the gradual consumption of available memory resources.

The vulnerability can result in the exhaustion of available memory resources, leading to system instability or denial of service.

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 tool will provide real-time alerts for open-source vulnerabilities.

No known exploits for this vulnerability have been reported at this time. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback