From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C8D537419B for ; Fri, 8 May 2026 13:37:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778247459; cv=none; b=H9kHLyNobrPHnPxpwi+3eUhsTdcLvP4PlD7NWg6HOKBJhYLGjt4BYhbLy+NJ5I5bMuduMLAomNQxGRenVtbTNYjIsNO/3tmOS6ibQ6+mrY+8nADF3Q+U8WBqi9TYNMjm+kUMm7Pc/0NgJLuziPVQ2GY61llyYn+GC2Je43xKjYw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778247459; c=relaxed/simple; bh=50m/URTQLIA545Jy4iJSgl7xSykjjUpeIwQmd2opRKc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oCNW/MizJ0Na0J+ZeX40r8+twwdBvnj9kWU0i9TQQpGUDhL5jg2dGQcq68nFrFCYiLxBG0++JF6DHhkkuefc5/SVeHzJtBTpfuSuVRoyQlILIMPZKHtnvpn5JnJnESe+vWSL+twRHv/RnPXcYNni+FYY3anjvx5zA94qvjlq9pg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Z846TLOL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Z846TLOL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF4B6C2BCB0; Fri, 8 May 2026 13:37:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778247459; bh=50m/URTQLIA545Jy4iJSgl7xSykjjUpeIwQmd2opRKc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Z846TLOL4vPBxXcAXxrXYQHnWY24IAC9DbhJm5ZiQe/um2vorKfz0vzVUTH6Ppyj/ 9buSgWZlbLA8e1dm2raVggYRG3o7VRstiEV9P76qU8Nx/EvS0UIkD4yJtC15Hp6PbB 6+GtlH2F0pRQNYtbts/ls0q2BCx+JkVoan7H0STM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43343: usb: gadget: f_subset: Fix unbalanced refcnt in geth_free Date: Fri, 8 May 2026 15:37:26 +0200 Message-ID: <2026050825-CVE-2026-43343-637d@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3403; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=K81rUUj+KWkRc28Wkx6CqToWDtCtDlmb7mTqAf3AniU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJl/n4s6XAyxqzrTHu4z31500XN/708b1506tfbwfnctU Z8Q7wiOjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIiiTDgs1dRzbPbHngs6Ny 9oZH6z9tPeJzp4BhwYmT6ls8jORfl19Y9KbYVyLjX8GpPQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-43343 to this issue. Affected and fixed versions =========================== Issue introduced in 3.11 with commit 02832e56f88a981474ee4c7c141f46fc1b4454f4 and fixed in 5.10.253 with commit a932b171554714b1bca313b853c7aa9f2930f9aa Issue introduced in 3.11 with commit 02832e56f88a981474ee4c7c141f46fc1b4454f4 and fixed in 5.15.203 with commit d7d702407b61e96286a15b6e715572f541a8d41c Issue introduced in 3.11 with commit 02832e56f88a981474ee4c7c141f46fc1b4454f4 and fixed in 6.1.168 with commit 3f5bfc550a40d7493b1cf09540ed6b412b3b82be Issue introduced in 3.11 with commit 02832e56f88a981474ee4c7c141f46fc1b4454f4 and fixed in 6.6.134 with commit 75776a055b656873319c3830fed471daef3ceb23 Issue introduced in 3.11 with commit 02832e56f88a981474ee4c7c141f46fc1b4454f4 and fixed in 6.12.81 with commit cc8ec610cd14c093a19371691a7ce1ee5421e829 Issue introduced in 3.11 with commit 02832e56f88a981474ee4c7c141f46fc1b4454f4 and fixed in 6.18.22 with commit 3d436670b47415da042452618fb5d8e317ab095f Issue introduced in 3.11 with commit 02832e56f88a981474ee4c7c141f46fc1b4454f4 and fixed in 6.19.12 with commit 23e4851ce348a329d974e84e828155dda9f52122 Issue introduced in 3.11 with commit 02832e56f88a981474ee4c7c141f46fc1b4454f4 and fixed in 7.0 with commit caa27923aacd8a5869207842f2ab1657c6c0c7bc Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-43343 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/usb/gadget/function/f_subset.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/a932b171554714b1bca313b853c7aa9f2930f9aa https://git.kernel.org/stable/c/d7d702407b61e96286a15b6e715572f541a8d41c https://git.kernel.org/stable/c/3f5bfc550a40d7493b1cf09540ed6b412b3b82be https://git.kernel.org/stable/c/75776a055b656873319c3830fed471daef3ceb23 https://git.kernel.org/stable/c/cc8ec610cd14c093a19371691a7ce1ee5421e829 https://git.kernel.org/stable/c/3d436670b47415da042452618fb5d8e317ab095f https://git.kernel.org/stable/c/23e4851ce348a329d974e84e828155dda9f52122 https://git.kernel.org/stable/c/caa27923aacd8a5869207842f2ab1657c6c0c7bc