R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffcdc0dfe5f R14: 00007f63edd0c300 R15: 0000000000022000 usb usb9: device_add((null)) --> -22 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: 0 PID: 31027 Comm: syz-executor.2 Not tainted 4.19.205-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:798 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:ffff88804bce7a40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 1ffff1100979cf49 RCX: 0000000000000000 RDX: 000000000000001a RSI: 0000000000000008 RDI: 00000000000000d0 RBP: ffff8880a4c28d70 R08: 0000000000000000 R09: ffffed10149851ba R10: ffff8880a4c28dd7 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88804bce7c0c R14: 00000000fffffff0 R15: ffff8880a4c28dd0 FS: 00007faf8d0a8700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faf8d0a7d58 CR3: 00000000940ec000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 Call Trace: proc_ioctl+0x526/0x630 drivers/usb/core/devio.c:2192 proc_ioctl_default drivers/usb/core/devio.c:2227 [inline] usbdev_do_ioctl+0x2773/0x3030 drivers/usb/core/devio.c:2541 CPU: 1 PID: 31036 Comm: syz-executor.4 Not tainted 4.19.205-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 usbdev_ioctl+0x21/0x30 drivers/usb/core/devio.c:2585 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 skb_clone+0x151/0x3d0 net/core/skbuff.c:1293 __netlink_deliver_tap_skb net/netlink/af_netlink.c:296 [inline] __netlink_deliver_tap net/netlink/af_netlink.c:321 [inline] netlink_deliver_tap+0x955/0xb00 net/netlink/af_netlink.c:334 netlink_deliver_tap_kernel net/netlink/af_netlink.c:343 [inline] netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x545/0x690 net/netlink/af_netlink.c:1346 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1911 __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:0x4665f9 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2225 RSP: 002b:00007faf8d0a8188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665f9 RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007fffcf3bbd2f R14: 00007faf8d0a8300 R15: 0000000000022000 Modules linked in: ---[ end trace a23ac3a7b2ac5be3 ]--- __sys_sendmsg net/socket.c:2263 [inline] __do_sys_sendmsg net/socket.c:2272 [inline] __se_sys_sendmsg net/socket.c:2270 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2270 RIP: 0010:__device_attach+0xaa/0x470 drivers/base/dd.c:798 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 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 RSP: 0018:ffff88804bce7a40 EFLAGS: 00010202 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f27bde83188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007f27bde831d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fffb40ffe3f R14: 00007f27bde83300 R15: 0000000000022000 RAX: dffffc0000000000 RBX: 1ffff1100979cf49 RCX: 0000000000000000 RDX: 000000000000001a RSI: 0000000000000008 RDI: 00000000000000d0 RBP: ffff8880a4c28d70 R08: 0000000000000000 R09: ffffed10149851ba R10: ffff8880a4c28dd7 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88804bce7c0c R14: 00000000fffffff0 R15: ffff8880a4c28dd0 FS: 00007faf8d0a8700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005597bc9e38c8 CR3: 00000000940ec000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 03 42 80 3c callq 0x3c804208 5: 20 00 and %al,(%rax) 7: 0f 85 77 03 00 00 jne 0x384 d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 4c 8b 65 08 mov 0x8(%rbp),%r12 1b: 49 8d bc 24 d0 00 00 lea 0xd0(%r12),%rdi 22: 00 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 06 je 0x38 32: 0f 8e 42 03 00 00 jle 0x37a 38: 45 rex.RB 39: 0f .byte 0xf 3a: b6 b4 mov $0xb4,%dh 3c: 24 d0 and $0xd0,%al