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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-05-20T15:21:36.062Z
- Modified: 2026-08-05T11:58:11.172Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from a6199bb514d8a63f61c2a22c1f912376e14d0fb2 before 45aced97f01d5ab14c8a2a60f6748f18c501c3f5; from a6199bb514d8a63f61c2a22c1f912376e14d0fb2 before dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf; from a6199bb514d8a63f61c2a22c1f912376e14d0fb2 before f102342360950b56959e5fff4a874ea88ae13758; from a6199bb514d8a63f61c2a22c1f912376e14d0fb2 before d5c10448f411a925dd59005785cb971f0626e032; from a6199bb514d8a63f61c2a22c1f912376e14d0fb2 before 38a05c0b87833f5b188ae43b428b1f792df2b384; 5.18 (not affected: before 5.18; from 6.1.138 up to 6.1.*; from 6.6.90 up to 6.6.*; from 6.12.28 up to 6.12.*; from 6.14.6 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.18 before 6.1.138; from 6.2 before 6.6.90; from 6.7 before 6.12.28; from 6.13 before 6.14.6; 6.15
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html> (mailing-list)

## Sources

- CVE List: [CVE-2025-37901](https://www.cve.org/CVERecord?id=CVE-2025-37901), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-37901](https://nvd.nist.gov/vuln/detail/CVE-2025-37901), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-37901 · Whole record: https://cve.day/CVE-2025-37901.json · Rebuilt by cve.day 2026-11-25T22:58:58.277Z
