USB: fotg210: fix memory leak with using debugfs_lookup()
Published Sep 18, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.14%
Description
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 StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.14StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.14
- Version 5.15.100StatusunaffectedConstraints<=5.15.*
- Version 6.1.18StatusunaffectedConstraints<=6.1.*
- Version 6.2.5StatusunaffectedConstraints<=6.2.*
- Version 6.3StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- < 5.15.100
- ≥ 5.16 · < 6.1.18
- ≥ 6.2 · < 6.2.5
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (10)
- https://access.redhat.com/security/cve/CVE-2023-53404 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2396447 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-29933 Advisory
- https://git.kernel.org/stable/c/4a71b15744b8f286718722f80b663c06ed909d8a Patch
- https://git.kernel.org/stable/c/55c2ffc534928f4732199617e3b746d79a57898f Patch
- https://git.kernel.org/stable/c/6b4040f452037a7e95472577891d57c6b18c89c5 Patch
- https://git.kernel.org/stable/c/7d2d3bef6d700eb4261fb6761de2c95a9e3c0ac8 Patch
- https://lore.kernel.org/linux-cve-announce/2025091800-CVE-2023-53404-29f4@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2023-53404
- https://www.cve.org/CVERecord?id=CVE-2023-53404
Change history (0)
No recorded changes yet.