VYPR
Unrated severityNVD Advisory· Published Nov 12, 2025· Updated Apr 15, 2026

CVE-2025-40188

CVE-2025-40188

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Berlin PWM driver uses wrong register in suspend/resume, causing kernel panic.

Root

Cause

In the Linux kernel's Berlin PWM driver, the suspend and resume callbacks reference the constant BERLIN_PWM_ENABLE instead of the correct BERLIN_PWM_EN. This is a plain coding error — the wrong register offset is used when saving and restoring the PWM enable state during system power transitions [1].

Exploitation

An attacker does not need to actively exploit this bug; it is triggered automatically whenever the system enters a suspend/resume cycle on hardware that uses the Berlin PWM controller. No special privileges or network access are required — the flaw resides in kernel driver code that executes during normal power management events.

Impact

Because the driver accesses an invalid memory address (the value at offset BERLIN_PWM_ENABLE is not a valid PWM register), the kernel triggers a CPU exception, which leads to a system panic [1]. This results in a denial of service: the machine crashes (or hangs) during suspend or resume, potentially losing unsaved data and forcing a hard reset.

Mitigation

Patches have been merged into the Linux kernel stable tree; referencing the proposed fix, commit fd017aabd427, corrects the register name [1][2][3][4]. Administrators should apply the latest kernel updates for their distribution to eliminate the panic.

AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Linux/Kernelinferred2 versions
    (expand)+ 1 more
    • (no CPE)
    • (no CPE)

Patches

8

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

8

News mentions

0

No linked articles in our index yet.