# CVE-2026-74468: gpio: pch: use raw\_spinlock\_t for the register lock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T12:27:06.250Z
- **Modified:** 2026-08-19T17:21:03.810Z

## Who should check

- Anyone running Linux \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< efc76a3f5353dd33a2e2ad48200cd4a18de30a0d; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 935e6872db7faecfbe1a10b3f5d97a62fdff5ec9; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 98f292cb6d01487d17988d9fd4e19c13e7adb156; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 16da33cb36e663b6967112185e11d00ce8ff957c; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< ff050589a21967883bb55f6dba42568f8367ad4a; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 466ab0c41d5f54f71cee60619d07c4abd0ffd2cd; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< c0a4ec89fc26e4b679b04f1002c503cb2529acdc; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< a02b8950d619123da64f69b70fe1dadef217dfe4
- Anyone running Linux 3.2

## 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").

## Affected and fixed versions

- Linux: \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< efc76a3f5353dd33a2e2ad48200cd4a18de30a0d; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 935e6872db7faecfbe1a10b3f5d97a62fdff5ec9; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 98f292cb6d01487d17988d9fd4e19c13e7adb156; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 16da33cb36e663b6967112185e11d00ce8ff957c; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< ff050589a21967883bb55f6dba42568f8367ad4a; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 466ab0c41d5f54f71cee60619d07c4abd0ffd2cd; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< c0a4ec89fc26e4b679b04f1002c503cb2529acdc; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< a02b8950d619123da64f69b70fe1dadef217dfe4 (cvelist)
- Linux: 3.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74468. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74468.md
Affected: Linux >= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, < efc76a3f5353dd33a2e2ad48200cd4a18de30a0d; >= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, < 935e6872db7faecfbe1a10b3f5d97a62fdff5ec9; >= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, < 98f292cb6d01487d17988d9fd4e19c13e7adb156; >= 38eb18a6f92da886fc1af50…
Fixed in: Linux 935e6872db7faecfbe1a10b3f5d97a62fdff5ec9, Linux 98f292cb6d01487d17988d9fd4e19c13e7adb156, Linux 16da33cb36e663b6967112185e11d00ce8ff957c, Linux 466ab0c41d5f54f71cee60619d07c4abd0ffd2cd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74468 being exploited?

There is no confirmed exploitation: CVE-2026-74468 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74468?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74468?

Linux \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< efc76a3f5353dd33a2e2ad48200cd4a18de30a0d; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 935e6872db7faecfbe1a10b3f5d97a62fdff5ec9; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 98f292cb6d01487d17988d9fd4e19c13e7adb156; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 16da33cb36e663b6967112185e11d00ce8ff957c; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< ff050589a21967883bb55f6dba42568f8367ad4a; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< 466ab0c41d5f54f71cee60619d07c4abd0ffd2cd; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< c0a4ec89fc26e4b679b04f1002c503cb2529acdc; \>= 38eb18a6f92da886fc1af509d25e8f7a49e23d9a, \< a02b8950d619123da64f69b70fe1dadef217dfe4; Linux 3.2.

### Is there a fix for CVE-2026-74468?

Yes. Fixed in Linux 935e6872db7faecfbe1a10b3f5d97a62fdff5ec9, Linux 98f292cb6d01487d17988d9fd4e19c13e7adb156, Linux 16da33cb36e663b6967112185e11d00ce8ff957c, Linux 466ab0c41d5f54f71cee60619d07c4abd0ffd2cd. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74468?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/efc76a3f5353dd33a2e2ad48200cd4a18de30a0d>
- other: <https://git.kernel.org/stable/c/935e6872db7faecfbe1a10b3f5d97a62fdff5ec9>
- other: <https://git.kernel.org/stable/c/98f292cb6d01487d17988d9fd4e19c13e7adb156>
- other: <https://git.kernel.org/stable/c/16da33cb36e663b6967112185e11d00ce8ff957c>
- other: <https://git.kernel.org/stable/c/ff050589a21967883bb55f6dba42568f8367ad4a>
- other: <https://git.kernel.org/stable/c/466ab0c41d5f54f71cee60619d07c4abd0ffd2cd>
- other: <https://git.kernel.org/stable/c/c0a4ec89fc26e4b679b04f1002c503cb2529acdc>
- other: <https://git.kernel.org/stable/c/a02b8950d619123da64f69b70fe1dadef217dfe4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74468>

HTML: <https://flawdb.com/CVE-2026-74468> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74468>
