CVE-2025-37972

MEDIUM

Linux kernel - Null Pointer Dereference

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0009
EPSS Percentile 25.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (19)
debian/debian_linux 11.0
linux/Kernel 6.0.0 - 6.1.139linux
linux/Kernel 6.13.0 - 6.14.7linux
linux/Kernel 6.2.0 - 6.6.91linux
linux/Kernel 6.7.0 - 6.12.29linux
Linux/Linux < 6.0
Linux/Linux 6.0
Linux/Linux 6.1.139 - 6.1.*
Linux/Linux 6.12.29 - 6.12.*
Linux/Linux 6.14.7 - 6.14.*
... and 9 more
Published May 20, 2025
Tracked Since Feb 18, 2026