Memory Leak Vulnerability in Linux Kernel's USB Gadget - CVE-2023-53407

linux Updated 02 Oct 2025

Summary

18/09/2025
N/A
No i
Unrated
Not published

CVE-2023-53407: In the Linux kernel, the following vulnerability has been resolved: USB: gadget: pxa27x_udc: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise t... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It supports a wide range of functionalities, including device management, process scheduling, and memory management. This vulnerability specifically affects the USB gadget subsystem, which allows devices to act as USB peripherals. The issue arises from improper handling of memory allocation, leading to potential memory leaks over time.

Vulnerability Detail

CVE-2023-53407 is a vulnerability in the Linux kernel related to the USB gadget subsystem. The problem originates from the improper use of the debugfs_lookup() function, which does not call dput() on the result, resulting in a memory leak. This leak can accumulate over time, potentially exhausting system memory and leading to degraded performance or system crashes. The vulnerability affects multiple Debian versions, including Debian 11, 12, 13, and 14, and has been fixed in version 6.1.20-1.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating the package to the fixed version.

Conclusion

CVE-2023-53407 is a significant vulnerability in the Linux kernel affecting the USB gadget subsystem, leading to memory leaks. Users are advised to update their systems to the patched version to mitigate potential risks. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-53407 is a vulnerability in the Linux kernel that causes a memory leak in the USB gadget subsystem due to improper handling of memory allocation.

Debian versions 11, 12, 13, and 14 are affected by this vulnerability.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The memory leak can lead to system performance degradation, exhaustion of system memory, and potential system crashes over time.

You can update the Linux package by running the following commands in your terminal: sudo apt-get update sudo apt-get install linux=6.1.20-1

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback