ceph: fix memory leak in ceph_readdir when note_last_dentry returns error (Linux Linux)

CVE-2022-49107
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2817b000b02c5f0c05af67c01fb2684e1381d6ef < f4429786129648a8f4bb1e5faa143c4478cc5c4a ; affected 2817b000b02c5f0c05af67c01fb2684e1381d6ef < 2fe82d3254029ef9ec4e7be890125d5ef4f537de ; affected 2817b000b02c5f0c05af67c01fb2684e1381d6ef < e792575b902a3939ca482491ee9fb3a236f99640 ; affected 2817b000b02c5f0c05af67c01fb2684e1381d6ef < 7f740ede35132d3d5d19747cad56a511d21bb156 ; affected 2817b000b02c5f0c05af67c01fb2684e1381d6ef < f639d9867eea647005dc824e0e24f39ffc50d4e4
Linux · Linuxaffected 2.6.34 ; unaffected 0 < 2.6.34 ; unaffected 5.10.111 ≤ 5.10.* ; unaffected 5.15.34 ≤ 5.15.* ; unaffected 5.16.20 ≤ 5.16.* ; unaffected 5.17.3 ≤ 5.17.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD