diff options
author | Edward AD <twuufnxlz@gmail.com> | 2023-10-10 13:36:57 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-25 12:03:16 +0200 |
commit | a429d65428d5e253782ad8371e2d03542c2b85f2 (patch) | |
tree | 1dc4d5f98ee82fca56a0d3f0f08c5c346194600b /net/ife | |
parent | 46de539282f278cae142d38ae32aed3e20f07a09 (diff) | |
download | linux-stable-a429d65428d5e253782ad8371e2d03542c2b85f2.tar.gz linux-stable-a429d65428d5e253782ad8371e2d03542c2b85f2.tar.bz2 linux-stable-a429d65428d5e253782ad8371e2d03542c2b85f2.zip |
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>
Diffstat (limited to 'net/ife')
0 files changed, 0 insertions, 0 deletions