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-1002451: jffs2: fix memory leak in jffs2_scan_medium. Affects Kernel versions >= e631ddba588783edd521c5a89f7b2902772fb691, < b36bccb04e14cc0c1e2d0e92d477fe220314fad6. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a fundamental component of the Linux operating system that provides core functionalities and acts as an interface between the hardware and software layers. It manages system resources, facilitates communication between different software components, and enables the execution of user programs. The jffs2 file system is a flash-friendly file system commonly used in embedded systems. It is designed to work efficiently with NAND flash memory devices. However, a memory leak vulnerability has been identified in the jffs2_scan_medium function of the Kernel, which could lead to resource exhaustion and potential system instability.

Vulnerability Detail

The vulnerability in the jffs2_scan_medium function of the Kernel allows an attacker to trigger a memory leak by exploiting a flaw in the code. This can result in the continuous allocation of memory without proper deallocation, leading to resource exhaustion. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition, impacting the availability and stability of the system. The vulnerability was introduced in version v2.6.15 of the Kernel and has been fixed in version v4.14.276.

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 →

Conclusion

The memory leak vulnerability in the jffs2_scan_medium function of the Kernel can be mitigated by updating to version v4.14.276 or later. This update includes the necessary fix to prevent resource exhaustion and potential system instability. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to resource exhaustion and potential system instability, resulting in a denial-of-service (DoS) condition.

An attacker can exploit this vulnerability by triggering the memory leak in the jffs2_scan_medium function, causing continuous allocation of memory without proper deallocation.

The vulnerability was introduced in version v2.6.15 of the Kernel. Versions prior to v4.14.276 are affected.

Yes, the vulnerability has been fixed in version v4.14.276 of the Kernel.

To protect your system, it is recommended to update the Kernel to version v4.14.276 or later, which includes the fix for this vulnerability.

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