Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2023-53415

USB: dwc3: fix memory leak with using debugfs_lookup()

Description

In the Linux kernel, the following vulnerability has been resolved: USB: dwc3: 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. Note, the root dentry for the debugfs directory for the device needs to be saved so we don't have to keep looking it up, which required a bit more refactoring to properly create and remove it when needed.

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

  • 8d396bb0a5b62b326f6be7594d8bd46b088296bd to < cf52c320cf74245ce1c12b0bd48f77b87d77fbc9affected
  • 8d396bb0a5b62b326f6be7594d8bd46b088296bd to < ce234af49d103d95e3fdca59b25e0d0242f41bb4affected
  • 8d396bb0a5b62b326f6be7594d8bd46b088296bd to < bab872b638130a18fd54d9adfad7db77ed6457beaffected
  • 8d396bb0a5b62b326f6be7594d8bd46b088296bd to < be308d68785b205e483b3a0c61ba3a82da468f2caffected
  • 3bef21035888dd19750ad79b5d08fe52a02ad719affected
  • d7e403eea007f47776186d4d572f234b1221e6e3affected
  • e52d43c82f2f6556f0b7a790c19c072c1e99a95faffected
  • afd8b0d091d5b4febe2d0ac3b7735c1826329302affected
  • 4.19.196 to < 4.20affected
  • 5.4.128 to < 5.5affected
  • 5.10.46 to < 5.11affected
  • 5.12.13 to < 5.13affected

Linux Linux

Default version status: affected

  • 5.13affected
  • 0 to < 5.13unaffected
  • 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