Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2023-53402

kernel/printk/index.c: fix memory leak with using debugfs_lookup()

Description

In the Linux kernel, the following vulnerability has been resolved: kernel/printk/index.c: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once.

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

  • 337015573718b161891a3473d25f59273f2e626b to < 2e07fa2e30d48d24a791483774a3d4b76769e0cfaffected
  • 337015573718b161891a3473d25f59273f2e626b to < c578a68ffcdc2e8c72556bebdaae2b7500398e81affected
  • 337015573718b161891a3473d25f59273f2e626b to < 13969236b6900b5a3625ad2193569588e978f1ccaffected
  • 337015573718b161891a3473d25f59273f2e626b to < 55bf243c514553e907efcf2bda92ba090eca8c64affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.100 to ≤ 5.15.*unaffected
  • 6.1.18 to ≤ 6.1.*unaffected
  • 6.2.5 to ≤ 6.2.*unaffected
  • 6.3 to ≤ *unaffected

References