CVE-2022-49107
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelbefore 5.10.111, from 5.11 before 5.15.34, from 5.16 before 5.16.20, from 5.17 before 5.17.3NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

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

SourceRecordLicence
CVE ListCVE-2022-49107 changed 2026-08-12CVE Terms of Use
NVDCVE-2022-49107 changed 2026-08-13Public domain