[Impact]
KASAN detected a use-after-free condition, which could lead to memory corruption or a crash.
[Test Case]
Rebuild kernel w/ CONFIG_KASAN=y, look for errors in dmesg.
[Fix]
7848b9e26cab9 net: hns: fix KASAN: use-after-free in hns_nic_net_xmit_hw(
[Regression Risk]
Fix is restricted to the hns driver, which is the driver for the nics on the Hi1616 SoC. Regressions would therefore be limited to platforms using this SoC, such as the HiSilicon D05 board.
[Impact]
KASAN detected a use-after-free condition, which could lead to memory corruption or a crash.
[Test Case]
Rebuild kernel w/ CONFIG_KASAN=y, look for errors in dmesg.
[Fix] net_xmit_ hw(
7848b9e26cab9 net: hns: fix KASAN: use-after-free in hns_nic_
[Regression Risk]
Fix is restricted to the hns driver, which is the driver for the nics on the Hi1616 SoC. Regressions would therefore be limited to platforms using this SoC, such as the HiSilicon D05 board.