vfio: Interrupt eventfd hardening
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 12 repliesIn review
- v17 patches 18 repliesSuperseded
Changes in v2 from the cover letter
* Add R-b from Kevin & Reinette (thanks!)
* Remove unused hwirqs in 5/ and avoid unnecessary hwirq lookup in cleanup and init unwind in 6/
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | vfio/pci: Disable auto-enable of exclusive INTx IRQdrivers/ | +10 | 2 replies | |
| 2/7 | vfio/pci: Lock external INTx masking opsdrivers/ | +28 | 1 reply | |
| 3/7 | vfio: Introduce interface to flush virqfd inject workqueuedrivers/ include/ | +23 | 1 reply | |
| 4/7 | vfio/pci: Create persistent INTx handlerdrivers/ | +78 | 1 reply | |
| 5/7 | vfio/platform: Disable virqfds on cleanupdrivers/ | +4 | 2 replies | |
| 6/7 | vfio/platform: Create persistent IRQ handlersdrivers/ | +68 | 3 replies | |
| 7/7 | vfio/fsl-mc: Block calling interrupt handler without triggerdrivers/ | +4 | 2 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Kevin Tian | Reinette Chatre | Eric Auger |
|---|---|---|---|
| 1/7 | R-b | ||
| 2/7 | R-b | R-b | R-b |
| 3/7 | R-b | R-b | R-b |
| 4/7 | R-b | R-b | R-b |
| 5/7 | R-b | R-b | |
| 6/7 | R-b | R-b T-b | |
| 7/7 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/7] vfio: Interrupt eventfd hardening
This series hardens interrupt code relative to eventfd registration across several vfio bus drivers, ensuring that NULL eventfds cannot be triggered by users. Several other more minor issues were discovered and fixed along the way.
Thanks to Reinette for identifying this latent vulnerability. Thanks,
Alex
v2:
* Add R-b from Kevin & Reinette (thanks!)
* Remove unused hwirqs in 5/ and avoid unnecessary hwirq lookup in cleanup and init unwind in 6/
Alex Williamson (7):
vfio/pci: Disable auto-enable of exclusive INTx IRQ vfio/pci: Lock external INTx masking ops
vfio: Introduce interface to flush virqfd inject workqueue vfio/pci: Create persistent INTx handler vfio/platform: Disable virqfds on cleanup vfio/platform: Create persistent IRQ handlers vfio/fsl-mc: Block calling interrupt handler without trigger
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c | 7 +- drivers/vfio/pci/vfio_pci_intrs.c | 176 +++++++++++++--------- drivers/vfio/platform/vfio_platform_irq.c | 105 +++++++++---- drivers/vfio/virqfd.c | 21 +++ include/linux/vfio.h | 2 + 5 files changed, 205 insertions(+), 106 deletions(-)
Signature · 1 line
2.44.0