Files
freebsd/share
Kevin Bowling 31285bddf2 ixgbe: quarantine repeatedly faulting legacy VFs
A guest can reinitialize after a VF function-level reset and
repeatedly strand an 82599 or X540 PF with invalid descriptor DMA
targets. Count only distinct Received Master Abort events accepted by
the qualified transmit-stall detector and quarantine the VF after five
events.

Preserve quarantine across PF reinitialization, reject reset mailbox
requests, and keep transmit, receive, and clear-to-send disabled.
Recreating SR-IOV clears quarantine. Expose the affected pools through
a read-only bitmap.

After a successful quarantine FLR, leave the function in post-FLR
configuration, explicitly keep decode and bus mastering disabled,
verify the Command register, and refresh its PCI-layer cache so a later
restore cannot re-enable the function.

This addresses CVE-2021-33061 on 82599. Apply the same bounded-failure
policy to X540 as defense in depth; the CVE does not list X540. Intel
documents the 82599 issue in:
http://iommu.com/datasheets/ethernet/controllers-nics/intel/ixgbe/Intel_82599_Application_Note_655276.pdf

MFC after:	2 weeks
Security:	CVE-2021-33061
2026-08-07 06:46:36 -07:00
..
2026-03-09 15:40:31 -04:00
…
2026-08-03 18:08:07 +00:00
2025-12-06 12:20:17 +00:00
2025-12-06 12:20:18 +00:00
2026-04-14 09:02:58 -04:00
…
2026-01-31 19:27:37 -05:00
2026-04-17 06:45:32 -03:00
…