linux/drivers/net/ethernet/intel
Larysa Zaremba 4648fb2f2e idpf: fix aux device unplugging when rdma is not supported by vport
If vport flags do not contain VIRTCHNL2_VPORT_ENABLE_RDMA, driver does not
allocate vdev_info for this vport. This leads to kernel NULL pointer
dereference in idpf_idc_vport_dev_down(), which references vdev_info for
every vport regardless.

Check, if vdev_info was ever allocated before unplugging aux device.

Fixes: be91128c57 ("idpf: implement RDMA vport auxiliary dev create, init, and destroy")
Reviewed-by: Madhu Chittim <madhu.chittim@intel.com>
Signed-off-by: Larysa Zaremba <larysa.zaremba@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2026-01-06 15:42:10 -08:00
..
e1000 e1000: fix OOB in e1000_tbi_should_accept() 2025-12-17 10:38:12 -08:00
e1000e pci-v6.19-changes 2025-12-04 17:29:41 -08:00
fm10k pci-v6.19-changes 2025-12-04 17:29:41 -08:00
i40e Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 2025-12-27 17:10:42 +01:00
iavf iavf: fix off-by-one issues in iavf_config_rss_reg() 2025-12-17 09:36:02 -08:00
ice pci-v6.19-changes 2025-12-04 17:29:41 -08:00
idpf idpf: fix aux device unplugging when rdma is not supported by vport 2026-01-06 15:42:10 -08:00
igb pci-v6.19-changes 2025-12-04 17:29:41 -08:00
igbvf igbvf: fix misplaced newline in VLAN add warning message 2025-10-29 13:55:22 -07:00
igc pci-v6.19-changes 2025-12-04 17:29:41 -08:00
ixgbe pci-v6.19-changes 2025-12-04 17:29:41 -08:00
ixgbevf ixgbevf: ixgbevf_q_vector clean up 2025-11-27 18:34:21 -08:00
libeth
libie Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-25 11:00:59 -07:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-06 09:27:40 -08:00
Makefile libie: fix linking with libie_{adminq,fwlog} when CONFIG_LIBIE=n 2025-09-16 16:18:45 -07:00
e100.c