misc raw-gadget: fail, usb_gadget_register_driver returned -16 SPCP8x5 ttyUSB0: failed to set control lines: -32 ------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait+0x174/0x210 kernel/sched/wait.c:256 WARNING: kernel/sched/core.c:9122 at __might_sleep+0x92/0xf0 kernel/sched/core.c:9118, CPU#0: syz.6.2847/17256 Modules linked in: CPU: 0 UID: 0 PID: 17256 Comm: syz.6.2847 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__might_sleep+0xac/0xf0 kernel/sched/core.c:9118 Code: 00 00 48 89 3c 24 41 89 f5 4c 8d 35 ae 9c c5 0e 43 80 3c 3c 00 74 08 48 89 df e8 ef ec 9f 00 48 8b 0b 4c 89 f7 89 ee 48 89 ca <67> 48 0f b9 3a 44 89 ee 48 8b 3c 24 eb b5 44 89 f1 80 e1 07 80 c1 RSP: 0018:ffffc900067b7578 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88802700f668 RCX: ffffffff819fd674 RDX: ffffffff819fd674 RSI: 0000000000000001 RDI: ffffffff905bf870 RBP: 0000000000000001 R08: 0400000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff8ec9e4a0 R12: 1ffff11004e01ecd R13: 0000000000000140 R14: ffffffff905bf870 R15: dffffc0000000000 FS: 00007fba442876c0(0000) GS:ffff888124f0c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e112ff8 CR3: 000000006fc8c000 CR4: 00000000003526f0 Call Trace: might_alloc include/linux/sched/mm.h:320 [inline] slab_pre_alloc_hook mm/slub.c:4636 [inline] slab_alloc_node mm/slub.c:4974 [inline] __kmalloc_cache_noprof+0x94/0x600 mm/slub.c:5559 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] spcp8x5_get_msr+0xd3/0x2d0 drivers/usb/serial/spcp8x5.c:197 spcp8x5_carrier_raised+0x30/0x80 drivers/usb/serial/spcp8x5.c:243 serial_port_carrier_raised+0x8c/0xc0 drivers/usb/serial/usb-serial.c:757 tty_port_carrier_raised drivers/tty/tty_port.c:441 [inline] tty_port_block_til_ready+0x449/0x8b0 drivers/tty/tty_port.c:559 tty_open+0x48a/0xcc0 drivers/tty/tty_io.c:2110 chrdev_open+0x4d9/0x600 fs/char_dev.c:411 do_dentry_open+0x816/0x1380 fs/open.c:996 vfs_open+0x3b/0x340 fs/open.c:1101 do_open fs/namei.c:4837 [inline] path_openat+0x1443/0x1d60 fs/namei.c:5000 do_file_open+0x23e/0x4a0 fs/namei.c:5029 do_sys_openat2+0x115/0x200 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1434 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x510 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fba4339e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 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 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fba44287028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fba43625fa0 RCX: 00007fba4339e0d9 RDX: 0000000000000000 RSI: 0000200000000700 RDI: ffffffffffffff9c RBP: 00007fba43435024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fba43626038 R14: 00007fba43625fa0 R15: 00007fff75395de8 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 48 89 3c 24 mov %rdi,(%rsp) 6: 41 89 f5 mov %esi,%r13d 9: 4c 8d 35 ae 9c c5 0e lea 0xec59cae(%rip),%r14 # 0xec59cbe 10: 43 80 3c 3c 00 cmpb $0x0,(%r12,%r15,1) 15: 74 08 je 0x1f 17: 48 89 df mov %rbx,%rdi 1a: e8 ef ec 9f 00 call 0x9fed0e 1f: 48 8b 0b mov (%rbx),%rcx 22: 4c 89 f7 mov %r14,%rdi 25: 89 ee mov %ebp,%esi 27: 48 89 ca mov %rcx,%rdx * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 44 89 ee mov %r13d,%esi 32: 48 8b 3c 24 mov (%rsp),%rdi 36: eb b5 jmp 0xffffffed 38: 44 89 f1 mov %r14d,%ecx 3b: 80 e1 07 and $0x7,%cl 3e: 80 .byte 0x80 3f: c1 .byte 0xc1