INFO: task syz.1.1505:12974 blocked for more than 143 seconds. Not tainted 6.11.0-rc3-syzkaller-00007-gd74da846046a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.1505 state:D stack:25968 pid:12974 tgid:12973 ppid:10795 flags:0x00024004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2557 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 io_wq_exit_workers io_uring/io-wq.c:1248 [inline] io_wq_put_and_exit+0x344/0x720 io_uring/io-wq.c:1276 io_uring_clean_tctx+0x168/0x1e0 io_uring/tctx.c:193 io_uring_cancel_generic+0x76a/0x820 io_uring/io_uring.c:3085 io_uring_files_cancel include/linux/io_uring.h:20 [inline] do_exit+0x6a8/0x27f0 kernel/exit.c:838 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa7dc3799f9 RSP: 002b:00007fa7dd0b40e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fa7dc515f88 RCX: 00007fa7dc3799f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa7dc515f88 RBP: 00007fa7dc515f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa7dc515f8c R13: 0000000000000000 R14: 00007fa7dc63f950 R15: 00007fa7dc63fa38 Showing all locks held in the system: 4 locks held by kworker/0:1/9: #0: ffff88801dae9948 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88801dae9948 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900000e7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900000e7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff888024053190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888024053190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 #3: ffff888024005518 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3206 [inline] #3: ffff888024005518 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x7d2/0x5150 drivers/usb/core/hub.c:5902 1 lock held by ksoftirqd/0/16: #0: ffff8880b923ea18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:568 1 lock held by khungtaskd/30: #0: ffffffff8e9382e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e9382e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e9382e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626 3 locks held by kworker/u8:3/52: #0: ffff88802a5cf148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88802a5cf148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000bc7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90000bc7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4194 3 locks held by kworker/u8:5/81: 4 locks held by kworker/u8:10/2963: #0: ffff8880166e5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff8880166e5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900099b7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900099b7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fc75790 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11875 3 locks held by kworker/u8:12/2999: #0: ffff888015889148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015889148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90009667d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90009667d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by acpid/4671: #0: ffff88802e361158 (&mousedev->mutex#2){+.+.}-{3:3}, at: mousedev_close_device+0x2e/0xe0 drivers/input/mousedev.c:441 #1: ffff88801f7912c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_close_device+0x4e/0x1d0 drivers/input/input.c:667 1 lock held by dhcpcd/4900: #0: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1101 2 locks held by getty/4990: #0: ffff88802aebb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211 5 locks held by kworker/0:4/5287: #0: ffff888015880948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015880948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90004067d00 ((work_completion)(&intf->reset_ws)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90004067d00 ((work_completion)(&intf->reset_ws)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff8880594ed190 (&dev->mutex){....}-{3:3}, at: device_trylock include/linux/device.h:1019 [inline] #2: ffff8880594ed190 (&dev->mutex){....}-{3:3}, at: usb_lock_device_for_reset+0x128/0x330 drivers/usb/core/usb.c:898 #3: ffff888024005518 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3206 [inline] #3: ffff888024005518 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_reset_device+0x5c8/0xb60 drivers/usb/core/hub.c:6314 #4: ffff888023f8cb68 (hcd->address0_mutex){+.+.}-{3:3}, at: usb_reset_and_verify_device+0x319/0x1440 drivers/usb/core/hub.c:6120 1 lock held by iou-wrk-12974/12978: #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:244 [inline] #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd06/0x1010 io_uring/kbuf.c:568 1 lock held by iou-wrk-12974/12984: #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:244 [inline] #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd06/0x1010 io_uring/kbuf.c:568 1 lock held by iou-wrk-12974/12985: #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:244 [inline] #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd06/0x1010 io_uring/kbuf.c:568 1 lock held by iou-wrk-12974/12986: #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:244 [inline] #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd06/0x1010 io_uring/kbuf.c:568 1 lock held by iou-wrk-12974/12988: #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:244 [inline] #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd06/0x1010 io_uring/kbuf.c:568 1 lock held by iou-wrk-12974/12990: #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:244 [inline] #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd06/0x1010 io_uring/kbuf.c:568 1 lock held by iou-wrk-12974/12991: #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock io_uring/io_uring.h:244 [inline] #0: ffff88802e6d60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_provide_buffers+0xd06/0x1010 io_uring/kbuf.c:568 1 lock held by iou-wrk-12974/12994: 1 lock held by udevd/13887: #0: ffffffff8e93d6b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:328 [inline] #0: ffffffff8e93d6b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:958 1 lock held by syz-executor/14865: #0: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x48f/0x2400 drivers/net/tun.c:3120 1 lock held by syz.4.1880/14880: #0: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3510 1 lock held by syz.0.1887/14927: #0: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x86e/0x1340 net/core/dev_ioctl.c:808 1 lock held by syz.0.1887/14929: #0: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x86e/0x1340 net/core/dev_ioctl.c:808 1 lock held by syz.2.1890/14943: #0: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644 1 lock held by syz.3.1891/14947: #0: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x48f/0x2400 drivers/net/tun.c:3120 1 lock held by syz.3.1891/14948: #0: ffffffff8fc82308 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1101 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc3-syzkaller-00007-gd74da846046a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 13587 Comm: syz-executor Not tainted 6.11.0-rc3-syzkaller-00007-gd74da846046a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:lockdep_hardirqs_on_prepare+0x60e/0x780 kernel/locking/lockdep.c:4339 Code: 8c 94 fa ff ff 48 c7 c7 8c fe 17 90 e8 bb 38 8b 00 48 ba 00 00 00 00 00 fc ff df e9 79 fa ff ff 48 c7 c1 c0 69 f2 94 80 e1 07 <80> c1 03 38 c1 0f 8c b8 fa ff ff 48 c7 c7 c0 69 f2 94 e8 8b 38 8b RSP: 0018:ffffc900095c75c0 EFLAGS: 00000046 RAX: 0000000000000004 RBX: ffffffff9513a778 RCX: ffffffff94f26900 RDX: dffffc0000000000 RSI: ffffffff8c6063e0 RDI: ffffffff8c6063a0 RBP: ffffc900095c7668 R08: ffffffff9017ce2f R09: 1ffffffff202f9c5 R10: dffffc0000000000 R11: fffffbfff202f9c6 R12: dffffc0000000000 R13: 1ffff920012b8ed0 R14: ffffc900095c76a0 R15: 1ffff920012b8ebc FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055889715f058 CR3: 000000005464e000 CR4: 00000000003506f0 Call Trace: trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x8f/0x140 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline] debug_check_no_obj_freed+0x561/0x580 lib/debugobjects.c:1020 free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0x38a/0xea0 mm/page_alloc.c:2612 vfree+0x186/0x2e0 mm/vmalloc.c:3364 kcov_put kernel/kcov.c:438 [inline] kcov_close+0x2b/0x50 kernel/kcov.c:534 __fput+0x24a/0x8a0 fs/file_table.c:422 task_work_run+0x24f/0x310 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa2f/0x27f0 kernel/exit.c:882 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f742a96fc57 Code: Unable to access opcode bytes at 0x7f742a96fc2d. RSP: 002b:00007f742ac3fd90 EFLAGS: 00000293 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 00000000000000aa RCX: 00007f742a96fc57 RDX: 0000000040000000 RSI: 00007f742ac3fdec RDI: 00000000ffffffff RBP: 00007f742ac3fdec R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 00005555940e45eb R13: 00005555940e4590 R14: 00000000000b1133 R15: 00007f742ac3fe40