CVE-2022-50217 fuse: write inode in fuse_release()
A race condition in the Linux kernel FUSE filesystem allows dirty pages to remain unwritten after file release, potentially leading to data loss or corruption.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50217?
CVE-2022-50217 is a medium-severity vulnerability in Linux kernel, published on 18 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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(). If these pages are not flushed from fuse_release(), then there might not be a writable open file later. So any remaining dirty pages must be written back before the file is released.
This is a partial revert of the blamed commit.
Which versions are affected by CVE-2022-50217?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50217?
Apply the vendor's patch.
Is CVE-2022-50217 being exploited?
There is no known exploitation of CVE-2022-50217 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50217, GHSA-f5r8-w4hp-7v3r, UBUNTU-CVE-2022-50217.