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-1001923: jffs2: fix memory leak in jffs2_scan_medium. Affects Kernel versions >= e631ddba588783edd521c5a89f7b2902772fb691, < 52ba0ab4f0a606f02a6163493378989faa1ec10a. 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 functionality and acts as a bridge between hardware and software. It manages system resources, facilitates communication between different components, and enables the execution of user programs. The jffs2 file system is a popular choice for embedded systems and flash memory devices. It provides efficient storage and retrieval of data, ensuring reliability and performance. However, a vulnerability has been discovered in the jffs2_scan_medium function, which can lead to a memory leak.

Vulnerability Detail

The jffs2_scan_medium function in the Kernel suffers from a memory leak vulnerability. When scanning a medium, such as a flash memory device, the function fails to release allocated memory properly under certain conditions. This can result in a gradual depletion of available memory resources, potentially leading to system instability or denial of service. Attackers may be able to exploit this vulnerability to exhaust system memory and disrupt normal operations. The vulnerability was introduced in version 2.6.15 of the Linux Kernel and has been fixed in version 5.15.33.

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 temporary workaround, users can mitigate the risk of memory depletion by avoiding the use of the jffs2 file system or by limiting the usage of jffs2_scan_medium. However, this may not be feasible in all scenarios, and it is strongly advised to apply the official fix by updating the Kernel.

Conclusion

The memory leak vulnerability in the jffs2_scan_medium function of the Kernel can lead to system instability or denial of service. It is crucial to update the Linux Kernel to version 5.15.33 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can result in a gradual depletion of available memory resources, potentially leading to system instability or denial of service.

Attackers may exploit this vulnerability to exhaust system memory and disrupt normal operations.

The vulnerability was introduced in version 2.6.15 of the Linux Kernel.

Yes, the vulnerability has been fixed in version 5.15.33 of the Linux Kernel.

Users can obtain the updated Kernel from the official Linux Kernel repository or through their Linux distribution's package manager.

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