Vulnerability in cachefiles package: unmark inode in use in error path

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1000986: cachefiles: unmark inode in use in error path. Affects Kernel versions >= 1f08c925e7a38002bde509e66f6f891468848511, < b2055abafd3d4ee0376fb3eed5cae866316995a1. 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 cachefiles package is a component of the Linux Kernel ecosystem. It provides a caching mechanism for network file systems, allowing for improved performance by storing frequently accessed data locally. The package manages inodes, which are data structures that represent files and directories. In this specific vulnerability, an error path in the cachefiles package fails to properly unmark an inode as in use, potentially leading to resource leaks and other security issues.

Vulnerability Detail

The vulnerability arises from an error path in the cachefiles package, where an inode is not correctly unmarked as in use. This can result in resource leaks and other security implications. An attacker may be able to exploit this vulnerability to exhaust system resources, cause denial of service, or potentially execute arbitrary code. The vulnerability was introduced in version v5.17 of the Linux Kernel and has been fixed in version v5.17.4.

How To Fix

No fixed version is published for this vulnerability.

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

Workaround

As a workaround, users can avoid the potential security issues by refraining from using the cachefiles package or disabling its functionality until the vulnerability is patched. However, this may impact the performance and functionality of network file systems that rely on caching.

Conclusion

In conclusion, the cachefiles package in the Linux Kernel is vulnerable to a flaw that can result in resource leaks and other security issues. It is crucial to update the Linux Kernel to version v5.17.4 or later to mitigate this vulnerability. Users can also consider disabling the cachefiles package or its functionality as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to resource leaks and other security issues. It may allow attackers to exhaust system resources, cause denial of service, or potentially execute arbitrary code.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and the playground will provide real-time alerts for open-source vulnerabilities.

There is no known evidence of this vulnerability being exploited in the wild at the time of this report. However, it is recommended to apply the necessary patches and updates to mitigate any potential risks.

The recommended mitigation is to update the Linux Kernel to version v5.17.4 or later. Additionally, users can disable the cachefiles package or its functionality as a temporary workaround.

For more information about this vulnerability, you can refer to the source provided by the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000986.json).

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

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