1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/hisilicon
Liu Jian 433c07a13f net: hisilicon: Fix potential use-after-free in hix5hd2_rx()
The skb is delivered to napi_gro_receive() which may free it, after
calling this, dereferencing skb may trigger use-after-free.

Fixes: 57c5bc9ad7 ("net: hisilicon: add hix5hd2 mac driver")
Signed-off-by: Liu Jian <liujian56@huawei.com>
Link: https://lore.kernel.org/r/20221203094240.1240211-2-liujian56@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-12-06 12:53:31 +01:00
..
hns net: hns: fix possible memory leak in hnae_ae_register() 2022-10-19 17:28:52 -07:00
hns3 net: hns3: fix setting incorrect phy link ksettings for firmware in resetting process 2022-11-15 13:29:26 +01:00
hip04_eth.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
hisi_femac.c net: hisilicon: Fix potential use-after-free in hisi_femac_rx() 2022-12-06 12:45:11 +01:00
hix5hd2_gmac.c net: hisilicon: Fix potential use-after-free in hix5hd2_rx() 2022-12-06 12:53:31 +01:00
hns_mdio.c net: hns: Fix spelling mistakes in comments. 2022-07-04 11:15:45 +01:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00