INFO: task syz-executor.5:2646 blocked for more than 143 seconds. Not tainted 5.4.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D27328 2646 2634 0x00004004 Call Trace: context_switch kernel/sched/core.c:3384 [inline] __schedule+0x909/0x1ee0 kernel/sched/core.c:4078 schedule+0xd9/0x260 kernel/sched/core.c:4145 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4204 __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+0x50d/0xe40 net/openvswitch/datapath.c:1677 genl_family_rcv_msg_doit net/netlink/genetlink.c:672 [inline] genl_family_rcv_msg net/netlink/genetlink.c:717 [inline] genl_rcv_msg+0x67d/0xea0 net/netlink/genetlink.c:734 netlink_rcv_skb+0x177/0x450 net/netlink/af_netlink.c:2477 genl_rcv+0x29/0x40 net/netlink/genetlink.c:745 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:0x45a639 Code: Bad RIP value. RSP: 002b:00007f536ef8ec78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a639 RDX: 9c97020000000000 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f536ef8f6d4 R13: 00000000004c8b17 R14: 00000000004df0f0 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1071: #0: ffffffff88fabc00 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5337 1 lock held by rsyslogd/8772: #0: ffff8880999cc620 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/8862: #0: ffff88809967e090 (&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/8863: #0: ffff888094f6b090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f452e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8864: #0: ffff8880a476a090 (&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/8865: #0: ffff8880a40ec090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f492e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8866: #0: ffff88809ce83090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f252e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8867: #0: ffff8880919ba090 (&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/8868: #0: ffff88809eb70090 (&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 kworker/0:1/27457: #0: ffff8880aa436928 ((wq_completion)rcu_gp){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880aa436928 ((wq_completion)rcu_gp){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa436928 ((wq_completion)rcu_gp){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880aa436928 ((wq_completion)rcu_gp){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880aa436928 ((wq_completion)rcu_gp){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: ffff8880aa436928 ((wq_completion)rcu_gp){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: ffff8880aa436928 ((wq_completion)rcu_gp){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2240 #1: ffff8880a7bf7dc0 ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2244 6 locks held by kworker/u4:3/2838: #0: ffff8880a99cad28 ((wq_completion)netns){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880a99cad28 ((wq_completion)netns){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a99cad28 ((wq_completion)netns){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880a99cad28 ((wq_completion)netns){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880a99cad28 ((wq_completion)netns){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: ffff8880a99cad28 ((wq_completion)netns){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: ffff8880a99cad28 ((wq_completion)netns){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2240 #1: ffff88806e8c7dc0 (net_cleanup_work){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2244 #2: ffffffff89999388 (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0xaf0 net/core/net_namespace.c:559 #3: ffffffff89bf9020 (ovs_mutex){+.+.}, at: ovs_lock net/openvswitch/datapath.c:105 [inline] #3: ffffffff89bf9020 (ovs_mutex){+.+.}, at: ovs_exit_net+0x206/0xc40 net/openvswitch/datapath.c:2458 #4: ffffffff899a5680 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 #5: ffffffff88faf9b8 (rcu_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:285 [inline] #5: ffffffff88faf9b8 (rcu_state.exp_mutex){+.+.}, at: synchronize_rcu_expedited+0x4d6/0x5f0 kernel/rcu/tree_exp.h:817 2 locks held by syz-executor.5/2646: #0: ffffffff899f6928 (cb_lock){++++}, at: genl_rcv+0x1a/0x40 net/netlink/genetlink.c:744 #1: ffffffff89bf9020 (ovs_mutex){+.+.}, at: ovs_lock net/openvswitch/datapath.c:105 [inline] #1: ffffffff89bf9020 (ovs_mutex){+.+.}, at: ovs_dp_cmd_new+0x50d/0xe40 net/openvswitch/datapath.c:1677 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1071 Comm: khungtaskd Not tainted 5.4.0-rc7-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+0x197/0x210 lib/dump_stack.c:118 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: 2838 Comm: kworker/u4:3 Not tainted 5.4.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:kasan_unpoison_shadow+0x3/0x50 mm/kasan/common.c:150 Code: 03 48 89 e5 48 8d 3c 08 49 29 c0 0f b6 f2 4c 89 c2 e8 91 2b a3 05 5d c3 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 <55> 48 c1 ef 03 48 01 f0 48 89 e5 41 54 49 89 f4 48 c1 e8 03 53 31 RSP: 0018:ffff8880ae809a90 EFLAGS: 00000286 RAX: ffff88806bf5a580 RBX: ffff88806bf5a660 RCX: 0000000000000000 RDX: 00000000000000e0 RSI: 00000000000000e0 RDI: ffff88806bf5a580 RBP: ffff8880ae809ac8 R08: 1ffffffff14f114f R09: ffff88806bf5a580 R10: fffffbfff14f114f R11: ffffffff8a788a7f R12: 0000000000000a20 R13: ffff88806bf5a580 R14: ffff88806bf5a65f R15: ffff8880a99f3e00 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000009a598000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:518 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc mm/slab.c:3319 [inline] kmem_cache_alloc+0x121/0x710 mm/slab.c:3483 skb_clone+0x154/0x3d0 net/core/skbuff.c:1448 frame_get_tagged_skb net/hsr/hsr_forward.c:187 [inline] hsr_forward_do net/hsr/hsr_forward.c:273 [inline] hsr_forward_skb+0x1149/0x1d30 net/hsr/hsr_forward.c:361 send_hsr_supervision_frame+0x8bf/0xf20 net/hsr/hsr_device.c:306 hsr_announce+0x12f/0x3b0 net/hsr/hsr_device.c:334 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers kernel/time/timer.c:1773 [inline] __run_timers kernel/time/timer.c:1740 [inline] run_timer_softirq+0x6c3/0x1790 kernel/time/timer.c:1786 __do_softirq+0x262/0x98c kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x19b/0x1e0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:756 [inline] RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1751 [inline] RIP: 0010:vprintk_emit+0x5df/0x700 kernel/printk/printk.c:1995 Code: 00 48 b8 00 00 00 00 00 fc ff df 41 80 3c 06 00 0f 85 f8 00 00 00 48 83 3d ad 26 96 07 00 74 6a e8 16 83 16 00 48 89 df 57 9d <0f> 1f 44 00 00 e9 06 ff ff ff e8 02 83 16 00 49 c1 ee 03 e8 c9 fc RSP: 0018:ffff88806e8c7530 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffff888070332300 RBX: 0000000000000293 RCX: 0000000000000006 RDX: 0000000000000000 RSI: ffffffff815cfd7a RDI: 0000000000000293 RBP: ffff88806e8c7578 R08: 1ffffffff14f1137 R09: fffffbfff14f1138 R10: fffffbfff14f1137 R11: ffffffff8a7889bf R12: 0000000000000031 R13: 0000000000000200 R14: 1ffffffff11e6484 R15: ffff8880a7da0700 vprintk_default+0x28/0x30 kernel/printk/printk.c:2023 vprintk_func+0x7e/0x189 kernel/printk/printk_safe.c:386 printk+0xba/0xed kernel/printk/printk.c:2056 dynamic_kobj_release+0x24/0x30 lib/kobject.c:746 kobject_cleanup lib/kobject.c:693 [inline] kobject_release lib/kobject.c:722 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put.cold+0x289/0x2e6 lib/kobject.c:739 batadv_sysfs_del_hardif+0x6f/0xb8 net/batman-adv/sysfs.c:1269 batadv_hardif_remove_interface net/batman-adv/hard-interface.c:973 [inline] batadv_hardif_remove_interface+0x7d/0x170 net/batman-adv/hard-interface.c:959 batadv_hard_if_event+0x2cb/0xfa0 net/batman-adv/hard-interface.c:1052 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 net/core/dev.c:1893 [inline] call_netdevice_notifiers_info+0xba/0x130 net/core/dev.c:1878 call_netdevice_notifiers_extack net/core/dev.c:1905 [inline] call_netdevice_notifiers net/core/dev.c:1919 [inline] rollback_registered_many+0x850/0x10d0 net/core/dev.c:8743 rollback_registered+0x109/0x1d0 net/core/dev.c:8788 unregister_netdevice_queue net/core/dev.c:9887 [inline] unregister_netdevice_queue+0x1ee/0x2c0 net/core/dev.c:9880 unregister_netdevice include/linux/netdevice.h:2665 [inline] internal_dev_destroy+0xc2/0x150 net/openvswitch/vport-internal_dev.c:220 ovs_vport_del+0x15e/0x1d0 net/openvswitch/vport.c:253 ovs_dp_detach_port+0x126/0x1b0 net/openvswitch/datapath.c:212 __dp_destroy+0x351/0x450 net/openvswitch/datapath.c:1745 ovs_exit_net+0x287/0xc40 net/openvswitch/datapath.c:2460 ops_exit_list.isra.0+0xb1/0x160 net/core/net_namespace.c:172 cleanup_net+0x538/0xaf0 net/core/net_namespace.c:597 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