Skip to content
Commit 4ce9146e authored by Tomas Bortoli's avatar Tomas Bortoli Committed by Marcel Holtmann
Browse files

Bluetooth: hci_bcsp: Fix memory leak in rx_skb



Syzkaller found that it is possible to provoke a memory leak by
never freeing rx_skb in struct bcsp_struct.

Fix by freeing in bcsp_close()

Signed-off-by: default avatarTomas Bortoli <tomasbortoli@gmail.com>
Reported-by: default avatar <syzbot+98162c885993b72f19c4@syzkaller.appspotmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 6c595ea8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment