kasan: CONFIG_KASAN_INLINE enabled FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 25399 Comm: syz-executor.5 Not tainted 4.19.211-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:ffff88809fa7fa40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 1ffff11013f4ff49 RCX: 0000000000000000 RDX: 000000000000001a RSI: 0000000000000008 RDI: 00000000000000d0 RBP: ffff8880a4dc89f0 R08: 0000000000000000 R09: ffffed10149b914a R10: ffff8880a4dc8a57 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88809fa7fc0c R14: 00000000fffffff0 R15: ffff8880a4dc8a50 FS: 00007f7652577700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb444dfc000 CR3: 00000000ab01f000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 usbdev_ioctl+0x21/0x30 drivers/usb/core/devio.c:2585 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:0x7f7653c02049 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7652577168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7653d14f60 RCX: 00007f7653c02049 RDX: 0000000020000000 RSI: 00000000c0105512 RDI: 0000000000000003 RBP: 00007f7653c5c08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4cb2605f R14: 00007f7652577300 R15: 0000000000022000 Modules linked in: ---[ end trace 6b2f093670cf0f34 ]--- 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 CPU: 1 PID: 25398 Comm: syz-executor.3 Tainted: G D 4.19.211-syzkaller #0 RSP: 0018:ffff88809fa7fa40 EFLAGS: 00010202 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 RAX: dffffc0000000000 RBX: 1ffff11013f4ff49 RCX: 0000000000000000 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 RDX: 000000000000001a RSI: 0000000000000008 RDI: 00000000000000d0 RBP: ffff8880a4dc89f0 R08: 0000000000000000 R09: ffffed10149b914a R10: ffff8880a4dc8a57 R11: 0000000000000000 R12: 0000000000000000 alloc_pages_current+0x193/0x2a0 mm/mempolicy.c:2197 alloc_pages include/linux/gfp.h:532 [inline] __page_cache_alloc+0x76/0x90 mm/filemap.c:969 R13: ffff88809fa7fc0c R14: 00000000fffffff0 R15: ffff8880a4dc8a50 __do_page_cache_readahead+0x1a1/0x6c0 mm/readahead.c:195 FS: 00007f7652577700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 ra_submit mm/internal.h:66 [inline] ondemand_readahead.isra.0+0x575/0xd40 mm/readahead.c:493 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 page_cache_sync_readahead mm/readahead.c:528 [inline] page_cache_sync_readahead+0x275/0x520 mm/readahead.c:510 generic_file_buffered_read mm/filemap.c:2115 [inline] generic_file_read_iter+0x1497/0x2b60 mm/filemap.c:2385 CR2: 00007f46bde05d38 CR3: 00000000ab01f000 CR4: 00000000003406f0 ext4_file_read_iter+0x17b/0x3a0 fs/ext4/file.c:78 call_read_iter include/linux/fs.h:1815 [inline] generic_file_splice_read+0x44a/0x6d0 fs/splice.c:308 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 do_splice_to+0x10e/0x160 fs/splice.c:881 splice_direct_to_actor+0x2b9/0x8d0 fs/splice.c:959 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