{
  "id": "CVE-2025-37901",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37901",
  "published_at": "2025-05-20T15:21:36.062Z",
  "title": "irqchip/qcom-mpm: Prevent crash when trying to handle non-wake GPIOs",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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. 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.",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \u003c 45aced97f01d5ab14c8a2a60f6748f18c501c3f5",
          "\u003e= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \u003c dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf",
          "\u003e= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \u003c f102342360950b56959e5fff4a874ea88ae13758",
          "\u003e= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \u003c d5c10448f411a925dd59005785cb971f0626e032",
          "\u003e= a6199bb514d8a63f61c2a22c1f912376e14d0fb2, \u003c 38a05c0b87833f5b188ae43b428b1f792df2b384"
        ],
        "fixed_in": [
          "45aced97f01d5ab14c8a2a60f6748f18c501c3f5",
          "dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf",
          "f102342360950b56959e5fff4a874ea88ae13758",
          "d5c10448f411a925dd59005785cb971f0626e032",
          "38a05c0b87833f5b188ae43b428b1f792df2b384"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.18"
        ],
        "fixed_in": [
          "0",
          "6.1.138",
          "6.6.90",
          "6.12.28",
          "6.14.6",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 45aced97f01d5ab14c8a2a60f6748f18c501c3f5 or dfbaecf7e38f5e9bfa5e47a1e525ffbb58bab8cf or f102342360950b56959e5fff4a874ea88ae13758 or d5c10448f411a925dd59005785cb971f0626e032 or 38a05c0b87833f5b188ae43b428b1f792df2b384 or later.",
      "Upgrade Linux to 0 or 6.1.138 or 6.6.90 or 6.12.28 or 6.14.6 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
