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: <2025081912-CVE-2025-38576-d1a7@gregkh>
Date: Tue, 19 Aug 2025 19:18:22 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38576: powerpc/eeh: Make EEH driver device hotplug safe

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

Description
===========

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

powerpc/eeh: Make EEH driver device hotplug safe

Multiple race conditions existed between the PCIe hotplug driver and the
EEH driver, leading to a variety of kernel oopses of the same general
nature:

<pcie device unplug>
<eeh driver trigger>
<hotplug removal trigger>
<pcie tree reconfiguration>
<eeh recovery next step>
<oops in EEH driver bus iteration loop>

A second class of oops is also seen when the underlying bus disappears
during device recovery.

Refactor the EEH module to be PCI rescan and remove safe.  Also clean
up a few minor formatting / readability issues.

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


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

	Fixed in 6.1.148 with commit 59c6d3d81d42bf543c90597b4f38c53d6874c5a1
	Fixed in 6.6.102 with commit a426e8a6ae161f51888585b065db0f8f93ab2e16
	Fixed in 6.12.42 with commit d2c60a8a387e9fcc28447ef36c03f8e49fd052a6
	Fixed in 6.15.10 with commit d42bbd8f30ac38b1ce54715bf08ec3dac18d6b25
	Fixed in 6.16.1 with commit 19d5036e7ad766cf212aebec23b9f1d7924a62bc
	Fixed in 6.17-rc1 with commit 1010b4c012b0d78dfb9d3132b49aa2ef024a07a7

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-38576
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:
	arch/powerpc/kernel/eeh_driver.c
	arch/powerpc/kernel/eeh_pe.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/59c6d3d81d42bf543c90597b4f38c53d6874c5a1
	https://git.kernel.org/stable/c/a426e8a6ae161f51888585b065db0f8f93ab2e16
	https://git.kernel.org/stable/c/d2c60a8a387e9fcc28447ef36c03f8e49fd052a6
	https://git.kernel.org/stable/c/d42bbd8f30ac38b1ce54715bf08ec3dac18d6b25
	https://git.kernel.org/stable/c/19d5036e7ad766cf212aebec23b9f1d7924a62bc
	https://git.kernel.org/stable/c/1010b4c012b0d78dfb9d3132b49aa2ef024a07a7

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ