Linux kernel PCI device admission failure in s390 MSI setup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
s390/pci: Fix resource leak in zpci MSI setup
If airq_iv_create() fails in __alloc_airq(), the zpci_sbv bit allocated by airq_iv_alloc_bit() is never freed. This permanently leaks one of the ZPCI_NR_DEVICES summary bits, reducing system capacity with each failed device hotplug. In systems with repeated device insertion failures or under memory pressure, all summary bits can be exhausted, preventing new PCI devices from being added until reboot.
Add proper error handling to free the zpci_sbv bit and reset zdev->aisb if the AIBV creation fails.
From the CVE record · Linux
The Linux kernel’s s390/pci MSI setup leaks a summary bit if AIBV creation fails during device hotplug. Repeated insertion failures or memory pressure can exhaust these bits, preventing new PCI devices from being added until reboot. The input does not describe an attacker, authentication requirement, or user interaction.
Engineers running Linux kernel systems that use s390 PCI device hotplug should check their kernel versions; affected versions were not provided.