INFO: task login:21212 blocked for more than 143 seconds. Not tainted 5.10.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:login state:D stack:28512 pid:21212 ppid: 1 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:3774 [inline] __schedule+0x8a2/0x1f30 kernel/sched/core.c:4523 schedule+0xcb/0x270 kernel/sched/core.c:4601 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1852 __down_common kernel/locking/semaphore.c:220 [inline] __down+0x183/0x2a0 kernel/locking/semaphore.c:237 down+0x57/0x80 kernel/locking/semaphore.c:61 console_lock+0x2a/0x80 kernel/printk/printk.c:2316 con_flush_chars drivers/tty/vt/vt.c:3332 [inline] con_flush_chars+0x35/0x90 drivers/tty/vt/vt.c:3324 n_tty_write+0xd22/0xf80 drivers/tty/n_tty.c:2350 do_tty_write drivers/tty/tty_io.c:962 [inline] tty_write+0x4de/0x870 drivers/tty/tty_io.c:1046 vfs_write+0x28e/0x700 fs/read_write.c:603 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f9341036970 Code: Unable to access opcode bytes at RIP 0x7f9341036946. RSP: 002b:00007ffe132d0668 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f9341036970 RDX: 0000000000000023 RSI: 0000556ecd40c620 RDI: 0000000000000002 RBP: 0000556ecdf02af0 R08: 00007f9341b504c0 R09: 00007ffe132d0d80 R10: 0000000000000449 R11: 0000000000000246 R12: 000000000000000a R13: 0000000000000001 R14: 00007f93412f5520 R15: 000000000000000a INFO: task syz-executor.2:24664 blocked for more than 144 seconds. Not tainted 5.10.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28816 pid:24664 ppid: 4594 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:3774 [inline] __schedule+0x8a2/0x1f30 kernel/sched/core.c:4523 schedule+0xcb/0x270 kernel/sched/core.c:4601 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4660 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x3e2/0x10a0 kernel/locking/mutex.c:1103 exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] synchronize_rcu_expedited+0x2d2/0x680 kernel/rcu/tree_exp.h:836 namespace_unlock+0x1af/0x410 fs/namespace.c:1425 drop_collected_mounts fs/namespace.c:1913 [inline] put_mnt_ns fs/namespace.c:3853 [inline] put_mnt_ns+0xcf/0xf0 fs/namespace.c:3849 free_nsproxy+0x43/0x4a0 kernel/nsproxy.c:196 switch_task_namespaces+0xaf/0xd0 kernel/nsproxy.c:254 do_exit+0xb23/0x27a0 kernel/exit.c:805 do_group_exit+0x125/0x310 kernel/exit.c:903 get_signal+0x483/0x22c0 kernel/signal.c:2757 arch_do_signal+0x88/0x19b0 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0xf7/0x160 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x250 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4177a1 Code: Unable to access opcode bytes at RIP 0x417777. RSP: 002b:00007fff9ad98e90 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004177a1 RDX: 0000001b31b20000 RSI: 0000000000000920 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00000000931a0920 R09: 00000000931a0924 R10: 00007fff9ad98f70 R11: 0000000000000293 R12: 000000000118c9a0 R13: 000000000118c9a0 R14: 00000000000003e8 R15: 000000000118bf2c Showing all locks held in the system: 2 locks held by kworker/0:0/5: #0: ffff888100064d38 ( (wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] (wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] (wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] (wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] (wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] (wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x821/0x1520 kernel/workqueue.c:2243 #1: ffffc9000005fda8 ( console_work ){+.+.}-{0:0} , at: process_one_work+0x854/0x1520 kernel/workqueue.c:2247 8 locks held by kworker/0:1/12: 1 lock held by khungtaskd/1266: #0: ffffffff872491e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6259 1 lock held by in:imklog/4271: #0: ffff8881029cf4f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:932 5 locks held by kworker/0:4/7232: 8 locks held by kworker/0:5/7240: 2 locks held by login/20491: #0: ffff888106525098 ( &tty->ldisc_sem){++++}-{0:0} , at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffff888106525130 (&tty->atomic_write_lock){+.+.}-{3:3} , at: tty_write_lock drivers/tty/tty_io.c:888 [inline] , at: do_tty_write drivers/tty/tty_io.c:911 [inline] , at: tty_write+0x280/0x870 drivers/tty/tty_io.c:1046 7 locks held by kworker/0:2/25885: #0: ffff888103c41d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x821/0x1520 kernel/workqueue.c:2243 #1: ffffc900018d7da8 ( (work_completion)(&hub->events) ){+.+.}-{0:0}, at: process_one_work+0x854/0x1520 kernel/workqueue.c:2247 #2: ffff888108e35218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:731 [inline] ffff888108e35218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5536 #3: ffff88810b83f218 ( &dev->mutex ){....}-{3:3}, at: device_lock include/linux/device.h:731 [inline] ){....}-{3:3}, at: usb_disconnect.cold+0x43/0x780 drivers/usb/core/hub.c:2208 #4: ffff888109ea21a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:731 [inline] #4: ffff888109ea21a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:975 [inline] #4: ffff888109ea21a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal drivers/base/dd.c:1181 [inline] #4: ffff888109ea21a8 (&dev->mutex){....}-{3:3}, at: device_release_driver+0x1c/0x40 drivers/base/dd.c:1207 #5: ffff88810b7a5ab0 (&dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:731 [inline] , at: __device_driver_lock drivers/base/dd.c:975 [inline] , at: device_release_driver_internal drivers/base/dd.c:1181 [inline] , at: device_release_driver+0x1c/0x40 drivers/base/dd.c:1207 #6: ffffffff87c4afe8 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x16d/0x470 drivers/input/input.c:2088 3 locks held by login/21212: #0: ffff888109ea5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffff888109ea5130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:888 [inline] (&tty->atomic_write_lock){+.+.}-{3:3}, at: do_tty_write drivers/tty/tty_io.c:911 [inline] (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write+0x280/0x870 drivers/tty/tty_io.c:1046 #2: ffff888109ea52e8 (&tty->termios_rwsem){++++}-{3:3}, at: n_tty_write+0x1bf/0xf80 drivers/tty/n_tty.c:2316 1 lock held by syz-executor.2/24664: #0: ffffffff8724f3e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] ffffffff8724f3e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2d2/0x680 kernel/rcu/tree_exp.h:836 2 locks held by kworker/0:6/24744: #0: ffff888100066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x821/0x1520 kernel/workqueue.c:2243 #1: ffffc90012197da8 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x854/0x1520 kernel/workqueue.c:2247 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1266 Comm: khungtaskd Not tainted 5.10.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x46/0xe0 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1da/0x200 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd32/0xf70 kernel/hung_task.c:295 kthread+0x38c/0x460 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7240 Comm: kworker/0:5 Not tainted 5.10.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:io_serial_out+0x68/0x80 drivers/tty/serial/8250/8250_port.c:454 Code: f1 00 00 00 48 8d 7d 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 d3 e3 80 3c 02 00 75 15 03 5d 40 44 89 e0 89 da ee <5b> 5d 41 5c c3 e8 6e ce 32 ff eb c7 e8 97 ce 32 ff eb e4 0f 1f 44 RSP: 0018:ffffc90005f96938 EFLAGS: 00000002 RAX: 000000000000005b RBX: 00000000000003f8 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: ffffffff82378eb1 RDI: ffffffff8a5cdfc0 RBP: ffffffff8a5cdf80 R08: 0000000000000001 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000005b R13: 000000000000005b R14: ffffffff8a5cdf80 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f6a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa809c7d000 CR3: 000000010992d000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: uart_console_write+0x59/0x100 drivers/tty/serial/serial_core.c:1942 serial8250_console_write+0x90c/0xa90 drivers/tty/serial/8250/8250_port.c:3316 call_console_drivers kernel/printk/printk.c:1885 [inline] console_unlock+0x848/0xb90 kernel/printk/printk.c:2499 vprintk_emit+0x1da/0x4d0 kernel/printk/printk.c:2028 dev_vprintk_emit+0x2ea/0x32e drivers/base/core.c:4130 dev_printk_emit+0xba/0xf1 drivers/base/core.c:4141 __netdev_printk+0x1c6/0x27a net/core/dev.c:10946 netdev_warn+0xd7/0x109 net/core/dev.c:10999 asix_read_cmd.cold+0x3a/0x46 drivers/net/usb/asix_common.c:29 asix_mdio_read+0x149/0x320 drivers/net/usb/asix_common.c:458 asix_phy_reset+0x104/0x170 drivers/net/usb/asix_devices.c:215 ax88172_bind+0x412/0x5d0 drivers/net/usb/asix_devices.c:272 usbnet_probe+0xb54/0x2740 drivers/net/usb/usbnet.c:1712 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396 really_probe+0x291/0xde0 drivers/base/dd.c:554 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:738 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:844 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:912 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbb2/0x1ce0 drivers/base/core.c:2938 usb_set_configuration+0x113c/0x1910 drivers/usb/core/message.c:2159 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:240 usb_probe_device+0xd9/0x2c0 drivers/usb/core/driver.c:293 really_probe+0x291/0xde0 drivers/base/dd.c:554 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:738 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:844 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:912 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbb2/0x1ce0 drivers/base/core.c:2938 usb_new_device.cold+0x71d/0xfe9 drivers/usb/core/hub.c:2554 hub_port_connect drivers/usb/core/hub.c:5222 [inline] hub_port_connect_change drivers/usb/core/hub.c:5362 [inline] port_event drivers/usb/core/hub.c:5508 [inline] hub_event+0x2348/0x42d0 drivers/usb/core/hub.c:5590 process_one_work+0x933/0x1520 kernel/workqueue.c:2272 process_scheduled_works kernel/workqueue.c:2334 [inline] worker_thread+0x82b/0x1120 kernel/workqueue.c:2420 kthread+0x38c/0x460 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296