CVE-2022-49107
kernel: ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 26, 2025
Updated · October 30, 2026
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.
Statement
This vulnerability is rated as Low severity because exploitation requires local access, an active Ceph filesystem mount, and specific directory iteration error conditions that result only in a gradual memory leak rather than arbitrary code execution or privilege escalation. The Ceph filesystem kernel module is not loaded by default in Red Hat Enterprise Linux environments unless explicitly mounted by an administrator. Consequently, deployments without Ceph storage integration remain unaffected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-401 · Missing Release of Memory after Effective Lifetime