diff options
| author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-10-08 10:16:48 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 20:03:56 +0100 |
| commit | 93a6160dc198ffe5786da8bd8588cfd17f53b29a (patch) | |
| tree | d935abf0607a3259660d23ed1a94fa77db56fe8b /include/net | |
| parent | c55a4c5a04bae40dcdc1e1c19d8eb79a06fb3397 (diff) | |
| download | linux-93a6160dc198ffe5786da8bd8588cfd17f53b29a.tar.gz linux-93a6160dc198ffe5786da8bd8588cfd17f53b29a.tar.bz2 linux-93a6160dc198ffe5786da8bd8588cfd17f53b29a.zip | |
Bluetooth: hci_core: Fix not checking skb length on hci_acldata_packet
[ Upstream commit 3fe288a8214e7dd784d1f9b7c9e448244d316b47 ]
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: syzbot+6ea290ba76d8c1eb1ac2@syzkaller.appspotmail.com
Tested-by: syzbot+6ea290ba76d8c1eb1ac2@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=6ea290ba76d8c1eb1ac2
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
