linux/drivers/net/wireless
Thomas Fourier 262db48ef0 wifi: rtlwifi: fix possible skb memory leak in _rtl_pci_init_one_rxdesc()
[ Upstream commit 76b3e5078d ]

When `dma_mapping_error()` is true, if a new `skb` has been allocated,
then it must be de-allocated.

Compile tested only

Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250613074014.69856-2-fourier.thomas@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-08-20 18:30:38 +02:00
..
admtek wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
ath wifi: ath12k: Decrement TID on RX peer frag setup error handling 2025-08-20 18:30:36 +02:00
atmel wifi: at76c50x: fix use after free access in at76_disconnect 2025-04-25 10:47:37 +02:00
broadcom wifi: brcmfmac: fix P2P discovery failure in P2P peer due to missing P2P IE 2025-08-15 12:13:45 +02:00
intel wifi: iwlegacy: Check rate_idx range after addition 2025-08-20 18:30:36 +02:00
intersil wifi: p54: prevent buffer-overflow in p54_rx_eeprom_readback() 2025-06-27 11:11:14 +01:00
marvell mwl8k: Add missing check after DMA map 2025-08-15 12:13:44 +02:00
mediatek wifi: mt76: mt7915: mcu: re-init MCU before loading FW patch 2025-08-20 18:30:34 +02:00
microchip wifi: wilc1000: Set MAC after operation mode 2024-12-05 14:01:45 +01:00
purelifi wifi: plfxlc: Fix error handling in usb driver probe 2025-08-15 12:13:45 +02:00
quantenna wifi: cfg80211: handle DFS per link 2024-09-06 13:01:05 +02:00
ralink wifi: rt2x00: fix remove callback type mismatch 2025-07-17 18:37:17 +02:00
realtek wifi: rtlwifi: fix possible skb memory leak in _rtl_pci_init_one_rxdesc() 2025-08-20 18:30:38 +02:00
rsi wifi: rsi: Remove an unused field in struct rsi_debugfs 2024-09-09 15:30:49 +03:00
silabs wifi: wfx: Fix error handling in wfx_core_init() 2024-12-05 14:01:51 +01:00
st wifi: cw1200: Fix potential NULL dereference 2024-12-05 14:01:51 +01:00
ti wifi: wl1251: fix memory leak in wl1251_tx_work 2025-04-25 10:47:37 +02:00
virtual wifi: mac80211_hwsim: Prevent tsf from setting if beacon is disabled 2025-06-27 11:11:33 +01:00
zydas wifi: zd1211rw: Fix potential NULL pointer dereference in zd_mac_tx_to_dev() 2025-07-17 18:37:16 +02:00
Kconfig wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00
Makefile wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00