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 32A003515CF for ; Sat, 15 Aug 2026 06:09:29 +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=1786774171; cv=none; b=HRZvQY7yraNuR00wxr6rhmicyOvdlKy6g8JPTo9AjTpdOK8dmESKMsJw4K0PLHDhzDgXAeK/83WdcH+PtfYO+sRQxp67Ak6+LNSz7bN5yOm0QC35AOKxL2GcprpLXcqH+5YvYOT91+XFD/o0ywT1OBkK75Arxx/n6sBsvwHQPwE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774171; c=relaxed/simple; bh=ryF1CrPJB4aoL6n00khldnGgJeoLNrRewC4EnL1yPzM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fpB4+tI4ek2VMTnIz7GbIbsXgQEr8TzHTnAqPpVcpLtQtOyTAETVCfLw7i+4aj4Nc8bQprtIHuYTrLQH946r3Eq1mIjs2kT0wrUDGo9L+TTeEK4YmO5kjVASIQLQIMhtfG3oL57E7/OK8iVUF14G/msXrHvc3Wd5AK06iUd2ojI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q2ygN9JF; 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="q2ygN9JF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E52F1F000E9; Sat, 15 Aug 2026 06:09:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774169; bh=krhfOH8z9bGX7MxFuiXr4bNNYUe2tZ3bIBcsbKXZxv8=; h=From:To:Cc:Subject:Date:Reply-To; b=q2ygN9JF1H7xo2F80znC39CT7J2a8Tb6ER2U5jd8Xx+YCP6IASArpYTXZpZrWpNp9 96yTMnOqn4J8iYbdBmbHofZAKqFO0Br7lwC8qSJpPwQobcSFYItxp3TsiJK/xZYaDx jnXRtP4bHWpnu0latY4sQD9cmyvN7Tven8VQsjKo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72062: gpio: mt7621: avoid corruption of shared interrupt trigger state Date: Sat, 15 Aug 2026 15:02:21 +0900 Message-ID: <2026081517-CVE-2026-72062-799f@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=2978; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=U6zN/lVSqzXdUgiFeDYAQmcpvhQWhEufPzS8I87kgvk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDGuzXsXsO6IkLPLSzcriz0KdrWbHnZfrstlk3mGSW 7vOeX1TRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwk4gPDgi1R6dPs3mfaGBad X3hXeknUBgn+Iob5oVd6Et9fKOZWOvfGapGkaPe/T70sAA== 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: gpio: mt7621: avoid corruption of shared interrupt trigger state The bank-shared fields like 'rising' and 'falling' are modified using non-atomic read-modify-write operations. Since every gpio chip instance represents an entire bank of 32 pins, if 'mediatek_gpio_irq_type()' is called concurrently for different IRQs on the same bank a possible overwrite of each other's configuration is possible. Thus, protect this state with 'gpio_generic_lock_irqsave' lock in the same way it is handled in irp_chip 'mediatek_gpio_irq_mask()' and 'mediatek_gpio_irq_unmask()' callbacks. The Linux kernel CVE team has assigned CVE-2026-72062 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit 4ba9c3afda41213ec98c30053e32963892e6dc7c and fixed in 6.6.148 with commit 207d3ebf36f654a43a934addeb4d6775cb2dd667 Issue introduced in 4.19 with commit 4ba9c3afda41213ec98c30053e32963892e6dc7c and fixed in 6.12.101 with commit 877a243006788aaa586b2d087f27c9f3628071b0 Issue introduced in 4.19 with commit 4ba9c3afda41213ec98c30053e32963892e6dc7c and fixed in 6.18.40 with commit d3b9026ef78da3018a7d2c5a9c9d611de6d45c47 Issue introduced in 4.19 with commit 4ba9c3afda41213ec98c30053e32963892e6dc7c and fixed in 7.1.5 with commit a60a40c9ba30edd06d3fb4215fdf430ed968728e Issue introduced in 4.19 with commit 4ba9c3afda41213ec98c30053e32963892e6dc7c and fixed in 7.2-rc2 with commit 1781172526d1092323af443fa03f00e6de560401 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-72062 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/gpio/gpio-mt7621.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/207d3ebf36f654a43a934addeb4d6775cb2dd667 https://git.kernel.org/stable/c/877a243006788aaa586b2d087f27c9f3628071b0 https://git.kernel.org/stable/c/d3b9026ef78da3018a7d2c5a9c9d611de6d45c47 https://git.kernel.org/stable/c/a60a40c9ba30edd06d3fb4215fdf430ed968728e https://git.kernel.org/stable/c/1781172526d1092323af443fa03f00e6de560401