serio: Serial port pts2 BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 166s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=10/256 in-flight: 5256:rtc_timer_do_work pending: vmstat_shepherd, dst_gc_task, destroy_super_work, destroy_super_work, destroy_super_work, destroy_super_work, key_garbage_collector, wait_rcu_exp_gp, proc_cleanup_work workqueue events_long: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 pending: serio_handle_event workqueue events_power_efficient: flags=0x80 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=2/256 pending: ioc_release_fn, check_lifetime workqueue netns: flags=0xe000a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 in-flight: 9074:cleanup_net delayed: cleanup_net workqueue vmstat: flags=0xc pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 pending: vmstat_update workqueue ipv6_addrconf: flags=0x40008 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/1 pending: addrconf_verify_work pool 2: cpus=1 node=0 flags=0x0 nice=0 hung=167s workers=4 idle: 5258 18 22 pool 4: cpus=0-1 flags=0x4 nice=0 hung=1s workers=12 idle: 2260 9080 64 2221 2281 2438 9096 9091 3160 9071 6 INFO: task kworker/u4:8:9074 blocked for more than 140 seconds. Not tainted 4.9.133+ #52 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:8 D28696 9074 2 0x80000000 Workqueue: netns cleanup_net ffff88019e2edf00 0000000000000000 ffff88019eb2d800 ffff8801d84b17c0 ffff8801db721018 ffff88019da17528 ffffffff827f3792 0000000000000004 ffff88019e2ee7b0 ffffed0033c5dcf5 00ff88019e2edf00 ffff8801db7218f0 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3553 [] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3586 [] __mutex_lock_common kernel/locking/mutex.c:582 [inline] [] mutex_lock_nested+0x38d/0x900 kernel/locking/mutex.c:621 [] exp_funnel_lock kernel/rcu/tree_exp.h:289 [inline] [] _synchronize_rcu_expedited+0x3a7/0x840 kernel/rcu/tree_exp.h:569 [] synchronize_rcu_expedited+0x22/0x30 kernel/rcu/tree_exp.h:687 [] synchronize_net+0x2f/0x50 net/core/dev.c:7834 [] rollback_registered_many+0x5c4/0xb50 net/core/dev.c:6820 [] unregister_netdevice_many+0x48/0x220 net/core/dev.c:7879 [] ip6_tnl_destroy_tunnels net/ipv6/ip6_tunnel.c:2183 [inline] [] ip6_tnl_exit_net+0x3dd/0x5b0 net/ipv6/ip6_tunnel.c:2230 [] ops_exit_list.isra.0+0xb0/0x160 net/core/net_namespace.c:136 [] cleanup_net+0x3f2/0x8b0 net/core/net_namespace.c:473 [] process_one_work+0x831/0x1530 kernel/workqueue.c:2092 [] worker_thread+0xd6/0x1140 kernel/workqueue.c:2226 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Showing all locks held in the system: 2 locks held by khungtaskd/24: #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x11c/0xa20 kernel/hung_task.c:239 #1: (tasklist_lock){.+.?..}, at: [] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336 2 locks held by getty/2037: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+...}, at: [] n_tty_read+0x202/0x16e0 drivers/tty/n_tty.c:2142 1 lock held by syz-executor2/7693: #0: (&sb->s_type->i_mutex_key#8){+.+.+.}, at: [] inode_lock include/linux/fs.h:766 [inline] #0: (&sb->s_type->i_mutex_key#8){+.+.+.}, at: [] __sock_release+0x8b/0x260 net/socket.c:604 5 locks held by kworker/u4:8/9074: #0: ("%s""netns"){.+.+.+}, at: [] process_one_work+0x73c/0x1530 kernel/workqueue.c:2085 #1: (net_cleanup_work){+.+.+.}, at: [] process_one_work+0x774/0x1530 kernel/workqueue.c:2089 #2: (net_mutex){+.+.+.}, at: [] cleanup_net+0x13f/0x8b0 net/core/net_namespace.c:439 #3: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 #4: (rcu_preempt_state.exp_mutex){+.+...}, at: [] exp_funnel_lock kernel/rcu/tree_exp.h:289 [inline] #4: (rcu_preempt_state.exp_mutex){+.+...}, at: [] _synchronize_rcu_expedited+0x3a7/0x840 kernel/rcu/tree_exp.h:569 2 locks held by syz-executor2/11274: #0: (&sb->s_type->i_mutex_key#8){+.+.+.}, at: [] inode_lock include/linux/fs.h:766 [inline] #0: (&sb->s_type->i_mutex_key#8){+.+.+.}, at: [] __sock_release+0x8b/0x260 net/socket.c:604 #1: (rcu_preempt_state.exp_mutex){+.+...}, at: [] exp_funnel_lock kernel/rcu/tree_exp.h:256 [inline] #1: (rcu_preempt_state.exp_mutex){+.+...}, at: [] _synchronize_rcu_expedited+0x339/0x840 kernel/rcu/tree_exp.h:569 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 24 Comm: khungtaskd Not tainted 4.9.133+ #52 ffff8801d9907d08 ffffffff81b37069 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff81098330 ffff8801d9907d40 ffffffff81b42179 0000000000000000 0000000000000000 0000000000000003 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] nmi_cpu_backtrace.cold.0+0x48/0x87 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x12c/0x151 lib/nmi_backtrace.c:60 [] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x6ad/0xa20 kernel/hung_task.c:239 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5256 Comm: kworker/1:2 Not tainted 4.9.133+ #52 Workqueue: events rtc_timer_do_workc task: ffff88019eb04740 task.stack: ffff88019e5c0000 RIP: 0010:[] c [] __lock_release kernel/locking/lockdep.c:3516 [inline] RIP: 0010:[] c [] lock_release+0x130/0xc20 kernel/locking/lockdep.c:3775 RSP: 0018:ffff88019e5c7958 EFLAGS: 00000002 RAX: ffff88019eb04740 RBX: ffff8801d60ffc50 RCX: 1ffff1003ac1ff86 RDX: 0000000000000004 RSI: 0000000000000001 RDI: ffffffff831f2a20 RBP: ffff88019e5c7a00 R08: ffff88019eb05088 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8801d60ffc38 R13: ffff88019eb04740 R14: ffff8801d60ffc38 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016f1308 CR3: 00000001d2f30000 CR4: 00000000001606b0 Stack: 0000000000000046c ffff88019eb04740c 0000000000000000c 0000000000000000c 0000000000000000c ffff88019e5c79f8c 0000000000000046c 0000000000000000c ffffffff8207ce8ec ffffffff00000000c 0000000000000000c 0000000000000046c Call Trace: [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] [] _raw_spin_unlock_irqrestore+0x1f/0x70 kernel/locking/spinlock.c:191 [] spin_unlock_irqrestore include/linux/spinlock.h:362 [inline] [] rtc_handle_legacy_irq+0x81/0x190 drivers/rtc/interface.c:515 [] rtc_uie_update_irq+0x1f/0x30 drivers/rtc/interface.c:550 [] rtc_timer_do_work+0x1ff/0x5e0 drivers/rtc/interface.c:881 [] process_one_work+0x831/0x1530 kernel/workqueue.c:2092 [] worker_thread+0xd6/0x1140 kernel/workqueue.c:2226 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Code: c14 c02 c48 c89 cf8 c83 ce0 c07 c83 cc0 c03 c38 cd0 c7c c08 c84 cd2 c0f c85 cb7 c08 c00 c00 c44 c8b c0d ccd c60 cfe c01 c45 c85 cc9 c0f c84 ce0 c03 c00 c00 c48 c8b c45 cd0 c<48> c05 ca8 c08 c00 c00 c48 c89 cc2 c48 c89 c45 ca0 c48 cb8 c00 c00 c00 c00 c00 cfc c