Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57B3825A334 for ; Wed, 12 Nov 2025 22:00:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762984859; cv=none; b=f7oGV7csNEAfaOoFYpf+HBkqD+aaihg/3vnu/LnI3qlqjylp979ZiPu/8dhLEpMNTZpmSVdJyvZQLmpawWR5gHp2SALKoFFzhN4zC20zAqQiF4BtxchVrdvz+H7K3gEoEH33mRBYNyna8K/5npt8gY171RQNqdCzb4cMtaFShdo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762984859; c=relaxed/simple; bh=Npztn8WyMiEMB5wuB5Kq2Pk/Tp1xEcZAzfF/MeVGZGI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Wo31bLmbt7LMPUUY1de6Ghbb96zVz3sclESk5bhDzNTI6ATjHBpujSdSYwn3BGY8/n00/ATfLpjAF9uwtZaBjVbAffH3DGE+6bJ/rNmElJH6+M9W8+Wie09vUp54/e2Nov5OlMh/4Nd+LKBahdn/A0AEhWnqyviP3uLZ/OSXHu0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XYQO0Iv0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="XYQO0Iv0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD98FC113D0; Wed, 12 Nov 2025 22:00:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1762984858; bh=Npztn8WyMiEMB5wuB5Kq2Pk/Tp1xEcZAzfF/MeVGZGI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=XYQO0Iv0hZh9fJKJmI8AKYokNxy1FX+Aq4ezHXFPedj/0Q5EunaNkdSx6Bs8eUqrg 7Te8p/Wd2TAiWOOmC3km5r6lgEmz4Mcw0xoVpc6wKb7mtYXkSGCGHFRVDayBtRjexu SBK2+FaNmlCo6AFCRzDEDtPDiiAyVIIi8eai1ax0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40188: pwm: berlin: Fix wrong register in suspend/resume Date: Wed, 12 Nov 2025 17:00:51 -0500 Message-ID: <2025111244-CVE-2025-40188-86c5@gregkh> X-Mailer: git-send-email 2.51.2 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3322; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=q6vWUiAp7RBoKi9lFTKcz/mKkqnckpDHizwMHF5LR9Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmizD3JjjqHY9ndk15bsrJKTD6560Jjfo7XuUXfZrdt+ s9kXLizI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbysIdhwdyTHdI/4ncXH9EV cZ2+f+9VkReeWQwL1h524u41FHzDybnP82194ufdvrEHAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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