usb: gadget: f_subset: Fix unbalanced refcnt in geth_free

Summary

CVECVE-2026-43343
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-08 14:16:44 UTC
Updated2026-05-18 12:33:32 UTC
DescriptionIn 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
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report