Linux kernel heap corruption in s390 PCI MSI teardown
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 MSI directed-mode teardown IRQ bit count
On s390 with directed interrupts enabled, zpci_msi_teardown_directed() frees the platform's maximum number of MSI bits (zdev->max_msi) instead of the actual allocated count (zdev->msi_nr_irqs). This corrupts the shared IRQ bitmap used by all PCI functions, causing lost interrupts and heap corruption. Fix zpci_msi_teardown_directed() to only free the actual allocated IRQ bit count.
From the CVE record · Linux
On s390 systems with directed interrupts enabled, PCI MSI teardown frees more IRQ bits than were allocated. This can corrupt the shared IRQ bitmap, causing lost interrupts and heap corruption. The input does not specify an attacker path, authentication requirements, or user interaction.
Operators running the Linux kernel on s390 systems with directed interrupts enabled should check their affected kernel versions; none are specified in the input.