CVE-2022-49107Published Feb 26, 2025 · Feb 26Updated Oct 28
ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's ceph_readdir can leak memory when note_last_dentry returns an error. The input does not specify how an attacker could trigger the error or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel with Ceph filesystem support should check their installations; affected versions are not specified.