CVE-2025-37972

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.
CVSS

No CVSS.

Configurations

No configuration.

History

03 Nov 2025, 20:18

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html -

21 May 2025, 20:24

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-20 17:15

Updated : 2025-11-03 20:18


NVD link : CVE-2025-37972

Mitre link : CVE-2025-37972

CVE.ORG link : CVE-2025-37972


JSON object : View

Products Affected

No product.

CWE

No CWE.