All reports
Low

kernel: cachefiles: unmark inode in use in error path

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49064

Probability of exploitation in the next 30 days: 0.22%

FIRST EPSS · 2026-11-20

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.

A flaw in the Linux kernel's cachefiles subsystem can lead to resource leakage due to improper handling of inodes during error conditions. Specifically, if an error occurs in functions like cachefiles_open_file() or cachefiles_create_tmpfile(), the associated inode may not be correctly unmarked as "in use." This oversight can result in the system erroneously reporting "Inode already in use" when attempting to access the same inode again, potentially hindering legitimate operations and affecting system availability.