CVE-2025-37972CWE-476

CVE-2025-37972

Medium · published May 20, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
8.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00191 · 8.3th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2025-05-20T21:15Z
Affected products (10)
ProductVersionsFixed in
linux/linux_kernel≥ 6.0, < 6.1.1396.1.139
linux/linux_kernel≥ 6.2, < 6.6.916.6.91
linux/linux_kernel≥ 6.7, < 6.12.296.12.29
linux/linux_kernel≥ 6.13, < 6.14.76.14.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (8)
EPSS history
Timeline
  • 20 MAY 16:47Z
    Input: mtk-pmic-keys - fix possible null pointer dereference
    cvelistv5