diff options
author | Edward AD <twuufnxlz@gmail.com> | 2023-10-10 13:36:57 +0800 |
---|---|---|
committer | Alexander Grund <flamefire89@gmail.com> | 2024-03-07 18:17:38 +0100 |
commit | af001b9a4ed958a432bb45eda0c4af0db2781541 (patch) | |
tree | c119120a28e6e0cfd226cdb5029a599958a37c43 /net/ipv6/proc.c | |
parent | 3d129c2c52ce9bb9af94364957b7a75758351c2b (diff) |
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")
Change-Id: I978cec1690e143ad263c0557f036b457ed84af24
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>
Signed-off-by: Ulrich Hecht <uli@kernel.org>
Diffstat (limited to 'net/ipv6/proc.c')
0 files changed, 0 insertions, 0 deletions