Commit 219960a4 authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Greg Kroah-Hartman
Browse files

Bluetooth: hci_core: Fix not checking skb length on hci_acldata_packet



[ Upstream commit 3fe288a8 ]

This fixes not checking if skb really contains an ACL header otherwise
the code may attempt to access some uninitilized/invalid memory past the
valid skb->data.

Reported-by: default avatar <syzbot+6ea290ba76d8c1eb1ac2@syzkaller.appspotmail.com>
Tested-by: default avatar <syzbot+6ea290ba76d8c1eb1ac2@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=6ea290ba76d8c1eb1ac2


Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent dfb3f9d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment