CVE-2023-53412
JSON

5.5medium

USB: gadget: bcm63xx_udc: 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: gadget: bcm63xx_udc: 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

Product or packageVersionsReported by
Linux Linuxfrom 0cac357717168f84d2f75e884a9cff52e6471aaa before b0a2663ecbe8f65cd3bab2b34dd90156ceb0dbb8, from 0cac357717168f84d2f75e884a9cff52e6471aaa before 31de0b70ae5661a407e9d578bbc41de2d83ac25d, from 0cac357717168f84d2f75e884a9cff52e6471aaa before f30c7046dfa2748520a8045bb43ed2fbca0373b5, from 0cac357717168f84d2f75e884a9cff52e6471aaa before a91c99b1fe5c6f7e52fb932ad9e57ec7cfe913ec, 5.14
Not affected: before 5.14, 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_kernelbefore 5.15.100, from 5.16 before 6.1.18, from 6.2 before 6.2.5NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53412 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-53412 changed 2026-06-17Public domain