Hello,
syzbot found the following issue on:
HEAD commit: 205a42ce Linux 4.19.135
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=12f07b60900000
kernel config:
https://syzkaller.appspot.com/x/.config?x=155b0b328eb5e700
dashboard link:
https://syzkaller.appspot.com/bug?extid=4ba87ea303864cf9af8b
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=12a85468900000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=157774d4900000
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+4ba87e...@syzkaller.appspotmail.com
audit: type=1400 audit(1596169927.206:8): avc: denied { execmem } for pid=6477 comm="syz-executor286" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
IPVS: ftp: loaded support on port[0] = 21
BUG: unable to handle kernel NULL pointer dereference at 0000000000000030
PGD 0 P4D 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 6505 Comm: kworker/u5:2 Not tainted 4.19.135-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: hci0 hci_rx_work
RIP: 0010:set_bit arch/x86/include/asm/bitops.h:71 [inline]
RIP: 0010:amp_read_loc_assoc_final_data+0x102/0x1d0 net/bluetooth/amp.c:312
Code: fc ff df 0f b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 ae 00 00 00 41 0f b7 84 24 9c 03 00 00 66 89 44 24 23 <f0> 41 80 4d 30 04 48 8d 6c 24 40 4c 89 e6 48 89 ef e8 a8 59 fe ff
RSP: 0018:ffff888088f27980 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 1ffff110111e4f30 RCX: 1ffff110148421ab
RDX: 0000000000000000 RSI: ffffffff8687a34e RDI: ffff888084fa54dc
RBP: ffff888088f50140 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888084fa5140
R13: 0000000000000000 R14: ffff888084fa6080 R15: ffff888084fa5140
FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000030 CR3: 000000008e98f000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
hci_chan_selected_evt+0x1e0/0x360 net/bluetooth/hci_event.c:4656
hci_event_packet+0x185a/0x858f net/bluetooth/hci_event.c:5894
hci_rx_work+0x46b/0xa90 net/bluetooth/hci_core.c:4359
process_one_work+0x864/0x1570 kernel/workqueue.c:2155
worker_thread+0x64c/0x1130 kernel/workqueue.c:2298
kthread+0x30b/0x410 kernel/kthread.c:246
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Modules linked in:
CR2: 0000000000000030
---[ end trace 02e159b07500cc69 ]---
RIP: 0010:set_bit arch/x86/include/asm/bitops.h:71 [inline]
RIP: 0010:amp_read_loc_assoc_final_data+0x102/0x1d0 net/bluetooth/amp.c:312
Code: fc ff df 0f b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 ae 00 00 00 41 0f b7 84 24 9c 03 00 00 66 89 44 24 23 <f0> 41 80 4d 30 04 48 8d 6c 24 40 4c 89 e6 48 89 ef e8 a8 59 fe ff
RSP: 0018:ffff888088f27980 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 1ffff110111e4f30 RCX: 1ffff110148421ab
RDX: 0000000000000000 RSI: ffffffff8687a34e RDI: ffff888084fa54dc
RBP: ffff888088f50140 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888084fa5140
R13: 0000000000000000 R14: ffff888084fa6080 R15: ffff888084fa5140
FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000030 CR3: 000000008e98f000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches