CVE-2026-74468
gpio: pch: use raw_spinlock_t for the register lock
Check your servers for CVE-2026-74468
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74468 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
gpio: pch: use raw_spinlock_t for the register lock
pch_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.
This was confirmed on a PREEMPT_RT kernel with lockdep (PROVE_RAW_LOCK_NESTING and DEBUG_ATOMIC_SLEEP). A grounded PoC mirrored pch_irq_type()'s locking and drove it through the real genirq carrier irq_set_irq_type() -> __irq_set_trigger() -> chip->irq_set_type(), i.e. the same __irq_set_trigger() edge that __setup_irq() takes for a requested IRQ. With the original spin_lock_irqsave() edge lockdep reported an invalid wait context, immediately followed by:
BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 95, name: insmod hardirqs last disabled at (3784): _raw_spin_lock_irqsave+0x4f/0x60 rt_spin_lock+0x3a/0x1c0 repro_irq_set_type+0x64/0xa0 [pch_repro] __irq_set_trigger+0x69/0x140 irq_set_irq_type+0x78/0xd0
Switching the mirrored lock to raw_spinlock_t made both splats go away.
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, but all of those critical sections only perform MMIO register accesses (ioread32()/iowrite32()) and irq_set_handler_locked(); none of them contain sleepable operations. Keeping this register lock non-sleeping is therefore appropriate for the irqchip callbacks and does not change the GPIO-side locking contract.
This is the same class of issue and fix as recently addressed for other GPIO controllers, e.g. commit 286533cb14a3 ("gpio: sch: use raw_spinlock_t in the irq startup path") and commit 90f0109019e6 ("gpio: eic-sprd: use raw_spinlock_t in the irq startup path").
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.96% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, before efc76a3f5353dd33a2e2ad48200cd4a18de30a0d affected from 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, before 935e6872db7faecfbe1a10b3f5d97a62fdff5ec9 affected from 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, before 98f292cb6d01487d17988d9fd4e19c13e7adb156 affected from 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, before 16da33cb36e663b6967112185e11d00ce8ff957c affected from 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, before ff050589a21967883bb55f6dba42568f8367ad4a affected from 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, before 466ab0c41d5f54f71cee60619d07c4abd0ffd2cd affected from 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, before c0a4ec89fc26e4b679b04f1002c503cb2529acdc affected from 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, before a02b8950d619123da64f69b70fe1dadef217dfe4
Other versions: unaffected
|
| Linux |
affected 3.2 unaffected before 3.2 unaffected from 5.10.265 up to and including 5.10.* unaffected from 5.15.216 up to and including 5.15.* unaffected from 6.1.183 up to and including 6.1.* unaffected from 6.6.151 up to and including 6.6.* unaffected from 6.12.103 up to and including 6.12.* unaffected from 6.18.44 up to and including 6.18.* unaffected from 7.1.8 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74468 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74468
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-74468
trivy image --scanners vuln IMAGE | grep CVE-2026-74468
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/efc76a3f5353dd33a2e2ad48200cd4a18de30a0d git.kernel.org
- https://git.kernel.org/stable/c/935e6872db7faecfbe1a10b3f5d97a62fdff5ec9 git.kernel.org
- https://git.kernel.org/stable/c/98f292cb6d01487d17988d9fd4e19c13e7adb156 git.kernel.org
- https://git.kernel.org/stable/c/16da33cb36e663b6967112185e11d00ce8ff957c git.kernel.org
- https://git.kernel.org/stable/c/ff050589a21967883bb55f6dba42568f8367ad4a git.kernel.org
- https://git.kernel.org/stable/c/466ab0c41d5f54f71cee60619d07c4abd0ffd2cd git.kernel.org
- https://git.kernel.org/stable/c/c0a4ec89fc26e4b679b04f1002c503cb2529acdc git.kernel.org
- https://git.kernel.org/stable/c/a02b8950d619123da64f69b70fe1dadef217dfe4 git.kernel.org
Source: the record CVE-2026-74468 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse