CVE-2026-43343
usb: gadget: f_subset: Fix unbalanced refcnt in geth_free
- State
- Published
- Severity
- Not scored
- Published
- May 8, 2026
- Updated
- May 11, 2026
- Reserved
- May 1, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: f_subset: Fix unbalanced refcnt in geth_free
geth_alloc() increments the reference count, but geth_free() fails to decrement it. This prevents the configuration of attributes via configfs after unlinking the function.
Decrement the reference count in geth_free() to ensure proper cleanup.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/a932b171554714b1bca313b853c7aa9f2930f9aa
- https://git.kernel.org/stable/c/d7d702407b61e96286a15b6e715572f541a8d41c
- https://git.kernel.org/stable/c/3f5bfc550a40d7493b1cf09540ed6b412b3b82be
- https://git.kernel.org/stable/c/75776a055b656873319c3830fed471daef3ceb23
- https://git.kernel.org/stable/c/cc8ec610cd14c093a19371691a7ce1ee5421e829
- https://git.kernel.org/stable/c/3d436670b47415da042452618fb5d8e317ab095f
- https://git.kernel.org/stable/c/23e4851ce348a329d974e84e828155dda9f52122
- https://git.kernel.org/stable/c/caa27923aacd8a5869207842f2ab1657c6c0c7bc
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.