CVE-2022-49064 cachefiles: unmark inode in use in error path
A logic error in the Linux kernel cachefiles subsystem can cause inode flag leakage, leading to denial of service when subsequent operations fail.
- 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-49064?
CVE-2022-49064 is a medium-severity denial of service vulnerability in Linux kernel, published on 26 Feb 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:
cachefiles: unmark inode in use in error path
Unmark inode in use if error encountered. If the in-use flag leakage occurs in cachefiles_open_file(), Cachefiles will complain "Inode already in use" when later another cookie with the same index key is looked up.
If the in-use flag leakage occurs in cachefiles_create_tmpfile(), though the "Inode already in use" warning won't be triggered, fix the leakage anyway.
Which versions are affected by CVE-2022-49064?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49064?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-49064 being exploited?
There is no known exploitation of CVE-2022-49064 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49064, GHSA-96xf-xvcw-f386, UBUNTU-CVE-2022-49064.