linux/drivers/net/wireless/realtek/rtw88
Abdun Nihaal 9f29480107 wifi: rtw88: Fix potential memory leak in rtw_txq_push_skb()
The skb passed to the rtw_hci_tx_write() is expected to be freed when
the function fails, but the error path in rtw_txq_push_skb() does not
free the skb before returning. This can lead to a memory leak in
rtw_txq_push() where a dequeued skb is passed to rtw_txq_push_skb().

Fixes: aaab5d0e67 ("rtw88: kick off TX packets once for higher efficiency")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260727064223.61836-1-nihaal@cse.iitm.ac.in
2026-07-30 13:37:50 +08:00
..
bf.c wifi: rtw88: Enable receiving control frames in monitor mode 2026-07-03 10:48:41 +08:00
bf.h wifi: rtw88: 8822c: use fixed rate and bandwidth to reply CSI packets 2025-11-04 09:58:30 +08:00
coex.c wifi: rtw88: coex: Ignore BT info byte 5 from RTL8821A 2026-03-30 10:39:31 +08:00
coex.h
debug.c
debug.h
efuse.c
efuse.h
fw.c wifi: rtw88: Add NULL check for chip->edcca_th in rtw_fw_adaptivity_result() 2026-04-29 11:04:29 +08:00
fw.h
hci.h wifi: rtw88: usb: Upload the firmware in bigger chunks 2025-05-16 08:34:51 +08:00
Kconfig
led.c wifi: rtw88: Use led->brightness_set_blocking for PCI too 2025-08-26 09:24:20 +08:00
led.h
mac.c wifi: rtw88: enable TX reports for the management queue 2025-07-15 10:04:09 +08:00
mac.h wifi: rtw88: enable TX reports for the management queue 2025-07-15 10:04:09 +08:00
mac80211.c wifi: rtw88: Enable receiving control frames in monitor mode 2026-07-03 10:48:41 +08:00
main.c wifi: rtw88: Fill fw_version member of struct wiphy 2026-04-02 10:37:49 +08:00
main.h wifi: rtw88: Enable receiving control frames in monitor mode 2026-07-03 10:48:41 +08:00
Makefile
pci.c wifi: rtw88: disable ASPM and deep PS on ASUS TUF Gaming A15 FA506II 2026-07-24 11:38:52 +08:00
pci.h wifi: rtw88: pci: add PCI Express error handling 2025-06-10 09:22:44 +08:00
phy.c wifi: rtw88: Increase the RX gain before scanning 2025-12-26 12:33:19 +08:00
phy.h wifi: rtw88: Increase the RX gain before scanning 2025-12-26 12:33:19 +08:00
ps.c
ps.h
reg.h
regd.c
regd.h
rtw88xxa.c wifi: rtw88: Enable receiving control frames in monitor mode 2026-07-03 10:48:41 +08:00
rtw88xxa.h
rtw8703b_tables.c
rtw8703b_tables.h
rtw8703b.c wifi: rtw88: coex: Solve LE-HID lag & update coex version to 26020420 2026-03-03 10:21:01 +08:00
rtw8703b.h
rtw8723cs.c wifi: rtw88: sdio: Migrate to use sdio specific shutdown function 2026-01-27 13:42:20 +01:00
rtw8723d_table.c
rtw8723d_table.h
rtw8723d.c wifi: rtw88: coex: Solve LE-HID lag & update coex version to 26020420 2026-03-03 10:21:01 +08:00
rtw8723d.h
rtw8723de.c wifi: rtw88: pci: add PCI Express error handling 2025-06-10 09:22:44 +08:00
rtw8723ds.c wifi: rtw88: sdio: Migrate to use sdio specific shutdown function 2026-01-27 13:42:20 +01:00
rtw8723du.c
rtw8723x.c wifi: rtw88: Enable receiving control frames in monitor mode 2026-07-03 10:48:41 +08:00
rtw8723x.h wifi: rtw88: enable TX reports for the management queue 2025-07-15 10:04:09 +08:00
rtw8812a_table.c
rtw8812a_table.h
rtw8812a.c wifi: rtw88: enable TX reports for the management queue 2025-07-15 10:04:09 +08:00
rtw8812a.h
rtw8812au.c
rtw8814a_table.c
rtw8814a_table.h
rtw8814a.c wifi: rtw88: Enable receiving control frames in monitor mode 2026-07-03 10:48:41 +08:00
rtw8814a.h
rtw8814ae.c
rtw8814au.c
rtw8821a_table.c
rtw8821a_table.h
rtw8821a.c wifi: rtw88: coex: Solve LE-HID lag & update coex version to 26020420 2026-03-03 10:21:01 +08:00
rtw8821a.h
rtw8821au.c
rtw8821c_table.c
rtw8821c_table.h
rtw8821c.c wifi: rtw88: Enable receiving control frames in monitor mode 2026-07-03 10:48:41 +08:00
rtw8821c.h wifi: rtw88: Enable receiving control frames in monitor mode 2026-07-03 10:48:41 +08:00
rtw8821ce.c wifi: rtw88: pci: add PCI Express error handling 2025-06-10 09:22:44 +08:00
rtw8821cs.c wifi: rtw88: sdio: Migrate to use sdio specific shutdown function 2026-01-27 13:42:20 +01:00
rtw8821cu.c wifi: rtw88: rtw8821cu: Add ID for Mercusys MU6H 2025-12-23 11:38:05 +08:00
rtw8822b_table.c
rtw8822b_table.h
rtw8822b.c wifi: rtw88: Enable receiving control frames in monitor mode 2026-07-03 10:48:41 +08:00
rtw8822b.h
rtw8822be.c wifi: rtw88: pci: add PCI Express error handling 2025-06-10 09:22:44 +08:00
rtw8822bs.c wifi: rtw88: sdio: Migrate to use sdio specific shutdown function 2026-01-27 13:42:20 +01:00
rtw8822bu.c wifi: rtw88: Add BUFFALO WI-U3-866DHP to the USB ID list 2025-11-04 10:03:43 +08:00
rtw8822c_table.c
rtw8822c_table.h
rtw8822c.c wifi: rtw88: Enable receiving control frames in monitor mode 2026-07-03 10:48:41 +08:00
rtw8822c.h
rtw8822ce.c wifi: rtw88: pci: add PCI Express error handling 2025-06-10 09:22:44 +08:00
rtw8822cs.c wifi: rtw88: sdio: Migrate to use sdio specific shutdown function 2026-01-27 13:42:20 +01:00
rtw8822cu.c wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U rev. A1 2025-10-21 13:38:19 +08:00
rx.c wifi: rtw88: Add more validation for the RX descriptor 2026-05-27 16:43:49 +08:00
rx.h wifi: rtw88: Add more validation for the RX descriptor 2026-05-27 16:43:49 +08:00
sar.c
sar.h
sdio.c wifi: rtw88: Add more validation for the RX descriptor 2026-05-27 16:43:49 +08:00
sdio.h wifi: rtw88: sdio: Migrate to use sdio specific shutdown function 2026-01-27 13:42:20 +01:00
sec.c
sec.h
tx.c wifi: rtw88: Fix potential memory leak in rtw_txq_push_skb() 2026-07-30 13:37:50 +08:00
tx.h
usb.c wifi: rtw88: Add more validation for the RX descriptor 2026-05-27 16:43:49 +08:00
usb.h
util.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
util.h
wow.c
wow.h