CVE-2025-37972 Details
Description
In the Linux kernel, the following vulnerability has been resolved: Input: mtk-pmic-keys - fix possible null pointer dereference In mtk_pmic_keys_probe, the regs parameter is only set if the button is parsed in the device tree. However, on hardware where the button is left floating, that node will most likely be removed not to enable that input. In that case the code will try to dereference a null pointer. Let's use the regs struct instead as it is defined for all supported platforms. Note that it is ok setting the key reg even if that latter is disabled as the interrupt won't be enabled anyway.
A null pointer dereference vulnerability has been identified in the Linux kernel's mtk-pmic-keys input handling. The issue arises in the mtk_pmic_keys_probe function, where the 'regs' parameter is only assigned if the button is recognized in the device tree. On hardware with floating buttons, that node is likely removed, leading to a null pointer dereference. The vulnerability can be addressed by using the 'regs' structure, which is defined for all supported platforms, ensuring that the key register is set even if the button is disabled, as the interrupt will not be activated.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-019113.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-457936.html | siemens-SADP | |
| https://git.kernel.org/stable/c/09429ddb5a91e9e8f72cd18c012ec4171c2f85ec | kernel.org | Patch |
| https://git.kernel.org/stable/c/11cdb506d0fbf5ac05bf55f5afcb3a215c316490 | kernel.org | Patch |
| https://git.kernel.org/stable/c/334d74a798463ceec02a41eb0e2354aaac0d6249 | kernel.org | Patch |
| https://git.kernel.org/stable/c/619c05fb176c272ac6cecf723446b39723ee6d97 | kernel.org | Patch |
| https://git.kernel.org/stable/c/90fa6015ff83ef1c373cc61b7c924ab2bcbe1801 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.0, < 6.1.139 >= 6.2, < 6.6.91 >= 6.7, < 6.12.29 >= 6.13, < 6.14.7 6.15 rc1 6.15 rc2 6.15 rc3 6.15 rc4 6.15 rc5 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Modified | siemens-SADP |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Oct 15, 2026 | CVE Modified | CVE |
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 16, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| May 20, 2025 | New CVE Received | kernel.org |