Race Condition Vulnerability in Linux Kernel's FUSE Package: Inode Write Issue

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
Yes i
Unrated
Not published

CVE-2022-50217: In the Linux kernel, the following vulnerability has been resolved: fuse: write inode in fuse_release() A race between write(2) and close(2) allows pages to be dirtied after fuse_flush -> write_inode_now(). Affects linux versions < 6.0.2-1. Fixed in 6.0.2-1. 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 Linux kernel is a core component of many operating systems, providing essential services for hardware and software interaction. The FUSE (Filesystem in Userspace) module allows users to create their own file systems without modifying kernel code. This flexibility, while powerful, can introduce vulnerabilities if not properly managed. The specific vulnerability addressed here relates to a race condition that can occur during file operations, potentially leading to data integrity issues.

Vulnerability Detail

In the Linux kernel, a race condition exists between the write(2) and close(2) system calls, which can allow pages to be modified after the fuse_flush function is called. If these pages are not properly flushed during the fuse_release process, it may result in a situation where a file that should be writable is not, leading to potential data loss or corruption. This vulnerability is a partial revert of a previous commit and highlights the importance of ensuring that all dirty pages are written back before a file is released.

How To Fix

Minimum fixed version

6.0.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. However, users are advised to avoid using the affected file operations concurrently until the patch is applied.

Conclusion

The CVE-2022-50217 vulnerability in the Linux kernel's FUSE module presents a significant risk due to a race condition that can lead to data integrity issues. Users are encouraged to update their systems to the patched version to ensure protection against this vulnerability. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-50217 is a vulnerability in the Linux kernel's FUSE module that allows for a race condition between write and close operations, potentially leading to data integrity issues.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

The primary consequence of this vulnerability is the risk of data loss or corruption due to improper handling of file operations, which can affect the integrity of the data being processed.

Yes, a patch is available in the form of the Linux kernel version 6.0.2-1. It is recommended to update your system to this version to mitigate the risk.

If immediate updating is not possible, it is advisable to limit the use of affected file operations until the patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.0.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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