CVE-2022-49107

ceph: fix memory leak in ceph_readdir when note_last_dentry returns error

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%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ceph: fix memory leak in ceph_readdir when note_last_dentry returns error Reset the last_readdir at the same time, and add a comment explaining why we don't free last_readdir when dir_emit returns false.

Affected

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

v < 5.10.1112.6.34 ≤ v < 5.10.1112.6.34 ≤ v < 5.15.342.6.34 ≤ v < 5.16.202.6.34 ≤ v < 5.17.32.6.34 ≤ v < 5.185.11 ≤ v < 5.15.345.16 ≤ v < 5.16.205.17 ≤ v < 5.17.32.6.342817b000b02c5f0c05af67c01fb2684e1381d6ef
Vendor states this is fixed in 2fe82d3254029ef9ec4e7be890125d5ef4f537de (fixed)
Vendor states this is fixed in 7f740ede35132d3d5d19747cad56a511d21bb156 (fixed)
Vendor states this is fixed in e792575b902a3939ca482491ee9fb3a236f99640 (fixed)
Vendor states this is fixed in f4429786129648a8f4bb1e5faa143c4478cc5c4a (fixed)
Vendor states this is fixed in f639d9867eea647005dc824e0e24f39ffc50d4e4 (fixed)
Vendor states this is fixed in 2.6.34 (unaffected)
Vendor states this is fixed in 5.10.111 (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 (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2fe82d3254029ef9ec4e7be890125d5ef4f537de
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7f740ede35132d3d5d19747cad56a511d21bb156
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e792575b902a3939ca482491ee9fb3a236f99640
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f4429786129648a8f4bb1e5faa143c4478cc5c4a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f639d9867eea647005dc824e0e24f39ffc50d4e4

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

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

Quick Info

StatusMODIFIED
CWE
CWE-401

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