INFO: task syz-executor.3:779 blocked for more than 143 seconds. Not tainted 5.3.0+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27104 779 716 0x00000004 Call Trace: context_switch kernel/sched/core.c:3384 [inline] __schedule+0x76e/0x17d0 kernel/sched/core.c:4056 schedule+0xd9/0x260 kernel/sched/core.c:4123 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4182 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1103 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118 ovs_lock net/openvswitch/datapath.c:105 [inline] ovs_dp_cmd_dump+0x1f3/0x540 net/openvswitch/datapath.c:1820 netlink_dump+0x558/0xfa0 net/netlink/af_netlink.c:2244 __netlink_dump_start+0x5b1/0x7d0 net/netlink/af_netlink.c:2352 genl_family_rcv_msg+0xbf3/0xf90 net/netlink/genetlink.c:583 genl_rcv_msg+0xca/0x170 net/netlink/genetlink.c:654 netlink_rcv_skb+0x177/0x450 net/netlink/af_netlink.c:2477 genl_rcv+0x29/0x40 net/netlink/genetlink.c:665 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x531/0x710 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x8a5/0xd60 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:657 ___sys_sendmsg+0x803/0x920 net/socket.c:2311 __sys_sendmsg+0x105/0x1d0 net/socket.c:2356 __do_sys_sendmsg net/socket.c:2365 [inline] __se_sys_sendmsg net/socket.c:2363 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2363 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a29 Code: Bad RIP value. RSP: 002b:00007f35be97cc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a29 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f35be97d6d4 R13: 00000000004c78f5 R14: 00000000004dd2d8 R15: 00000000ffffffff INFO: task syz-executor.5:774 blocked for more than 143 seconds. Not tainted 5.3.0+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D26032 774 723 0x00004004 Call Trace: context_switch kernel/sched/core.c:3384 [inline] __schedule+0x76e/0x17d0 kernel/sched/core.c:4056 schedule+0xd9/0x260 kernel/sched/core.c:4123 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4182 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1103 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118 ovs_lock net/openvswitch/datapath.c:105 [inline] ovs_dp_cmd_new+0x5d9/0xe30 net/openvswitch/datapath.c:1642 genl_family_rcv_msg+0x74b/0xf90 net/netlink/genetlink.c:629 genl_rcv_msg+0xca/0x170 net/netlink/genetlink.c:654 netlink_rcv_skb+0x177/0x450 net/netlink/af_netlink.c:2477 genl_rcv+0x29/0x40 net/netlink/genetlink.c:665 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x531/0x710 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x8a5/0xd60 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:657 ___sys_sendmsg+0x803/0x920 net/socket.c:2311 __sys_sendmsg+0x105/0x1d0 net/socket.c:2356 __do_sys_sendmsg net/socket.c:2365 [inline] __se_sys_sendmsg net/socket.c:2363 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2363 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a29 Code: Bad RIP value. RSP: 002b:00007fed831d2c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a29 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fed831d36d4 R13: 00000000004c78f5 R14: 00000000004dd2d8 R15: 00000000ffffffff Showing all locks held in the system: 2 locks held by kworker/u4:3/310: 1 lock held by khungtaskd/1064: #0: ffffffff88fab280 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5337 1 lock held by rsyslogd/8631: #0: ffff8880a8bd0b60 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/8721: #0: ffff888090be0d50 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f352e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8722: #0: ffff88808cc7c950 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f412e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8723: #0: ffff88808cc7d1d0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f392e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8724: #0: ffff8880a166eed0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f292e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8725: #0: ffff8880907fe410 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f3d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8726: #0: ffff88808d480e50 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f192e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8727: #0: ffff888091545510 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f112e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by kworker/0:6/13209: #0: ffff8880aa435ba8 ((wq_completion)rcu_gp){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880aa435ba8 ((wq_completion)rcu_gp){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa435ba8 ((wq_completion)rcu_gp){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880aa435ba8 ((wq_completion)rcu_gp){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880aa435ba8 ((wq_completion)rcu_gp){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: ffff8880aa435ba8 ((wq_completion)rcu_gp){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: ffff8880aa435ba8 ((wq_completion)rcu_gp){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2240 #1: ffff88808c2ffdc0 ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2244 6 locks held by kworker/u4:5/13549: #0: ffff8880a999dbe8 ((wq_completion)netns){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880a999dbe8 ((wq_completion)netns){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a999dbe8 ((wq_completion)netns){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880a999dbe8 ((wq_completion)netns){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880a999dbe8 ((wq_completion)netns){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: ffff8880a999dbe8 ((wq_completion)netns){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: ffff8880a999dbe8 ((wq_completion)netns){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2240 #1: ffff88806de87dc0 (net_cleanup_work){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2244 #2: ffffffff8998ffc8 (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0xa60 net/core/net_namespace.c:556 #3: ffffffff89bf21a0 (ovs_mutex){+.+.}, at: ovs_lock net/openvswitch/datapath.c:105 [inline] #3: ffffffff89bf21a0 (ovs_mutex){+.+.}, at: ovs_exit_net+0x206/0xc30 net/openvswitch/datapath.c:2421 #4: ffffffff8999d360 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 #5: ffffffff88faf0b8 (rcu_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:285 [inline] #5: ffffffff88faf0b8 (rcu_state.exp_mutex){+.+.}, at: synchronize_rcu_expedited+0x4d6/0x5f0 kernel/rcu/tree_exp.h:817 3 locks held by syz-executor.3/779: #0: ffffffff899ef5c8 (cb_lock){++++}, at: genl_rcv+0x1a/0x40 net/netlink/genetlink.c:664 #1: ffff88803bf31198 (nlk_cb_mutex-GENERIC){+.+.}, at: netlink_dump+0xe7/0xfa0 net/netlink/af_netlink.c:2199 #2: ffffffff89bf21a0 (ovs_mutex){+.+.}, at: ovs_lock net/openvswitch/datapath.c:105 [inline] #2: ffffffff89bf21a0 (ovs_mutex){+.+.}, at: ovs_dp_cmd_dump+0x1f3/0x540 net/openvswitch/datapath.c:1820 2 locks held by syz-executor.4/759: #0: ffffffff899ef5c8 (cb_lock){++++}, at: genl_rcv+0x1a/0x40 net/netlink/genetlink.c:664 #1: ffffffff89bf21a0 (ovs_mutex){+.+.}, at: ovs_lock net/openvswitch/datapath.c:105 [inline] #1: ffffffff89bf21a0 (ovs_mutex){+.+.}, at: ovs_dp_cmd_new+0x5d9/0xe30 net/openvswitch/datapath.c:1642 2 locks held by syz-executor.4/763: #0: ffffffff899ef5c8 (cb_lock){++++}, at: genl_rcv+0x1a/0x40 net/netlink/genetlink.c:664 #1: ffffffff89bf21a0 (ovs_mutex){+.+.}, at: ovs_lock net/openvswitch/datapath.c:105 [inline] #1: ffffffff89bf21a0 (ovs_mutex){+.+.}, at: ovs_dp_cmd_new+0x5d9/0xe30 net/openvswitch/datapath.c:1642 2 locks held by syz-executor.5/774: #0: ffffffff899ef5c8 (cb_lock){++++}, at: genl_rcv+0x1a/0x40 net/netlink/genetlink.c:664 #1: ffffffff89bf21a0 (ovs_mutex){+.+.}, at: ovs_lock net/openvswitch/datapath.c:105 [inline] #1: ffffffff89bf21a0 (ovs_mutex){+.+.}, at: ovs_dp_cmd_new+0x5d9/0xe30 net/openvswitch/datapath.c:1642 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1064 Comm: khungtaskd Not tainted 5.3.0+ #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+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0x9d0/0xef0 kernel/hung_task.c:289 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13549 Comm: kworker/u4:5 Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:io_serial_in+0x6b/0x90 drivers/tty/serial/8250/8250_port.c:451 Code: e9 00 00 00 49 8d 7c 24 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 d3 e3 80 3c 02 00 75 17 41 03 5c 24 38 89 da ec <5b> 0f b6 c0 41 5c 5d c3 e8 58 a4 22 fe eb c2 e8 b1 a4 22 fe eb e2 RSP: 0018:ffff88806de872c8 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: ffffffff838a2c31 RDI: ffffffff8b577278 RBP: ffff88806de872d8 R08: ffff888092242580 R09: ffffed100dbd0e60 R10: ffffed100dbd0e5f R11: 0000000000000003 R12: ffffffff8b577240 R13: 0000000000000020 R14: 0000000000000000 R15: fffffbfff16aee51 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000008d50b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: serial_in drivers/tty/serial/8250/8250.h:113 [inline] wait_for_xmitr+0xa1/0x230 drivers/tty/serial/8250/8250_port.c:1969 serial8250_console_putchar+0x1f/0x60 drivers/tty/serial/8250/8250_port.c:3110 uart_console_write+0x54/0x110 drivers/tty/serial/serial_core.c:1923 serial8250_console_write+0x612/0x9a0 drivers/tty/serial/8250/8250_port.c:3174 univ8250_console_write+0x5f/0x70 drivers/tty/serial/8250/8250_core.c:587 call_console_drivers kernel/printk/printk.c:1781 [inline] console_unlock+0xb89/0xf10 kernel/printk/printk.c:2463 vprintk_emit+0x2a0/0x700 kernel/printk/printk.c:1986 vprintk_default+0x28/0x30 kernel/printk/printk.c:2013 vprintk_func+0x7e/0x189 kernel/printk/printk_safe.c:386 printk+0xba/0xed kernel/printk/printk.c:2046 kobject_cleanup lib/kobject.c:669 [inline] kobject_release lib/kobject.c:722 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put.cold+0x88/0x2e6 lib/kobject.c:739 batadv_sysfs_del_hardif+0x6f/0xb8 net/batman-adv/sysfs.c:1269 batadv_hardif_remove_interface+0x7d/0x170 net/batman-adv/hard-interface.c:971 batadv_hard_if_event+0x2cb/0xf80 net/batman-adv/hard-interface.c:1050 notifier_call_chain+0xc2/0x230 kernel/notifier.c:95 __raw_notifier_call_chain kernel/notifier.c:396 [inline] raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:403 call_netdevice_notifiers_info+0x3f/0x90 net/core/dev.c:1749 call_netdevice_notifiers_extack net/core/dev.c:1761 [inline] call_netdevice_notifiers net/core/dev.c:1775 [inline] rollback_registered_many+0x8ba/0xdd0 net/core/dev.c:8254 rollback_registered+0x109/0x1d0 net/core/dev.c:8296 unregister_netdevice_queue net/core/dev.c:9345 [inline] unregister_netdevice_queue+0x1ee/0x2c0 net/core/dev.c:9338 unregister_netdevice include/linux/netdevice.h:2644 [inline] internal_dev_destroy+0xc2/0x150 net/openvswitch/vport-internal_dev.c:223 ovs_vport_del+0x15e/0x1d0 net/openvswitch/vport.c:253 ovs_dp_detach_port+0x126/0x1a0 net/openvswitch/datapath.c:212 __dp_destroy+0x351/0x450 net/openvswitch/datapath.c:1710 ovs_exit_net+0x287/0xc30 net/openvswitch/datapath.c:2423 ops_exit_list.isra.0+0xaa/0x150 net/core/net_namespace.c:172 cleanup_net+0x4e2/0xa60 net/core/net_namespace.c:594 process_one_work+0x9af/0x1740 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352