jffs2: Use-After-Free Vulnerability in jffs2_clear_xattr_subsystem

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002453: jffs2: fix use-after-free in jffs2_clear_xattr_subsystem. Affects Kernel versions >= aa98d7cf59b5b0764d3502662053489585faf2fe, < 3bd2454162ec6bbb5503233c804fce6e4b6dcec5. 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 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 specifically designed for use with flash memory devices. It provides efficient storage and retrieval of data on such devices. The vulnerability in question affects the jffs2_clear_xattr_subsystem function within the package.

Vulnerability Detail

The vulnerability is a use-after-free issue in the jffs2_clear_xattr_subsystem function of the jffs2 package. This vulnerability allows an attacker to exploit a freed memory region, potentially leading to arbitrary code execution or a denial of service. The vulnerability was introduced in version v2.6.18 of the Linux Kernel and is fixed in version v4.14.276. The specific commit that addresses this vulnerability is 3bd2454162ec6bbb5503233c804fce6e4b6dcec5.

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 essential to update the Linux Kernel to the fixed version.

Conclusion

The use-after-free vulnerability in jffs2_clear_xattr_subsystem poses a potential security risk to systems running the affected versions of the Linux Kernel. It is crucial to update the kernel to version v4.14.276 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The use-after-free vulnerability in jffs2_clear_xattr_subsystem can potentially allow an attacker to execute arbitrary code or cause a 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 to the playground, and it will analyze and alert you if the vulnerability is present.

At the time of this report, there are no known public exploits targeting this specific vulnerability. However, it is always recommended to apply security updates promptly to mitigate potential risks.

Yes, this vulnerability can be exploited remotely if the affected system is exposed to untrusted network connections.

For more details about this vulnerability, including its technical aspects and the specific commit that fixes it, please refer to the source link provided in the database_specific section of this report.

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