# CVE-2025-38623: PCI: pnv\_php: Fix surprise plug detection and recovery

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **Published:** 2025-08-22T16:00:32.046Z
- **Modified:** 2026-11-05T22:17:21.060Z

## Who should check

- Anyone running Linux \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 6e7b5f922901585b8f11e0d6cda12bda5c59fc8a; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 2ec8ec57bb8ebde3e2a015eff80e5d66e6634fe3; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 473999ba937eac9776be791deed7c84a21d7880b; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 6e7b24c71e530a6c1d656e73d8a30ee081656844; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 48c6935a34981bb56f35be0774ec1f30c6e386f8; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 1d2f63680c5719a5da92639e981c6c9a87fcee08; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 78d20b8c13075eae3d884c21db7a09a6bbdda5b2; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< a2a2a6fc2469524caa713036297c542746d148dc
- Anyone running Linux 4.9

## Description

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

PCI: pnv\_php: Fix surprise plug detection and recovery

The existing PowerNV hotplug code did not handle surprise plug events
correctly, leading to a complete failure of the hotplug system after device
removal and a required reboot to detect new devices.

This comes down to two issues:

 1) When a device is surprise removed, often the bridge upstream
    port will cause a PE freeze on the PHB.  If this freeze is not
    cleared, the MSI interrupts from the bridge hotplug notification
    logic will not be received by the kernel, stalling all plug events
    on all slots associated with the PE.

 2) When a device is removed from a slot, regardless of surprise or
    programmatic removal, the associated PHB/PE ls left frozen.
    If this freeze is not cleared via a fundamental reset, skiboot
    is unable to clear the freeze and cannot retrain / rescan the
    slot.  This also requires a reboot to clear the freeze and redetect
    the device in the slot.

Issue the appropriate unfreeze and rescan commands on hotplug events,
and don't oops on hotplug if pci\_bus\_to\_OF\_node() returns NULL.

\[bhelgaas: tidy comments\]

## Affected and fixed versions

- Linux: \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 6e7b5f922901585b8f11e0d6cda12bda5c59fc8a; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 2ec8ec57bb8ebde3e2a015eff80e5d66e6634fe3; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 473999ba937eac9776be791deed7c84a21d7880b; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 6e7b24c71e530a6c1d656e73d8a30ee081656844; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 48c6935a34981bb56f35be0774ec1f30c6e386f8; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 1d2f63680c5719a5da92639e981c6c9a87fcee08; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 78d20b8c13075eae3d884c21db7a09a6bbdda5b2; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< a2a2a6fc2469524caa713036297c542746d148dc (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38623. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38623.md
Affected: Linux >= 360aebd85a4c946764f6301d68de2a817fad5159, < 6e7b5f922901585b8f11e0d6cda12bda5c59fc8a; >= 360aebd85a4c946764f6301d68de2a817fad5159, < 2ec8ec57bb8ebde3e2a015eff80e5d66e6634fe3; >= 360aebd85a4c946764f6301d68de2a817fad5159, < 473999ba937eac9776be791deed7c84a21d7880b; >= 360aebd85a4c946764f6301…
Fixed in: Linux 6e7b5f922901585b8f11e0d6cda12bda5c59fc8a, Linux 2ec8ec57bb8ebde3e2a015eff80e5d66e6634fe3, Linux 473999ba937eac9776be791deed7c84a21d7880b, Linux 6e7b24c71e530a6c1d656e73d8a30ee081656844, Linux 48c6935a34981bb56f35be0774ec1f30c6e386f8, Linux 1d2f63680c5719a5da92639e981c6c9a87fcee08, Linux 78d20…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38623 being exploited?

There is no confirmed exploitation: CVE-2025-38623 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38623?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38623?

Linux \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 6e7b5f922901585b8f11e0d6cda12bda5c59fc8a; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 2ec8ec57bb8ebde3e2a015eff80e5d66e6634fe3; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 473999ba937eac9776be791deed7c84a21d7880b; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 6e7b24c71e530a6c1d656e73d8a30ee081656844; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 48c6935a34981bb56f35be0774ec1f30c6e386f8; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 1d2f63680c5719a5da92639e981c6c9a87fcee08; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< 78d20b8c13075eae3d884c21db7a09a6bbdda5b2; \>= 360aebd85a4c946764f6301d68de2a817fad5159, \< a2a2a6fc2469524caa713036297c542746d148dc; Linux 4.9.

### Is there a fix for CVE-2025-38623?

Yes. Fixed in Linux 6e7b5f922901585b8f11e0d6cda12bda5c59fc8a, Linux 2ec8ec57bb8ebde3e2a015eff80e5d66e6634fe3, Linux 473999ba937eac9776be791deed7c84a21d7880b, Linux 6e7b24c71e530a6c1d656e73d8a30ee081656844, Linux 48c6935a34981bb56f35be0774ec1f30c6e386f8, Linux 1d2f63680c5719a5da92639e981c6c9a87fcee08, Linux 78d20b8c13075eae3d884c21db7a09a6bbdda5b2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38623?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6e7b5f922901585b8f11e0d6cda12bda5c59fc8a>
- patch: <https://git.kernel.org/stable/c/2ec8ec57bb8ebde3e2a015eff80e5d66e6634fe3>
- patch: <https://git.kernel.org/stable/c/473999ba937eac9776be791deed7c84a21d7880b>
- patch: <https://git.kernel.org/stable/c/6e7b24c71e530a6c1d656e73d8a30ee081656844>
- patch: <https://git.kernel.org/stable/c/48c6935a34981bb56f35be0774ec1f30c6e386f8>
- patch: <https://git.kernel.org/stable/c/1d2f63680c5719a5da92639e981c6c9a87fcee08>
- patch: <https://git.kernel.org/stable/c/78d20b8c13075eae3d884c21db7a09a6bbdda5b2>
- patch: <https://git.kernel.org/stable/c/a2a2a6fc2469524caa713036297c542746d148dc>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38623>

HTML: <https://flawdb.com/CVE-2025-38623> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38623>
