INFO: task syz-executor.0:23198 blocked for more than 143 seconds. Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28008 pid:23198 ppid: 3633 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5184 [inline] __schedule+0xa09/0x4f10 kernel/sched/core.c:6496 schedule+0xd2/0x1f0 kernel/sched/core.c:6568 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6627 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 device_lock include/linux/device.h:835 [inline] usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1087 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f1fd963bd4b RSP: 002b:00007ffcb31de1f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f1fd963bd4b RDX: 0000000000000000 RSI: 0000001b2e625144 RDI: 0000000000000006 RBP: 00007f1fd979d960 R08: 0000000000000000 R09: 0000000099171635 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000199809 R13: 00007ffcb31de2f0 R14: 00007ffcb31de310 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bd864f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bd861f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8bd87040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 4 locks held by klogd/2959: #0: ffff8880b9a39f18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544 #1: ffff8880b9a40458 (&pcp->lock){....}-{2:2}, at: free_unref_page+0x31f/0x4d0 mm/page_alloc.c:3500 #2: ffff88807e25e148 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xaa/0x17d0 kernel/sched/core.c:4084 #3: ffff88813fffa7c8 (&____s->seqcount){...-}-{0:0}, at: __free_one_page+0x135/0x11f0 mm/page_alloc.c:1125 2 locks held by getty/3277: #0: ffff888025e6b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2177 3 locks held by kworker/u4:18/8923: 5 locks held by kworker/1:6/27156: #0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc9001438fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff888147e0b190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff888147e0b190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x45d0 drivers/usb/core/hub.c:5674 #3: ffff88803f8a94f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3096 [inline] #3: ffff88803f8a94f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5242 [inline] #3: ffff88803f8a94f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5490 [inline] #3: ffff88803f8a94f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5646 [inline] #3: ffff88803f8a94f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1f99/0x45d0 drivers/usb/core/hub.c:5728 #4: ffff888147d61a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5243 [inline] #4: ffff888147d61a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5490 [inline] #4: ffff888147d61a68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5646 [inline] #4: ffff888147d61a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x1fbf/0x45d0 drivers/usb/core/hub.c:5728 1 lock held by syz-executor.0/23198: #0: ffff888147e0b190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff888147e0b190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1087 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc18/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2959 Comm: klogd Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:write_comp_data+0x3c/0x90 kernel/kcov.c:229 Code: 01 00 00 49 89 f8 65 48 8b 14 25 80 6f 02 00 a9 00 01 ff 00 74 0e 85 f6 74 59 8b 82 94 15 00 00 85 c0 74 4f 8b 82 70 15 00 00 <83> f8 03 75 44 48 8b 82 78 15 00 00 8b 92 74 15 00 00 48 8b 38 48 RSP: 0018:ffffc90002d3f860 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888077e3c000 RCX: ffffffff81366c2e RDX: ffff88807d5e3a80 RSI: 0000000000000000 RDI: 0000000000000006 RBP: ffff8880f7e3c000 R08: 0000000000000006 R09: ffff8880f7e3c000 R10: 0000000077e3c000 R11: 0000000000000000 R12: 0000000077e3c000 R13: ffffc90002d3f8d0 R14: ffff888077e3c000 R15: 0000000000000000 FS: 00007fb4a0e20800(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b796d2d8b8 CR3: 000000007f096000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __phys_addr+0x4e/0x140 arch/x86/mm/physaddr.c:28 virt_to_folio include/linux/mm.h:884 [inline] virt_to_slab mm/kasan/../slab.h:175 [inline] qlink_to_cache mm/kasan/quarantine.c:131 [inline] qlist_free_all+0x86/0x170 mm/kasan/quarantine.c:184 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0xa2/0xc0 mm/kasan/common.c:446 kasan_slab_alloc include/linux/kasan.h:224 [inline] slab_post_alloc_hook mm/slab.h:736 [inline] slab_alloc_node mm/slub.c:3243 [inline] __kmalloc_node_track_caller+0x324/0x480 mm/slub.c:4955 kmalloc_reserve net/core/skbuff.c:358 [inline] __alloc_skb+0xd9/0x340 net/core/skbuff.c:430 alloc_skb include/linux/skbuff.h:1249 [inline] alloc_skb_with_frags+0x93/0x6d0 net/core/skbuff.c:5990 sock_alloc_send_pskb+0x793/0x920 net/core/sock.c:2663 unix_dgram_sendmsg+0x415/0x1b60 net/unix/af_unix.c:1884 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 __sys_sendto+0x21a/0x320 net/socket.c:2116 __do_sys_sendto net/socket.c:2128 [inline] __se_sys_sendto net/socket.c:2124 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2124 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fb4a0fbc0ac Code: 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 19 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 64 c3 0f 1f 00 55 48 83 ec 20 48 89 54 24 10 RSP: 002b:00007fff8d9aa7e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb4a0fbc0ac RDX: 000000000000003e RSI: 000055cec65a4ab0 RDI: 0000000000000003 RBP: 000055cec6599910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000014 R13: 0000000000000001 R14: 00007fb4a113777d R15: 00007fff8d9aa8f8 ---------------- Code disassembly (best guess): 0: 01 00 add %eax,(%rax) 2: 00 49 89 add %cl,-0x77(%rcx) 5: f8 clc 6: 65 48 8b 14 25 80 6f mov %gs:0x26f80,%rdx d: 02 00 f: a9 00 01 ff 00 test $0xff0100,%eax 14: 74 0e je 0x24 16: 85 f6 test %esi,%esi 18: 74 59 je 0x73 1a: 8b 82 94 15 00 00 mov 0x1594(%rdx),%eax 20: 85 c0 test %eax,%eax 22: 74 4f je 0x73 24: 8b 82 70 15 00 00 mov 0x1570(%rdx),%eax * 2a: 83 f8 03 cmp $0x3,%eax <-- trapping instruction 2d: 75 44 jne 0x73 2f: 48 8b 82 78 15 00 00 mov 0x1578(%rdx),%rax 36: 8b 92 74 15 00 00 mov 0x1574(%rdx),%edx 3c: 48 8b 38 mov (%rax),%rdi 3f: 48 rex.W