Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49107

ceph: fix memory leak in ceph_readdir when note_last_dentry returns error

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 2817b000b02c5f0c05af67c01fb2684e1381d6ef to < f4429786129648a8f4bb1e5faa143c4478cc5c4aaffected
  • 2817b000b02c5f0c05af67c01fb2684e1381d6ef to < 2fe82d3254029ef9ec4e7be890125d5ef4f537deaffected
  • 2817b000b02c5f0c05af67c01fb2684e1381d6ef to < e792575b902a3939ca482491ee9fb3a236f99640affected
  • 2817b000b02c5f0c05af67c01fb2684e1381d6ef to < 7f740ede35132d3d5d19747cad56a511d21bb156affected
  • 2817b000b02c5f0c05af67c01fb2684e1381d6ef to < f639d9867eea647005dc824e0e24f39ffc50d4e4affected

Linux Linux

Default version status: affected

  • 2.6.34affected
  • 0 to < 2.6.34unaffected
  • 5.10.111 to ≤ 5.10.*unaffected
  • 5.15.34 to ≤ 5.15.*unaffected
  • 5.16.20 to ≤ 5.16.*unaffected
  • 5.17.3 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References