1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/intel/idpf
Eric Dumazet 115c0f4d58 idpf: fix potential use-after-free in idpf_tso()
skb_cow_head() can change skb->head (and thus skb_shinfo(skb))

We must not cache skb_shinfo(skb) before skb_cow_head().

Fixes: 6818c4d5b3 ("idpf: add splitq start_xmit")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Joshua Hay <joshua.a.hay@intel.com>
Cc: Alan Brady <alan.brady@intel.com>
Cc: Madhu Chittim <madhu.chittim@intel.com>
Cc: Phani Burra <phani.r.burra@intel.com>
Cc: Sridhar Samudrala <sridhar.samudrala@intel.com>
Cc: Willem de Bruijn <willemb@google.com>
Cc: Pavan Kumar Linga <pavan.kumar.linga@intel.com>
Cc: Tony Nguyen <anthony.l.nguyen@intel.com>
Cc: Bailey Forrest <bcf@google.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20231103200451.514047-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-11-06 17:24:37 -08:00
..
idpf.h idpf: add SRIOV support and other ndo_ops 2023-09-13 14:59:24 -07:00
idpf_controlq.c idpf: add controlq init and reset checks 2023-09-13 14:59:23 -07:00
idpf_controlq.h idpf: add controlq init and reset checks 2023-09-13 14:59:23 -07:00
idpf_controlq_api.h idpf: add controlq init and reset checks 2023-09-13 14:59:23 -07:00
idpf_controlq_setup.c idpf: add controlq init and reset checks 2023-09-13 14:59:23 -07:00
idpf_dev.c idpf: initialize interrupts and enable vport 2023-09-13 14:59:24 -07:00
idpf_devids.h idpf: add module register and probe functionality 2023-09-13 14:59:23 -07:00
idpf_ethtool.c idpf: add ethtool callbacks 2023-09-13 14:59:24 -07:00
idpf_lan_pf_regs.h idpf: initialize interrupts and enable vport 2023-09-13 14:59:24 -07:00
idpf_lan_txrx.h idpf: add singleq start_xmit and napi poll 2023-09-13 14:59:24 -07:00
idpf_lan_vf_regs.h idpf: initialize interrupts and enable vport 2023-09-13 14:59:24 -07:00
idpf_lib.c idpf: add SRIOV support and other ndo_ops 2023-09-13 14:59:24 -07:00
idpf_main.c idpf: add SRIOV support and other ndo_ops 2023-09-13 14:59:24 -07:00
idpf_mem.h idpf: add controlq init and reset checks 2023-09-13 14:59:23 -07:00
idpf_singleq_txrx.c idpf: add singleq start_xmit and napi poll 2023-09-13 14:59:24 -07:00
idpf_txrx.c idpf: fix potential use-after-free in idpf_tso() 2023-11-06 17:24:37 -08:00
idpf_txrx.h idpf: add SRIOV support and other ndo_ops 2023-09-13 14:59:24 -07:00
idpf_vf_dev.c idpf: initialize interrupts and enable vport 2023-09-13 14:59:24 -07:00
idpf_virtchnl.c idpf: cancel mailbox work in error path 2023-10-23 15:55:31 -07:00
Makefile idpf: add ethtool callbacks 2023-09-13 14:59:24 -07:00
virtchnl2.h
virtchnl2_lan_desc.h