CVE-2025-40188

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-40188
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40188.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40188
Downstream
Published
2025-11-12T21:56:30.108Z
Modified
2025-11-27T02:33:22.562511Z
Summary
pwm: berlin: Fix wrong register in suspend/resume
Details

In the Linux kernel, the following vulnerability has been resolved:

pwm: berlin: Fix wrong register in suspend/resume

The 'enable' register should be BERLINPWMEN rather than BERLINPWMENABLE, otherwise, the driver accesses wrong address, there will be cpu exception then kernel panic during suspend/resume.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2025/40xxx/CVE-2025-40188.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbf0722c1c663b08f612bd8c58af27f45aa84862
Fixed
da3cadb8b0f35d845b3e2fbb7d978cf6473fd221
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbf0722c1c663b08f612bd8c58af27f45aa84862
Fixed
5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbf0722c1c663b08f612bd8c58af27f45aa84862
Fixed
9ee5eb3d09217f115f63b7c102d110ccdb1b26af
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbf0722c1c663b08f612bd8c58af27f45aa84862
Fixed
fd017aabd4273216ed4223f17991fc087163771f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbf0722c1c663b08f612bd8c58af27f45aa84862
Fixed
dc3a1c6237e7f8046e6d4109bcf1998452ccafad
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbf0722c1c663b08f612bd8c58af27f45aa84862
Fixed
d9457e6258750692c3b27f80880a613178053c25
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbf0722c1c663b08f612bd8c58af27f45aa84862
Fixed
6cef9e4425143b19742044c8a675335821fa1994
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbf0722c1c663b08f612bd8c58af27f45aa84862
Fixed
3a4b9d027e4061766f618292df91760ea64a1fcc

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.9.0
Fixed
5.4.301
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.246
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.195
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.157
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.113
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.54
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.4