summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorPo-Hao Huang <phhuang@realtek.com>2022-01-21 15:08:13 +0800
committerKalle Valo <kvalo@kernel.org>2022-01-31 17:46:59 +0200
commitd95984b5580dcb8b1c0036577c52b609990a1dab (patch)
tree994e1da9f5c7bc027b33072a5d93c729d60392aa /include/linux/timerqueue.h
parentc17f27167b4cb4988ae035fb8dce0c314e9de155 (diff)
downloadcachepc-linux-d95984b5580dcb8b1c0036577c52b609990a1dab.tar.gz
cachepc-linux-d95984b5580dcb8b1c0036577c52b609990a1dab.zip
rtw88: fix memory overrun and memory leak during hw_scan
Previously we allocated less memory than actual required, overwrite to the buffer causes the mm module to complaint and raise access violation faults. Along with potential memory leaks when returned early. Fix these by passing the correct size and proper deinit flow. Fixes: 10d162b2ed39 ("rtw88: 8822c: add ieee80211_ops::hw_scan") Signed-off-by: Po-Hao Huang <phhuang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220121070813.9656-4-pkshih@realtek.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions