Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-37843— PCI: pciehp: Avoid unnecessary device replacement check

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于PCI: pciehp中不必要的设备替换检查。

AI Predicted 4.3 Difficulty: Moderate EPSS 0.21% · P11

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux 9d573d19547b3fae0c1d4e5fce52bdad3fda3664< e4a1d7defbc2d806540720a5adebe24ec3488683 affected
9d573d19547b3fae0c1d4e5fce52bdad3fda3664< 0d0bbd01f7c0ac7d1be9f85aaf2cd0baec34655f affected
9d573d19547b3fae0c1d4e5fce52bdad3fda3664< 7535d10a2c61baeff493300070cf04d9ddda216b affected
9d573d19547b3fae0c1d4e5fce52bdad3fda3664< e3260237aaadc9799107ccb940c6688195c4518d affected
6.11 affected
< 6.11 unaffected
6.12.24≤ 6.12.* unaffected
6.13.12≤ 6.13.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-37843

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PCI: pciehp: Avoid unnecessary device replacement check
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于PCI: pciehp中不必要的设备替换检查。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 9d573d19547b3fae0c1d4e5fce52bdad3fda3664 ~ e4a1d7defbc2d806540720a5adebe24ec3488683 -
Linux Linux 6.11 -

II. Public POCs for CVE-2025-37843

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-37843

请登录查看更多情报信息。

Same Patch Batch · Linux · 2025-05-09 · 52 CVEs total

CVE-2025-37879 9.8 CRITICAL 9p/net: fix improper handling of bogus negative read/write replies
CVE-2025-37885 8.8 HIGH KVM: x86: Reset IRTE to host control if *new* route isn't postable
CVE-2025-37849 8.8 HIGH KVM: arm64: Tear down vGIC on failed vCPU creation
CVE-2025-37869 7.8 HIGH drm/xe: Use local fence in error path of xe_migrate_clear
CVE-2025-37886 7.8 HIGH pds_core: make wait_context part of q_info
CVE-2025-37856 7.8 HIGH btrfs: harden block_group::bg_list against list_del() races
CVE-2025-37845 7.8 HIGH tracing: fprobe events: Fix possible UAF on modules
CVE-2025-37882 7.8 HIGH usb: xhci: Fix isochronous Ring Underrun/Overrun event handling
CVE-2025-37861 7.8 HIGH scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue
CVE-2025-37873 7.8 HIGH eth: bnxt: fix missing ring index trim on error path
CVE-2025-37854 7.8 HIGH drm/amdkfd: Fix mode1 reset crash issue
CVE-2025-37871 7.5 HIGH nfsd: decrease sc_count directly if fail to queue dl_recall
CVE-2025-37887 7.1 HIGH pds_core: handle unsupported PDS_CORE_CMD_FW_CONTROL result
CVE-2025-37876 7.0 HIGH netfs: Only create /proc/fs/netfs with CONFIG_PROC_FS
CVE-2025-37872 net: txgbe: fix memory leak in txgbe_probe() error path
CVE-2025-37888 net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table()
CVE-2025-37874 net: ngbe: fix memory leak in ngbe_probe() error path
CVE-2025-37878 perf/core: Fix WARN_ON(!ctx) in __free_event() for partial init
CVE-2025-37870 drm/amd/display: prevent hang on link training fail
CVE-2025-37868 drm/xe/userptr: fix notifier vs folio deadlock

Showing top 20 of 52 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-37843

No comments yet


Leave a comment