summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-moxart.c
diff options
context:
space:
mode:
authorTomas Bortoli <tomasbortoli@gmail.com>2019-11-01 21:42:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-28 18:26:12 +0100
commitbc7c32ca28cc02bc338ce057197d5eb6c18409f4 (patch)
tree1c774f84a382d4f15cb1a81a366da0e4a45dd4c0 /drivers/clk/clk-moxart.c
parent6dc6e94448a54425cea5e5e0f350e7e5a9cd932d (diff)
Bluetooth: Fix invalid-free in bcsp_close()
commit cf94da6f502d8caecabd56b194541c873c8a7a3c upstream. Syzbot reported an invalid-free that I introduced fixing a memleak. bcsp_recv() also frees bcsp->rx_skb but never nullifies its value. Nullify bcsp->rx_skb every time it is freed. Signed-off-by: Tomas Bortoli <tomasbortoli@gmail.com> Reported-by: syzbot+a0d209a4676664613e76@syzkaller.appspotmail.com Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Cc: Alexander Potapenko <glider@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clk/clk-moxart.c')
0 files changed, 0 insertions, 0 deletions