---
id: CVE-2022-49109
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ceph: fix inode reference leakage in ceph_get_snapdir()

  The ceph_get_inode() will search for or insert a new inode into the
  hash for the given vino, and return a refer…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ceph: fix inode reference leakage in ceph_get_snapdir()

  The ceph_get_inode() will search for or insert a new inode into the
  hash for the given vino, and return a refer…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 2.6.35, < 5.15.34'
  - 'linux_kernel >= 5.16, < 5.16.20'
  - 'linux_kernel >= 5.17, < 5.17.3'
  - linux_kernel = 2.6.34
patched:
  - linux_kernel 5.17.3
published: '2025-02-26'
updated: '2026-08-13'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-49109'
references:
  - url: 'https://git.kernel.org/stable/c/322794d3355c33adcc4feace0045d85a8e4ed813'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3ae7163598c611a8892698e0c056fe794e52b44b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9cd21981dedfb4fe9f344529e4be35727cb10940'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b2d9bb3f06abddefdfa740b0a604575b6797e1bf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00253
epssPercentile: 0.14927
ingestedAt: '2026-08-13T00:57:22.381Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

ceph: fix inode reference leakage in ceph_get_snapdir()

The ceph_get_inode() will search for or insert a new inode into the
hash for the given vino, and return a reference to it. If new is
non-NULL, its reference is consumed.

We should release the reference when in error handing cases.

## Affected

- `linux_kernel >= 2.6.35, < 5.15.34`
- `linux_kernel >= 5.16, < 5.16.20`
- `linux_kernel >= 5.17, < 5.17.3`
- `linux_kernel = 2.6.34`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.17.3`
