CVE-2026-43343

usb: gadget: f_subset: Fix unbalanced refcnt in geth_free

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 02832e56f88a981474ee4c7c141f46fc1b4454f4 < a932b171554714b1bca313b853c7aa9f2930f9aa ; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 < d7d702407b61e96286a15b6e715572f541a8d41c ; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 < 3f5bfc550a40d7493b1cf09540ed6b412b3b82be ; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 < 75776a055b656873319c3830fed471daef3ceb23 ; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 < cc8ec610cd14c093a19371691a7ce1ee5421e829 ; affected 02832e56f88a981474ee4c7c141f46fc1b4454f4 < 3d436670b47415da042452618fb5d8e317ab095f
Linux · Linuxaffected 3.11 ; unaffected 0 < 3.11 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.168 ≤ 6.1.* ; unaffected 6.6.134 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD