CVE-2025-37972: Input: mtk-pmic-keys - fix possible null pointer dereference

Published May 20, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Input: mtk-pmic-keys - fix possible null pointer dereference

In mtkpmickeysprobe, 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.

Affected Software

13 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=6.0<6.1.139
Linux Linux kernel>=6.2<6.6.91
Linux Linux kernel>=6.7<6.12.29
Linux Linux kernel>=6.13<6.14.7
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5
Debian Debian Linux=11.0
Microsoft azl3 kernel 6.6.85.1-4
Microsoft azl3 kernel 6.6.92.2-1

Event History

May 20, 2025
CVE Published
via MITRE·04:47 PM
Data Sourced
via MITRE·04:47 PM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 11, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-37972?

The severity of CVE-2025-37972 has been classified as medium due to its potential for a null pointer dereference in the Linux kernel.

2

How do I fix CVE-2025-37972?

To fix CVE-2025-37972, ensure you update the Linux kernel to the latest version that includes the patch for this vulnerability.

3

What systems are affected by CVE-2025-37972?

CVE-2025-37972 affects systems running vulnerable versions of the Linux kernel that utilize the mtk-pmic-keys device driver.

4

What are the potential impacts of CVE-2025-37972?

The potential impacts of CVE-2025-37972 include system crashes and unexpected behavior due to the null pointer dereference.

5

Is CVE-2025-37972 related to specific hardware?

Yes, CVE-2025-37972 is related to specific hardware configurations where button input is not adequately handled in the device tree.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203