mediatek: fix a use-after-free kernel panic in wed code
authorZheng Zhang <everything411@qq.com>
Sat, 10 Aug 2024 11:52:15 +0000 (19:52 +0800)
committerRobert Marko <robimarko@gmail.com>
Mon, 12 Aug 2024 17:39:55 +0000 (19:39 +0200)
commit9f8599aebe588ba247844ac6b937c97b6fc00994
treec4ede7cb8b264f6af28480420344257dc9a0243b
parent8cf9a932fa7cebbfad1e9fab0ea633482adb8436
mediatek: fix a use-after-free kernel panic in wed code

Fix a use-after-free bug in mtk_wed_setup_tc_block_cb()
which leads to kernel panic when setup multiple ap
interfaces on one band of mt798x.

Signed-off-by: Zheng Zhang <everything411@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16118
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/mediatek/patches-6.6/951-net-ethernet-mtk_wed-fix-use-after-free-panic-in-mtk.patch [new file with mode: 0644]