Double Free Vulnerability in ubifs Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001120: ubifs: rename_whiteout: Fix double free for whiteout_ui->data. Affects Kernel versions >= 9e0a1fff8db56eaaebb74b4a3ef65f86811c4798, < 6d7a158a7363c1f6604aa47ae1a280a5c65123dd. 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 ubifs package is a file system designed for use on flash devices. It is commonly used in embedded systems and provides features such as compression, encryption, and wear leveling. The package is a part of the Linux Kernel and is responsible for managing the UBIFS file system. The vulnerability described in this report affects the ubifs package and can lead to a double free issue.

Vulnerability Detail

The vulnerability in the ubifs package, specifically in the rename_whiteout function, allows for a double free of the whiteout_ui->data structure. This can be exploited by an attacker to cause a denial of service or potentially execute arbitrary code. The vulnerability was introduced in version v4.9 of the Linux Kernel and was fixed in version v5.17.2. The impact and attack plausibility of this vulnerability have not been proven.

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 double free vulnerability in the ubifs package can have serious consequences, including denial of service and potential code execution. It is crucial to update the Linux Kernel to the patched version to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The ubifs package is a file system designed for use on flash devices. It provides features such as compression, encryption, and wear leveling.

The vulnerability can lead to a double free issue, which can cause a denial of service or potentially allow an attacker to execute arbitrary code.

To fix this vulnerability, update the Linux Kernel to version v5.17.2 or later.

There is no known workaround for this vulnerability. It is recommended to apply the fix mentioned above.

For more information, refer to the provided references link.

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