Hello,
syzbot found the following issue on:
HEAD commit: 4abf2685 Linux 4.19.162
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1548f123500000
kernel config:
https://syzkaller.appspot.com/x/.config?x=38565839aa6b0d25
dashboard link:
https://syzkaller.appspot.com/bug?extid=c1735a005a1a1966f79e
compiler: gcc (GCC) 10.1.0-syz 20200507
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+c1735a...@syzkaller.appspotmail.com
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 00007fff4f6cff3f R14: 00007f57c39269c0 R15: 000000000119bf8c
usb usb9: device_add(9-0:1.0) --> -12
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 19184 Comm: syz-executor.2 Not tainted 4.19.162-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__device_attach+0xaa/0x470 drivers/base/dd.c:796
Code: e8 03 42 80 3c 20 00 0f 85 77 03 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 08 49 8d bc 24 d0 00 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 06 0f 8e 42 03 00 00 45 0f b6 b4 24 d0 00 00
RSP: 0018:ffff88823293fa40 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 1ffff11046527f49 RCX: 0000000000000000
RDX: 000000000000001a RSI: 0000000000000008 RDI: 00000000000000d0
RBP: ffff8880aa6922b0 R08: 0000000000000000 R09: ffffed10154d2462
R10: ffff8880aa692317 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88823293fc0c R14: 00000000fffffff0 R15: ffff8880aa692310
FS: 00007f41ad624700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faa82f2d028 CR3: 0000000232db9000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
proc_ioctl+0x526/0x630 drivers/usb/core/devio.c:2187
proc_ioctl_default drivers/usb/core/devio.c:2222 [inline]
usbdev_do_ioctl+0x2773/0x3030 drivers/usb/core/devio.c:2536
usbdev_ioctl+0x21/0x30 drivers/usb/core/devio.c:2580
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45e159
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f41ad623c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e159
RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000004
RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffe4f88ed7f R14: 00007f41ad6249c0 R15: 000000000119bf8c
Modules linked in:
---[ end trace 2be73b8cfaaabdf8 ]---
RIP: 0010:__device_attach+0xaa/0x470 drivers/base/dd.c:796
Code: e8 03 42 80 3c 20 00 0f 85 77 03 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 08 49 8d bc 24 d0 00 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 06 0f 8e 42 03 00 00 45 0f b6 b4 24 d0 00 00
RSP: 0018:ffff88823293fa40 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 1ffff11046527f49 RCX: 0000000000000000
RDX: 000000000000001a RSI: 0000000000000008 RDI: 00000000000000d0
RBP: ffff8880aa6922b0 R08: 0000000000000000 R09: ffffed10154d2462
R10: ffff8880aa692317 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88823293fc0c R14: 00000000fffffff0 R15: ffff8880aa692310
FS: 00007f41ad624700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004e0b50 CR3: 0000000232db9000 CR4: 00000000001406e0
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.