All reports
Low

kernel: ceph: fix memory leak in ceph_readdir when note_last_dentry returns error

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49107

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Ceph file system driver within the Linux kernel. A local user can cause a Denial of Service (DoS) by triggering repeated directory read operations that encounter specific error conditions. When recording directory entries fails during reading, the driver fails to release allocated memory. Over time, this memory leak can exhaust available system memory and degrade system performance.