CVE-2023-53415
5.5medium
USB: dwc3: fix memory leak with using debugfs_lookup()
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 8d396bb0a5b62b326f6be7594d8bd46b088296bd before cf52c320cf74245ce1c12b0bd48f77b87d77fbc9, from 8d396bb0a5b62b326f6be7594d8bd46b088296bd before ce234af49d103d95e3fdca59b25e0d0242f41bb4, from 8d396bb0a5b62b326f6be7594d8bd46b088296bd before bab872b638130a18fd54d9adfad7db77ed6457be, from 8d396bb0a5b62b326f6be7594d8bd46b088296bd before be308d68785b205e483b3a0c61ba3a82da468f2c, 3bef21035888dd19750ad79b5d08fe52a02ad719, d7e403eea007f47776186d4d572f234b1221e6e3, e52d43c82f2f6556f0b7a790c19c072c1e99a95f, afd8b0d091d5b4febe2d0ac3b7735c1826329302 and 5 more Not affected: before 5.13, from 5.15.100 up to 5.15.*, from 6.1.18 up to 6.1.*, from 6.2.5 up to 6.2.*, from 6.3 up to * | CVE List |
| linux linux_kernel | before 5.15.100, from 5.16 before 6.1.18, from 6.2 before 6.2.5 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53415 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2023-53415 changed 2026-06-17 | Public domain |