CVE-2025-37972

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

No CVSS score yet EPSS 0.19%

Published 20 May 2025 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2025-37972

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37972 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.30% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b581acb49aec5c3b0af9ab1c537fb73481b79069, before 334d74a798463ceec02a41eb0e2354aaac0d6249
affected from b581acb49aec5c3b0af9ab1c537fb73481b79069, before 90fa6015ff83ef1c373cc61b7c924ab2bcbe1801
affected from b581acb49aec5c3b0af9ab1c537fb73481b79069, before 619c05fb176c272ac6cecf723446b39723ee6d97
affected from b581acb49aec5c3b0af9ab1c537fb73481b79069, before 09429ddb5a91e9e8f72cd18c012ec4171c2f85ec
affected from b581acb49aec5c3b0af9ab1c537fb73481b79069, before 11cdb506d0fbf5ac05bf55f5afcb3a215c316490
Other versions: unaffected
Linux
affected 6.0
unaffected before 6.0
unaffected from 6.1.139 up to and including 6.1.*
unaffected from 6.6.91 up to and including 6.6.*
unaffected from 6.12.29 up to and including 6.12.*
unaffected from 6.14.7 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37972 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37972

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-37972
trivy image --scanners vuln IMAGE | grep CVE-2025-37972

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-37972 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.