Menu

Star on GitHub · 3.2k

CVE-2023-53693

In the Linux kernel, the following vulnerability has been resolved: USB: gadget: Fix the memory leak in raw_gadget driver Currently, increasing raw_dev->count happens before invoke the raw_queue_…

Published Oct 22, 2025EPSS 0.21%

Overview

CVE-2023-53693 is a known-severity vulnerability. It was published on October 22, 2025.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

USB: gadget: Fix the memory leak in raw_gadget driver

Currently, increasing raw_dev->count happens before invoke the

raw_queue_event(), if the raw_queue_event() return error, invoke

raw_release() will not trigger the dev_free() to be called.

[ 268.905865][ T5067] raw-gadget.0 gadget.0: failed to queue event

[ 268.912053][ T5067] udc dummy_udc.0: failed to start USB Raw Gadget: -12

[ 268.918885][ T5067] raw-gadget.0: probe of gadget.0 failed with error -12

[ 268.925956][ T5067] UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy

[ 268.934657][ T5067] misc raw-gadget: fail, usb_gadget_register_driver returned -16

BUG: memory leak

[<ffffffff8154bf94>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1076

[<ffffffff8347eb55>] kmalloc include/linux/slab.h:582 [inline]

[<ffffffff8347eb55>] kzalloc include/linux/slab.h:703 [inline]

[<ffffffff8347eb55>] dev_new drivers/usb/gadget/legacy/raw_gadget.c:191 [in

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-53693?

CVE-2023-53693 is a known-severity vulnerability. It was published on October 22, 2025.

How severe is CVE-2023-53693?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2023-53693?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-53693?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-53693 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.