# CVE-2026-43343: usb: gadget: f_subset: Fix unbalanced refcnt in geth_free

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-08T13:37:20.663Z
- Modified: 2026-11-11T20:10:00.273Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 02832e56f88a981474ee4c7c141f46fc1b4454f4 before a932b171554714b1bca313b853c7aa9f2930f9aa; from 02832e56f88a981474ee4c7c141f46fc1b4454f4 before d7d702407b61e96286a15b6e715572f541a8d41c; from 02832e56f88a981474ee4c7c141f46fc1b4454f4 before 3f5bfc550a40d7493b1cf09540ed6b412b3b82be; from 02832e56f88a981474ee4c7c141f46fc1b4454f4 before 75776a055b656873319c3830fed471daef3ceb23; from 02832e56f88a981474ee4c7c141f46fc1b4454f4 before cc8ec610cd14c093a19371691a7ce1ee5421e829; from 02832e56f88a981474ee4c7c141f46fc1b4454f4 before 3d436670b47415da042452618fb5d8e317ab095f; from 02832e56f88a981474ee4c7c141f46fc1b4454f4 before 23e4851ce348a329d974e84e828155dda9f52122; from 02832e56f88a981474ee4c7c141f46fc1b4454f4 before caa27923aacd8a5869207842f2ab1657c6c0c7bc; 3.11 (not affected: before 3.11; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.168 up to 6.1.*; from 6.6.134 up to 6.6.*; from 6.12.81 up to 6.12.*; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 3.11 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.168; from 6.2 before 6.6.134; from 6.7 before 6.12.81; from 6.13 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/a932b171554714b1bca313b853c7aa9f2930f9aa> (patch)
- <https://git.kernel.org/stable/c/d7d702407b61e96286a15b6e715572f541a8d41c> (patch)
- <https://git.kernel.org/stable/c/3f5bfc550a40d7493b1cf09540ed6b412b3b82be> (patch)
- <https://git.kernel.org/stable/c/75776a055b656873319c3830fed471daef3ceb23> (patch)
- <https://git.kernel.org/stable/c/cc8ec610cd14c093a19371691a7ce1ee5421e829> (patch)
- <https://git.kernel.org/stable/c/3d436670b47415da042452618fb5d8e317ab095f> (patch)
- <https://git.kernel.org/stable/c/23e4851ce348a329d974e84e828155dda9f52122> (patch)
- <https://git.kernel.org/stable/c/caa27923aacd8a5869207842f2ab1657c6c0c7bc> (patch)

## Sources

- CVE List: [CVE-2026-43343](https://www.cve.org/CVERecord?id=CVE-2026-43343), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-43343](https://nvd.nist.gov/vuln/detail/CVE-2026-43343), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43343 · Whole record: https://cve.day/CVE-2026-43343.json · Rebuilt by cve.day 2026-11-25T22:59:21.004Z
