INFO: task syz.3.375:6134 blocked for more than 143 seconds. Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.375 state:D stack:27632 pid:6134 tgid:6133 ppid:2647 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xcda/0x2f80 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 chaoskey_release+0x81/0x290 drivers/usb/misc/chaoskey.c:289 __fput+0x408/0xbb0 fs/file_table.c:422 task_work_run+0x14e/0x250 kernel/task_work.c:222 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xaa3/0x2b30 kernel/exit.c:882 do_group_exit+0xd3/0x2a0 kernel/exit.c:1031 get_signal+0x25fd/0x2770 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 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+0x147/0x260 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff0c6c875fb RSP: 002b:00007ff0c5904f70 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007ff0c6c875fb RDX: 00007ff0c5906000 RSI: 0000000080085502 RDI: 0000000000000003 RBP: 00007ff0c6cf58ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000020000a00 R13: 0000000000000000 R14: 00007ff0c6e15f80 R15: 00007ffe60251b08 Showing all locks held in the system: 5 locks held by kworker/1:0/24: #0: ffff8881046e3548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc9000019fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888108f73190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888108f73190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 #3: ffff88811a4d0190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88811a4d0190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004 #4: ffff888123167160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff888123167160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004 1 lock held by khungtaskd/30: #0: ffffffff88cb68a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff88cb68a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff88cb68a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6620 2 locks held by klogd/2530: #0: ffff8881f633d758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:560 [inline] #0: ffff8881f633d758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1415 [inline] #0: ffff8881f633d758 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1714 [inline] #0: ffff8881f633d758 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x28e/0x2f80 kernel/sched/core.c:6436 #1: ffffffff88e49200 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: lock_hrtimer_base kernel/time/hrtimer.c:175 [inline] #1: ffffffff88e49200 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: hrtimer_start_range_ns+0x118/0xe60 kernel/time/hrtimer.c:1300 2 locks held by getty/2600: #0: ffff88810e7020a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211 2 locks held by kworker/1:3/4923: #0: ffff888100eed548 ((wq_completion)pm){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90001e7fd80 ((work_completion)(&dev->power.work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 3 locks held by kworker/1:4/4951: #0: ffff8881046e3548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90001f7fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888108fa3190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888108fa3190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 5 locks held by kworker/1:5/4955: #0: ffff8881046e3548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90001f9fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888106f2f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888106f2f190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 #3: ffff88811db45190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88811db45190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff88811eb04160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88811eb04160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff88811eb04160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 4 locks held by udevd/4988: #0: ffff888116f8f2f0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff888116866c88 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff888112a23788 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88811a4d0190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88811a4d0190 (&dev->mutex){....}-{3:3}, at: uevent_show+0x188/0x3b0 drivers/base/core.c:2743 1 lock held by syz.1.371/6135: #0: ffff888114d14078 (&dev->lock#5){+.+.}-{3:3}, at: chaoskey_read+0x260/0x600 drivers/usb/misc/chaoskey.c:434 1 lock held by syz.3.375/6134: #0: ffff888114d14078 (&dev->lock#5){+.+.}-{3:3}, at: chaoskey_release+0x81/0x290 drivers/usb/misc/chaoskey.c:289 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #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+0x116/0x1f0 lib/dump_stack.c:119 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf4e/0x1280 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 2542 Comm: udevd Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__might_sleep+0x9a/0x170 kernel/sched/core.c:8366 Code: ea 03 80 3c 02 00 0f 85 ae 00 00 00 49 83 bc 24 90 16 00 00 00 74 09 80 3d cc 57 fe 08 00 74 14 48 83 c4 10 89 ee 48 89 df 5b <31> d2 5d 41 5c e9 6c f9 ff ff c6 05 af 57 fe 08 01 90 65 4c 8b 25 RSP: 0018:ffffc900016cfb08 EFLAGS: 00000286 RAX: 0000000000000003 RBX: ffff888114c0a800 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000249 RDI: ffffffff8727d140 RBP: 0000000000000249 R08: ffffffff81c3dd6a R09: 0000000000000000 R10: ffffc900016cfc60 R11: 0000000000000000 R12: ffff888116428000 R13: 0000000000000002 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f4983de4c80(0000) GS:ffff8881f6300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff942498108 CR3: 0000000116436000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mutex_lock_common kernel/locking/mutex.c:585 [inline] __mutex_lock+0xe2/0x9c0 kernel/locking/mutex.c:752 ep_send_events fs/eventpoll.c:1835 [inline] ep_poll fs/eventpoll.c:2005 [inline] do_epoll_wait+0xaba/0x1ae0 fs/eventpoll.c:2464 __do_sys_epoll_wait fs/eventpoll.c:2476 [inline] __se_sys_epoll_wait fs/eventpoll.c:2471 [inline] __x64_sys_epoll_wait+0x194/0x290 fs/eventpoll.c:2471 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4983f1c457 Code: 73 01 c3 48 8b 0d d1 d9 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 e8 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 76 48 8b 15 a2 d9 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffef032d578 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 00007ffef032d678 RCX: 00007f4983f1c457 RDX: 0000000000000008 RSI: 00007ffef032d678 RDI: 000000000000000b RBP: 000055ba0c3d2530 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000bb8 R11: 0000000000000246 R12: 0000000000000bb8 R13: 000055ba0c3aacd4 R14: 0000000000000000 R15: 0000000000000000