Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759076; b=M98IJo2Fto/gY+KkCQh3qgMlVqiVRNva3Y0icKCzCbTZjPYiiyuHxl8YgwA90ZUpCawh 0CtiFE9uhWWQa/uY8IKTjJe22L/165CHdvijm35+dNhkosqqxFHzR/RWDaNVDmcWnByTt TA7BfL+Yqm41gskkHMP815unNh7wsi+bLIB9th3aONlApW3zS0YmYPtfoimodeSbbtvTw XQt9Ig8OxLsggz77USGgeThiCTbUXUXnC/4a6VhDEJ+pHrzGMIKziobLkVNdYBT2pqpny 1omfT11ivuHMC9oPM2C9T5RKwl67rkG7ahaiiAercdRznPpWLX/FYYrT+x3ddRdr+pw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759076; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=Ym91RD9wZpwC2dMhOJeftp6FUc4pe1x1oaNmJv0ldR4=; b=SmVYcflRn/S4yqHT4m0Pis6Q1etegI7r0MS0OhVK8eWJKy+YmLWaSH1Kgh/7DqXYO/Gq fd4xF2UDQU63xFTD8mt1RS1PA7OM8nDZX/UiPOcPl+9Jx4hjb8+5X5Zigy3Pz/qTaRaiG HkApnlxWbmLeuncD+fPX+fOLbJTCLX/K2H15s/QDQ8Nps7iFmcOybxZmh3DIn10kASMe4 nZ13LtAjNSiJFrI32ZLEEwxwzLodbj6hCoN0cJWRnI8QOWnTkNYsyzEEyz2WPovtuaWRJ RsbJr8uP0xqcNKxhlFGsukrOL62dSv0fIcNrYZtTMlH1Dbv+rXF87r0Jf6jhsZlRqdg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qn+8NHF5; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DD62606A31A for ; Fri, 23 Oct 2026 12:37:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qn+8NHF5 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 360E81F01828; Fri, 23 Oct 2026 12:37:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759076; bh=Ym91RD9wZpwC2dMhOJeftp6FUc4pe1x1oaNmJv0ldR4=; h=From:To:Cc:Subject:Date:Reply-To; b=qn+8NHF57a/4FM1izFYHCfvUHWvWv+cilQysS49ZjIbSth8a8m+/Vq5wl7YjGkaT2 Dm0R4b3pFknpRh4ONoPiNEssD4skn/M7kf0AFZhuiR8lmNVtDdkmVn7sHLn1MhvpwS dEBFPM//Oe88VBVuik/qXctbcSdg+W6Zx6Uf9YVA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99035: mmc: mtk-sd: Cancel request timeout work on remove Date: Fri, 23 Oct 2026 14:20:37 +0200 Message-ID: <2026102325-CVE-2026-99035-d953@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3213; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YfJ2539d4C08iFNgbiIQAHsrgJtr6FM/1t6AlUqyejc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A86uS2F9/Ovlrk/PwiSkFud9rb2+6EbJ0RfLX7j2r 3cUedaxuCOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmEnOFYZ7Z+kdqx7bt/GB7 9KxBo+C7vyzNrjcYFlyTdnlcd4RDuMTfP9GEp63uZ8MMIwA= 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: mmc: mtk-sd: Cancel request timeout work on remove The driver queues req_timeout while a request is active. msdc_request_done() uses cancel_delayed_work(), which does not wait for a timeout callback that has already started. The timeout callback calls mmc_request_done(), which wakes the request waiter, and then continues to use host->dev_comp and check the SDIO IRQ. During unbind, msdc_drv_remove() can return and the managed mmc_host can be freed before the callback finishes. KASAN reported use-after-free accesses in msdc_request_done() and msdc_recheck_sdio_irq() in each of three unbind tests. The same tests completed without a kernel diagnostic after this change. Call cancel_delayed_work_sync() after mmc_remove_host() has stopped new requests and before the driver releases the host resources. The Linux kernel CVE team has assigned CVE-2026-99035 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit 208489032bdd8d4a7de50f3057c175058f271956 and fixed in 6.6.160 with commit 9e799f25c420e759641eb25102967ea091fc758f Issue introduced in 4.2 with commit 208489032bdd8d4a7de50f3057c175058f271956 and fixed in 6.12.113 with commit f37e0367ad6f2147a0b37564b442b7a25bec0d23 Issue introduced in 4.2 with commit 208489032bdd8d4a7de50f3057c175058f271956 and fixed in 6.18.57 with commit 46e75703ca3f00fb8c935b3ce35b90836e34e8af Issue introduced in 4.2 with commit 208489032bdd8d4a7de50f3057c175058f271956 and fixed in 7.2.11 with commit edef1355224c0799a502a46b71d3649fa0dd218e Issue introduced in 4.2 with commit 208489032bdd8d4a7de50f3057c175058f271956 and fixed in 7.3 with commit b38af5386a74416e898955443f2e26547b358cb2 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-99035 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/mmc/host/mtk-sd.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/9e799f25c420e759641eb25102967ea091fc758f https://git.kernel.org/stable/c/f37e0367ad6f2147a0b37564b442b7a25bec0d23 https://git.kernel.org/stable/c/46e75703ca3f00fb8c935b3ce35b90836e34e8af https://git.kernel.org/stable/c/edef1355224c0799a502a46b71d3649fa0dd218e https://git.kernel.org/stable/c/b38af5386a74416e898955443f2e26547b358cb2