linux/drivers/net/ethernet
Kery Qi f93fc5d12d net: octeon_ep_vf: fix free_irq dev_id mismatch in IRQ rollback
octep_vf_request_irqs() requests MSI-X queue IRQs with dev_id set to
ioq_vector. If request_irq() fails part-way, the rollback loop calls
free_irq() with dev_id set to 'oct', which does not match the original
dev_id and may leave the irqaction registered.

This can keep IRQ handlers alive while ioq_vector is later freed during
unwind/teardown, leading to a use-after-free or crash when an interrupt
fires.

Fix the error path to free IRQs with the same ioq_vector dev_id used
during request_irq().

Fixes: 1cd3b40797 ("octeon_ep_vf: add Tx/Rx processing and interrupt support")
Signed-off-by: Kery Qi <qikeyu2017@gmail.com>
Link: https://patch.msgid.link/20260108164256.1749-2-qikeyu2017@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-01-12 09:04:52 -08:00
..
3com net: 3com: 3c59x: fix possible null dereference in vortex_probe1() 2026-01-08 08:36:56 -08:00
8390
actions
adaptec
adi
aeroflex
agere
airoha net: airoha: Fix schedule while atomic in airoha_ppe_deinit() 2026-01-08 11:23:20 +01:00
alacritech
allwinner
alteon
altera net: altera-tse: Init PCS and phylink before registering netdev 2025-11-04 18:15:15 -08:00
amazon net/ena: fix missing lock when update devlink params 2026-01-04 10:42:11 -08:00
amd amd-xgbe: reset retries and mode on RX adapt failures 2025-12-23 10:35:15 +01:00
apm
apple
aquantia Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-27 12:19:08 -08:00
arc
asix
atheros
broadcom bnxt_en: Fix NULL pointer crash in bnxt_ptp_enable during error cleanup 2026-01-08 08:44:41 -08:00
brocade
cadence net: macb: Relocate mog_init_rings() callback from macb_mac_link_up() to macb_open() 2025-12-30 11:27:45 +01:00
calxeda
cavium net: thunder: convert to use .get_rx_ring_count 2025-11-27 18:09:53 -08:00
chelsio pci-v6.19-changes 2025-12-04 17:29:41 -08:00
cirrus
cisco
cortina
davicom
dec
dlink net: dlink: fix several spelling mistakes in comments 2025-12-01 11:58:55 -08:00
emulex be2net: pass wrb_params in case of OS2BMC 2025-11-20 07:39:54 -08:00
engleder tsnep: convert to ndo_hwtstatmp API 2025-10-20 17:30:26 -07:00
ezchip
faraday
freescale net: enetc: fix build warning when PAGE_SIZE is greater than 128K 2026-01-08 08:51:09 -08:00
fujitsu
fungible funeth: convert to ndo_hwtstamp API 2025-10-20 17:30:26 -07:00
google gve: defer interrupt enabling until NAPI registration 2025-12-29 19:09:49 +01:00
hisilicon Including fixes from netfilter and CAN. 2025-12-19 07:55:35 +12:00
huawei hinic3: fix misleading error message in hinic3_open_channel() 2025-11-03 16:38:31 -08:00
i825xx
ibm
intel idpf: fix aux device unplugging when rdma is not supported by vport 2026-01-06 15:42:10 -08:00
litex
marvell net: octeon_ep_vf: fix free_irq dev_id mismatch in IRQ rollback 2026-01-12 09:04:52 -08:00
mediatek net: mtk: wed: add dma mask limitation and GFP_DMA32 for device with more than 4GB DRAM 2025-10-12 18:14:55 +01:00
mellanox net/mlx5e: Restore destroying state bit after profile cleanup 2026-01-10 15:21:11 -08:00
meta pci-v6.19-changes 2025-12-04 17:29:41 -08:00
micrel
microchip pci-v6.19-changes 2025-12-04 17:29:41 -08:00
microsoft net: mana: Fix use-after-free in reset service rescan path 2025-12-28 10:34:00 +01:00
moxa
mscc net: mscc: ocelot: Fix crash when adding interface under a lag 2026-01-04 09:47:05 -08:00
mucse net: rnpgbe: Add register_netdev 2025-11-04 18:11:37 -08:00
myricom treewide: Drop pci_save_state() after pci_restore_state() 2025-11-24 16:58:59 -06:00
natsemi net: natsemi: fix `rx_dropped` double accounting on `netif_rx()` failure 2025-09-15 19:06:25 -07:00
neterion treewide: Drop pci_save_state() after pci_restore_state() 2025-11-24 16:58:59 -06:00
netronome devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
ni
nvidia
nxp
oki-semi net: pch_gbe: convert to use ndo_hwtstamp callbacks 2025-11-04 17:43:52 -08:00
packetengines
pasemi
pensando Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-06 09:27:40 -08:00
qlogic devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
qualcomm
rdc
realtek r8169: fix RTL8117 Wake-on-Lan in DASH mode 2025-12-04 17:54:07 -08:00
renesas net: ravb: Correct bad check of timestamp control flags 2025-11-10 16:26:31 -08:00
rocker
samsung net: sxgbe: fix potential NULL dereference in sxgbe_rx() 2025-11-25 19:08:53 -08:00
seeq
sfc sfc: fix potential memory leak in efx_mae_process_mport() 2025-10-27 17:55:41 -07:00
sgi
silan
sis
smsc smc91x: fix broken irq-context in PREEMPT_RT 2025-12-23 15:28:34 +01:00
socionext
spacemit Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-06 09:27:40 -08:00
stmicro net: stmmac: fix the crash issue for zero copy XDP_TX action 2025-12-29 17:35:36 +01:00
sun
sunplus
synopsys
tehuti
ti net: ti: icssg-prueth: add PTP_1588_CLOCK_OPTIONAL dependency 2025-12-10 00:49:56 -08:00
toshiba net: ps3_gelic_net: Use napi_alloc_skb() and napi_gro_receive() 2025-12-01 16:54:53 -08:00
tundra
vertexcom
via
wangxun net: wangxun: move PHYLINK dependency 2025-12-23 12:46:11 +01:00
wiznet net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
xilinx net: xilinx: axienet: Fix kernel-doc warnings for missing return descriptions 2025-09-22 16:37:36 -07:00
xircom
xscale
Kconfig net: rnpgbe: Add build support for rnpgbe 2025-11-04 18:11:36 -08:00
Makefile net: rnpgbe: Add build support for rnpgbe 2025-11-04 18:11:36 -08:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c eth: fealnx: fix typo in comments 2025-10-14 19:18:45 -07:00
jme.c
jme.h
korina.c
lantiq_etop.c
lantiq_xrx200.c
oa_tc6.c