lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025111244-CVE-2025-40188-86c5@gregkh>
Date: Wed, 12 Nov 2025 17:00:51 -0500
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40188: pwm: berlin: Fix wrong register in suspend/resume

From: Greg Kroah-Hartman <gregkh@...nel.org>

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.

The Linux kernel CVE team has assigned CVE-2025-40188 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.9 with commit bbf0722c1c663b08f612bd8c58af27f45aa84862 and fixed in 5.4.301 with commit da3cadb8b0f35d845b3e2fbb7d978cf6473fd221
	Issue introduced in 4.9 with commit bbf0722c1c663b08f612bd8c58af27f45aa84862 and fixed in 5.10.246 with commit 5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444
	Issue introduced in 4.9 with commit bbf0722c1c663b08f612bd8c58af27f45aa84862 and fixed in 5.15.195 with commit 9ee5eb3d09217f115f63b7c102d110ccdb1b26af
	Issue introduced in 4.9 with commit bbf0722c1c663b08f612bd8c58af27f45aa84862 and fixed in 6.1.157 with commit fd017aabd4273216ed4223f17991fc087163771f
	Issue introduced in 4.9 with commit bbf0722c1c663b08f612bd8c58af27f45aa84862 and fixed in 6.6.113 with commit dc3a1c6237e7f8046e6d4109bcf1998452ccafad
	Issue introduced in 4.9 with commit bbf0722c1c663b08f612bd8c58af27f45aa84862 and fixed in 6.12.54 with commit d9457e6258750692c3b27f80880a613178053c25
	Issue introduced in 4.9 with commit bbf0722c1c663b08f612bd8c58af27f45aa84862 and fixed in 6.17.4 with commit 6cef9e4425143b19742044c8a675335821fa1994
	Issue introduced in 4.9 with commit bbf0722c1c663b08f612bd8c58af27f45aa84862 and fixed in 6.18-rc1 with commit 3a4b9d027e4061766f618292df91760ea64a1fcc

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-40188
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/pwm/pwm-berlin.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/da3cadb8b0f35d845b3e2fbb7d978cf6473fd221
	https://git.kernel.org/stable/c/5419c86ea134b8a5b8126f55fa5bc1ad7b3ca444
	https://git.kernel.org/stable/c/9ee5eb3d09217f115f63b7c102d110ccdb1b26af
	https://git.kernel.org/stable/c/fd017aabd4273216ed4223f17991fc087163771f
	https://git.kernel.org/stable/c/dc3a1c6237e7f8046e6d4109bcf1998452ccafad
	https://git.kernel.org/stable/c/d9457e6258750692c3b27f80880a613178053c25
	https://git.kernel.org/stable/c/6cef9e4425143b19742044c8a675335821fa1994
	https://git.kernel.org/stable/c/3a4b9d027e4061766f618292df91760ea64a1fcc

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ