Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E445C2F3624 for ; Mon, 15 Sep 2025 14:06:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757945176; cv=none; b=D1CDiA3EK30tXaFmnZ+Jo88UET7l8KsAYIa20zjwd4pl1kSVF4AvVypc9oIB2aZqi1ps6tptD6oeCdx16fYCn8ZZB30dI7XEQOuRjBArGnzHKX7gmFDEAf2P1ViXIxKm9UxcXRgIv/SAHUWQZw/pSePzc5vGaUbGgOTAgLydIUI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757945176; c=relaxed/simple; bh=jmubVqmbIN9nscdayMS+Yqp00Enh64WhWqrHMJLaTBQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YOScvc9muc8YJiwBdo8aKHb5mUJ5xgGpIB2N943gA+irBub3YzAHuQeryfNx5Nc0fcpRFCvM/mycCK0eAycwYEGKfP0e4vsAaZBztAVptG4RqbrURp/5lOI/1uKn5duJPIwOQS0lTU36BivVrGtXB+FEQs3RHGyLpFMmEXcuxZw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=klnrTR9e; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="klnrTR9e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8FCAC4CEF1; Mon, 15 Sep 2025 14:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757945175; bh=jmubVqmbIN9nscdayMS+Yqp00Enh64WhWqrHMJLaTBQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=klnrTR9e6Es9Jc51rvD0/IYLZxNV7Ds/5bM0/v6DkdBTwbF6r+aZqwhh4r5cUOkPE rXphmX27TfWbDu04bpypUor5S7P6lHoQFZn2yxnuc4/q0p2EG4+W4rxzL3QoXe6QzG ZMqqGHPtuF37MHDMPqHLuwe4Au3t0q5AASHewQaU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50236: iommu/mediatek: Fix crash on isr after kexec() Date: Mon, 15 Sep 2025 16:01:46 +0200 Message-ID: <2025091547-CVE-2022-50236-dc41@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2162; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=asUEqYyzckDtBufVuZEVLmp9gscL1G9Mya0phvzXg6M=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknZLy9pb5bbLLQqV9iFrTtnfasqQL6r24/+e9emHz4p eO5a39vd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE1hgzLDj1QbC1ncVvV+Ep oc4zn69qS5/YrcAwPzjpoeWXinu36qdviVnRq9cobnCAHQA= 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: iommu/mediatek: Fix crash on isr after kexec() If the system is rebooted via isr(), the IRQ handler might be triggered before the domain is initialized. Resulting on an invalid memory access error. Fix: [ 0.500930] Unable to handle kernel read from unreadable memory at virtual address 0000000000000070 [ 0.501166] Call trace: [ 0.501174] report_iommu_fault+0x28/0xfc [ 0.501180] mtk_iommu_isr+0x10c/0x1c0 [ joro: Fixed spelling in commit message ] The Linux kernel CVE team has assigned CVE-2022-50236 to this issue. Affected and fixed versions =========================== Fixed in 6.0.17 with commit f13acee780cedb3e06a6dadf64d9104cccd2b9fc Fixed in 6.1.3 with commit 85cc8a187f2de7a91e2cea522e9406fa12999269 Fixed in 6.2 with commit 00ef8885a945c37551547d8ac8361cacd20c4e42 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-2022-50236 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/iommu/mtk_iommu.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/f13acee780cedb3e06a6dadf64d9104cccd2b9fc https://git.kernel.org/stable/c/85cc8a187f2de7a91e2cea522e9406fa12999269 https://git.kernel.org/stable/c/00ef8885a945c37551547d8ac8361cacd20c4e42