# CVE-2026-64428: gpio: sch: use raw\_spinlock\_t in the irq startup path

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-07-25T08:51:05.460Z
- **Modified:** 2026-09-04T14:54:27.377Z

## Who should check

- Anyone running Linux \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 3b1aa05ec27eeccc889ecaa3f2d9baa9f453e50d; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 4f03a15cc73c83740fc355ee22b336492d17b4da; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 7a550256d68bbdfa0903ab1c4595c04a6815493a; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< a235cec779bb39ec8f961a935b28a2ce278c6c64; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 4508366ab7dd0c2917a51a9c2e23cc1b9d35157a; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 41cad91a09d69e8fff4e936db29b1054b4e9f9f7; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 286533cb14a3c8a8bd39ff64ea2fc8e1aa0f638b
- Anyone running Linux 5.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

gpio: sch: use raw\_spinlock\_t in the irq startup path

sch\_irq\_unmask() enables the GPIO IRQ and then updates the controller
state through sch\_irq\_mask\_unmask(), which takes sch-\>lock with
spin\_lock\_irqsave().  The callback can be reached from irq\_startup()
while setting up a requested IRQ.  That path is not sleepable, but on
PREEMPT\_RT a regular spinlock\_t becomes a sleeping lock.

This issue was found by our static analysis tool and then manually
reviewed against the current tree.

The grounded PoC kept the request\_threaded\_irq() -\> \_\_setup\_irq() -\>
irq\_startup() -\> sch\_irq\_unmask() -\> sch\_irq\_mask\_unmask() carrier and
used the original spin\_lock\_irqsave(&sch-\>lock) edge.  Lockdep reported:

  BUG: sleeping function called from invalid context
  hardirqs last disabled at ... \_\_setup\_irq.constprop.0 ... \[vuln\_msv\]
  sch\_rt\_spin\_lock\_irqsave+0x1c/0x30 \[vuln\_msv\]
  sch\_irq\_mask\_unmask.constprop.0+0x31/0x70 \[vuln\_msv\]
  \_\_setup\_irq.constprop.0+0xd/0x30 \[vuln\_msv\]

Convert the SCH controller lock to raw\_spinlock\_t.  The same lock is
also used by the GPIO direction and value callbacks, but those critical
sections only update MMIO-backed GPIO registers and do not 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.

## Affected and fixed versions

- Linux: \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 3b1aa05ec27eeccc889ecaa3f2d9baa9f453e50d; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 4f03a15cc73c83740fc355ee22b336492d17b4da; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 7a550256d68bbdfa0903ab1c4595c04a6815493a; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< a235cec779bb39ec8f961a935b28a2ce278c6c64; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 4508366ab7dd0c2917a51a9c2e23cc1b9d35157a; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 41cad91a09d69e8fff4e936db29b1054b4e9f9f7; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 286533cb14a3c8a8bd39ff64ea2fc8e1aa0f638b (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 286533cb14a3c8a8bd39ff64ea2fc8e1aa0f638b or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64428.md
Affected: Linux >= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, < 3b1aa05ec27eeccc889ecaa3f2d9baa9f453e50d; >= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, < 4f03a15cc73c83740fc355ee22b336492d17b4da; >= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, < 7a550256d68bbdfa0903ab1c4595c04a6815493a; >= 7a81638485c1a62a87b4c39…
Fixed in: Linux 3b1aa05ec27eeccc889ecaa3f2d9baa9f453e50d, Linux 4f03a15cc73c83740fc355ee22b336492d17b4da, Linux 7a550256d68bbdfa0903ab1c4595c04a6815493a, Linux 4508366ab7dd0c2917a51a9c2e23cc1b9d35157a, Linux 41cad91a09d69e8fff4e936db29b1054b4e9f9f7, Linux 286533cb14a3c8a8bd39ff64ea2fc8e1aa0f638b

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-64428 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 3b1aa05ec27eeccc889ecaa3f2d9baa9f453e50d; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 4f03a15cc73c83740fc355ee22b336492d17b4da; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 7a550256d68bbdfa0903ab1c4595c04a6815493a; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< a235cec779bb39ec8f961a935b28a2ce278c6c64; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 4508366ab7dd0c2917a51a9c2e23cc1b9d35157a; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 41cad91a09d69e8fff4e936db29b1054b4e9f9f7; \>= 7a81638485c1a62a87b4c391ecc9c651a4a9dc19, \< 286533cb14a3c8a8bd39ff64ea2fc8e1aa0f638b; Linux 5.13.

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

Yes. Fixed in Linux 3b1aa05ec27eeccc889ecaa3f2d9baa9f453e50d, Linux 4f03a15cc73c83740fc355ee22b336492d17b4da, Linux 7a550256d68bbdfa0903ab1c4595c04a6815493a, Linux 4508366ab7dd0c2917a51a9c2e23cc1b9d35157a, Linux 41cad91a09d69e8fff4e936db29b1054b4e9f9f7, Linux 286533cb14a3c8a8bd39ff64ea2fc8e1aa0f638b. Upgrade Linux to 286533cb14a3c8a8bd39ff64ea2fc8e1aa0f638b or later.

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

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

- patch: <https://git.kernel.org/stable/c/3b1aa05ec27eeccc889ecaa3f2d9baa9f453e50d>
- patch: <https://git.kernel.org/stable/c/4f03a15cc73c83740fc355ee22b336492d17b4da>
- patch: <https://git.kernel.org/stable/c/7a550256d68bbdfa0903ab1c4595c04a6815493a>
- patch: <https://git.kernel.org/stable/c/a235cec779bb39ec8f961a935b28a2ce278c6c64>
- patch: <https://git.kernel.org/stable/c/4508366ab7dd0c2917a51a9c2e23cc1b9d35157a>
- patch: <https://git.kernel.org/stable/c/41cad91a09d69e8fff4e936db29b1054b4e9f9f7>
- patch: <https://git.kernel.org/stable/c/286533cb14a3c8a8bd39ff64ea2fc8e1aa0f638b>

## 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-64428>

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