Race Condition Vulnerability in ubifs Package

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001226: ubifs: Fix races between xattr_{set|get} and listxattr operations. Affects Kernel versions >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < c0756f75c22149d20fcb7d8409827cee905eb386. 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 implementation for flash memory devices in the Linux Kernel. It provides a reliable and efficient way to store and manage data on flash storage. The package is widely used in embedded systems and devices that require fast and reliable storage solutions. However, a race condition vulnerability has been discovered in the xattr_{set|get} and listxattr operations of the ubifs package.

Vulnerability Detail

The race condition vulnerability in the ubifs package allows for a potential security breach when performing xattr_{set|get} and listxattr operations. This vulnerability arises due to a lack of proper synchronization between these operations, which can lead to inconsistent or incorrect results. An attacker could exploit this vulnerability to manipulate or access sensitive data, potentially compromising the integrity and confidentiality of the system. The vulnerability was introduced in version v2.6.27 of the Linux Kernel and has been fixed in version v5.13.3.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.13.3 or later. This update includes the necessary patches to address the race condition issue in the ubifs package. Users can obtain the updated kernel from the official Linux Kernel repository.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround available for this vulnerability. It is essential to update the Linux Kernel to the fixed version to mitigate the risk of exploitation.

Conclusion

The race condition vulnerability in the ubifs package can pose a significant risk to the integrity and confidentiality of systems using flash memory devices. It is crucial to update the Linux Kernel to version v5.13.3 or later to mitigate this vulnerability. Additionally, regularly monitoring for open-source vulnerabilities using tools like Vulert can help ensure the security of your software.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially allow an attacker to manipulate or access sensitive data, compromising the system's integrity and confidentiality.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this race condition vulnerability in the ubifs package.

At the time of this report, there are no known exploits for this vulnerability. However, it is crucial to update the Linux Kernel to the fixed version to prevent any potential exploitation.

No, the recommended approach is to update the Linux Kernel to the fixed version. Patching the ubifs package manually may not address all the underlying issues and could introduce further complications.

For further support and assistance in vulnerability remediation, you can reach out to info@devnack.com. Our team of experts will be happy to assist you.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.13.3 or later. This update includes the necessary patches to address the race condition issue in the ubifs package. Users can obtain the updated kernel from the official Linux Kernel repository.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.