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 C24FE541E58 for ; Thu, 17 Sep 2026 16:41:13 +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=1789663275; cv=none; b=SG0b++uae0UGc+lURtgZFQmTs6yXkRyu+HuoqrMmOrEt75h4ThW35wGw1M4AxiVfk3A920SiC2Y1jFs6JWboTwEDX8Zyvk6pHvZtOdWy5k+SljNRv5RNDXpFOnaZ2rdjHSuHekhIeiJHKBPYkt0ifKX4c6vateBS3OpssGw+gcw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663275; c=relaxed/simple; bh=MsRA4dcSwJVPfWuf+VHfPS2folPLxwcZYRiSYtFF7k4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jSqmW+iM9CUU74Dk922qLHPH/tvXy60fYYS8aJvPz02UH6qtpIeYZq56lXmOT9NwelWHnLxeOhcExj36PooactUDeEaJST5I2xGEKfX8vm2GmVrvGdhKMqbUGMqmlMSx4YJwtKiB3LnaacUkaTQ3Cl9Axh5057dG/m8cDduiVo4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=s4DqrC5x; 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="s4DqrC5x" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E18141F000FF; Thu, 17 Sep 2026 16:41:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663273; bh=7SFZrBGQ/PU7iqPGiTKw3hPk+NLXTbHdZuc28m2dnbA=; h=From:To:Cc:Subject:Date:Reply-To; b=s4DqrC5xJJqjHAxmCBLocqGjeBHvlgbG2TtIozdD2YNYlQsW0WRFFn33Nke6AF3Tj EEH9jI2+E1xHEGlSjCIXAmnN1l9NxAfBa8wdixueTD+6gFr9kr9hgav/56zA0/3FCt +8N/RkB6YLPIY9voxqFjprZCogrbQI1Bly+9cinM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93185: ASoC: rt700-sdw: always drain jack work on remove Date: Thu, 17 Sep 2026 17:17:42 +0100 Message-ID: <2026091703-CVE-2026-93185-ca88@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=4363; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=I7RB9dQDMpr6R+sItezbwTp3vFnE4XA9lWZzRGPaBek=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBG7nzd4/Y/2Kp8+8njHeZ+39KfKp57Hlo/R3MxenX t94SUv+UEcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMpNObYZ7lps+6vocZpjz/ INfKnnLd4srja8EMCy77PvzbfuedgOaMC4ZnsjhYv0kvDwMA 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: ASoC: rt700-sdw: always drain jack work on remove rt700_sdw_remove() drains jack_detect_work and jack_btn_check_work only when rt700->hw_init is true. That state bit is cleared by rt700_update_status() when the SoundWire slave becomes UNATTACHED, but a jack work item can already have been queued by rt700_interrupt_callback() or rt700_jack_init() while the device was initialized. Do not use hw_init as the remove-time guard for draining these work objects. The delayed works are initialized during rt700_init(), so remove can cancel them unconditionally and pair the object lifetime with the codec-private data lifetime instead of a mutable hardware state bit. This issue was found by our static analysis tool and then confirmed by manual review of the SoundWire status, interrupt and remove paths. The remove path should drain work based on whether the work object exists, not on a runtime hardware state bit that can change after the work was queued. A QEMU PoC queued jack_detect_work, simulated SDW_SLAVE_UNATTACHED, and then entered remove. DEBUG_OBJECTS reported an active timer/work object associated with the rt700 jack work path after remove skipped the cancel. This is sent as an RFC because the practical trigger depends on SoundWire core remove ordering after an UNATTACHED status update. If remove cannot run after hw_init has been cleared while jack work is still pending, this is a defensive lifecycle cleanup rather than a reachable race on current systems. The Linux kernel CVE team has assigned CVE-2026-93185 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit 737ee8bdf682cedb3c42b713d20ffa5c899591fb and fixed in 5.15.221 with commit f1e21b7b977f5ae2955ecf3ab144da2578a4fe00 Issue introduced in 5.12 with commit 737ee8bdf682cedb3c42b713d20ffa5c899591fb and fixed in 6.1.188 with commit b81c2131dbb6fe04e27841bc719977c106177c61 Issue introduced in 5.12 with commit 737ee8bdf682cedb3c42b713d20ffa5c899591fb and fixed in 6.6.157 with commit 1bb23c9d68312e77cec81bdfb2cc385e2d2960f7 Issue introduced in 5.12 with commit 737ee8bdf682cedb3c42b713d20ffa5c899591fb and fixed in 6.12.110 with commit 45fcf435ffcc5f61a43bd9b19094dc52de6cbc05 Issue introduced in 5.12 with commit 737ee8bdf682cedb3c42b713d20ffa5c899591fb and fixed in 6.18.52 with commit 1e8fddab6cbe536dd02e61205e4b9bf97df6479b Issue introduced in 5.12 with commit 737ee8bdf682cedb3c42b713d20ffa5c899591fb and fixed in 7.2.6 with commit a47f087877bb2bc57c3ccb714fc49abf45d28e12 Issue introduced in 5.12 with commit 737ee8bdf682cedb3c42b713d20ffa5c899591fb and fixed in 7.3-rc1 with commit 612ccf42acd14bb2685fa60c3495ca13e63e8989 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-93185 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: sound/soc/codecs/rt700-sdw.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/f1e21b7b977f5ae2955ecf3ab144da2578a4fe00 https://git.kernel.org/stable/c/b81c2131dbb6fe04e27841bc719977c106177c61 https://git.kernel.org/stable/c/1bb23c9d68312e77cec81bdfb2cc385e2d2960f7 https://git.kernel.org/stable/c/45fcf435ffcc5f61a43bd9b19094dc52de6cbc05 https://git.kernel.org/stable/c/1e8fddab6cbe536dd02e61205e4b9bf97df6479b https://git.kernel.org/stable/c/a47f087877bb2bc57c3ccb714fc49abf45d28e12 https://git.kernel.org/stable/c/612ccf42acd14bb2685fa60c3495ca13e63e8989