------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [<0000000066ceb76e>] prepare_to_wait+0xb1/0x2b0 kernel/sched/wait.c:230 WARNING: CPU: 1 PID: 1724 at kernel/sched/core.c:6753 __might_sleep+0x135/0x190 kernel/sched/core.c:6753 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 1724 Comm: syz-executor785 Not tainted 5.3.0+ #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+0xca/0x13e lib/dump_stack.c:113 panic+0x2a3/0x6da kernel/panic.c:219 __warn.cold+0x20/0x4a kernel/panic.c:576 report_bug+0x262/0x2a0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:179 [inline] fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x12b/0x1e0 arch/x86/kernel/traps.c:272 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:291 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028 RIP: 0010:__might_sleep+0x135/0x190 kernel/sched/core.c:6753 Code: 65 48 8b 1c 25 00 ef 01 00 48 8d 7b 10 48 89 fe 48 c1 ee 03 80 3c 06 00 75 2b 48 8b 73 10 48 c7 c7 60 5c c6 85 e8 d0 26 f6 ff <0f> 0b e9 46 ff ff ff e8 bf b0 47 00 e9 29 ff ff ff e8 b5 b0 47 00 RSP: 0018:ffff8881c8307a30 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8881d5446000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8128d3fd RDI: ffffed1039060f38 RBP: ffffffff86a7ad09 R08: ffff8881d5446000 R09: fffffbfff11f45b5 R10: fffffbfff11f45b4 R11: ffffffff88fa2da7 R12: 0000000000000235 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000cc0 slab_pre_alloc_hook mm/slab.h:565 [inline] slab_alloc_node mm/slub.c:2692 [inline] slab_alloc mm/slub.c:2780 [inline] kmem_cache_alloc_trace+0x233/0x2f0 mm/slub.c:2797 kmalloc include/linux/slab.h:552 [inline] dummy_urb_enqueue+0x7c/0x890 drivers/usb/gadget/udc/dummy_hcd.c:1249 usb_hcd_submit_urb+0x2aa/0x1ee0 drivers/usb/core/hcd.c:1552 usb_submit_urb+0x6e5/0x13b0 drivers/usb/core/urb.c:569 yurex_write+0x3b2/0x710 drivers/usb/misc/yurex.c:491 __vfs_write+0x76/0x100 fs/read_write.c:494 vfs_write+0x262/0x5c0 fs/read_write.c:558 ksys_write+0x127/0x250 fs/read_write.c:611 do_syscall_64+0xb7/0x580 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4407c9 Code: e8 bc af 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffecf2f4c58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004407c9 RDX: 0000000000000001 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00000000006cb018 R08: 000000000000000f R09: 00000000004002c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402050 R13: 00000000004020e0 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..