CVE-2022-49109

ceph: fix inode reference leakage in ceph_get_snapdir()

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:54 AM UTC
Updated: August 13, 2026 at 12:35 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.35 ≤ v < 5.15.345.13 ≤ v < 5.15.345.13 ≤ v < 5.16.205.13 ≤ v < 5.17.35.13 ≤ v < 5.185.16 ≤ v < 5.16.205.17 ≤ v < 5.17.32.6.342.6.34 rc22.6.34 rc32.6.34 rc42.6.34 rc52.6.34 rc62.6.34 rc73e10a15ffc8d77f05e655d14fd48c0b790dede35
Vendor states this is fixed in 322794d3355c33adcc4feace0045d85a8e4ed813 (fixed)
Vendor states this is fixed in 3ae7163598c611a8892698e0c056fe794e52b44b (fixed)
Vendor states this is fixed in 9cd21981dedfb4fe9f344529e4be35727cb10940 (fixed)
Vendor states this is fixed in b2d9bb3f06abddefdfa740b0a604575b6797e1bf (fixed)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.15.34 (unaffected)
Vendor states this is fixed in 5.16.20 (unaffected)
Vendor states this is fixed in 5.17.3 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/322794d3355c33adcc4feace0045d85a8e4ed813
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3ae7163598c611a8892698e0c056fe794e52b44b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9cd21981dedfb4fe9f344529e4be35727cb10940
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b2d9bb3f06abddefdfa740b0a604575b6797e1bf

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card