GSD-2023-1001071 usb: gadget: f_hid: fix refcount leak on error path
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-1001071?
GSD-2023-1001071 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.15.86 by commit 9d4a0aca8a75550d3456c8de339a341dc4536ec5, 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-1001071?
1 open source package ship an affected version, including Kernel.
| Package | Affected | Fixed in |
|---|---|---|
Kernel Linux | All versions | None |
How do I fix GSD-2023-1001071?
No fix has been published for GSD-2023-1001071 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-1001071 being exploited?
There is no known exploitation of GSD-2023-1001071 in the wild and no public exploit code.