In the Linux kernel, the following vulnerability has been resolved:
PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store()
The sysfs sriov_numvfs_store() path acquires the device lock before the config space access lock:
sriov_numvfs_store device_lock # A (1) acquire device lock sriov_configure vfio_pci_sriov_configure # (for example) vfio_pci_core_sriov_configure pci_disable_sriov sriov_disable pci_cfg_access_lock pci_wait_cfg # B (4) wait for dev->block_cfg_access == 0
Previously, pci_dev_lock() acquired the config space access lock before the device lock:
pci_dev_lock pci_cfg_access_lock dev->block_cfg_access = 1 # B (2) set dev->block_cfg_access = 1 device_lock # A (3) wait for device lock
Any path that uses pci_dev_lock(), e.g., pci_reset_function(), may deadlock with sriov_numvfs_store() if the operations occur in the sequence (1) (2) (3) (4).
Avoid the deadlock by reversing the order in pci_dev_lock() so it acquires the device lock before the config space access lock, the same as the sriov_numvfs_store() path.
[bhelgaas: combined and adapted commit log from Jay Zhou's independent subsequent posting: https://lore.kernel.org/r/[email protected]]
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade perf-debuginfoUpgrade python-perf-debuginfoUpgrade python-perfUpgrade kernelUpgrade kernel-headersUpgrade kernel-livepatch-5.15.50-23.125Upgrade kernel-debuginfo-common-x86_64Upgrade perfUpgrade kernel-tools-develUpgrade kernel-livepatch-5.10.126-117.518Upgrade bpftoolUpgrade kernel-debuginfoUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-develUpgrade kernel-toolsUpgrade bpftool-debuginfoUpgrade kernel-livepatch-4.14.285-215.501Upgrade kernel-tools-debuginfo | May 21, 2025 | Feb 26, 2025 |
| Debian | — | Upgrade linux | Feb 27, 2025 | Feb 27, 2025 |
| Huawei Euleros 2_0_sp12 | — | Upgrade kernel-toolsUpgrade kernel-tools-libsUpgrade kernel-abi-stablelistsUpgrade kernelUpgrade bpftoolUpgrade python3-perf | Jun 11, 2025 | Feb 26, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade kernelUpgrade python3-perfUpgrade kernel-abi-stablelistsUpgrade kernel-toolsUpgrade bpftoolUpgrade kernel-tools-libs | Jun 11, 2025 | Feb 26, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade linux-ibm-5.4Upgrade linux-azure-fipsUpgrade linux-awsUpgrade linux-aws-5.4Upgrade linuxUpgrade linux-gcpUpgrade linux-raspi-5.4Upgrade linux-gcp-5.4Upgrade linux-gkeUpgrade linux-oracle-5.4Upgrade linux-aws-5.15Upgrade linux-lowlatency-hwe-5.15Upgrade linux-oracle-5.15Upgrade linux-aws-hweUpgrade linux-bluefieldUpgrade linux-azure-5.4Upgrade linux-gkeopUpgrade linux-realtimeUpgrade linux-gcp-5.15Upgrade linux-aws-fipsUpgrade linux-azure-5.15Upgrade linux-iotUpgrade linux-kvmUpgrade linux-hweUpgrade linux-raspiUpgrade linux-lowlatencyUpgrade linux-intel-iotg-5.15Upgrade linux-hwe-5.15Upgrade linux-azure-4.15Upgrade linux-nvidiaUpgrade linux-ibmUpgrade linux-gcp-4.15Upgrade linux-hwe-5.4Upgrade linux-gcp-fipsUpgrade linux-oracleUpgrade linux-intel-iotgUpgrade linux-azure-fde-5.15Upgrade linux-fipsUpgrade linux-riscv-5.15Upgrade linux-azure | Mar 3, 2025 | Feb 26, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Feb 26, 2025 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub