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

Published May 20, 2025
·
Updated

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 GPIONOWAKEIRQ. 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 : mpmsettype+0x80/0xcc lr : mpmsettype+0x5c/0xcc Call trace: mpmsettype+0x80/0xcc (P) qcommpmsettype+0x64/0x158 irqchipsettypeparent+0x20/0x38 msmgpioirqsettype+0x50/0x530 irqsettrigger+0x60/0x184 setupirq+0x304/0x6bc requestthreadedirq+0xc8/0x19c edgedetectorsetup+0x260/0x364 linereqcreate+0x420/0x5a8 gpioioctl+0x2d4/0x6c0

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

Affected Software

10 affected components
Linux Kernel
Linux Linux kernel>=5.18<6.1.138
Linux Linux kernel>=6.2<6.6.90
Linux Linux kernel>=6.7<6.12.28
Linux Linux kernel>=6.13<6.14.6
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Debian Debian Linux=11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In irqchip/qcom-mpm, update irq-qcom-mpm (mpm_set_type/irq handling path) to include the missing GPIO_NO_WAKE_IRQ check (copy the behavior from qcom-pdc.c). This prevents applying the IRQ domain hierarchy to GPIOs that are not wakeup capable and avoids crashes like 'Unable to handle kernel paging request' when handling non-wake GPIOs.

    Linux kernel irqchip/qcom-mpm (irq-qcom-mpm) MPM IRQ domain hierarchy handling for non-wake GPIOs (GPIO_NO_WAKE_IRQ) = Add a check to copy the GPIO_NO_WAKE_IRQ guard logic from qcom-pdc.c so the hierarchy is explicitly disconnected for those non-wake GPIOs

Event History

May 20, 2025
CVE Published
via MITRE·03:21 PM
Data Sourced
via MITRE·03:21 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-37901?

CVE-2025-37901 is of medium severity, as it addresses potential system crashes in the Linux kernel when handling non-wake GPIOs.

2

How do I fix CVE-2025-37901?

To fix CVE-2025-37901, update your Qualcomm Linux kernel to the latest version that includes the patch for this vulnerability.

3

Which systems are affected by CVE-2025-37901?

CVE-2025-37901 affects Qualcomm Linux kernels, particularly those running on Snapdragon chipsets.

4

What type of vulnerability is CVE-2025-37901?

CVE-2025-37901 is a vulnerability in the Linux kernel related to the improper handling of non-wake GPIOs.

5

Can CVE-2025-37901 cause data loss?

While CVE-2025-37901 primarily risks system stability, there is a potential for data loss if the system crashes during critical operations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203