VDB

CVE-2026-80562

CVE-2026-80562 PUBLISHED

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

Reported by linux · Published August 26, 2026

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.

EPSS 0.18% · 7.7th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxbc7934d0acd4fc1c7e5b7c68debdb4a991121628, 600411ea1f2443fdf5b1af9b6480f616d7aff9d0, 0559b86611c35d342dd48542ea26a9e437046bf6

Risk scores

EPSS Score
0.18%
7.7th percentile

Affected products

VendorProductVersions
LinuxLinux54be566317b6aece2389a95bb19ea209af9359be, 54be566317b6aece2389a95bb19ea209af9359be, 54be566317b6aece2389a95bb19ea209af9359be
LinuxLinux3.2, 0, 5.10.267
LinuxLinux6.12.106, 54be566317b6aece2389a95bb19ea209af9359be, 54be566317b6aece2389a95bb19ea209af9359be
linuxlinux_kernel3.2, 3.2, 3.2

Timeline

  • Aug 26, 2026 CVE Published
  • Aug 27, 2026 EPSS Score (17 in total, the first dated here)
  • Aug 27, 2026 CVE Updated
  • Sep 2, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80562
vulnetix vdb fixes CVE-2026-80562

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80562/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›