Skip to content
Snippets Groups Projects
Commit 705e3477 authored by Edward AD's avatar Edward AD Committed by Frieder Schrempf
Browse files

Bluetooth: hci_sock: fix slab oob read in create_monitor_event


commit 18f547f3 upstream.

When accessing hdev->name, the actual string length should prevail

Reported-by: default avatar <syzbot+c90849c50ed209d77689@syzkaller.appspotmail.com>
Fixes: dcda1657 ("Bluetooth: hci_core: Fix build warnings")
Signed-off-by: default avatarEdward AD <twuufnxlz@gmail.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 63955b9e
No related branches found
No related tags found
1 merge request!108🤖 Sync Bot: Update v5.4-ktn to Latest Stable Kernel (v5.4.259)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment