summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2016-09-28 18:18:23 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-01 09:46:40 +0100
commite431c00b52af6449c5e84451437b74326ba21e6d (patch)
treea80d6c5770959f3971cdefcfc923b0238522c79d /include/linux/debugobjects.h
parent63238079b4800af2d650ebbc0a215fb2a0b004e4 (diff)
mwifiex: Fix NULL pointer dereference in skb_dequeue()
commit c44c040300d7afd79294710313a4989683e2afb1 upstream. At couple of places in cleanup path, we are just going through the skb queue and freeing them without unlinking. This leads to a crash when other thread tries to do skb_dequeue() and use already freed node. The problem is freed by unlinking skb before freeing it. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> [AmitP: Refactored to fix driver file path in linux-4.4.y] Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions