{"id":"CVE-2026-43343","summary":"usb: gadget: f_subset: Fix unbalanced refcnt in geth_free","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_subset: Fix unbalanced refcnt in geth_free\n\ngeth_alloc() increments the reference count, but geth_free() fails to\ndecrement it. This prevents the configuration of attributes via configfs\nafter unlinking the function.\n\nDecrement the reference count in geth_free() to ensure proper cleanup.","modified":"2026-07-21T09:59:39.244132358Z","published":"2026-05-08T13:37:20.663Z","related":["SUSE-SU-2026:3130-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43343.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/23e4851ce348a329d974e84e828155dda9f52122"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d436670b47415da042452618fb5d8e317ab095f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3f5bfc550a40d7493b1cf09540ed6b412b3b82be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75776a055b656873319c3830fed471daef3ceb23"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a932b171554714b1bca313b853c7aa9f2930f9aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/caa27923aacd8a5869207842f2ab1657c6c0c7bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc8ec610cd14c093a19371691a7ce1ee5421e829"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d7d702407b61e96286a15b6e715572f541a8d41c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43343.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43343"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"02832e56f88a981474ee4c7c141f46fc1b4454f4"},{"fixed":"a932b171554714b1bca313b853c7aa9f2930f9aa"},{"fixed":"d7d702407b61e96286a15b6e715572f541a8d41c"},{"fixed":"3f5bfc550a40d7493b1cf09540ed6b412b3b82be"},{"fixed":"75776a055b656873319c3830fed471daef3ceb23"},{"fixed":"cc8ec610cd14c093a19371691a7ce1ee5421e829"},{"fixed":"3d436670b47415da042452618fb5d8e317ab095f"},{"fixed":"23e4851ce348a329d974e84e828155dda9f52122"},{"fixed":"caa27923aacd8a5869207842f2ab1657c6c0c7bc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43343.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11.0"},{"fixed":"5.10.253"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.203"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.168"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.134"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.81"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.22"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43343.json"}}],"schema_version":"1.7.5"}