INFO: task syz.5.1476:8708 blocked for more than 143 seconds. Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.1476 state:D stack:25944 pid:8708 tgid:8706 ppid:5227 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2591 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 kthread_flush_worker+0x242/0x300 kernel/kthread.c:1403 drm_vblank_flush_worker drivers/gpu/drm/drm_internal.h:101 [inline] drm_crtc_vblank_off+0x73b/0x990 drivers/gpu/drm/drm_vblank.c:1401 disable_outputs drivers/gpu/drm/drm_atomic_helper.c:1214 [inline] drm_atomic_helper_commit_modeset_disables+0xd01/0x1a10 drivers/gpu/drm/drm_atomic_helper.c:1418 vkms_atomic_commit_tail+0x50/0x200 drivers/gpu/drm/vkms/vkms_drv.c:71 commit_tail+0x2ab/0x3c0 drivers/gpu/drm/drm_atomic_helper.c:1833 drm_atomic_helper_commit+0x953/0x9f0 drivers/gpu/drm/drm_atomic_helper.c:2073 drm_atomic_commit+0x298/0x2f0 drivers/gpu/drm/drm_atomic.c:1516 drm_client_modeset_commit_atomic+0x676/0x7e0 drivers/gpu/drm/drm_client_modeset.c:1068 drm_client_modeset_dpms+0x187/0x8c0 drivers/gpu/drm/drm_client_modeset.c:1249 drm_fb_helper_blank+0x1be/0x200 fb_blank+0x162/0x250 drivers/video/fbdev/core/fbmem.c:355 do_fb_ioctl+0x43e/0x7b0 drivers/video/fbdev/core/fb_chrdev.c:145 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f30cb97dff9 RSP: 002b:00007f30cc712038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f30cbb35f80 RCX: 00007f30cb97dff9 RDX: 0000000000000002 RSI: 0000000000004611 RDI: 0000000000000003 RBP: 00007f30cb9f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f30cbb35f80 R15: 00007fff44e067b8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by kworker/u8:2/33: #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90000a97d00 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000a97d00 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 2 locks held by kworker/u8:3/36: #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90000ac7d00 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000ac7d00 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 2 locks held by kworker/u8:4/80: 4 locks held by kworker/u8:8/2994: #0: ffff88801bae5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801bae5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90009387d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90009387d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcc6350 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:580 #3: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: wg_destruct+0x25/0x2e0 drivers/net/wireguard/device.c:246 2 locks held by getty/4977: #0: ffff8880324da0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 4 locks held by kworker/0:5/5323: 2 locks held by kworker/0:6/5327: 2 locks held by kworker/0:8/5379: 7 locks held by syz.5.1476/8708: #0: ffffffff8e813400 (console_lock){+.+.}-{0:0}, at: do_fb_ioctl+0x41e/0x7b0 drivers/video/fbdev/core/fb_chrdev.c:143 #1: ffff888024be5078 (&fb_info->lock){+.+.}-{3:3}, at: lock_fb_info include/linux/fb.h:618 [inline] #1: ffff888024be5078 (&fb_info->lock){+.+.}-{3:3}, at: do_fb_ioctl+0x433/0x7b0 drivers/video/fbdev/core/fb_chrdev.c:144 #2: ffff88814278ba80 (&helper->lock){+.+.}-{3:3}, at: drm_fb_helper_dpms drivers/gpu/drm/drm_fb_helper.c:308 [inline] #2: ffff88814278ba80 (&helper->lock){+.+.}-{3:3}, at: drm_fb_helper_blank+0x134/0x200 drivers/gpu/drm/drm_fb_helper.c:338 #3: ffff8880249d01b0 (&dev->master_mutex){+.+.}-{3:3}, at: drm_master_internal_acquire+0x20/0x70 drivers/gpu/drm/drm_auth.c:452 #4: ffff88814278b898 (&client->modeset_mutex){+.+.}-{3:3}, at: drm_client_modeset_dpms+0xd7/0x8c0 drivers/gpu/drm/drm_client_modeset.c:1247 #5: ffffc90003c37870 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0xd5/0x7e0 drivers/gpu/drm/drm_client_modeset.c:1007 #6: ffff888024b070b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: modeset_lock+0x2bf/0x650 drivers/gpu/drm/drm_modeset_lock.c:314 2 locks held by syz.1.1486/8770: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x232/0xde0 drivers/tty/tty_io.c:2129 #1: ffff88804a8511c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_init_dev+0x78/0x4c0 drivers/tty/tty_io.c:1415 1 lock held by syz.2.1499/8788: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x232/0xde0 drivers/tty/tty_io.c:2129 1 lock held by syz.0.1509/8810: #0: ffff8880249d01b0 (&dev->master_mutex){+.+.}-{3:3}, at: drm_master_open+0x6e/0x180 drivers/gpu/drm/drm_auth.c:340 3 locks held by syz-executor/8897: #0: ffffffff8f05fe48 (bio_slab_lock){+.+.}-{3:3}, at: bio_put_slab block/bio.c:140 [inline] #0: ffffffff8f05fe48 (bio_slab_lock){+.+.}-{3:3}, at: bioset_exit+0x42f/0x650 block/bio.c:1812 #1: ffffffff8e7d1e10 (cpu_hotplug_lock){++++}-{0:0}, at: kmem_cache_destroy+0x3e/0x160 mm/slab_common.c:497 #2: ffffffff8ea1faf8 (slab_mutex){+.+.}-{3:3}, at: kmem_cache_destroy+0x4c/0x160 mm/slab_common.c:498 1 lock held by syz.4.1546/8921: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x232/0xde0 drivers/tty/tty_io.c:2129 1 lock held by syz.3.1548/8929: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823 1 lock held by syz.5.1552/8973: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x232/0xde0 drivers/tty/tty_io.c:2129 1 lock held by syz.0.1577/9103: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x232/0xde0 drivers/tty/tty_io.c:2129 1 lock held by syz.2.1608/9229: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x232/0xde0 drivers/tty/tty_io.c:2129 1 lock held by syz.3.1620/9268: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823 1 lock held by syz.1.1663/9395: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823 1 lock held by syz.0.1601/9403: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x232/0xde0 drivers/tty/tty_io.c:2129 1 lock held by syz.4.1686/9514: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline] #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x232/0xde0 drivers/tty/tty_io.c:2129 1 lock held by syz.3.1685/9519: #0: ffff8880249d01b0 (&dev->master_mutex){+.+.}-{3:3}, at: drm_master_open+0x6e/0x180 drivers/gpu/drm/drm_auth.c:340 2 locks held by kworker/u8:11/9679: #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc900030cfd00 ((quota_release_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900030cfd00 ((quota_release_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 1 lock held by syz.2.1724/9764: #0: ffff88807c87e0e0 (&type->s_umount_key#28/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 1 lock held by syz.1.1766/9871: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823 2 locks held by syz-executor/9915: 2 locks held by syz-executor/9945: #0: ffffffff8fcc6350 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:490 #1: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x13/0x50 net/core/dev.c:10626 1 lock held by syz.5.1794/9950: #0: ffffffff8f16afc8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5379 Comm: kworker/0:8 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: wg-crypt-wg2 wg_packet_decrypt_worker RIP: 0010:usb_anchor_resume_wakeups+0x9a/0xe0 drivers/usb/core/urb.c:946 Code: 9c b3 5c fa eb 23 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 f4 78 c6 fa 49 8b 06 4c 39 f0 74 0f e8 77 b3 5c fa 5b <41> 5e 41 5f e9 98 1c b8 04 e8 68 b3 5c fa 49 83 c6 10 4c 89 f7 be RSP: 0018:ffffc90000007888 EFLAGS: 00000046 RAX: ffffffff87382469 RBX: 0000000000000000 RCX: ffff88802d513c00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007970 R08: ffffffff87382434 R09: 1ffff1100c43d267 R10: dffffc0000000000 R11: ffffed100c43d268 R12: ffffc900000078e0 R13: ffff88814b063000 R14: ffff8880621e9298 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32713ff8 CR3: 000000000e734000 CR4: 0000000000350ef0 Call Trace: __usb_hcd_giveback_urb+0x4ff/0x6e0 drivers/usb/core/hcd.c:1653 dummy_timer+0x856/0x4620 drivers/usb/gadget/udc/dummy_hcd.c:1993 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x59d/0xd50 kernel/time/hrtimer.c:1755 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1772 handle_softirqs+0x2c7/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline] RIP: 0010:__local_bh_enable_ip+0x170/0x200 kernel/softirq.c:389 Code: 8c e8 54 08 6f 0a 65 66 8b 05 84 59 ac 7e 66 85 c0 75 5d bf 01 00 00 00 e8 7d af 0b 00 e8 48 20 45 00 fb 65 8b 05 48 59 ac 7e <85> c0 75 05 e8 e7 37 a9 ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c RSP: 0018:ffffc90003d17600 EFLAGS: 00000286 RAX: 0000000080000000 RBX: 1ffff920007a2ec4 RCX: ffffffff8170be0a RDX: dffffc0000000000 RSI: ffffffff8c0acb40 RDI: ffffffff8c6102a0 RBP: ffffc90003d176b0 R08: ffffffff942c98f7 R09: 1ffffffff285931e R10: dffffc0000000000 R11: fffffbfff285931f R12: dffffc0000000000 R13: 1ffff920007a2ec8 R14: ffffc90003d17640 R15: 0000000000000201 spin_unlock_bh include/linux/spinlock.h:396 [inline] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline] wg_packet_decrypt_worker+0xcde/0xd80 drivers/net/wireguard/receive.c:499 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244