GSD-2023-1001386 usb: gadget: f_hid: fix refcount leak on error path

Not scored Published

A refcount leak in the Linux Kernel USB HID gadget driver can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is GSD-2023-1001386?

GSD-2023-1001386 is a memory corruption vulnerability in Kernel, published on 17 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

usb: gadget: f_hid: fix refcount leak on error path

This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.10.163 by commit e88b89a096af0001bcff6bf7ad2feb1486487173, it was introduced in version v3.19 by commit 21a9476a7ba847e413bf1c144d7c614532aed6dd. For more details please see the references link.

Which versions are affected by GSD-2023-1001386?

1 open source package ship an affected version, including Kernel.

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2023-1001386?

No fix has been published for GSD-2023-1001386 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is GSD-2023-1001386 being exploited?

There is no known exploitation of GSD-2023-1001386 in the wild and no public exploit code.

Sources

Is GSD-2023-1001386 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free