# CVE-2025-37901: irqchip/qcom-mpm: Prevent crash when trying to handle non-wake GPIOs

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.30% (percentile 15, 2026-11-26)
- **Published:** 2025-05-20T15:21:36.062Z
- **Modified:** 2026-08-05T11:58:11.172Z

## Who should check

- Anyone running Linux \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< 45aced97f01d5ab14c8a2a60f6748f18c501c3f5; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< f102342360950b56959e5fff4a874ea88ae13758; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< d5c10448f411a925dd59005785cb971f0626e032; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< 38a05c0b87833f5b188ae43b428b1f792df2b384
- Anyone running Linux 5.18

## Description

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

irqchip/qcom-mpm: Prevent crash when trying to handle non-wake GPIOs

On Qualcomm chipsets not all GPIOs are wakeup capable. Those GPIOs do not
have a corresponding MPM pin and should not be handled inside the MPM
driver. The IRQ domain hierarchy is always applied, so it's required to
explicitly disconnect the hierarchy for those. The pinctrl-msm driver marks
these with GPIO\_NO\_WAKE\_IRQ. qcom-pdc has a check for this, but
irq-qcom-mpm is currently missing the check. This is causing crashes when
setting up interrupts for non-wake GPIOs:

 root@rb1:~\# gpiomon -c gpiochip1 10
   irq: IRQ159: trimming hierarchy from :soc@0:interrupt-controller@f200000-1
   Unable to handle kernel paging request at virtual address ffff8000a1dc3820
   Hardware name: Qualcomm Technologies, Inc. Robotics RB1 (DT)
   pc : mpm\_set\_type+0x80/0xcc
   lr : mpm\_set\_type+0x5c/0xcc
   Call trace:
    mpm\_set\_type+0x80/0xcc (P)
    qcom\_mpm\_set\_type+0x64/0x158
    irq\_chip\_set\_type\_parent+0x20/0x38
    msm\_gpio\_irq\_set\_type+0x50/0x530
    \_\_irq\_set\_trigger+0x60/0x184
    \_\_setup\_irq+0x304/0x6bc
    request\_threaded\_irq+0xc8/0x19c
    edge\_detector\_setup+0x260/0x364
    linereq\_create+0x420/0x5a8
    gpio\_ioctl+0x2d4/0x6c0

Fix this by copying the check for GPIO\_NO\_WAKE\_IRQ from qcom-pdc.c, so that
MPM is removed entirely from the hierarchy for non-wake GPIOs.

## Affected and fixed versions

- Linux: \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< 45aced97f01d5ab14c8a2a60f6748f18c501c3f5; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< f102342360950b56959e5fff4a874ea88ae13758; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< d5c10448f411a925dd59005785cb971f0626e032; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< 38a05c0b87833f5b188ae43b428b1f792df2b384 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 38a05c0b87833f5b188ae43b428b1f792df2b384 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-37901.md
Affected: Linux >= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, < 45aced97f01d5ab14c8a2a60f6748f18c501c3f5; >= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, < dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf; >= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, < f102342360950b56959e5fff4a874ea88ae13758; >= a6199bb514d8a63f61c2a22…
Fixed in: Linux 45aced97f01d5ab14c8a2a60f6748f18c501c3f5, Linux 38a05c0b87833f5b188ae43b428b1f792df2b384

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-2025-37901 being exploited?

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

### How serious is CVE-2025-37901?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-37901?

Linux \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< 45aced97f01d5ab14c8a2a60f6748f18c501c3f5; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< f102342360950b56959e5fff4a874ea88ae13758; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< d5c10448f411a925dd59005785cb971f0626e032; \>= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \< 38a05c0b87833f5b188ae43b428b1f792df2b384; Linux 5.18.

### Is there a fix for CVE-2025-37901?

Yes. Fixed in Linux 45aced97f01d5ab14c8a2a60f6748f18c501c3f5, Linux 38a05c0b87833f5b188ae43b428b1f792df2b384. Upgrade Linux to 38a05c0b87833f5b188ae43b428b1f792df2b384 or later.

### How do I check if I'm affected by CVE-2025-37901?

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/45aced97f01d5ab14c8a2a60f6748f18c501c3f5>
- patch: <https://git.kernel.org/stable/c/dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf>
- patch: <https://git.kernel.org/stable/c/f102342360950b56959e5fff4a874ea88ae13758>
- patch: <https://git.kernel.org/stable/c/d5c10448f411a925dd59005785cb971f0626e032>
- patch: <https://git.kernel.org/stable/c/38a05c0b87833f5b188ae43b428b1f792df2b384>
- other: <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>

## 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-2025-37901>

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