5.5medium
ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2817b000b02c5f0c05af67c01fb2684e1381d6ef before f4429786129648a8f4bb1e5faa143c4478cc5c4a, from 2817b000b02c5f0c05af67c01fb2684e1381d6ef before 2fe82d3254029ef9ec4e7be890125d5ef4f537de, from 2817b000b02c5f0c05af67c01fb2684e1381d6ef before e792575b902a3939ca482491ee9fb3a236f99640, from 2817b000b02c5f0c05af67c01fb2684e1381d6ef before 7f740ede35132d3d5d19747cad56a511d21bb156, from 2817b000b02c5f0c05af67c01fb2684e1381d6ef before f639d9867eea647005dc824e0e24f39ffc50d4e4, 2.6.34 Not affected: before 2.6.34, from 5.10.111 up to 5.10.*, from 5.15.34 up to 5.15.*, from 5.16.20 up to 5.16.*, from 5.17.3 up to 5.17.*, from 5.18 up to * | CVE List |
| linux linux_kernel | before 5.10.111, from 5.11 before 5.15.34, from 5.16 before 5.16.20, from 5.17 before 5.17.3 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ceph: corrige pérdida de memoria en ceph_readdir cuando note_last_dentry devuelve un error. Restablece last_readdir al mismo tiempo y agrega un comentario que explica por qué no liberamos last_readdir cuando dir_emit devuelve falso.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49107 changed 2026-08-12 | CVE Terms of Use |
| NVD | CVE-2022-49107 changed 2026-08-13 | Public domain |