{"id":"CVE-2022-49107","aliases":["CVE-2022-49107"],"related":[],"kind":"vulnerability","state":"published","title":"ceph: fix memory leak in ceph_readdir when note_last_dentry returns error","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix memory leak in ceph_readdir when note_last_dentry returns error\n\nReset the last_readdir at the same time, and add a comment explaining\nwhy we don't free last_readdir when dir_emit returns false.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix memory leak in ceph_readdir when note_last_dentry returns error\n\nReset the last_readdir at the same time, and add a comment explaining\nwhy we don't free last_readdir when dir_emit returns false.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-02-26T01:54:54.493Z","modified":"2026-08-13T00:17:27.750Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"2817b000b02c5f0c05af67c01fb2684e1381d6ef","fixed":"f4429786129648a8f4bb1e5faa143c4478cc5c4a","status":"affected"},{"type":"git","introduced":"2817b000b02c5f0c05af67c01fb2684e1381d6ef","fixed":"2fe82d3254029ef9ec4e7be890125d5ef4f537de","status":"affected"},{"type":"git","introduced":"2817b000b02c5f0c05af67c01fb2684e1381d6ef","fixed":"e792575b902a3939ca482491ee9fb3a236f99640","status":"affected"},{"type":"git","introduced":"2817b000b02c5f0c05af67c01fb2684e1381d6ef","fixed":"7f740ede35132d3d5d19747cad56a511d21bb156","status":"affected"},{"type":"git","introduced":"2817b000b02c5f0c05af67c01fb2684e1381d6ef","fixed":"f639d9867eea647005dc824e0e24f39ffc50d4e4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.34","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.34","status":"unaffected"},{"type":"semver","introduced":"5.10.111","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.34","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.20","lastAffected":"5.16.*","status":"unaffected"},{"type":"semver","introduced":"5.17.3","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.10.111"},{"status":"affected","introduced":"5.11","fixed":"5.15.34"},{"status":"affected","introduced":"5.16","fixed":"5.16.20"},{"status":"affected","introduced":"5.17","fixed":"5.17.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f4429786129648a8f4bb1e5faa143c4478cc5c4a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2fe82d3254029ef9ec4e7be890125d5ef4f537de","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e792575b902a3939ca482491ee9fb3a236f99640","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f740ede35132d3d5d19747cad56a511d21bb156","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f639d9867eea647005dc824e0e24f39ffc50d4e4","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:49:03.486Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49107","url":"https://www.cve.org/CVERecord?id=CVE-2022-49107","licence":"CVE Terms of Use","modified":"2026-08-12T23:57:41.855Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49107","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49107","licence":"Public domain","modified":"2026-08-13T00:17:27.750Z"}],"updatedAt":"2026-11-25T22:58:20.180Z","epss":{"score":0.00253,"percentile":0.1795,"date":"2026-12-01T12:00:22.000Z"}}