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 9A7594398EB for ; Wed, 26 Aug 2026 14:40: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=1787755209; cv=none; b=ttb35wYw/Rpvd/P5tR5hna6sWP/sDHurnLlAvZ77mZr0gXvV+YrX2QT5uEOMGaSdDQPyj1QJuvoO7UL9bf7fvqRfv+JXPO2kiiTerABk02gHjIReqUNg2IsGia7Jybzf4aZlSVwNhot5Vn4grpk4WxFDBF/Fx486TLISD5Zwxcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755209; c=relaxed/simple; bh=9D9lZ4KsslW2C1Vm0LSFWJ28Rr23xks/iglbDn+QQcY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SDj3tvGb7OxtpSxnahhnS7E1KuqGKI9qPo3UcxG8sOLWcv67RmiXC58wjmSEhPbSR2Iw+ZpDzcOSkGL30kTIo0PflRV5wJz7mXSUfazSKJGA/rlPfkxboSM7WeX++sSZ49eHv3l00GBvjI5Pc4X75Dxn/5a92/8cEH+xSdzU4Ik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ktJjXq6p; 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="ktJjXq6p" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1704B1F000E9; Wed, 26 Aug 2026 14:40:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755204; bh=g+1i+zqGfFprssf9oFr2l4ns9GPlMA8gDVrRcnRzICQ=; h=From:To:Cc:Subject:Date:Reply-To; b=ktJjXq6p9kuCWGPsHp1nhWtsrlzmMYaORpBs2UTNPQHiSbhxaVD85x4CvXNqT+vLJ SCs9R9AhAWA1uXRj8MB+uJn/t3+GHhZ5eCSN0OCrDu5UE268KoytgzqjVmJ1Owsn+7 mDxnkid23T0/bg8KjTinZUyVl5BIOjTxcCTkknJQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80562: gpio: ml-ioh: use raw_spinlock_t for the register lock Date: Wed, 26 Aug 2026 16:37:58 +0200 Message-ID: <2026082610-CVE-2026-80562-30aa@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=3269; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hZotRkS0cHqzxG44oSkVbyief7MgTEd/xt/dalKN5z0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v8R+SE70W5N1aZ4Sc7NAQca8K0v/Hv0pf7JY6UaVD lP9dsWJHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRAiaG2Swrol5v513M67Ki 3lLinX/WlkdOrgxzJa5Eu2z7/6xsQaVzTiArp+Ur5ceHAA== 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: ml-ioh: use raw_spinlock_t for the register lock ioh_irq_type() is registered as the irq_chip .irq_set_type callback and takes chip->spinlock with spin_lock_irqsave(). This callback is reached from __setup_irq() -> __irq_set_trigger() -> chip->irq_set_type() while the caller holds desc->lock, a raw_spinlock_t, with hardirqs disabled. That context is not sleepable, but on PREEMPT_RT a regular spinlock_t is an rtmutex-backed sleeping lock, so acquiring it there is invalid. ioh_irq_enable() and ioh_irq_disable() take the same lock from the .irq_enable/.irq_disable callbacks, which are likewise invoked with desc->lock held. Convert the register lock to raw_spinlock_t. The same lock also serializes the GPIO direction/value callbacks and the suspend/resume register save/restore, and those critical sections only perform short sequences of MMIO register accesses (ioread32()/iowrite32()); the .irq_set_type callback additionally emits a dev_warn() on an unsupported type. None of these are sleepable operations, so keeping this register lock non-sleeping is appropriate for the irqchip callbacks and does not change the GPIO-side locking contract. This is the same fix as commit a02b8950d619 ("gpio: pch: use raw_spinlock_t for the register lock"); this driver shares the same structure as gpio-pch. The Linux kernel CVE team has assigned CVE-2026-80562 to this issue. Affected and fixed versions =========================== Issue introduced in 3.2 with commit 54be566317b6aece2389a95bb19ea209af9359be and fixed in 6.18.46 with commit bc7934d0acd4fc1c7e5b7c68debdb4a991121628 Issue introduced in 3.2 with commit 54be566317b6aece2389a95bb19ea209af9359be and fixed in 7.1.10 with commit 0559b86611c35d342dd48542ea26a9e437046bf6 Issue introduced in 3.2 with commit 54be566317b6aece2389a95bb19ea209af9359be and fixed in 7.2 with commit 600411ea1f2443fdf5b1af9b6480f616d7aff9d0 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-80562 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-ml-ioh.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/bc7934d0acd4fc1c7e5b7c68debdb4a991121628 https://git.kernel.org/stable/c/0559b86611c35d342dd48542ea26a9e437046bf6 https://git.kernel.org/stable/c/600411ea1f2443fdf5b1af9b6480f616d7aff9d0