INFO: task syz-executor.1:8109 blocked for more than 143 seconds. Not tainted 6.9.0-next-20240515-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:20280 pid:8109 tgid:8109 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 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 __flush_work+0xaa9/0xd00 kernel/workqueue.c:4211 flush_all_cpus_locked+0x155/0x180 mm/slub.c:3185 __kmem_cache_shutdown+0x29/0x3b0 mm/slub.c:5374 shutdown_cache mm/slab_common.c:456 [inline] kmem_cache_destroy+0x72/0x1b0 mm/slab_common.c:496 bio_put_slab block/bio.c:155 [inline] bioset_exit+0x555/0x650 block/bio.c:1740 __bch2_fs_free fs/bcachefs/super.c:574 [inline] bch2_fs_release+0x49a/0x6e0 fs/bcachefs/super.c:603 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x22f/0x480 lib/kobject.c:737 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1267 task_work_run+0x24f/0x310 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [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+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcfc227f097 RSP: 002b:00007ffdc3fe4858 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fcfc227f097 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdc3fe4910 RBP: 00007ffdc3fe4910 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffdc3fe59d0 R13: 00007fcfc22c9336 R14: 0000000000030e42 R15: 0000000000000003 Showing all locks held in the system: 1 lock held by kworker/R-slub_/6: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-mm_pe/13: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 6 locks held by kworker/1:0/25: 1 lock held by khungtaskd/30: #0: ffffffff8e333e60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] ffffffff8e333e60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] ffffffff8e333e60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/1:1/45: 3 locks held by kworker/u8:3/51: #0: ffff88802a6b8148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000bb7d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90000bb7d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5e6b48 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 3 locks held by kworker/0:2/785: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000413fd00 ( (linkwatch_work).work ){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] ){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5e6b48 ( rtnl_mutex){+.+.}-{3:3} , at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 1 lock held by kworker/1:2/1591: 2 locks held by getty/4843: #0: ffff88802f1110a0 (&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+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-fuzzer/5184: 7 locks held by kworker/1:3/5104: 3 locks held by kworker/0:4/5149: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003ccfd00 (slab_caches_to_rcu_destroy_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] ffffc90003ccfd00 (slab_caches_to_rcu_destroy_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8e413648 (slab_mutex){+.+.}-{3:3}, at: slab_caches_to_rcu_destroy_workfn+0x37/0x120 mm/slab_common.c:435 2 locks held by kworker/1:4/5151: 2 locks held by kworker/1:5/5153: 1 lock held by kworker/R-wg-cr/7934: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/7935: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/7938: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/7944: 1 lock held by kworker/R-wg-cr/7946: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/7953: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/7991: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/7994: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/7995: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 4 locks held by syz-executor.1/8109: #0: ffffffff8ea03e28 ( bio_slab_lock ){+.+.}-{3:3} , at: bio_put_slab block/bio.c:140 [inline] , at: bioset_exit+0x436/0x650 block/bio.c:1740 #1: ffffffff8e1ce470 (cpu_hotplug_lock){++++}-{0:0}, at: kmem_cache_destroy+0x32/0x1b0 mm/slab_common.c:487 #2: ffffffff8e413648 (slab_mutex){+.+.}-{3:3}, at: kmem_cache_destroy+0x40/0x1b0 mm/slab_common.c:488 #3: ffffffff8e430358 (flush_lock){+.+.}-{3:3}, at: flush_all_cpus_locked+0x24/0x180 mm/slub.c:3167 1 lock held by kworker/R-wg-cr/8125: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex ){+.+.}-{3:3} , at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/8126: #0: ffffffff8e1de9e8 ( wq_pool_attach_mutex ){+.+.}-{3:3} , at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/8127: #0: ffffffff8e1de9e8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/8128: #0: ffffffff8e1de9e8 ( wq_pool_attach_mutex){+.+.}-{3:3} , at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/8129: #0: ffffffff8e1de9e8 ( wq_pool_attach_mutex ){+.+.}-{3:3} , at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 1 lock held by kworker/R-wg-cr/8130: #0: ffffffff8e1de9e8 ( wq_pool_attach_mutex ){+.+.}-{3:3} , at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2689 8 locks held by syz-executor.3/8389: #0: ffff88807bc94420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] ffff88807bc94420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff88807ae42888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff8880226413c8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8eef49e8 ( nsim_bus_dev_list_lock ){+.+.}-{3:3} , at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88806149e0e8 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: __device_driver_lock drivers/base/dd.c:1093 [inline] , at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1290 #5: ffff88806149d250 ( &devlink->lock_key #13 ){+.+.}-{3:3} , at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8f5e6b48 ( rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:772 #7: ffffffff8e1ce470 (cpu_hotplug_lock){++++}-{0:0} , at: flush_all_backlogs net/core/dev.c:5983 [inline] , at: unregister_netdevice_many_notify+0x607/0x16e0 net/core/dev.c:11200 1 lock held by syz-executor.3/8539: #0: ffffffff8f5e6b48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5e6b48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 1 lock held by syz-executor.3/8542: #0: ffffffff8f5e6b48 ( rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.9.0-next-20240515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 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+0xfde/0x1020 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: yealink 1-1:36.0: unexpected response 0 yealink 1-1:36.0: urb_ctl_callback - urb status -71 yealink 1-1:36.0: urb_irq_callback - urb status -71 yealink 1-1:36.0: unexpected response 0 yealink 1-1:36.0: urb_ctl_callback - urb status -71 NMI backtrace for cpu 1 CPU: 1 PID: 5153 Comm: kworker/1:5 Not tainted 6.9.0-next-20240515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: wg-crypt-wg0 wg_packet_tx_worker RIP: 0010:io_serial_in+0x76/0xb0 drivers/tty/serial/8250/8250_port.c:406 Code: 00 4f 57 fc 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 81 08 bd fc 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c RSP: 0000:ffffc90000a17438 EFLAGS: 00000002 RAX: 1ffffffff295b600 RBX: ffffffff94adb1a0 RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000405 RDI: 0000000000000406 RBP: 0000000000000000 R08: ffffffff853efd76 R09: 1ffff11003f3d046 R10: dffffc0000000000 R11: ffffffff853efd30 R12: dffffc0000000000 R13: 00000000000026f4 R14: 00000000000003fd R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30e21000 CR3: 0000000063fc4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:117 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:139 [inline] wait_for_lsr drivers/tty/serial/8250/8250_port.c:2068 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0x1099/0x1770 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2928 [inline] console_flush_all+0x865/0xfd0 kernel/printk/printk.c:2994 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3063 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2345 dev_vprintk_emit+0x2ae/0x330 drivers/base/core.c:4951 dev_printk_emit+0xdd/0x120 drivers/base/core.c:4962 _dev_err+0x122/0x170 drivers/base/core.c:5017 urb_ctl_callback+0x1d3/0x290 drivers/input/misc/yealink.c:454 __usb_hcd_giveback_urb+0x373/0x530 drivers/usb/core/hcd.c:1648 dummy_timer+0x830/0x45d0 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:unwind_get_return_address+0x76/0xc0 arch/x86/kernel/unwind_orc.c:369 Code: 08 48 89 df e8 2b f8 ba 00 48 8b 3b e8 83 49 21 00 89 c5 31 ff 89 c6 e8 b8 42 55 00 85 ed 74 20 e8 6f 3e 55 00 43 80 3c 37 00 <74> 08 48 89 df e8 00 f8 ba 00 48 8b 03 eb 0e e8 56 3e 55 00 eb 05 RSP: 0000:ffffc90000a18478 EFLAGS: 00000246 RAX: ffffffff81410e11 RBX: ffffc90000a184e8 RCX: ffff88801fe39e00 RDX: 0000000080000101 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff81410e08 R09: ffffffff814128cf R10: 0000000000000003 R11: ffff88801fe39e00 R12: ffff88801fe39e00 R13: ffffffff81821a60 R14: dffffc0000000000 R15: 1ffff9200014309d arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3940 [inline] slab_alloc_node mm/slub.c:4000 [inline] kmem_cache_alloc_node_noprof+0x16b/0x320 mm/slub.c:4043 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:656 __netdev_alloc_skb+0x105/0x560 net/core/skbuff.c:730 netdev_alloc_skb include/linux/skbuff.h:3319 [inline] dev_alloc_skb include/linux/skbuff.h:3332 [inline] __ieee80211_beacon_get+0x998/0x15c0 net/mac80211/tx.c:5471 ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5593 ieee80211_beacon_get include/net/mac80211.h:5562 [inline] mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2302 __iterate_interfaces+0x223/0x4c0 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:808 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2336 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1751 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1768 handle_softirqs+0x2d6/0x990 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 wg_packet_create_data_done drivers/net/wireguard/send.c:257 [inline] wg_packet_tx_worker+0x253/0x810 drivers/net/wireguard/send.c:276 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 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 yealink 1-1:36.0: urb_irq_callback - urb status -71 yealink 1-1:36.0: unexpected response 0 yealink 1-1:36.0: urb_ctl_callback - urb status -71 yealink 1-1:36.0: urb_irq_callback - urb status -71 yealink 1-1:36.0: unexpected response 0 yealink 1-1:36.0: urb_ctl_callback - urb status -71 yealink 1-1:36.0: urb_irq_callback - urb status -71