{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-43343",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-05-01T14:12:56.003Z",
        "datePublished": "2026-05-08T13:37:20.663Z",
        "dateUpdated": "2026-05-11T22:22:44.192Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T22:22:44.192Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/gadget/function/f_subset.c"
                    ],
                    "versions": [
                        {
                            "version": "02832e56f88a981474ee4c7c141f46fc1b4454f4",
                            "lessThan": "a932b171554714b1bca313b853c7aa9f2930f9aa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02832e56f88a981474ee4c7c141f46fc1b4454f4",
                            "lessThan": "d7d702407b61e96286a15b6e715572f541a8d41c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02832e56f88a981474ee4c7c141f46fc1b4454f4",
                            "lessThan": "3f5bfc550a40d7493b1cf09540ed6b412b3b82be",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02832e56f88a981474ee4c7c141f46fc1b4454f4",
                            "lessThan": "75776a055b656873319c3830fed471daef3ceb23",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02832e56f88a981474ee4c7c141f46fc1b4454f4",
                            "lessThan": "cc8ec610cd14c093a19371691a7ce1ee5421e829",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02832e56f88a981474ee4c7c141f46fc1b4454f4",
                            "lessThan": "3d436670b47415da042452618fb5d8e317ab095f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02832e56f88a981474ee4c7c141f46fc1b4454f4",
                            "lessThan": "23e4851ce348a329d974e84e828155dda9f52122",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02832e56f88a981474ee4c7c141f46fc1b4454f4",
                            "lessThan": "caa27923aacd8a5869207842f2ab1657c6c0c7bc",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/gadget/function/f_subset.c"
                    ],
                    "versions": [
                        {
                            "version": "3.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.11",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.253",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.203",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.168",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.134",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.81",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.22",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.12",
                            "lessThanOrEqual": "6.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "5.10.253"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "5.15.203"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "6.1.168"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "6.6.134"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "6.12.81"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "6.18.22"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "6.19.12"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "7.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/a932b171554714b1bca313b853c7aa9f2930f9aa"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d7d702407b61e96286a15b6e715572f541a8d41c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3f5bfc550a40d7493b1cf09540ed6b412b3b82be"
                },
                {
                    "url": "https://git.kernel.org/stable/c/75776a055b656873319c3830fed471daef3ceb23"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cc8ec610cd14c093a19371691a7ce1ee5421e829"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3d436670b47415da042452618fb5d8e317ab095f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/23e4851ce348a329d974e84e828155dda9f52122"
                },
                {
                    "url": "https://git.kernel.org/stable/c/caa27923aacd8a5869207842f2ab1657c6c0c7bc"
                }
            ],
            "title": "usb: gadget: f_subset: Fix unbalanced refcnt in geth_free",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}