CVE-2025-40188
pwm: berlin: Fix wrong register in suspend/resume
Check your servers for CVE-2025-40188
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-40188 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
pwm: berlin: Fix wrong register in suspend/resume
The 'enable' register should be BERLIN_PWM_EN rather than BERLIN_PWM_ENABLE, otherwise, the driver accesses wrong address, there will be cpu exception then kernel panic during suspend/resume.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bbf0722c1c663b08f612bd8c58af27f45aa84862, before da3cadb8b0f35d845b3e2fbb7d978cf6473fd221 affected from bbf0722c1c663b08f612bd8c58af27f45aa84862, before 5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444 affected from bbf0722c1c663b08f612bd8c58af27f45aa84862, before 9ee5eb3d09217f115f63b7c102d110ccdb1b26af affected from bbf0722c1c663b08f612bd8c58af27f45aa84862, before fd017aabd4273216ed4223f17991fc087163771f affected from bbf0722c1c663b08f612bd8c58af27f45aa84862, before dc3a1c6237e7f8046e6d4109bcf1998452ccafad affected from bbf0722c1c663b08f612bd8c58af27f45aa84862, before d9457e6258750692c3b27f80880a613178053c25 affected from bbf0722c1c663b08f612bd8c58af27f45aa84862, before 6cef9e4425143b19742044c8a675335821fa1994 affected from bbf0722c1c663b08f612bd8c58af27f45aa84862, before 3a4b9d027e4061766f618292df91760ea64a1fcc
Other versions: unaffected
|
| Linux |
affected 4.9 unaffected before 4.9 unaffected from 5.4.301 up to and including 5.4.* unaffected from 5.10.246 up to and including 5.10.* unaffected from 5.15.195 up to and including 5.15.* unaffected from 6.1.157 up to and including 6.1.* unaffected from 6.6.113 up to and including 6.6.* unaffected from 6.12.54 up to and including 6.12.* unaffected from 6.17.4 up to and including 6.17.* unaffected 6.18 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-40188 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40188
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-40188
trivy image --scanners vuln IMAGE | grep CVE-2025-40188
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
- https://git.kernel.org/stable/c/da3cadb8b0f35d845b3e2fbb7d978cf6473fd221 git.kernel.org
- https://git.kernel.org/stable/c/5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444 git.kernel.org
- https://git.kernel.org/stable/c/9ee5eb3d09217f115f63b7c102d110ccdb1b26af git.kernel.org
- https://git.kernel.org/stable/c/fd017aabd4273216ed4223f17991fc087163771f git.kernel.org
- https://git.kernel.org/stable/c/dc3a1c6237e7f8046e6d4109bcf1998452ccafad git.kernel.org
- https://git.kernel.org/stable/c/d9457e6258750692c3b27f80880a613178053c25 git.kernel.org
- https://git.kernel.org/stable/c/6cef9e4425143b19742044c8a675335821fa1994 git.kernel.org
- https://git.kernel.org/stable/c/3a4b9d027e4061766f618292df91760ea64a1fcc git.kernel.org
Source: the record CVE-2025-40188 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.
Vulnpocalypse