Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-37843

MEDIUM 5.5EPSS 6%

PCI: pciehp: Avoid unnecessary device replacement check

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < e4a1d7defbc2d806540720a5adebe24ec3488683; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < 0d0bbd01f7c0ac7d1be9f85aaf2cd0baec34655f; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < 7535d10a2c61baeff493300070cf04d9ddda216b; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < e3260237aaadc9799107ccb940c6688195c4518d
  • Anyone running Linux 6.11

Vulnerability facts

Affected
Linux >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < e4a1d7defbc2d806540720a5adebe24ec3488683; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < 0d0bbd01f7c0ac7d1be9f85aaf2cd0baec34655f; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < 7535d10a2c61baeff493300070cf04d9ddda216b; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < e3260237aaadc9799107ccb940c6688195c4518d; Linux 6.11
Fixed in
Linux 0d0bbd01f7c0ac7d1be9f85aaf2cd0baec34655f, Linux 7535d10a2c61baeff493300070cf04d9ddda216b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
CWE
CWE-667
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: PCI: pciehp: Avoid unnecessary device replacement check Hot-removal of nested PCI hotplug ports suffers from a long-standing race condition which can lead to a deadlock: A parent hotplug port acquires pci_lock_rescan_remove(), then waits for pciehp to unbind from a child hotplug port. Meanwhile that child hotplug port tries to acquire pci_lock_rescan_remove() as well in order to remove its own children. The deadlock only occurs if the parent acquires pci_lock_rescan_remove() first, not if the child happens to acquire it first. Several workarounds to avoid the issue have been proposed and discarded over the years, e.g.: https://lore.kernel.org/r/4c882e25194ba8282b78fe963fec8faae7cf23eb.1529173804.git.lukas@wunner.de/ A proper fix is being worked on, but needs more time as it is nontrivial and necessarily intrusive. Recent commit 9d573d19547b ("PCI: pciehp: Detect device replacement during system sleep") provokes more frequent occurrence of the deadlock when removing more than one Thunderbolt device during system sleep. The commit sought to detect device replacement, but also triggered on device removal. Differentiating reliably between replacement and removal is impossible because pci_get_dsn() returns 0 both if the device was removed, as well as if it was replaced with one lacking a Device Serial Number. Avoid the more frequent occurrence of the deadlock by checking whether the hotplug port itself was hot-removed. If so, there's no sense in checking whether its child device was replaced. This works because the ->resume_noirq() callback is invoked in top-down order for the entire hierarchy: A parent hotplug port detecting device replacement (or removal) marks all children as removed using pci_dev_set_disconnected() and a child hotplug port can then reliably detect being removed.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < e4a1d7defbc2d806540720a5adebe24ec3488683; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < 0d0bbd01f7c0ac7d1be9f85aaf2cd0baec34655f; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < 7535d10a2c61baeff493300070cf04d9ddda216b; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < e3260237aaadc9799107ccb940c6688195c4518d—cvelist
Linux6.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2025-37843.md
Affected: Linux >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < e4a1d7defbc2d806540720a5adebe24ec3488683; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < 0d0bbd01f7c0ac7d1be9f85aaf2cd0baec34655f; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < 7535d10a2c61baeff493300070cf04d9ddda216b; >= 9d573d19547b3fae0c1d4e5…
Fixed in: Linux 0d0bbd01f7c0ac7d1be9f85aaf2cd0baec34655f, Linux 7535d10a2c61baeff493300070cf04d9ddda216b

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.

References

FAQ

Is CVE-2025-37843 being exploited?

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

How serious is CVE-2025-37843?

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

Which versions are affected by CVE-2025-37843?

Linux >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < e4a1d7defbc2d806540720a5adebe24ec3488683; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < 0d0bbd01f7c0ac7d1be9f85aaf2cd0baec34655f; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < 7535d10a2c61baeff493300070cf04d9ddda216b; >= 9d573d19547b3fae0c1d4e5fce52bdad3fda3664, < e3260237aaadc9799107ccb940c6688195c4518d; Linux 6.11.

Is there a fix for CVE-2025-37843?

Yes. Fixed in Linux 0d0bbd01f7c0ac7d1be9f85aaf2cd0baec34655f, Linux 7535d10a2c61baeff493300070cf04d9ddda216b. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors