Searched hist:"38 bfc6dee33bedb290e1ea2540f97a86fe3caee0" (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/ixl/ |
H A D | if_ixl.c | diff 38bfc6dee33bedb290e1ea2540f97a86fe3caee0 Mon Feb 01 17:13:00 CET 2021 Sai Rajesh Tallamraju <stallamr@netapp.com> iflib: Free resources in a consistent order during detach
Memory and PCI resources are freed with no particular order. This could cause use-after-frees when detaching following a failed attach. For instance, iflib_tx_structures_free() frees ctx->ifc_txqs[] but iflib_tqg_detach() attempts to access this array. Similarly, adapter queues gets freed by IFDI_QUEUES_FREE() but IFDI_DETACH() attempts to access adapter queues to free PCI resources.
MFC after: 2 weeks Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D27634
|
/freebsd/sys/net/ |
H A D | iflib.c | diff 38bfc6dee33bedb290e1ea2540f97a86fe3caee0 Mon Feb 01 17:13:00 CET 2021 Sai Rajesh Tallamraju <stallamr@netapp.com> iflib: Free resources in a consistent order during detach
Memory and PCI resources are freed with no particular order. This could cause use-after-frees when detaching following a failed attach. For instance, iflib_tx_structures_free() frees ctx->ifc_txqs[] but iflib_tqg_detach() attempts to access this array. Similarly, adapter queues gets freed by IFDI_QUEUES_FREE() but IFDI_DETACH() attempts to access adapter queues to free PCI resources.
MFC after: 2 weeks Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D27634
|
/freebsd/sys/dev/e1000/ |
H A D | if_em.c | diff 38bfc6dee33bedb290e1ea2540f97a86fe3caee0 Mon Feb 01 17:13:00 CET 2021 Sai Rajesh Tallamraju <stallamr@netapp.com> iflib: Free resources in a consistent order during detach
Memory and PCI resources are freed with no particular order. This could cause use-after-frees when detaching following a failed attach. For instance, iflib_tx_structures_free() frees ctx->ifc_txqs[] but iflib_tqg_detach() attempts to access this array. Similarly, adapter queues gets freed by IFDI_QUEUES_FREE() but IFDI_DETACH() attempts to access adapter queues to free PCI resources.
MFC after: 2 weeks Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D27634
|