gpio: ml-ioh: use raw_spinlock_t for the register lock

Summary

CVECVE-2026-80562
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-26 15:17:11 UTC
Updated2026-08-27 13:18:40 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 54be566317b6aece2389a95bb19ea209af9359be 431b10133113537660a6090a2856b0d74d1b06de git Not specified
CNA Linux Linux affected 54be566317b6aece2389a95bb19ea209af9359be 359e6b1168c9a62a7bd214ace476aaa2d57eebe8 git Not specified
CNA Linux Linux affected 54be566317b6aece2389a95bb19ea209af9359be 63d2230e5076c12f93d2a1d1bff2fbbf6cf32f3c git Not specified
CNA Linux Linux affected 54be566317b6aece2389a95bb19ea209af9359be b6505a4cea45dd92eb753581b1ad9b524b5fcc34 git Not specified
CNA Linux Linux affected 54be566317b6aece2389a95bb19ea209af9359be 84be002b40d30c56a91873b236e2d9001bbee363 git Not specified
CNA Linux Linux affected 54be566317b6aece2389a95bb19ea209af9359be bc7934d0acd4fc1c7e5b7c68debdb4a991121628 git Not specified
CNA Linux Linux affected 54be566317b6aece2389a95bb19ea209af9359be 0559b86611c35d342dd48542ea26a9e437046bf6 git Not specified
CNA Linux Linux affected 54be566317b6aece2389a95bb19ea209af9359be 600411ea1f2443fdf5b1af9b6480f616d7aff9d0 git Not specified
CNA Linux Linux affected 3.2 Not specified
CNA Linux Linux unaffected 3.2 semver Not specified
CNA Linux Linux unaffected 5.10.267 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.218 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.185 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.154 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.106 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.46 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.10 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/bc7934d0acd4fc1c7e5b7c68debdb4a991121628 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0559b86611c35d342dd48542ea26a9e437046bf6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/431b10133113537660a6090a2856b0d74d1b06de 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/600411ea1f2443fdf5b1af9b6480f616d7aff9d0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/359e6b1168c9a62a7bd214ace476aaa2d57eebe8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/84be002b40d30c56a91873b236e2d9001bbee363 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b6505a4cea45dd92eb753581b1ad9b524b5fcc34 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/63d2230e5076c12f93d2a1d1bff2fbbf6cf32f3c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report