[Linux-kernel-mentees] [PATCH] Bluetooth: Fix slab-out-of-bounds read in hci_le_meta_evt()

26 views
Skip to first unread message

Peilin Ye

unread,
Aug 4, 2020, 11:07:05 PM8/4/20
to syzbot+24ebd6...@syzkaller.appspotmail.com, syzkall...@googlegroups.com
0001-Bluetooth-Fix-slab-out-of-bounds-read-in-hci_le_meta.patch

syzbot

unread,
Aug 5, 2020, 5:23:08 AM8/5/20
to syzkall...@googlegroups.com, yepei...@gmail.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

failed to apply patch:
checking file net/bluetooth/hci_event.c
Hunk #1 FAILED at 5852.
1 out of 1 hunk FAILED



Tested on:

commit: d15fe4ec Add linux-next specific files for 20200805
git tree: linux-next
dashboard link: https://syzkaller.appspot.com/bug?extid=24ebd650e20bd263ca01
compiler: gcc (GCC) 10.1.0-syz 20200507
patch: https://syzkaller.appspot.com/x/patch.diff?x=14649d14900000

Peilin Ye

unread,
Aug 5, 2020, 8:05:41 AM8/5/20
to syzbot+24ebd6...@syzkaller.appspotmail.com, syzkall...@googlegroups.com
0001-Bluetooth-Fix-slab-out-of-bounds-read-in-hci_le_meta.patch

syzbot

unread,
Aug 5, 2020, 12:40:05 PM8/5/20
to syzkall...@googlegroups.com, yepei...@gmail.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

init/main.c:1015: undefined reference to `efi_enter_virtual_mode'


Tested on:

commit: d15fe4ec Add linux-next specific files for 20200805
git tree: linux-next
dashboard link: https://syzkaller.appspot.com/bug?extid=24ebd650e20bd263ca01
compiler: gcc (GCC) 10.1.0-syz 20200507
patch: https://syzkaller.appspot.com/x/patch.diff?x=111f6b2a900000

Peilin Ye

unread,
Aug 5, 2020, 12:50:41 PM8/5/20
to syzbot+24ebd6...@syzkaller.appspotmail.com, syzkall...@googlegroups.com
0001-Bluetooth-Fix-slab-out-of-bounds-read-in-hci_le_meta.patch

syzbot

unread,
Aug 5, 2020, 1:13:10 PM8/5/20
to syzkall...@googlegroups.com, yepei...@gmail.com
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+24ebd6...@syzkaller.appspotmail.com

Tested on:

commit: 2324d50d Merge tag 'docs-5.9' of git://git.lwn.net/linux
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=24e79eee4ae8e703
dashboard link: https://syzkaller.appspot.com/bug?extid=24ebd650e20bd263ca01
compiler: gcc (GCC) 10.1.0-syz 20200507
patch: https://syzkaller.appspot.com/x/patch.diff?x=145349fc900000

Note: testing is done by a robot and is best-effort only.
Reply all
Reply to author
Forward
0 new messages