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 3A42C4FD798 for ; Thu, 17 Sep 2026 16:41:58 +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=1789663319; cv=none; b=n7ztczW8c/wRwdoDzyqTx83ha8CD+YXoVs8GglLZ/KGakmCNgb9O51TIxXFr7uc/FopanWjgntc5DQRLc20RzxTSvoiMQM9jmYNa/w+kL+N/9oQjdCmX9tJ9CDqGyUpbBiHym/S6W4IlqYFmUiLKGLBYn/lusIUUAGOp1JZx+2w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663319; c=relaxed/simple; bh=RXzQXfH4P6gfKenyrbkm3k1ygt4Cvz2Va6ScSeJoTHs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=l69LVF0v8j+GA9rtZCBNJq4FG1CGBbgcsgpp/ODhu+dSe5lvveGmpvoo36oVinATIDGXxz0pap8pbDbtXobZiyCgvQvvMsTuYNHavCHrpQMzRnpBJfa3dT2kNJkxpSspvDztTO+sk8etO2kGvDOEuZxtxWj16LL0NkNrtZU06+0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iKwGMgRx; 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="iKwGMgRx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BA9D1F000FF; Thu, 17 Sep 2026 16:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663318; bh=kyUeWpUjmDdTuLvNScASGegOSmuXJJtOth6tQorvt28=; h=From:To:Cc:Subject:Date:Reply-To; b=iKwGMgRxBrJPw391/61vwGn2EGIGNoZGSpstsAAq5qtdrdO+sZG+08SBu6P/jwVPo bbkld/vyr09SzLWeq17WZgphRhAXVMdQSw2pB/UR4EsEKOmXsgj7tKs0HnDn9zWH1r uKJWPnsWa1oltMgIM167guH395kvWyYw2ZyE04B8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93202: i3c: master: Fix recursive locking during device registration Date: Thu, 17 Sep 2026 17:17:59 +0100 Message-ID: <2026091706-CVE-2026-93202-ac25@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=3723; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hKl7I4eDA2+Yyxe6M3l6uG4+7aSOpUrxTKWzo3H/8tk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBO6d8XqwvFBa3WrWdJtXStstsrd+YxB1OjxFzGLNm iPBuoL2HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARro8M810m3P2VsXsq10rF ry6c91gmaiZFXmKYK7f74NGddxxUPTw+Bn0MP1sg6rC2EQA= 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: i3c: master: Fix recursive locking during device registration i3c_master_register_new_i3c_devs() registers newly discovered devices while holding i3c_bus_normaluse_lock(), a down_read(). device_register() can immediately probe the device, and probe callbacks typically invoke I3C helpers that take i3c_bus_normaluse_lock() again, leading to a recursive acquisition of the same rwsem. rwsems do not support recursive read locking and can deadlock when a writer is waiting. See the "Recursive read locks" section of Documentation/locking/lockdep-design.rst. For example, with Intel LPSS I3C, LOCKDEP generates a WARNING like: # echo intel-lpss-i3c.0 > /sys/bus/platform/drivers/mipi-i3c-hci/unbind # echo intel-lpss-i3c.0 > /sys/bus/platform/drivers/mipi-i3c-hci/bind WARNING: possible recursive locking detected kworker/5:1/94 is trying to acquire lock: ffff88811c810d78 (&i3cbus->lock){++++}-{4:4}, at: i3c_device_match_id+0x45/0x370 but task is already holding lock: ffff88811c810d78 (&i3cbus->lock){++++}-{4:4}, at: i3c_master_reg_work_fn+0x21/0x5f0 Fix this by separating device creation from device registration. Populate desc->dev under the maintenance lock, collect the devices that still need registration into a local list, then release the lock before calling device_register(). Finally retake the lock and clean up any devices that failed to register. Use the maintenance lock rather than the normal-use lock while adding device objects. A write-side maintenance lock prevents readers from observing a partially initialized desc->dev during initial device population, or desc->dev disappearing if registration fails. The local list requires a list node, so add a list node member to struct i3c_device. The Linux kernel CVE team has assigned CVE-2026-93202 to this issue. Affected and fixed versions =========================== Issue introduced in 5.0 with commit 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 and fixed in 6.18.52 with commit b25232f66e8cd653d0c6bfdbe534e62a2f9d6a1b Issue introduced in 5.0 with commit 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 and fixed in 7.2.6 with commit 9dc73c51ed3ee965c3ddb0ac31cf5c3eea68fa0c Issue introduced in 5.0 with commit 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 and fixed in 7.3-rc1 with commit 456f832e5fc26fbfd3b8200fd4553eee520cc377 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-93202 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/i3c/master.c include/linux/i3c/master.h 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/b25232f66e8cd653d0c6bfdbe534e62a2f9d6a1b https://git.kernel.org/stable/c/9dc73c51ed3ee965c3ddb0ac31cf5c3eea68fa0c https://git.kernel.org/stable/c/456f832e5fc26fbfd3b8200fd4553eee520cc377