{"id":"CVE-2025-37972","aliases":["CVE-2025-37972"],"related":[],"kind":"vulnerability","state":"published","title":"Input: mtk-pmic-keys - fix possible null pointer dereference","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: mtk-pmic-keys - fix possible null pointer dereference\n\nIn mtk_pmic_keys_probe, the regs parameter is only set if the button is\nparsed in the device tree. However, on hardware where the button is left\nfloating, that node will most likely be removed not to enable that\ninput. In that case the code will try to dereference a null pointer.\n\nLet's use the regs struct instead as it is defined for all supported\nplatforms. Note that it is ok setting the key reg even if that latter is\ndisabled as the interrupt won't be enabled anyway.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: mtk-pmic-keys - fix possible null pointer dereference\n\nIn mtk_pmic_keys_probe, the regs parameter is only set if the button is\nparsed in the device tree. However, on hardware where the button is left\nfloating, that node will most likely be removed not to enable that\ninput. In that case the code will try to dereference a null pointer.\n\nLet's use the regs struct instead as it is defined for all supported\nplatforms. Note that it is ok setting the key reg even if that latter is\ndisabled as the interrupt won't be enabled anyway.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Entrada: mtk-pmic-keys - corrección de posible desreferencia de puntero nulo. En mtk_pmic_keys_probe, el parámetro regs solo se establece si el botón se analiza en el árbol de dispositivos. Sin embargo, en hardware donde el botón se deja flotante, es muy probable que se elimine ese nodo para no habilitar esa entrada. En ese caso, el código intentará desreferenciar un puntero nulo. En su lugar, usemos la estructura regs, tal como está definida para todas las plataformas compatibles. Tenga en cuenta que es posible establecer el registro de clave incluso si este último está deshabilitado, ya que la interrupción no se habilitará de todos modos.","source":"nvd"}],"published":"2025-05-20T16:47:18.481Z","modified":"2026-11-10T13:17:45.270Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"b581acb49aec5c3b0af9ab1c537fb73481b79069","fixed":"334d74a798463ceec02a41eb0e2354aaac0d6249","status":"affected"},{"type":"git","introduced":"b581acb49aec5c3b0af9ab1c537fb73481b79069","fixed":"90fa6015ff83ef1c373cc61b7c924ab2bcbe1801","status":"affected"},{"type":"git","introduced":"b581acb49aec5c3b0af9ab1c537fb73481b79069","fixed":"619c05fb176c272ac6cecf723446b39723ee6d97","status":"affected"},{"type":"git","introduced":"b581acb49aec5c3b0af9ab1c537fb73481b79069","fixed":"09429ddb5a91e9e8f72cd18c012ec4171c2f85ec","status":"affected"},{"type":"git","introduced":"b581acb49aec5c3b0af9ab1c537fb73481b79069","fixed":"11cdb506d0fbf5ac05bf55f5afcb3a215c316490","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.139","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.91","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.29","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.7","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0","fixed":"6.1.139"},{"status":"affected","introduced":"6.2","fixed":"6.6.91"},{"status":"affected","introduced":"6.7","fixed":"6.12.29"},{"status":"affected","introduced":"6.13","fixed":"6.14.7"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/334d74a798463ceec02a41eb0e2354aaac0d6249","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90fa6015ff83ef1c373cc61b7c924ab2bcbe1801","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/619c05fb176c272ac6cecf723446b39723ee6d97","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09429ddb5a91e9e8f72cd18c012ec4171c2f85ec","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11cdb506d0fbf5ac05bf55f5afcb3a215c316490","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37972","url":"https://www.cve.org/CVERecord?id=CVE-2025-37972","licence":"CVE Terms of Use","modified":"2026-11-10T12:36:09.880Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37972","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37972","licence":"Public domain","modified":"2026-11-10T13:17:45.270Z"}],"updatedAt":"2026-11-25T22:58:58.315Z","epss":{"score":0.00192,"percentile":0.09295,"date":"2026-12-01T12:00:22.000Z"}}