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

Not scored Published Updated

A bug in the Berlin PWM driver causes a kernel panic during suspend/resume, leading to a local denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-40188?

CVE-2025-40188 is a denial of service vulnerability in Linux, published on 12 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2025-40188?

How do I fix CVE-2025-40188?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-40188 being exploited?

There is no known exploitation of CVE-2025-40188 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2025-40188, DEBIAN-CVE-2025-40188, GHSA-rmrr-hcc6-xrj4, ROOT-OS-DEBIAN-11-CVE-2025-40188, ROOT-OS-DEBIAN-13-CVE-2025-40188, ROOT-OS-UBUNTU-2404-CVE-2025-40188 and 1 more.

Is CVE-2025-40188 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free