From mboxrd@z Thu Jan 1 00:00:00 1970 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 CE9E0582BBF for ; Fri, 11 Sep 2026 19:51:06 +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=1789156276; cv=none; b=u6d6/8IRlGZW8fxWdXOGKEKNWLX7D+fTbICfezaXAZ5tkx+YLBdmaCkIgMN3QcggP0112AhEZKbvI8j/dzkhczoPkl07Kz1uyFgj7dUvspmN8m0EYXtggI0ZmgPoaSDRec9OEcKaV2B5q7UInrzRB0XU31Da4jG73xRthma6L/Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156276; c=relaxed/simple; bh=A52zB26Io3I3vTMcm60c30pD2dTeJ8O90/IdEuOA654=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ab7ph6TQnjtP/mrWLnUFdV3vb9ODsHTa3wUetpUXdV+ZouHu16U8lVYYQSAnOS7elaXj3zrKLSk3uFHpt/YgryDRq8IHg2j+bMMrUjVSWfVEy33V9A+rET6Yp2VPc6v/fx2INmHMcm3YVDFwNd7rdvT/FxAgP8nheeVzqwryDWA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UqJvXzaL; 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="UqJvXzaL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A88221F0089A; Fri, 11 Sep 2026 19:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156263; bh=KgqnvUmOi10Opco/ob3lb6dgDG8xx8FfoYBZ2GAjG3Q=; h=From:To:Cc:Subject:Date:Reply-To; b=UqJvXzaLQbEskjq0IEzVw1VPq+WKBXFM8kDvUQBAPvTo/TyxHa/0ldEg7PQwrgc+p pOCZ1V5jW3ZOoE6oYjo5Ex1TV8LeaQUT6HcLb7I2y5aC+D94XYvwwITcAgVf/P95Vu eB9QjvX1p03sNbqnBTvwOtfNzxyuPrdOQNzWealA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89441: mmc: via-sdmmc: cancel card-detect work on remove Date: Fri, 11 Sep 2026 21:42:10 +0200 Message-ID: <2026091156-CVE-2026-89441-6605@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=2698; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cqzQqtX9MB+Cz8mbCkNVbVvJ88mtAz/wFszK/089Gio=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIj1CHDhPfTNtnF1c0FB06dGaVD4jR+69RSlmrKtYF 0RZ2S7qiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn8+sMwP6hbkk/q0L3VJ8UL Ql3nftt1Q98+l2HBMvcps9WLPJpLb3a1s0VG5z0vz20HAA== 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: via-sdmmc: cancel card-detect work on remove Disabling the device interrupt and freeing the IRQ prevents new card-detect work from being queued, but carddet_work already queued by the handler can still run after via_sd_remove() returns. via_sdc_card_detect() recovers the host through container_of() and dereferences its MMIO base; once remove() returns the host can be freed, so that work would touch freed memory. Cancel carddet_work after freeing the IRQ and before cancelling finish_bh_work, which the card-detect handler can also queue. carddet_work can re-enable the interrupt through via_reset_pcictrl(); mask it again afterwards. This issue was found by an in-house static analysis tool and confirmed by manual code review. The Linux kernel CVE team has assigned CVE-2026-89441 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.31 with commit f0bf7f61b8405224bc52fc9a3ccd167a68126e00 and fixed in 6.18.50 with commit f7ff3027ef004a331ef911a4886f12bc2e996037 Issue introduced in 2.6.31 with commit f0bf7f61b8405224bc52fc9a3ccd167a68126e00 and fixed in 7.2.4 with commit eaca730c6f5e3609df62a0469fb789235a93d276 Issue introduced in 2.6.31 with commit f0bf7f61b8405224bc52fc9a3ccd167a68126e00 and fixed in 7.3-rc1 with commit 57e5d877f898d5e5c9d672a77bb6bdd24f0d9bf5 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-89441 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/via-sdmmc.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/f7ff3027ef004a331ef911a4886f12bc2e996037 https://git.kernel.org/stable/c/eaca730c6f5e3609df62a0469fb789235a93d276 https://git.kernel.org/stable/c/57e5d877f898d5e5c9d672a77bb6bdd24f0d9bf5