{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-37901","id":"CVE-2025-37901","title":"irqchip/qcom-mpm: Prevent crash when trying to handle non-wake GPIOs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nirqchip/qcom-mpm: Prevent crash when trying to handle non-wake GPIOs\n\nOn Qualcomm chipsets not all GPIOs are wakeup capable. Those GPIOs do not\nhave a corresponding MPM pin and should not be handled inside the MPM\ndriver. The IRQ domain hierarchy is always applied, so it's required to\nexplicitly disconnect the hierarchy for those","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nirqchip/qcom-mpm: Prevent crash when trying to handle non-wake GPIOs\n\nOn Qualcomm chipsets not all GPIOs are wakeup capable. Those GPIOs do not\nhave a corresponding MPM pin and should not be handled inside the MPM\ndriver. The IRQ domain hierarchy is always applied, so it's required to\nexplicitly disconnect the hierarchy for those. The pinctrl-msm driver marks\nthese with GPIO_NO_WAKE_IRQ. qcom-pdc has a check for this, but\nirq-qcom-mpm is currently missing the check. This is causing crashes when\nsetting up interrupts for non-wake GPIOs:\n\n root@rb1:~# gpiomon -c gpiochip1 10\n   irq: IRQ159: trimming hierarchy from :soc@0:interrupt-controller@f200000-1\n   Unable to handle kernel paging request at virtual address ffff8000a1dc3820\n   Hardware name: Qualcomm Technologies, Inc. Robotics RB1 (DT)\n   pc : mpm_set_type+0x80/0xcc\n   lr : mpm_set_type+0x5c/0xcc\n   Call trace:\n    mpm_set_type+0x80/0xcc (P)\n    qcom_mpm_set_type+0x64/0x158\n    irq_chip_set_type_parent+0x20/0x38\n    msm_gpio_irq_set_type+0x50/0x530\n    __irq_set_trigger+0x60/0x184\n    __setup_irq+0x304/0x6bc\n    request_threaded_irq+0xc8/0x19c\n    edge_detector_setup+0x260/0x364\n    linereq_create+0x420/0x5a8\n    gpio_ioctl+0x2d4/0x6c0\n\nFix this by copying the check for GPIO_NO_WAKE_IRQ from qcom-pdc.c, so that\nMPM is removed entirely from the hierarchy for non-wake GPIOs.","published":"2025-05-20T15:21:36.062Z","updated":"2026-10-28T02:30:27.581712295Z","reserved":"2025-04-16T04:51:23.965Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a6199bb514d8a63f61c2a22c1f912376e14d0fb2","lessThan":"45aced97f01d5ab14c8a2a60f6748f18c501c3f5","status":"affected","versionType":"git"},{"version":"a6199bb514d8a63f61c2a22c1f912376e14d0fb2","lessThan":"dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf","status":"affected","versionType":"git"},{"version":"a6199bb514d8a63f61c2a22c1f912376e14d0fb2","lessThan":"f102342360950b56959e5fff4a874ea88ae13758","status":"affected","versionType":"git"},{"version":"a6199bb514d8a63f61c2a22c1f912376e14d0fb2","lessThan":"d5c10448f411a925dd59005785cb971f0626e032","status":"affected","versionType":"git"},{"version":"a6199bb514d8a63f61c2a22c1f912376e14d0fb2","lessThan":"38a05c0b87833f5b188ae43b428b1f792df2b384","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"6.1.138","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.90","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.28","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.14.6","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/45aced97f01d5ab14c8a2a60f6748f18c501c3f5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f102342360950b56959e5fff4a874ea88ae13758","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d5c10448f411a925dd59005785cb971f0626e032","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/38a05c0b87833f5b188ae43b428b1f792df2b384","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html","tags":["Mailing List","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37901.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37901","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00214,"epssPercentile":0.11838,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-37901","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37901","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-37901","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-37901","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}