usb: gadget: f_subset: Fix unbalanced refcnt in geth_free
Summary
| CVE | CVE-2026-43343 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-08 14:16:44 UTC |
| Updated | 2026-05-18 12:33:32 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.000240000 probability, percentile 0.070360000 (date 2026-05-12)
Problem Types: NVD-CWE-Other
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 a932b171554714b1bca313b853c7aa9f2930f9aa git | Not specified |
| CNA | Linux | Linux | affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 d7d702407b61e96286a15b6e715572f541a8d41c git | Not specified |
| CNA | Linux | Linux | affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 3f5bfc550a40d7493b1cf09540ed6b412b3b82be git | Not specified |
| CNA | Linux | Linux | affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 75776a055b656873319c3830fed471daef3ceb23 git | Not specified |
| CNA | Linux | Linux | affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 cc8ec610cd14c093a19371691a7ce1ee5421e829 git | Not specified |
| CNA | Linux | Linux | affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 3d436670b47415da042452618fb5d8e317ab095f git | Not specified |
| CNA | Linux | Linux | affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 23e4851ce348a329d974e84e828155dda9f52122 git | Not specified |
| CNA | Linux | Linux | affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 caa27923aacd8a5869207842f2ab1657c6c0c7bc git | Not specified |
| CNA | Linux | Linux | affected 3.11 | Not specified |
| CNA | Linux | Linux | unaffected 3.11 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.253 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.203 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.168 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.134 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.81 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.22 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.12 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/a932b171554714b1bca313b853c7aa9f2930f9aa | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/23e4851ce348a329d974e84e828155dda9f52122 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3f5bfc550a40d7493b1cf09540ed6b412b3b82be | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d7d702407b61e96286a15b6e715572f541a8d41c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/75776a055b656873319c3830fed471daef3ceb23 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3d436670b47415da042452618fb5d8e317ab095f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/cc8ec610cd14c093a19371691a7ce1ee5421e829 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/caa27923aacd8a5869207842f2ab1657c6c0c7bc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.