← CVE Intelligence

CVE-2026-43343

usb: gadget: f_subset: Fix unbalanced refcnt in geth_free PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 02832e56f88a981474ee4c7c141f46fc1b4454f4 before a932b171554714b1bca313b853c7aa9f2930f9aa; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 before d7d702407b61e96286a15b6e715572f541a8d41c; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 before 3f5bfc550a40d7493b1cf09540ed6b412b3b82be; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 before 75776a055b656873319c3830fed471daef3ceb23; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 before cc8ec610cd14c093a19371691a7ce1ee5421e829; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 before 3d436670b47415da042452618fb5d8e317ab095f; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 before 23e4851ce348a329d974e84e828155dda9f52122; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 before caa27923aacd8a5869207842f2ab1657c6c0c7bc
Linux / Linuxaffected 3.11; unaffected 0 before 3.11; unaffected 5.10.253 through 5.10.*; unaffected 5.15.203 through 5.15.*; unaffected 6.1.168 through 6.1.*; unaffected 6.6.134 through 6.6.*; unaffected 6.12.81 through 6.12.*; unaffected 6.18.22 through 6.18.*; unaffected 6.19.12 through 6.19.*; unaffected 7.0 through *

CWE

No CWE identifiers supplied.

References