Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 10B9D49F13A for ; Thu, 24 Sep 2026 15:13:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790262782; cv=none; b=N3vXMo0kP7JLAVt2/kSgIywcLcII0+QIp7x4XFG9SI9AU47FQj9UpoI4jDXEC2aPt8qi5V756qgBDWzPcpGPuB7ZmF719wrQ/CTrzAGuMV6nzzPUgiLCCvM/cYX+JPKR2AWtJO9TZ03zlDjBUwyvhYAses9M83DhTBP5HaC1K7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790262782; c=relaxed/simple; bh=rmAG0/7RpFQrMACGEI0M8L59J9+A6JjFJDkDG1PxIMM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MjZt41h4TmxmTa7+N57nwbTpIdmEDUcrdZgxULXryXxMhDz3KUunX4blC48JB5jX4n8NGZMs6HaQ+f2fg0QjB1GL3Ax7AqVmwUObvCCep5/i3b4uxwTWaFgEaCqH/nzmPodahHUR+oqb0LQnaAiVUOk2xRTgjvsMA9LKit6l3PU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xPn9m5/D; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xPn9m5/D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95C011F00898; Thu, 24 Sep 2026 15:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790262780; bh=zV4+ablMt8unLZLhriJqPVpmjh6eZpIJAYtKBOVzB78=; h=From:To:Cc:Subject:Date:Reply-To; b=xPn9m5/D0hDIEtovBqRtzgmpXRXFRvMU8OFwjqyLpVtFFTYji+cFSNgzy5Rv9CSuB xW6LOZKhOaVNNXXCbQ/d880DPY5TABthsNljAom6w9wR2T4GtvWeqgwReF6+Ko/hn+ yy1zxcNWxZO2MY71HVeanblcpFip3zz3pjTi6Sxo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93214: usb: gadget: f_tcm: fix deadlock in usbg_make_tpg() Date: Thu, 24 Sep 2026 17:10:50 +0200 Message-ID: <2026092444-CVE-2026-93214-f242@gregkh> X-Mailer: git-send-email 2.55.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=3735; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NrqoqyrVpRSEtC5JRNC8n6HN6UYvQ+7wH7xaQembEgI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbbUsO3Dj06XJCxt6587/Lts7zfhSfwddz9RljtrHUN LYM7kvJHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRJ4UMCzo573S/f79c+UJY U55SASfXHPbn9xnmVywoKNDfPvuZXPDrF5ZmkxcqFV/iAQA= 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_tcm: fix deadlock in usbg_make_tpg() usbg_make_tpg() held dep_lock while calling configfs_depend_item_unlocked(), which acquires the configfs root inode lock when operating across subsystems. This creates a circular lock dependency with configfs_rmdir(): dep_lock -> configfs root inode lock -> su_mutex -> dep_lock In usbg_make_tpg(), dep_lock only serialized the read of opts->ready, which is a monotonic flag that transitions from false to true exactly once (in tcm_set_name()) and never reverts. Remove dep_lock from usbg_make_tpg() entirely and use READ_ONCE/WRITE_ONCE to access opts->ready locklessly instead. The Linux kernel CVE team has assigned CVE-2026-93214 to this issue. Affected and fixed versions =========================== Issue introduced in 4.5 with commit 4bb8548df632187d5db50878e71804af5f7c51ad and fixed in 5.10.270 with commit abad5daa41cf5d0a0a9cba0397d3a0e7f11e0277 Issue introduced in 4.5 with commit 4bb8548df632187d5db50878e71804af5f7c51ad and fixed in 5.15.221 with commit 3639438a4c83ffc2e564c8c010b92137c5d11cfa Issue introduced in 4.5 with commit 4bb8548df632187d5db50878e71804af5f7c51ad and fixed in 6.1.188 with commit 78a14ea2284825055ab6c2a1f3489510f560f3a2 Issue introduced in 4.5 with commit 4bb8548df632187d5db50878e71804af5f7c51ad and fixed in 6.6.157 with commit eef3e62f90d86c1c5651742f84ecc9db1814a893 Issue introduced in 4.5 with commit 4bb8548df632187d5db50878e71804af5f7c51ad and fixed in 6.12.109 with commit f81a2da137b029a282b9bc64d2f267d242948659 Issue introduced in 4.5 with commit 4bb8548df632187d5db50878e71804af5f7c51ad and fixed in 6.18.50 with commit 6bcd9ee6ad6989d1d85a7459687e45b7ad7568d9 Issue introduced in 4.5 with commit 4bb8548df632187d5db50878e71804af5f7c51ad and fixed in 7.2.4 with commit d90b0f90e30cd59b36005a4016b15cf02bcd7fb2 Issue introduced in 4.5 with commit 4bb8548df632187d5db50878e71804af5f7c51ad and fixed in 7.3-rc1 with commit 9dbf74f4022f80f7669d2b3c22c5deb46c1b5674 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-93214 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_tcm.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/abad5daa41cf5d0a0a9cba0397d3a0e7f11e0277 https://git.kernel.org/stable/c/3639438a4c83ffc2e564c8c010b92137c5d11cfa https://git.kernel.org/stable/c/78a14ea2284825055ab6c2a1f3489510f560f3a2 https://git.kernel.org/stable/c/eef3e62f90d86c1c5651742f84ecc9db1814a893 https://git.kernel.org/stable/c/f81a2da137b029a282b9bc64d2f267d242948659 https://git.kernel.org/stable/c/6bcd9ee6ad6989d1d85a7459687e45b7ad7568d9 https://git.kernel.org/stable/c/d90b0f90e30cd59b36005a4016b15cf02bcd7fb2 https://git.kernel.org/stable/c/9dbf74f4022f80f7669d2b3c22c5deb46c1b5674