Bluetooth: hci_sock: fix slab oob read in create_monitor_event
commit 18f547f3fc074500ab5d419cf482240324e73a7e upstream. When accessing hdev->name, the actual string length should prevail Reported-by:<syzbot+c90849c50ed209d77689@syzkaller.appspotmail.com> Fixes: dcda165706b9 ("Bluetooth: hci_core: Fix build warnings") Signed-off-by:
Edward AD <twuufnxlz@gmail.com> Signed-off-by:
Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment