---
id: CVE-2022-49064
title: 'cachefiles: unmark inode in use in error path'
summary: |-
  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 co…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1f08c925e7a38002bde509e66f6f891468848511 <
    b2055abafd3d4ee0376fb3eed5cae866316995a1
  - >-
    Linux >= 1f08c925e7a38002bde509e66f6f891468848511 <
    ea5dc046127e857a7873ae55fd57c866e9e86fb2
  - Linux 5.17
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T19:42:41.382408Z'
published: '2025-02-26'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T19:49:35.815Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-49064'
references:
  - url: 'https://git.kernel.org/stable/c/b2055abafd3d4ee0376fb3eed5cae866316995a1'
  - url: 'https://git.kernel.org/stable/c/ea5dc046127e857a7873ae55fd57c866e9e86fb2'
tags:
  - cve.org
epss: 0.00222
epssPercentile: 0.12901
ingestedAt: '2026-11-05T22:38:31.561Z'
---

## Overview

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.

## Affected

- `Linux >= 1f08c925e7a38002bde509e66f6f891468848511 < b2055abafd3d4ee0376fb3eed5cae866316995a1`
- `Linux >= 1f08c925e7a38002bde509e66f6f891468848511 < ea5dc046127e857a7873ae55fd57c866e9e86fb2`
- `Linux 5.17`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
