CVE-2026-99500: s390/pci: Fix resource leak in zpci MSI setup
In the Linux kernel, the following vulnerability has been resolved:
s390/pci: Fix resource leak in zpci MSI setup
If airqivcreate() fails in allocairq(), the zpcisbv bit allocated by airqivallocbit() is never freed. This permanently leaks one of the ZPCINRDEVICES 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 zpcisbv bit and reset zdev->aisb if the AIBV creation fails.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In __alloc_airq(), if airq_iv_create() fails, free the zpci_sbv bit allocated by airq_iv_alloc_bit() and reset zdev->aisb.