# CVE-2025-40188: pwm: berlin: Fix wrong register in suspend/resume

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-11-12T21:56:30.108Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< da3cadb8b0f35d845b3e2fbb7d978cf6473fd221; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 9ee5eb3d09217f115f63b7c102d110ccdb1b26af; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< fd017aabd4273216ed4223f17991fc087163771f; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< dc3a1c6237e7f8046e6d4109bcf1998452ccafad; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< d9457e6258750692c3b27f80880a613178053c25; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 6cef9e4425143b19742044c8a675335821fa1994; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 3a4b9d027e4061766f618292df91760ea64a1fcc
- Anyone running Linux 4.9

## 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.

## Affected and fixed versions

- Linux: \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< da3cadb8b0f35d845b3e2fbb7d978cf6473fd221; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 9ee5eb3d09217f115f63b7c102d110ccdb1b26af; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< fd017aabd4273216ed4223f17991fc087163771f; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< dc3a1c6237e7f8046e6d4109bcf1998452ccafad; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< d9457e6258750692c3b27f80880a613178053c25; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 6cef9e4425143b19742044c8a675335821fa1994; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 3a4b9d027e4061766f618292df91760ea64a1fcc (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 3a4b9d027e4061766f618292df91760ea64a1fcc or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40188. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40188.md
Affected: Linux >= bbf0722c1c663b08f612bd8c58af27f45aa84862, < da3cadb8b0f35d845b3e2fbb7d978cf6473fd221; >= bbf0722c1c663b08f612bd8c58af27f45aa84862, < 5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444; >= bbf0722c1c663b08f612bd8c58af27f45aa84862, < 9ee5eb3d09217f115f63b7c102d110ccdb1b26af; >= bbf0722c1c663b08f612bd8…
Fixed in: Linux 5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444, Linux 9ee5eb3d09217f115f63b7c102d110ccdb1b26af, Linux 6cef9e4425143b19742044c8a675335821fa1994, Linux 3a4b9d027e4061766f618292df91760ea64a1fcc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40188 being exploited?

There is no confirmed exploitation: CVE-2025-40188 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40188?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40188?

Linux \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< da3cadb8b0f35d845b3e2fbb7d978cf6473fd221; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 9ee5eb3d09217f115f63b7c102d110ccdb1b26af; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< fd017aabd4273216ed4223f17991fc087163771f; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< dc3a1c6237e7f8046e6d4109bcf1998452ccafad; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< d9457e6258750692c3b27f80880a613178053c25; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 6cef9e4425143b19742044c8a675335821fa1994; \>= bbf0722c1c663b08f612bd8c58af27f45aa84862, \< 3a4b9d027e4061766f618292df91760ea64a1fcc; Linux 4.9.

### Is there a fix for CVE-2025-40188?

Yes. Fixed in Linux 5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444, Linux 9ee5eb3d09217f115f63b7c102d110ccdb1b26af, Linux 6cef9e4425143b19742044c8a675335821fa1994, Linux 3a4b9d027e4061766f618292df91760ea64a1fcc. Upgrade Linux to 3a4b9d027e4061766f618292df91760ea64a1fcc or later.

### How do I check if I'm affected by CVE-2025-40188?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/da3cadb8b0f35d845b3e2fbb7d978cf6473fd221>
- other: <https://git.kernel.org/stable/c/5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444>
- other: <https://git.kernel.org/stable/c/9ee5eb3d09217f115f63b7c102d110ccdb1b26af>
- other: <https://git.kernel.org/stable/c/fd017aabd4273216ed4223f17991fc087163771f>
- other: <https://git.kernel.org/stable/c/dc3a1c6237e7f8046e6d4109bcf1998452ccafad>
- other: <https://git.kernel.org/stable/c/d9457e6258750692c3b27f80880a613178053c25>
- other: <https://git.kernel.org/stable/c/6cef9e4425143b19742044c8a675335821fa1994>
- other: <https://git.kernel.org/stable/c/3a4b9d027e4061766f618292df91760ea64a1fcc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40188>

HTML: <https://flawdb.com/CVE-2025-40188> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40188>
