Description
In the Linux kernel, the following vulnerability has been resolved: s390/pci: Fix use-after-free race in zpci floating interrupt cleanup zpci_clear_irq() stops the adapter from raising new interrupts for the function, but a zpci_floating_irq_handler() already running on another CPU can still be scanning zdev->aibv when zpci_msi_teardown_floating() releases it. Clear the zpci_ibv[] entry so no further handler picks the vector up, then wait for a grace period before releasing it. The handler runs inside the rcu_read_lock() section that do_airq_interrupt() holds across airq->handler(), so synchronize_rcu() drains any handler still in flight. Release the vector and free the summary bit only after the grace period, so neither can be reused while a reader still holds the old pointer. zpci_ibv served both delivery modes, indexed by function under FLOATING and by cpu under DIRECTED. Only the floating vectors are published to and torn down under the interrupt handler, so split the directed vectors out into zpci_dibv and annotate zpci_ibv __rcu, which lets sparse check the accessors above.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f770950a4709af290f314e691897ec0003fbd8ae to < da15d34d6cb9cdca309c59d1ae0f155da31ed2c2affectedf770950a4709af290f314e691897ec0003fbd8ae to < 422d75ad5bc96b8eb9cb3cfd9d68fc685a0a9b75affected
Linux Linux
Default version status: affected
6.19affected0 to < 6.19unaffected7.3.2 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected