[ 11.383239][ T199] vethA: entered promiscuous mode [ 11.383342][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.383345][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: ip [ 11.383346][ T199] preempt_count: 1, expected: 0 [ 11.383347][ T199] RCU nest depth: 0, expected: 0 [ 11.383348][ T199] locks held by ip/199: 6, last CPU#3: [ 11.383351][ T199] #0: ffffffff892f3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 11.383362][ T199] #1: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 11.383366][ T199] #2: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.383372][ T199] #3: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.383376][ T199] #4: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.383380][ T199] #5: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.383384][ T199] irq event stamp: 24418 [ 11.383385][ T199] hardirqs last enabled at (24417): [] __down_trylock_console_sem+0x86/0xa0 [ 11.383388][ T199] hardirqs last disabled at (24418): [] console_emit_next_record+0x3d4/0x4c0 [ 11.383390][ T199] softirqs last enabled at (23854): [] handle_softirqs+0x67c/0x900 [ 11.383393][ T199] softirqs last disabled at (22729): [] __irq_exit_rcu+0x145/0x1c0 [ 11.383396][ T199] Preemption disabled at: [ 11.383396][ T199] [] vprintk_emit+0x31b/0x3e0 [ 11.383403][ T199] CPU: 3 UID: 0 PID: 199 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.383406][ T199] Tainted: [W]=WARN [ 11.383407][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.383409][ T199] Call Trace: [ 11.383411][ T199] [ 11.383412][ T199] dump_stack_lvl+0x6f/0xa0 [ 11.383418][ T199] ? vprintk_emit+0x31b/0x3e0 [ 11.383421][ T199] __might_resched.cold+0x1fe/0x2c1 [ 11.383425][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.383430][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 11.383435][ T199] __kmalloc_noprof+0x443/0x760 [ 11.383437][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 11.383443][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 11.383446][ T199] alloc_buf.isra.0+0x4b/0x260 [ 11.383449][ T199] put_chars+0x1e1/0x2f0 [ 11.383452][ T199] ? __send_to_port+0x420/0x420 [ 11.383459][ T199] hvc_console_print+0x292/0x780 [ 11.383466][ T199] ? hvc_write+0x3a0/0x3a0 [ 11.383472][ T199] ? lock_acquire+0x13c/0x160 [ 11.383477][ T199] console_emit_next_record+0x22f/0x4c0 [ 11.383481][ T199] ? devkmsg_read+0x4b0/0x4b0 [ 11.383483][ T199] ? console_flush_one_record+0x106/0x710 [ 11.383486][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.383490][ T199] ? lock_acquire+0x13c/0x160 [ 11.383494][ T199] console_flush_one_record+0x46f/0x710 [ 11.383499][ T199] ? console_emit_next_record+0x4c0/0x4c0 [ 11.383500][ T199] ? __lock_acquire+0x518/0xc20 [ 11.383506][ T199] console_unlock+0xee/0x1f0 [ 11.383509][ T199] ? console_flush_one_record+0x710/0x710 [ 11.383511][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.383513][ T199] ? lock_acquire+0x60/0x160 [ 11.383517][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.383519][ T199] ? vprintk_emit+0x320/0x3e0 [ 11.383523][ T199] vprintk_emit+0x37c/0x3e0 [ 11.383526][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 11.383528][ T199] ? kasan_save_stack+0x3d/0x50 [ 11.383532][ T199] ? kasan_save_track+0x14/0x30 [ 11.383533][ T199] ? __kasan_kmalloc+0x7b/0x90 [ 11.383535][ T199] ? __kmalloc_cache_noprof+0x29a/0x620 [ 11.383537][ T199] ? hsr_add_port+0x1eb/0xb60 [ 11.383540][ T199] ? hsr_dev_finalize+0x841/0xcf0 [ 11.383542][ T199] ? hsr_newlink+0x3b9/0x930 [ 11.383546][ T199] _printk+0xc7/0x100 [ 11.383549][ T199] ? snapshot_read.cold+0x21/0x21 [ 11.383551][ T199] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.383555][ T199] ? netdev_name+0x43/0x60 [ 11.383559][ T199] ? __netdev_printk+0x17f/0x1d0 [ 11.383562][ T199] netdev_info+0xe2/0x116 [ 11.383564][ T199] ? netdev_notice+0x120/0x120 [ 11.383572][ T199] ? mutex_is_locked+0x1c/0x50 [ 11.383575][ T199] __dev_set_promiscuity.cold+0x95/0x104 [ 11.383580][ T199] netif_set_promiscuity+0x4c/0xc0 [ 11.383584][ T199] dev_set_promiscuity+0x9d/0x150 [ 11.383588][ T199] hsr_add_port+0x48c/0xb60 [ 11.383591][ T199] ? hsr_port_exists+0x60/0x60 [ 11.383594][ T199] ? timer_init_key+0x10d/0x280 [ 11.383600][ T199] hsr_dev_finalize+0x841/0xcf0 [ 11.383602][ T199] ? alloc_netdev_mqs+0xe10/0x14d0 [ 11.383607][ T199] ? alloc_netdev_mqs+0xf05/0x14d0 [ 11.383609][ T199] hsr_newlink+0x3b9/0x930 [ 11.383612][ T199] ? hsr_dellink+0x90/0x90 [ 11.383615][ T199] ? rtnl_create_link+0x169/0xf20 [ 11.383617][ T199] ? nla_strscpy+0xe3/0x180 [ 11.383621][ T199] rtnl_newlink_create+0x2d0/0x750 [ 11.383625][ T199] ? rtnl_create_link+0xf20/0xf20 [ 11.383627][ T199] ? __dev_get_by_name+0x12/0x50 [ 11.383629][ T199] ? rtnl_dev_get+0xd7/0x170 [ 11.383638][ T199] __rtnl_newlink+0x22b/0xa50 [ 11.383645][ T199] rtnl_newlink+0x9f1/0x11c0 [ 11.383650][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 11.383652][ T199] ? __lock_acquire+0x518/0xc20 [ 11.383659][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 11.383663][ T199] ? rtnl_bridge_getlink+0x850/0x850 [ 11.383665][ T199] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.383669][ T199] ? rtnl_link_fill+0x920/0x920 [ 11.383670][ T199] ? __lock_acquire+0x518/0xc20 [ 11.383675][ T199] ? lock_acquire.part.0+0xd4/0x280 [ 11.383677][ T199] ? find_held_lock+0x2b/0x80 [ 11.383681][ T199] netlink_rcv_skb+0x14e/0x3a0 [ 11.383684][ T199] ? rtnl_link_fill+0x920/0x920 [ 11.383688][ T199] ? netlink_ack+0xcf0/0xcf0 [ 11.383694][ T199] ? netlink_deliver_tap+0xc5/0x330 [ 11.383696][ T199] ? netlink_deliver_tap+0x13c/0x330 [ 11.383701][ T199] netlink_unicast+0x486/0x750 [ 11.383706][ T199] ? netlink_attachskb+0x810/0x810 [ 11.383709][ T199] ? __lock_acquire+0x518/0xc20 [ 11.383713][ T199] netlink_sendmsg+0x735/0xc60 [ 11.383717][ T199] ? netlink_unicast+0x750/0x750 [ 11.383722][ T199] ? __might_fault+0x97/0x140 [ 11.383727][ T199] ____sys_sendmsg+0x415/0x880 [ 11.383731][ T199] ? copy_msghdr_from_user+0x279/0x420 [ 11.383733][ T199] ? get_timestamp.constprop.0+0x390/0x390 [ 11.383735][ T199] ? move_addr_to_kernel+0x40/0x40 [ 11.383743][ T199] ___sys_sendmsg+0x14e/0x1d0 [ 11.383746][ T199] ? copy_msghdr_from_user+0x420/0x420 [ 11.383763][ T199] __sys_sendmsg+0x12c/0x1d0 [ 11.383766][ T199] ? __sys_sendmsg_sock+0x20/0x20 [ 11.383773][ T199] ? rcu_is_watching+0x16/0xd0 [ 11.383777][ T199] do_syscall_64+0xff/0x530 [ 11.383780][ T199] ? exc_page_fault+0xee/0x100 [ 11.383783][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.383785][ T199] RIP: 0033:0x7f445289a54e [ 11.383789][ T199] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 11.383791][ T199] RSP: 002b:00007ffc08c315c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.383794][ T199] RAX: ffffffffffffffda RBX: 00007ffc08c31d70 RCX: 00007f445289a54e [ 11.383795][ T199] RDX: 0000000000000000 RSI: 00007ffc08c31670 RDI: 0000000000000005 [ 11.383796][ T199] RBP: 00007ffc08c315d0 R08: 0000000000000000 R09: 0000000000000000 [ 11.383797][ T199] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b8b8 [ 11.383798][ T199] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc08c31d40 [ 11.383807][ T199] [ 11.426387][ T199] vethB: entered promiscuous mode [ 11.471375][ T199] ip (199) used greatest stack depth: 23336 bytes left [ 11.512467][ T200] vethA: entered promiscuous mode [ 11.514294][ T200] vethB: entered promiscuous mode [ 11.551158][ T201] vethA: entered promiscuous mode [ 11.551970][ T201] vethB: entered promiscuous mode [ 11.771683][ T207] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 11.772420][ T207] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 11.880385][ T210] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 11.880841][ T210] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 11.975803][ T214] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 17.999942][ T12] vethA: left promiscuous mode [ 17.999999][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.000001][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 18.000003][ T12] preempt_count: 1, expected: 0 [ 18.000004][ T12] RCU nest depth: 0, expected: 0 [ 18.000005][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 18.000007][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 18.000020][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 18.000024][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 18.000030][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 18.000034][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.000039][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.000042][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.000046][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.000050][ T12] irq event stamp: 18408 [ 18.000051][ T12] hardirqs last enabled at (18407): [] __down_trylock_console_sem+0x86/0xa0 [ 18.000053][ T12] hardirqs last disabled at (18408): [] console_emit_next_record+0x3d4/0x4c0 [ 18.000055][ T12] softirqs last enabled at (18400): [] handle_softirqs+0x67c/0x900 [ 18.000058][ T12] softirqs last disabled at (17537): [] __irq_exit_rcu+0x145/0x1c0 [ 18.000061][ T12] Preemption disabled at: [ 18.000061][ T12] [] vprintk_emit+0x31b/0x3e0 [ 18.000067][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.000071][ T12] Tainted: [W]=WARN [ 18.000072][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.000074][ T12] Workqueue: netns cleanup_net [ 18.000077][ T12] Call Trace: [ 18.000079][ T12] [ 18.000081][ T12] dump_stack_lvl+0x6f/0xa0 [ 18.000087][ T12] ? vprintk_emit+0x31b/0x3e0 [ 18.000089][ T12] __might_resched.cold+0x1fe/0x2c1 [ 18.000094][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.000098][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 18.000104][ T12] __kmalloc_noprof+0x443/0x760 [ 18.000106][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 18.000113][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 18.000116][ T12] alloc_buf.isra.0+0x4b/0x260 [ 18.000119][ T12] put_chars+0x1e1/0x2f0 [ 18.000121][ T12] ? check_prev_add+0xef/0xe90 [ 18.000124][ T12] ? __send_to_port+0x420/0x420 [ 18.000128][ T12] ? validate_chain+0x34a/0xc20 [ 18.000133][ T12] hvc_console_print+0x292/0x780 [ 18.000141][ T12] ? hvc_write+0x3a0/0x3a0 [ 18.000143][ T12] ? rcu_is_watching+0x16/0xd0 [ 18.000148][ T12] ? lock_acquire+0x13c/0x160 [ 18.000153][ T12] console_emit_next_record+0x22f/0x4c0 [ 18.000157][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 18.000159][ T12] ? console_flush_one_record+0x106/0x710 [ 18.000162][ T12] ? rcu_is_watching+0x16/0xd0 [ 18.000165][ T12] ? lock_acquire+0x13c/0x160 [ 18.000169][ T12] console_flush_one_record+0x46f/0x710 [ 18.000174][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 18.000176][ T12] ? __lock_acquire+0x518/0xc20 [ 18.000182][ T12] console_unlock+0xee/0x1f0 [ 18.000185][ T12] ? console_flush_one_record+0x710/0x710 [ 18.000187][ T12] ? rcu_is_watching+0x16/0xd0 [ 18.000190][ T12] ? lock_acquire+0x60/0x160 [ 18.000194][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.000196][ T12] ? vprintk_emit+0x320/0x3e0 [ 18.000199][ T12] vprintk_emit+0x37c/0x3e0 [ 18.000203][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 18.000210][ T12] _printk+0xc7/0x100 [ 18.000213][ T12] ? snapshot_read.cold+0x21/0x21 [ 18.000215][ T12] ? sysvec_apic_timer_interrupt+0xaa/0xe0 [ 18.000220][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 18.000222][ T12] ? netdev_name+0x43/0x60 [ 18.000226][ T12] ? __netdev_printk+0x17f/0x1d0 [ 18.000229][ T12] netdev_info+0xe2/0x116 [ 18.000232][ T12] ? netdev_notice+0x120/0x120 [ 18.000236][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 18.000237][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 18.000240][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 18.000244][ T12] ? mutex_is_locked+0x1c/0x50 [ 18.000248][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 18.000251][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 18.000254][ T12] netif_set_promiscuity+0x4c/0xc0 [ 18.000259][ T12] dev_set_promiscuity+0x9d/0x150 [ 18.000262][ T12] hsr_del_port+0x39d/0x540 [ 18.000267][ T12] hsr_del_ports+0x24/0x80 [ 18.000269][ T12] hsr_dellink+0x5d/0x90 [ 18.000272][ T12] default_device_exit_batch+0x19d/0x600 [ 18.000276][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 18.000279][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.000282][ T12] ? mutex_is_locked+0x1c/0x50 [ 18.000286][ T12] ops_undo_list+0x2ce/0x8f0 [ 18.000290][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 18.000292][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 18.000294][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 18.000297][ T12] ? idr_destroy+0x121/0x250 [ 18.000302][ T12] cleanup_net+0x431/0x890 [ 18.000305][ T12] ? net_passive_dec+0x230/0x230 [ 18.000309][ T12] ? lock_acquire+0x13c/0x160 [ 18.000311][ T12] ? rcu_is_watching+0x16/0xd0 [ 18.000316][ T12] process_one_work+0xe3e/0x1560 [ 18.000323][ T12] ? __queue_delayed_work+0x470/0x470 [ 18.000326][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 18.000334][ T12] worker_thread+0x4f1/0xd60 [ 18.000342][ T12] ? rescuer_thread+0x1340/0x1340 [ 18.000344][ T12] kthread+0x367/0x460 [ 18.000347][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.000350][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 18.000353][ T12] ret_from_fork+0x474/0x6b0 [ 18.000357][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 18.000360][ T12] ? __switch_to+0x5a3/0xe00 [ 18.000364][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 18.000367][ T12] ret_from_fork_asm+0x11/0x20 [ 18.000376][ T12] [ 18.034627][ T12] vethB: left promiscuous mode [ 18.053573][ T12] vethA (unregistering): left promiscuous mode [ 18.058572][ T12] vethB (unregistering): left promiscuous mode [ 18.321143][ T12] vethA: left promiscuous mode [ 18.336241][ T12] vethB (unregistering): left promiscuous mode [ 19.413830][ T282] vethA: entered promiscuous mode [ 19.413847][ T282] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.413849][ T282] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 282, name: ip [ 19.413851][ T282] preempt_count: 1, expected: 0 [ 19.413852][ T282] RCU nest depth: 0, expected: 0 [ 19.413853][ T282] locks held by ip/282: 6, last CPU#0: [ 19.413856][ T282] #0: ffffffff892f3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 19.413867][ T282] #1: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 19.413872][ T282] #2: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.413878][ T282] #3: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.413882][ T282] #4: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.413886][ T282] #5: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 19.413890][ T282] irq event stamp: 17486 [ 19.413891][ T282] hardirqs last enabled at (17485): [] __down_trylock_console_sem+0x86/0xa0 [ 19.413894][ T282] hardirqs last disabled at (17486): [] console_emit_next_record+0x3d4/0x4c0 [ 19.413896][ T282] softirqs last enabled at (17400): [] __alloc_skb+0x4c2/0x5f0 [ 19.413899][ T282] softirqs last disabled at (17398): [] __alloc_skb+0x4c2/0x5f0 [ 19.413902][ T282] Preemption disabled at: [ 19.413903][ T282] [] vprintk_emit+0x31b/0x3e0 [ 19.413909][ T282] CPU: 0 UID: 0 PID: 282 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.413913][ T282] Tainted: [W]=WARN [ 19.413913][ T282] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.413915][ T282] Call Trace: [ 19.413917][ T282] [ 19.413919][ T282] dump_stack_lvl+0x6f/0xa0 [ 19.413925][ T282] ? vprintk_emit+0x31b/0x3e0 [ 19.413927][ T282] __might_resched.cold+0x1fe/0x2c1 [ 19.413932][ T282] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.413936][ T282] ? __kmalloc_noprof+0xdb/0x760 [ 19.413941][ T282] __kmalloc_noprof+0x443/0x760 [ 19.413943][ T282] ? alloc_buf.isra.0+0x4b/0x260 [ 19.413950][ T282] ? do_raw_spin_unlock+0x59/0x250 [ 19.413952][ T282] alloc_buf.isra.0+0x4b/0x260 [ 19.413956][ T282] put_chars+0x1e1/0x2f0 [ 19.413959][ T282] ? __send_to_port+0x420/0x420 [ 19.413966][ T282] hvc_console_print+0x292/0x780 [ 19.413973][ T282] ? hvc_write+0x3a0/0x3a0 [ 19.413976][ T282] ? lock_acquire+0x13c/0x160 [ 19.413980][ T282] console_emit_next_record+0x22f/0x4c0 [ 19.413984][ T282] ? devkmsg_read+0x4b0/0x4b0 [ 19.413986][ T282] ? console_flush_one_record+0x106/0x710 [ 19.413990][ T282] ? rcu_is_watching+0x16/0xd0 [ 19.413994][ T282] ? lock_acquire+0x13c/0x160 [ 19.413998][ T282] console_flush_one_record+0x46f/0x710 [ 19.414002][ T282] ? console_emit_next_record+0x4c0/0x4c0 [ 19.414004][ T282] ? __lock_acquire+0x518/0xc20 [ 19.414010][ T282] console_unlock+0xee/0x1f0 [ 19.414013][ T282] ? console_flush_one_record+0x710/0x710 [ 19.414015][ T282] ? rcu_is_watching+0x16/0xd0 [ 19.414017][ T282] ? lock_acquire+0x60/0x160 [ 19.414021][ T282] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.414023][ T282] ? vprintk_emit+0x320/0x3e0 [ 19.414026][ T282] vprintk_emit+0x37c/0x3e0 [ 19.414030][ T282] ? wake_up_klogd_work_func+0x90/0x90 [ 19.414032][ T282] ? kasan_save_stack+0x3d/0x50 [ 19.414035][ T282] ? kasan_save_track+0x14/0x30 [ 19.414037][ T282] ? __kasan_kmalloc+0x7b/0x90 [ 19.414039][ T282] ? __kmalloc_cache_noprof+0x29a/0x620 [ 19.414041][ T282] ? hsr_add_port+0x1eb/0xb60 [ 19.414044][ T282] ? hsr_dev_finalize+0x841/0xcf0 [ 19.414046][ T282] ? hsr_newlink+0x3b9/0x930 [ 19.414049][ T282] _printk+0xc7/0x100 [ 19.414053][ T282] ? snapshot_read.cold+0x21/0x21 [ 19.414055][ T282] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.414059][ T282] ? netdev_name+0x43/0x60 [ 19.414063][ T282] ? __netdev_printk+0x17f/0x1d0 [ 19.414066][ T282] netdev_info+0xe2/0x116 [ 19.414069][ T282] ? netdev_notice+0x120/0x120 [ 19.414076][ T282] ? mutex_is_locked+0x1c/0x50 [ 19.414080][ T282] __dev_set_promiscuity.cold+0x95/0x104 [ 19.414085][ T282] netif_set_promiscuity+0x4c/0xc0 [ 19.414090][ T282] dev_set_promiscuity+0x9d/0x150 [ 19.414093][ T282] hsr_add_port+0x48c/0xb60 [ 19.414097][ T282] ? hsr_port_exists+0x60/0x60 [ 19.414100][ T282] ? timer_init_key+0x10d/0x280 [ 19.414105][ T282] hsr_dev_finalize+0x841/0xcf0 [ 19.414107][ T282] ? alloc_netdev_mqs+0xe10/0x14d0 [ 19.414112][ T282] ? alloc_netdev_mqs+0xf05/0x14d0 [ 19.414114][ T282] hsr_newlink+0x3b9/0x930 [ 19.414117][ T282] ? hsr_dellink+0x90/0x90 [ 19.414120][ T282] ? rtnl_create_link+0x169/0xf20 [ 19.414122][ T282] ? nla_strscpy+0xe3/0x180 [ 19.414126][ T282] rtnl_newlink_create+0x2d0/0x750 [ 19.414130][ T282] ? rtnl_create_link+0xf20/0xf20 [ 19.414132][ T282] ? __dev_get_by_name+0x12/0x50 [ 19.414134][ T282] ? rtnl_dev_get+0xd7/0x170 [ 19.414143][ T282] __rtnl_newlink+0x22b/0xa50 [ 19.414150][ T282] rtnl_newlink+0x9f1/0x11c0 [ 19.414156][ T282] ? rtnl_bridge_getlink+0x850/0x850 [ 19.414158][ T282] ? __lock_acquire+0x518/0xc20 [ 19.414165][ T282] ? __lock_release.isra.0+0x69/0x1a0 [ 19.414169][ T282] ? rtnl_bridge_getlink+0x850/0x850 [ 19.414171][ T282] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 19.414174][ T282] ? rtnl_link_fill+0x920/0x920 [ 19.414176][ T282] ? __lock_acquire+0x518/0xc20 [ 19.414181][ T282] ? lock_acquire.part.0+0xd4/0x280 [ 19.414183][ T282] ? find_held_lock+0x2b/0x80 [ 19.414186][ T282] netlink_rcv_skb+0x14e/0x3a0 [ 19.414190][ T282] ? rtnl_link_fill+0x920/0x920 [ 19.414193][ T282] ? netlink_ack+0xcf0/0xcf0 [ 19.414200][ T282] ? netlink_deliver_tap+0xc5/0x330 [ 19.414202][ T282] ? netlink_deliver_tap+0x13c/0x330 [ 19.414207][ T282] netlink_unicast+0x486/0x750 [ 19.414211][ T282] ? netlink_attachskb+0x810/0x810 [ 19.414214][ T282] ? __lock_acquire+0x518/0xc20 [ 19.414220][ T282] netlink_sendmsg+0x735/0xc60 [ 19.414225][ T282] ? netlink_unicast+0x750/0x750 [ 19.414229][ T282] ? __might_fault+0x97/0x140 [ 19.414235][ T282] ____sys_sendmsg+0x415/0x880 [ 19.414239][ T282] ? copy_msghdr_from_user+0x279/0x420 [ 19.414241][ T282] ? get_timestamp.constprop.0+0x390/0x390 [ 19.414243][ T282] ? move_addr_to_kernel+0x40/0x40 [ 19.414251][ T282] ___sys_sendmsg+0x14e/0x1d0 [ 19.414254][ T282] ? copy_msghdr_from_user+0x420/0x420 [ 19.414271][ T282] __sys_sendmsg+0x12c/0x1d0 [ 19.414274][ T282] ? __sys_sendmsg_sock+0x20/0x20 [ 19.414281][ T282] ? rcu_is_watching+0x16/0xd0 [ 19.414285][ T282] do_syscall_64+0xff/0x530 [ 19.414288][ T282] ? exc_page_fault+0xee/0x100 [ 19.414291][ T282] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.414293][ T282] RIP: 0033:0x7fb20fe4554e [ 19.414297][ T282] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 19.414299][ T282] RSP: 002b:00007ffdeb785050 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 19.414302][ T282] RAX: ffffffffffffffda RBX: 00007ffdeb785800 RCX: 00007fb20fe4554e [ 19.414303][ T282] RDX: 0000000000000000 RSI: 00007ffdeb785100 RDI: 0000000000000005 [ 19.414304][ T282] RBP: 00007ffdeb785060 R08: 0000000000000000 R09: 0000000000000000 [ 19.414305][ T282] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b8c0 [ 19.414306][ T282] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdeb7857d0 [ 19.414313][ T282] [ 19.448013][ T282] vethB: entered promiscuous mode [ 19.506226][ T283] vethA: entered promiscuous mode [ 19.507679][ T283] vethB: entered promiscuous mode [ 19.555519][ T284] vethA: entered promiscuous mode [ 19.556332][ T284] vethB: entered promiscuous mode [ 19.814464][ T290] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 19.820572][ T290] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 19.959560][ T293] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 19.960293][ T293] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 25.870970][ T12] vethA: left promiscuous mode [ 25.870992][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.870995][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 25.870997][ T12] preempt_count: 1, expected: 0 [ 25.870998][ T12] RCU nest depth: 0, expected: 0 [ 25.870999][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 25.871001][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 25.871014][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 25.871018][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 25.871024][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 25.871028][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.871033][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.871036][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.871041][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 25.871045][ T12] irq event stamp: 128106 [ 25.871045][ T12] hardirqs last enabled at (128105): [] __down_trylock_console_sem+0x86/0xa0 [ 25.871048][ T12] hardirqs last disabled at (128106): [] console_emit_next_record+0x3d4/0x4c0 [ 25.871050][ T12] softirqs last enabled at (127976): [] tcp_close+0x2b/0xb0 [ 25.871053][ T12] softirqs last disabled at (127974): [] release_sock+0x21/0x240 [ 25.871057][ T12] Preemption disabled at: [ 25.871057][ T12] [] vprintk_emit+0x31b/0x3e0 [ 25.871063][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.871067][ T12] Tainted: [W]=WARN [ 25.871067][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.871069][ T12] Workqueue: netns cleanup_net [ 25.871073][ T12] Call Trace: [ 25.871075][ T12] [ 25.871078][ T12] dump_stack_lvl+0x6f/0xa0 [ 25.871084][ T12] ? vprintk_emit+0x31b/0x3e0 [ 25.871086][ T12] __might_resched.cold+0x1fe/0x2c1 [ 25.871091][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.871095][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 25.871100][ T12] __kmalloc_noprof+0x443/0x760 [ 25.871103][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 25.871109][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 25.871112][ T12] alloc_buf.isra.0+0x4b/0x260 [ 25.871115][ T12] put_chars+0x1e1/0x2f0 [ 25.871118][ T12] ? __send_to_port+0x420/0x420 [ 25.871121][ T12] ? validate_chain+0x38b/0xc20 [ 25.871127][ T12] hvc_console_print+0x292/0x780 [ 25.871134][ T12] ? hvc_write+0x3a0/0x3a0 [ 25.871136][ T12] ? rcu_is_watching+0x16/0xd0 [ 25.871141][ T12] ? lock_acquire+0x13c/0x160 [ 25.871145][ T12] console_emit_next_record+0x22f/0x4c0 [ 25.871149][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 25.871151][ T12] ? console_flush_one_record+0x106/0x710 [ 25.871155][ T12] ? rcu_is_watching+0x16/0xd0 [ 25.871157][ T12] ? lock_acquire+0x13c/0x160 [ 25.871161][ T12] console_flush_one_record+0x46f/0x710 [ 25.871166][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 25.871168][ T12] ? __lock_acquire+0x518/0xc20 [ 25.871173][ T12] console_unlock+0xee/0x1f0 [ 25.871176][ T12] ? console_flush_one_record+0x710/0x710 [ 25.871178][ T12] ? rcu_is_watching+0x16/0xd0 [ 25.871181][ T12] ? lock_acquire+0x60/0x160 [ 25.871184][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.871186][ T12] ? vprintk_emit+0x320/0x3e0 [ 25.871190][ T12] vprintk_emit+0x37c/0x3e0 [ 25.871194][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 25.871197][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 25.871198][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 25.871201][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 25.871203][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 25.871207][ T12] _printk+0xc7/0x100 [ 25.871211][ T12] ? snapshot_read.cold+0x21/0x21 [ 25.871214][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 25.871219][ T12] ? netdev_name+0x43/0x60 [ 25.871223][ T12] ? __netdev_printk+0x17f/0x1d0 [ 25.871227][ T12] netdev_info+0xe2/0x116 [ 25.871229][ T12] ? netdev_notice+0x120/0x120 [ 25.871233][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 25.871234][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 25.871237][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 25.871240][ T12] ? mutex_is_locked+0x1c/0x50 [ 25.871244][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 25.871247][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 25.871250][ T12] netif_set_promiscuity+0x4c/0xc0 [ 25.871254][ T12] dev_set_promiscuity+0x9d/0x150 [ 25.871257][ T12] hsr_del_port+0x39d/0x540 [ 25.871263][ T12] hsr_del_ports+0x24/0x80 [ 25.871266][ T12] hsr_dellink+0x5d/0x90 [ 25.871268][ T12] default_device_exit_batch+0x19d/0x600 [ 25.871272][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 25.871275][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.871277][ T12] ? mutex_is_locked+0x1c/0x50 [ 25.871281][ T12] ops_undo_list+0x2ce/0x8f0 [ 25.871285][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 25.871287][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 25.871289][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 25.871292][ T12] ? idr_destroy+0x121/0x250 [ 25.871297][ T12] cleanup_net+0x431/0x890 [ 25.871300][ T12] ? net_passive_dec+0x230/0x230 [ 25.871305][ T12] ? lock_acquire+0x13c/0x160 [ 25.871306][ T12] ? rcu_is_watching+0x16/0xd0 [ 25.871311][ T12] process_one_work+0xe3e/0x1560 [ 25.871318][ T12] ? __queue_delayed_work+0x470/0x470 [ 25.871321][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 25.871329][ T12] worker_thread+0x4f1/0xd60 [ 25.871336][ T12] ? rescuer_thread+0x1340/0x1340 [ 25.871338][ T12] kthread+0x367/0x460 [ 25.871341][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 25.871344][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 25.871347][ T12] ret_from_fork+0x474/0x6b0 [ 25.871351][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 25.871354][ T12] ? __switch_to+0x5a3/0xe00 [ 25.871357][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 25.871360][ T12] ret_from_fork_asm+0x11/0x20 [ 25.871369][ T12] [ 25.899390][ T12] vethB: left promiscuous mode [ 25.913050][ T12] vethA (unregistering): left promiscuous mode [ 25.917145][ T12] vethB (unregistering): left promiscuous mode [ 26.314247][ T12] vethA: left promiscuous mode [ 26.321739][ T12] vethB (unregistering): left promiscuous mode [ 27.324427][ T366] vethA: entered promiscuous mode [ 27.324447][ T366] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.324450][ T366] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 366, name: ip [ 27.324452][ T366] preempt_count: 1, expected: 0 [ 27.324453][ T366] RCU nest depth: 0, expected: 0 [ 27.324455][ T366] locks held by ip/366: 6, last CPU#2: [ 27.324458][ T366] #0: ffffffff892f3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 27.324472][ T366] #1: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 27.324479][ T366] #2: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.324486][ T366] #3: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.324492][ T366] #4: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.324498][ T366] #5: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 27.324504][ T366] irq event stamp: 29274 [ 27.324505][ T366] hardirqs last enabled at (29273): [] __down_trylock_console_sem+0x86/0xa0 [ 27.324509][ T366] hardirqs last disabled at (29274): [] console_emit_next_record+0x3d4/0x4c0 [ 27.324512][ T366] softirqs last enabled at (29190): [] __alloc_skb+0x4c2/0x5f0 [ 27.324516][ T366] softirqs last disabled at (29188): [] __alloc_skb+0x4c2/0x5f0 [ 27.324520][ T366] Preemption disabled at: [ 27.324521][ T366] [] vprintk_emit+0x31b/0x3e0 [ 27.324534][ T366] CPU: 2 UID: 0 PID: 366 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.324539][ T366] Tainted: [W]=WARN [ 27.324540][ T366] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.324542][ T366] Call Trace: [ 27.324544][ T366] [ 27.324546][ T366] dump_stack_lvl+0x6f/0xa0 [ 27.324554][ T366] ? vprintk_emit+0x31b/0x3e0 [ 27.324557][ T366] __might_resched.cold+0x1fe/0x2c1 [ 27.324563][ T366] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.324569][ T366] ? __kmalloc_noprof+0xdb/0x760 [ 27.324576][ T366] __kmalloc_noprof+0x443/0x760 [ 27.324580][ T366] ? alloc_buf.isra.0+0x4b/0x260 [ 27.324589][ T366] ? do_raw_spin_unlock+0x59/0x250 [ 27.324593][ T366] alloc_buf.isra.0+0x4b/0x260 [ 27.324598][ T366] put_chars+0x1e1/0x2f0 [ 27.324603][ T366] ? __send_to_port+0x420/0x420 [ 27.324615][ T366] hvc_console_print+0x292/0x780 [ 27.324627][ T366] ? hvc_write+0x3a0/0x3a0 [ 27.324632][ T366] ? lock_acquire+0x13c/0x160 [ 27.324639][ T366] console_emit_next_record+0x22f/0x4c0 [ 27.324646][ T366] ? devkmsg_read+0x4b0/0x4b0 [ 27.324648][ T366] ? console_flush_one_record+0x106/0x710 [ 27.324654][ T366] ? rcu_is_watching+0x16/0xd0 [ 27.324659][ T366] ? lock_acquire+0x13c/0x160 [ 27.324666][ T366] console_flush_one_record+0x46f/0x710 [ 27.324673][ T366] ? console_emit_next_record+0x4c0/0x4c0 [ 27.324676][ T366] ? __lock_acquire+0x518/0xc20 [ 27.324685][ T366] console_unlock+0xee/0x1f0 [ 27.324689][ T366] ? console_flush_one_record+0x710/0x710 [ 27.324692][ T366] ? rcu_is_watching+0x16/0xd0 [ 27.324696][ T366] ? lock_acquire+0x60/0x160 [ 27.324702][ T366] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.324704][ T366] ? vprintk_emit+0x320/0x3e0 [ 27.324710][ T366] vprintk_emit+0x37c/0x3e0 [ 27.324716][ T366] ? wake_up_klogd_work_func+0x90/0x90 [ 27.324719][ T366] ? kasan_save_stack+0x3d/0x50 [ 27.324723][ T366] ? kasan_save_track+0x14/0x30 [ 27.324725][ T366] ? __kasan_kmalloc+0x7b/0x90 [ 27.324728][ T366] ? __kmalloc_cache_noprof+0x29a/0x620 [ 27.324730][ T366] ? hsr_add_port+0x1eb/0xb60 [ 27.324734][ T366] ? hsr_dev_finalize+0x841/0xcf0 [ 27.324737][ T366] ? hsr_newlink+0x3b9/0x930 [ 27.324743][ T366] _printk+0xc7/0x100 [ 27.324748][ T366] ? snapshot_read.cold+0x21/0x21 [ 27.324751][ T366] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.324758][ T366] ? netdev_name+0x43/0x60 [ 27.324763][ T366] ? __netdev_printk+0x17f/0x1d0 [ 27.324769][ T366] netdev_info+0xe2/0x116 [ 27.324773][ T366] ? netdev_notice+0x120/0x120 [ 27.324786][ T366] ? mutex_is_locked+0x1c/0x50 [ 27.324791][ T366] __dev_set_promiscuity.cold+0x95/0x104 [ 27.324798][ T366] netif_set_promiscuity+0x4c/0xc0 [ 27.324807][ T366] dev_set_promiscuity+0x9d/0x150 [ 27.324812][ T366] hsr_add_port+0x48c/0xb60 [ 27.324817][ T366] ? hsr_port_exists+0x60/0x60 [ 27.324823][ T366] ? timer_init_key+0x10d/0x280 [ 27.324831][ T366] hsr_dev_finalize+0x841/0xcf0 [ 27.324834][ T366] ? alloc_netdev_mqs+0xe10/0x14d0 [ 27.324842][ T366] ? alloc_netdev_mqs+0xf05/0x14d0 [ 27.324845][ T366] hsr_newlink+0x3b9/0x930 [ 27.324850][ T366] ? hsr_dellink+0x90/0x90 [ 27.324854][ T366] ? rtnl_create_link+0x169/0xf20 [ 27.324858][ T366] ? nla_strscpy+0xe3/0x180 [ 27.324864][ T366] rtnl_newlink_create+0x2d0/0x750 [ 27.324871][ T366] ? rtnl_create_link+0xf20/0xf20 [ 27.324874][ T366] ? __dev_get_by_name+0x12/0x50 [ 27.324877][ T366] ? rtnl_dev_get+0xd7/0x170 [ 27.324893][ T366] __rtnl_newlink+0x22b/0xa50 [ 27.324905][ T366] rtnl_newlink+0x9f1/0x11c0 [ 27.324916][ T366] ? rtnl_bridge_getlink+0x850/0x850 [ 27.324919][ T366] ? __lock_acquire+0x518/0xc20 [ 27.324931][ T366] ? __lock_release.isra.0+0x69/0x1a0 [ 27.324938][ T366] ? rtnl_bridge_getlink+0x850/0x850 [ 27.324942][ T366] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 27.324948][ T366] ? rtnl_link_fill+0x920/0x920 [ 27.324950][ T366] ? __lock_acquire+0x518/0xc20 [ 27.324958][ T366] ? lock_acquire.part.0+0xd4/0x280 [ 27.324961][ T366] ? find_held_lock+0x2b/0x80 [ 27.324967][ T366] netlink_rcv_skb+0x14e/0x3a0 [ 27.324972][ T366] ? rtnl_link_fill+0x920/0x920 [ 27.324977][ T366] ? netlink_ack+0xcf0/0xcf0 [ 27.324989][ T366] ? netlink_deliver_tap+0xc5/0x330 [ 27.324992][ T366] ? netlink_deliver_tap+0x13c/0x330 [ 27.325000][ T366] netlink_unicast+0x486/0x750 [ 27.325007][ T366] ? netlink_attachskb+0x810/0x810 [ 27.325012][ T366] ? __lock_acquire+0x518/0xc20 [ 27.325019][ T366] netlink_sendmsg+0x735/0xc60 [ 27.325026][ T366] ? netlink_unicast+0x750/0x750 [ 27.325034][ T366] ? __might_fault+0x97/0x140 [ 27.325042][ T366] ____sys_sendmsg+0x415/0x880 [ 27.325047][ T366] ? copy_msghdr_from_user+0x279/0x420 [ 27.325051][ T366] ? get_timestamp.constprop.0+0x390/0x390 [ 27.325054][ T366] ? move_addr_to_kernel+0x40/0x40 [ 27.325068][ T366] ___sys_sendmsg+0x14e/0x1d0 [ 27.325073][ T366] ? copy_msghdr_from_user+0x420/0x420 [ 27.325105][ T366] __sys_sendmsg+0x12c/0x1d0 [ 27.325110][ T366] ? __sys_sendmsg_sock+0x20/0x20 [ 27.325122][ T366] ? rcu_is_watching+0x16/0xd0 [ 27.325128][ T366] do_syscall_64+0xff/0x530 [ 27.325132][ T366] ? exc_page_fault+0xee/0x100 [ 27.325137][ T366] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.325140][ T366] RIP: 0033:0x7f08608d654e [ 27.325145][ T366] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 27.325148][ T366] RSP: 002b:00007fff01d665a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 27.325152][ T366] RAX: ffffffffffffffda RBX: 00007fff01d66d50 RCX: 00007f08608d654e [ 27.325154][ T366] RDX: 0000000000000000 RSI: 00007fff01d66650 RDI: 0000000000000005 [ 27.325155][ T366] RBP: 00007fff01d665b0 R08: 0000000000000000 R09: 0000000000000000 [ 27.325156][ T366] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b8c8 [ 27.325158][ T366] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff01d66d20 [ 27.325171][ T366] [ 27.389636][ T366] vethB: entered promiscuous mode [ 27.451851][ T367] vethA: entered promiscuous mode [ 27.452696][ T367] vethB: entered promiscuous mode [ 27.495431][ T368] vethA: entered promiscuous mode [ 27.497261][ T368] vethB: entered promiscuous mode [ 27.693878][ T374] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 27.694364][ T374] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 27.805739][ T377] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 27.806187][ T377] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 27.907460][ T380] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 34.740857][ T12] vethA: left promiscuous mode [ 34.740878][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.740881][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 34.740883][ T12] preempt_count: 1, expected: 0 [ 34.740883][ T12] RCU nest depth: 0, expected: 0 [ 34.740884][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 34.740887][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 34.740900][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 34.740904][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 34.740910][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 34.740914][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.740919][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.740923][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.740927][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 34.740931][ T12] irq event stamp: 223000 [ 34.740932][ T12] hardirqs last enabled at (222999): [] __down_trylock_console_sem+0x86/0xa0 [ 34.740934][ T12] hardirqs last disabled at (223000): [] console_emit_next_record+0x3d4/0x4c0 [ 34.740936][ T12] softirqs last enabled at (222868): [] tcp_close+0x2b/0xb0 [ 34.740940][ T12] softirqs last disabled at (222866): [] release_sock+0x21/0x240 [ 34.740943][ T12] Preemption disabled at: [ 34.740944][ T12] [] vprintk_emit+0x31b/0x3e0 [ 34.740950][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.740953][ T12] Tainted: [W]=WARN [ 34.740954][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.740956][ T12] Workqueue: netns cleanup_net [ 34.740960][ T12] Call Trace: [ 34.740961][ T12] [ 34.740963][ T12] dump_stack_lvl+0x6f/0xa0 [ 34.740969][ T12] ? vprintk_emit+0x31b/0x3e0 [ 34.740971][ T12] __might_resched.cold+0x1fe/0x2c1 [ 34.740976][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.740980][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 34.740985][ T12] __kmalloc_noprof+0x443/0x760 [ 34.740988][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 34.740994][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 34.740997][ T12] alloc_buf.isra.0+0x4b/0x260 [ 34.741001][ T12] put_chars+0x1e1/0x2f0 [ 34.741004][ T12] ? __send_to_port+0x420/0x420 [ 34.741007][ T12] ? validate_chain+0x38b/0xc20 [ 34.741012][ T12] hvc_console_print+0x292/0x780 [ 34.741020][ T12] ? hvc_write+0x3a0/0x3a0 [ 34.741023][ T12] ? rcu_is_watching+0x16/0xd0 [ 34.741027][ T12] ? lock_acquire+0x13c/0x160 [ 34.741031][ T12] console_emit_next_record+0x22f/0x4c0 [ 34.741036][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 34.741038][ T12] ? console_flush_one_record+0x106/0x710 [ 34.741041][ T12] ? rcu_is_watching+0x16/0xd0 [ 34.741044][ T12] ? lock_acquire+0x13c/0x160 [ 34.741048][ T12] console_flush_one_record+0x46f/0x710 [ 34.741052][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 34.741054][ T12] ? __lock_acquire+0x518/0xc20 [ 34.741060][ T12] console_unlock+0xee/0x1f0 [ 34.741063][ T12] ? console_flush_one_record+0x710/0x710 [ 34.741065][ T12] ? rcu_is_watching+0x16/0xd0 [ 34.741067][ T12] ? lock_acquire+0x60/0x160 [ 34.741071][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.741073][ T12] ? vprintk_emit+0x320/0x3e0 [ 34.741077][ T12] vprintk_emit+0x37c/0x3e0 [ 34.741081][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 34.741083][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 34.741085][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 34.741088][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 34.741090][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 34.741094][ T12] _printk+0xc7/0x100 [ 34.741098][ T12] ? snapshot_read.cold+0x21/0x21 [ 34.741101][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 34.741104][ T12] ? netdev_name+0x43/0x60 [ 34.741107][ T12] ? __netdev_printk+0x17f/0x1d0 [ 34.741111][ T12] netdev_info+0xe2/0x116 [ 34.741114][ T12] ? netdev_notice+0x120/0x120 [ 34.741117][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 34.741119][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 34.741121][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 34.741125][ T12] ? mutex_is_locked+0x1c/0x50 [ 34.741129][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 34.741132][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 34.741135][ T12] netif_set_promiscuity+0x4c/0xc0 [ 34.741139][ T12] dev_set_promiscuity+0x9d/0x150 [ 34.741142][ T12] hsr_del_port+0x39d/0x540 [ 34.741147][ T12] hsr_del_ports+0x24/0x80 [ 34.741150][ T12] hsr_dellink+0x5d/0x90 [ 34.741153][ T12] default_device_exit_batch+0x19d/0x600 [ 34.741156][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 34.741159][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.741162][ T12] ? mutex_is_locked+0x1c/0x50 [ 34.741166][ T12] ops_undo_list+0x2ce/0x8f0 [ 34.741170][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 34.741172][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 34.741174][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 34.741177][ T12] ? idr_destroy+0x121/0x250 [ 34.741181][ T12] cleanup_net+0x431/0x890 [ 34.741185][ T12] ? net_passive_dec+0x230/0x230 [ 34.741189][ T12] ? lock_acquire+0x13c/0x160 [ 34.741191][ T12] ? rcu_is_watching+0x16/0xd0 [ 34.741195][ T12] process_one_work+0xe3e/0x1560 [ 34.741202][ T12] ? __queue_delayed_work+0x470/0x470 [ 34.741205][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 34.741213][ T12] worker_thread+0x4f1/0xd60 [ 34.741222][ T12] ? rescuer_thread+0x1340/0x1340 [ 34.741224][ T12] kthread+0x367/0x460 [ 34.741227][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 34.741230][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 34.741233][ T12] ret_from_fork+0x474/0x6b0 [ 34.741237][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 34.741240][ T12] ? __switch_to+0x5a3/0xe00 [ 34.741243][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 34.741246][ T12] ret_from_fork_asm+0x11/0x20 [ 34.741255][ T12] [ 34.770511][ T12] vethB: left promiscuous mode [ 34.794036][ T12] vethA (unregistering): left promiscuous mode [ 34.800568][ T12] vethB (unregistering): left promiscuous mode [ 35.057729][ T12] vethA: left promiscuous mode [ 35.066390][ T12] vethB (unregistering): left promiscuous mode [ 36.037367][ T449] vethA: entered promiscuous mode [ 36.037387][ T449] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 36.037390][ T449] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 449, name: ip [ 36.037392][ T449] preempt_count: 1, expected: 0 [ 36.037393][ T449] RCU nest depth: 0, expected: 0 [ 36.037395][ T449] locks held by ip/449: 6, last CPU#0: [ 36.037397][ T449] #0: ffffffff892f3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 36.037409][ T449] #1: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 36.037413][ T449] #2: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 36.037420][ T449] #3: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 36.037423][ T449] #4: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 36.037427][ T449] #5: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 36.037431][ T449] irq event stamp: 25550 [ 36.037432][ T449] hardirqs last enabled at (25549): [] __down_trylock_console_sem+0x86/0xa0 [ 36.037435][ T449] hardirqs last disabled at (25550): [] console_emit_next_record+0x3d4/0x4c0 [ 36.037437][ T449] softirqs last enabled at (25466): [] __alloc_skb+0x4c2/0x5f0 [ 36.037440][ T449] softirqs last disabled at (25464): [] __alloc_skb+0x4c2/0x5f0 [ 36.037442][ T449] Preemption disabled at: [ 36.037443][ T449] [] vprintk_emit+0x31b/0x3e0 [ 36.037449][ T449] CPU: 0 UID: 0 PID: 449 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 36.037453][ T449] Tainted: [W]=WARN [ 36.037454][ T449] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 36.037456][ T449] Call Trace: [ 36.037458][ T449] [ 36.037459][ T449] dump_stack_lvl+0x6f/0xa0 [ 36.037465][ T449] ? vprintk_emit+0x31b/0x3e0 [ 36.037467][ T449] __might_resched.cold+0x1fe/0x2c1 [ 36.037472][ T449] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 36.037476][ T449] ? __kmalloc_noprof+0xdb/0x760 [ 36.037481][ T449] __kmalloc_noprof+0x443/0x760 [ 36.037483][ T449] ? alloc_buf.isra.0+0x4b/0x260 [ 36.037489][ T449] ? do_raw_spin_unlock+0x59/0x250 [ 36.037492][ T449] alloc_buf.isra.0+0x4b/0x260 [ 36.037495][ T449] put_chars+0x1e1/0x2f0 [ 36.037498][ T449] ? __send_to_port+0x420/0x420 [ 36.037505][ T449] hvc_console_print+0x292/0x780 [ 36.037512][ T449] ? hvc_write+0x3a0/0x3a0 [ 36.037515][ T449] ? lock_acquire+0x13c/0x160 [ 36.037519][ T449] console_emit_next_record+0x22f/0x4c0 [ 36.037523][ T449] ? devkmsg_read+0x4b0/0x4b0 [ 36.037525][ T449] ? console_flush_one_record+0x106/0x710 [ 36.037528][ T449] ? rcu_is_watching+0x16/0xd0 [ 36.037533][ T449] ? lock_acquire+0x13c/0x160 [ 36.037537][ T449] console_flush_one_record+0x46f/0x710 [ 36.037541][ T449] ? console_emit_next_record+0x4c0/0x4c0 [ 36.037543][ T449] ? __lock_acquire+0x518/0xc20 [ 36.037548][ T449] console_unlock+0xee/0x1f0 [ 36.037551][ T449] ? console_flush_one_record+0x710/0x710 [ 36.037553][ T449] ? rcu_is_watching+0x16/0xd0 [ 36.037562][ T449] ? lock_acquire+0x60/0x160 [ 36.037565][ T449] ? __down_trylock_console_sem+0x5e/0xa0 [ 36.037567][ T449] ? vprintk_emit+0x320/0x3e0 [ 36.037570][ T449] vprintk_emit+0x37c/0x3e0 [ 36.037574][ T449] ? wake_up_klogd_work_func+0x90/0x90 [ 36.037576][ T449] ? kasan_save_stack+0x3d/0x50 [ 36.037580][ T449] ? kasan_save_track+0x14/0x30 [ 36.037582][ T449] ? __kasan_kmalloc+0x7b/0x90 [ 36.037584][ T449] ? __kmalloc_cache_noprof+0x29a/0x620 [ 36.037585][ T449] ? hsr_add_port+0x1eb/0xb60 [ 36.037589][ T449] ? hsr_dev_finalize+0x841/0xcf0 [ 36.037590][ T449] ? hsr_newlink+0x3b9/0x930 [ 36.037594][ T449] _printk+0xc7/0x100 [ 36.037598][ T449] ? snapshot_read.cold+0x21/0x21 [ 36.037599][ T449] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 36.037604][ T449] ? netdev_name+0x43/0x60 [ 36.037607][ T449] ? __netdev_printk+0x17f/0x1d0 [ 36.037611][ T449] netdev_info+0xe2/0x116 [ 36.037613][ T449] ? netdev_notice+0x120/0x120 [ 36.037620][ T449] ? mutex_is_locked+0x1c/0x50 [ 36.037624][ T449] __dev_set_promiscuity.cold+0x95/0x104 [ 36.037629][ T449] netif_set_promiscuity+0x4c/0xc0 [ 36.037634][ T449] dev_set_promiscuity+0x9d/0x150 [ 36.037637][ T449] hsr_add_port+0x48c/0xb60 [ 36.037640][ T449] ? hsr_port_exists+0x60/0x60 [ 36.037643][ T449] ? timer_init_key+0x10d/0x280 [ 36.037648][ T449] hsr_dev_finalize+0x841/0xcf0 [ 36.037650][ T449] ? alloc_netdev_mqs+0xe10/0x14d0 [ 36.037655][ T449] ? alloc_netdev_mqs+0xf05/0x14d0 [ 36.037657][ T449] hsr_newlink+0x3b9/0x930 [ 36.037659][ T449] ? hsr_dellink+0x90/0x90 [ 36.037662][ T449] ? rtnl_create_link+0x169/0xf20 [ 36.037664][ T449] ? nla_strscpy+0xe3/0x180 [ 36.037669][ T449] rtnl_newlink_create+0x2d0/0x750 [ 36.037672][ T449] ? rtnl_create_link+0xf20/0xf20 [ 36.037674][ T449] ? __dev_get_by_name+0x12/0x50 [ 36.037676][ T449] ? rtnl_dev_get+0xd7/0x170 [ 36.037685][ T449] __rtnl_newlink+0x22b/0xa50 [ 36.037691][ T449] rtnl_newlink+0x9f1/0x11c0 [ 36.037697][ T449] ? rtnl_bridge_getlink+0x850/0x850 [ 36.037699][ T449] ? __lock_acquire+0x518/0xc20 [ 36.037705][ T449] ? __lock_release.isra.0+0x69/0x1a0 [ 36.037709][ T449] ? rtnl_bridge_getlink+0x850/0x850 [ 36.037711][ T449] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 36.037715][ T449] ? rtnl_link_fill+0x920/0x920 [ 36.037716][ T449] ? __lock_acquire+0x518/0xc20 [ 36.037720][ T449] ? lock_acquire.part.0+0xd4/0x280 [ 36.037722][ T449] ? find_held_lock+0x2b/0x80 [ 36.037726][ T449] netlink_rcv_skb+0x14e/0x3a0 [ 36.037729][ T449] ? rtnl_link_fill+0x920/0x920 [ 36.037732][ T449] ? netlink_ack+0xcf0/0xcf0 [ 36.037739][ T449] ? netlink_deliver_tap+0xc5/0x330 [ 36.037741][ T449] ? netlink_deliver_tap+0x13c/0x330 [ 36.037746][ T449] netlink_unicast+0x486/0x750 [ 36.037750][ T449] ? netlink_attachskb+0x810/0x810 [ 36.037753][ T449] ? __lock_acquire+0x518/0xc20 [ 36.037757][ T449] netlink_sendmsg+0x735/0xc60 [ 36.037761][ T449] ? netlink_unicast+0x750/0x750 [ 36.037765][ T449] ? __might_fault+0x97/0x140 [ 36.037771][ T449] ____sys_sendmsg+0x415/0x880 [ 36.037774][ T449] ? copy_msghdr_from_user+0x279/0x420 [ 36.037777][ T449] ? get_timestamp.constprop.0+0x390/0x390 [ 36.037778][ T449] ? move_addr_to_kernel+0x40/0x40 [ 36.037786][ T449] ___sys_sendmsg+0x14e/0x1d0 [ 36.037789][ T449] ? copy_msghdr_from_user+0x420/0x420 [ 36.037807][ T449] __sys_sendmsg+0x12c/0x1d0 [ 36.037810][ T449] ? __sys_sendmsg_sock+0x20/0x20 [ 36.037817][ T449] ? rcu_is_watching+0x16/0xd0 [ 36.037820][ T449] do_syscall_64+0xff/0x530 [ 36.037823][ T449] ? exc_page_fault+0xee/0x100 [ 36.037826][ T449] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 36.037828][ T449] RIP: 0033:0x7fee70e2454e [ 36.037832][ T449] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 36.037835][ T449] RSP: 002b:00007ffecdfaffc0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 36.037837][ T449] RAX: ffffffffffffffda RBX: 00007ffecdfb0770 RCX: 00007fee70e2454e [ 36.037839][ T449] RDX: 0000000000000000 RSI: 00007ffecdfb0070 RDI: 0000000000000005 [ 36.037840][ T449] RBP: 00007ffecdfaffd0 R08: 0000000000000000 R09: 0000000000000000 [ 36.037841][ T449] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b8d1 [ 36.037842][ T449] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffecdfb0740 [ 36.037849][ T449] [ 36.078562][ T449] vethB: entered promiscuous mode [ 36.115203][ T450] vethA: entered promiscuous mode [ 36.116083][ T450] vethB: entered promiscuous mode [ 36.162972][ T451] vethA: entered promiscuous mode [ 36.168933][ T451] vethB: entered promiscuous mode [ 36.366744][ T457] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 36.367753][ T457] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 36.465520][ T460] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 36.466625][ T460] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 36.572704][ T463] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 43.291441][ T12] vethA: left promiscuous mode [ 43.291462][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.291465][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 43.291466][ T12] preempt_count: 1, expected: 0 [ 43.291467][ T12] RCU nest depth: 0, expected: 0 [ 43.291468][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 43.291471][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 43.291483][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 43.291487][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 43.291493][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 43.291498][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.291503][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.291506][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.291510][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 43.291515][ T12] irq event stamp: 336470 [ 43.291516][ T12] hardirqs last enabled at (336469): [] __down_trylock_console_sem+0x86/0xa0 [ 43.291518][ T12] hardirqs last disabled at (336470): [] console_emit_next_record+0x3d4/0x4c0 [ 43.291520][ T12] softirqs last enabled at (336340): [] tcp_close+0x2b/0xb0 [ 43.291524][ T12] softirqs last disabled at (336338): [] release_sock+0x21/0x240 [ 43.291527][ T12] Preemption disabled at: [ 43.291528][ T12] [] vprintk_emit+0x31b/0x3e0 [ 43.291534][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.291537][ T12] Tainted: [W]=WARN [ 43.291538][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.291540][ T12] Workqueue: netns cleanup_net [ 43.291544][ T12] Call Trace: [ 43.291545][ T12] [ 43.291548][ T12] dump_stack_lvl+0x6f/0xa0 [ 43.291554][ T12] ? vprintk_emit+0x31b/0x3e0 [ 43.291556][ T12] __might_resched.cold+0x1fe/0x2c1 [ 43.291561][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.291565][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 43.291570][ T12] __kmalloc_noprof+0x443/0x760 [ 43.291573][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 43.291579][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 43.291588][ T12] alloc_buf.isra.0+0x4b/0x260 [ 43.291592][ T12] put_chars+0x1e1/0x2f0 [ 43.291595][ T12] ? __send_to_port+0x420/0x420 [ 43.291598][ T12] ? validate_chain+0x38b/0xc20 [ 43.291604][ T12] hvc_console_print+0x292/0x780 [ 43.291611][ T12] ? hvc_write+0x3a0/0x3a0 [ 43.291613][ T12] ? rcu_is_watching+0x16/0xd0 [ 43.291618][ T12] ? lock_acquire+0x13c/0x160 [ 43.291622][ T12] console_emit_next_record+0x22f/0x4c0 [ 43.291626][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 43.291628][ T12] ? console_flush_one_record+0x106/0x710 [ 43.291631][ T12] ? rcu_is_watching+0x16/0xd0 [ 43.291634][ T12] ? lock_acquire+0x13c/0x160 [ 43.291638][ T12] console_flush_one_record+0x46f/0x710 [ 43.291642][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 43.291644][ T12] ? __lock_acquire+0x518/0xc20 [ 43.291650][ T12] console_unlock+0xee/0x1f0 [ 43.291653][ T12] ? console_flush_one_record+0x710/0x710 [ 43.291655][ T12] ? rcu_is_watching+0x16/0xd0 [ 43.291657][ T12] ? lock_acquire+0x60/0x160 [ 43.291661][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.291663][ T12] ? vprintk_emit+0x320/0x3e0 [ 43.291666][ T12] vprintk_emit+0x37c/0x3e0 [ 43.291670][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 43.291673][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 43.291675][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 43.291678][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 43.291680][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 43.291683][ T12] _printk+0xc7/0x100 [ 43.291687][ T12] ? snapshot_read.cold+0x21/0x21 [ 43.291690][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 43.291693][ T12] ? netdev_name+0x43/0x60 [ 43.291697][ T12] ? __netdev_printk+0x17f/0x1d0 [ 43.291700][ T12] netdev_info+0xe2/0x116 [ 43.291703][ T12] ? netdev_notice+0x120/0x120 [ 43.291706][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 43.291708][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 43.291710][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 43.291714][ T12] ? mutex_is_locked+0x1c/0x50 [ 43.291718][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 43.291720][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 43.291723][ T12] netif_set_promiscuity+0x4c/0xc0 [ 43.291728][ T12] dev_set_promiscuity+0x9d/0x150 [ 43.291731][ T12] hsr_del_port+0x39d/0x540 [ 43.291736][ T12] hsr_del_ports+0x24/0x80 [ 43.291739][ T12] hsr_dellink+0x5d/0x90 [ 43.291742][ T12] default_device_exit_batch+0x19d/0x600 [ 43.291745][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 43.291748][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.291750][ T12] ? mutex_is_locked+0x1c/0x50 [ 43.291754][ T12] ops_undo_list+0x2ce/0x8f0 [ 43.291758][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 43.291760][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 43.291762][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 43.291765][ T12] ? idr_destroy+0x121/0x250 [ 43.291770][ T12] cleanup_net+0x431/0x890 [ 43.291773][ T12] ? net_passive_dec+0x230/0x230 [ 43.291777][ T12] ? lock_acquire+0x13c/0x160 [ 43.291779][ T12] ? rcu_is_watching+0x16/0xd0 [ 43.291783][ T12] process_one_work+0xe3e/0x1560 [ 43.291790][ T12] ? __queue_delayed_work+0x470/0x470 [ 43.291793][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 43.291801][ T12] worker_thread+0x4f1/0xd60 [ 43.291812][ T12] ? rescuer_thread+0x1340/0x1340 [ 43.291814][ T12] kthread+0x367/0x460 [ 43.291817][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.291820][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.291823][ T12] ret_from_fork+0x474/0x6b0 [ 43.291827][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 43.291830][ T12] ? __switch_to+0x5a3/0xe00 [ 43.291834][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.291836][ T12] ret_from_fork_asm+0x11/0x20 [ 43.291845][ T12] [ 43.318988][ T12] vethB: left promiscuous mode [ 43.330773][ T12] vethA (unregistering): left promiscuous mode [ 43.337769][ T12] vethB (unregistering): left promiscuous mode [ 43.628272][ T12] vethA: left promiscuous mode [ 43.635592][ T12] vethB (unregistering): left promiscuous mode [ 44.553774][ T532] vethA: entered promiscuous mode [ 44.553791][ T532] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.553794][ T532] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 532, name: ip [ 44.553795][ T532] preempt_count: 1, expected: 0 [ 44.553796][ T532] RCU nest depth: 0, expected: 0 [ 44.553797][ T532] locks held by ip/532: 6, last CPU#3: [ 44.553800][ T532] #0: ffffffff892f3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 44.553813][ T532] #1: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 44.553817][ T532] #2: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.553823][ T532] #3: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.553827][ T532] #4: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.553831][ T532] #5: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 44.553835][ T532] irq event stamp: 22552 [ 44.553836][ T532] hardirqs last enabled at (22551): [] __down_trylock_console_sem+0x86/0xa0 [ 44.553839][ T532] hardirqs last disabled at (22552): [] console_emit_next_record+0x3d4/0x4c0 [ 44.553841][ T532] softirqs last enabled at (22468): [] __alloc_skb+0x4c2/0x5f0 [ 44.553844][ T532] softirqs last disabled at (22466): [] __alloc_skb+0x4c2/0x5f0 [ 44.553847][ T532] Preemption disabled at: [ 44.553848][ T532] [] vprintk_emit+0x31b/0x3e0 [ 44.553853][ T532] CPU: 3 UID: 0 PID: 532 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.553857][ T532] Tainted: [W]=WARN [ 44.553858][ T532] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.553860][ T532] Call Trace: [ 44.553861][ T532] [ 44.553863][ T532] dump_stack_lvl+0x6f/0xa0 [ 44.553868][ T532] ? vprintk_emit+0x31b/0x3e0 [ 44.553871][ T532] __might_resched.cold+0x1fe/0x2c1 [ 44.553875][ T532] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.553879][ T532] ? __kmalloc_noprof+0xdb/0x760 [ 44.553884][ T532] __kmalloc_noprof+0x443/0x760 [ 44.553887][ T532] ? alloc_buf.isra.0+0x4b/0x260 [ 44.553893][ T532] ? do_raw_spin_unlock+0x59/0x250 [ 44.553895][ T532] alloc_buf.isra.0+0x4b/0x260 [ 44.553899][ T532] put_chars+0x1e1/0x2f0 [ 44.553902][ T532] ? __send_to_port+0x420/0x420 [ 44.553909][ T532] hvc_console_print+0x292/0x780 [ 44.553915][ T532] ? hvc_write+0x3a0/0x3a0 [ 44.553918][ T532] ? lock_acquire+0x13c/0x160 [ 44.553923][ T532] console_emit_next_record+0x22f/0x4c0 [ 44.553927][ T532] ? devkmsg_read+0x4b0/0x4b0 [ 44.553929][ T532] ? console_flush_one_record+0x106/0x710 [ 44.553932][ T532] ? rcu_is_watching+0x16/0xd0 [ 44.553936][ T532] ? lock_acquire+0x13c/0x160 [ 44.553940][ T532] console_flush_one_record+0x46f/0x710 [ 44.553945][ T532] ? console_emit_next_record+0x4c0/0x4c0 [ 44.553946][ T532] ? __lock_acquire+0x518/0xc20 [ 44.553952][ T532] console_unlock+0xee/0x1f0 [ 44.553955][ T532] ? console_flush_one_record+0x710/0x710 [ 44.553957][ T532] ? rcu_is_watching+0x16/0xd0 [ 44.553959][ T532] ? lock_acquire+0x60/0x160 [ 44.553963][ T532] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.553964][ T532] ? vprintk_emit+0x320/0x3e0 [ 44.553968][ T532] vprintk_emit+0x37c/0x3e0 [ 44.553972][ T532] ? wake_up_klogd_work_func+0x90/0x90 [ 44.553974][ T532] ? kasan_save_stack+0x3d/0x50 [ 44.553977][ T532] ? kasan_save_track+0x14/0x30 [ 44.553979][ T532] ? __kasan_kmalloc+0x7b/0x90 [ 44.553980][ T532] ? __kmalloc_cache_noprof+0x29a/0x620 [ 44.553982][ T532] ? hsr_add_port+0x1eb/0xb60 [ 44.553986][ T532] ? hsr_dev_finalize+0x841/0xcf0 [ 44.553987][ T532] ? hsr_newlink+0x3b9/0x930 [ 44.553991][ T532] _printk+0xc7/0x100 [ 44.553995][ T532] ? snapshot_read.cold+0x21/0x21 [ 44.553996][ T532] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 44.554001][ T532] ? netdev_name+0x43/0x60 [ 44.554004][ T532] ? __netdev_printk+0x17f/0x1d0 [ 44.554008][ T532] netdev_info+0xe2/0x116 [ 44.554010][ T532] ? netdev_notice+0x120/0x120 [ 44.554017][ T532] ? mutex_is_locked+0x1c/0x50 [ 44.554021][ T532] __dev_set_promiscuity.cold+0x95/0x104 [ 44.554026][ T532] netif_set_promiscuity+0x4c/0xc0 [ 44.554030][ T532] dev_set_promiscuity+0x9d/0x150 [ 44.554033][ T532] hsr_add_port+0x48c/0xb60 [ 44.554037][ T532] ? hsr_port_exists+0x60/0x60 [ 44.554040][ T532] ? timer_init_key+0x10d/0x280 [ 44.554045][ T532] hsr_dev_finalize+0x841/0xcf0 [ 44.554047][ T532] ? alloc_netdev_mqs+0xe10/0x14d0 [ 44.554052][ T532] ? alloc_netdev_mqs+0xf05/0x14d0 [ 44.554054][ T532] hsr_newlink+0x3b9/0x930 [ 44.554057][ T532] ? hsr_dellink+0x90/0x90 [ 44.554060][ T532] ? rtnl_create_link+0x169/0xf20 [ 44.554062][ T532] ? nla_strscpy+0xe3/0x180 [ 44.554066][ T532] rtnl_newlink_create+0x2d0/0x750 [ 44.554070][ T532] ? rtnl_create_link+0xf20/0xf20 [ 44.554072][ T532] ? __dev_get_by_name+0x12/0x50 [ 44.554073][ T532] ? rtnl_dev_get+0xd7/0x170 [ 44.554082][ T532] __rtnl_newlink+0x22b/0xa50 [ 44.554089][ T532] rtnl_newlink+0x9f1/0x11c0 [ 44.554095][ T532] ? rtnl_bridge_getlink+0x850/0x850 [ 44.554097][ T532] ? __lock_acquire+0x518/0xc20 [ 44.554103][ T532] ? __lock_release.isra.0+0x69/0x1a0 [ 44.554107][ T532] ? rtnl_bridge_getlink+0x850/0x850 [ 44.554110][ T532] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 44.554113][ T532] ? rtnl_link_fill+0x920/0x920 [ 44.554114][ T532] ? __lock_acquire+0x518/0xc20 [ 44.554119][ T532] ? lock_acquire.part.0+0xd4/0x280 [ 44.554121][ T532] ? find_held_lock+0x2b/0x80 [ 44.554125][ T532] netlink_rcv_skb+0x14e/0x3a0 [ 44.554128][ T532] ? rtnl_link_fill+0x920/0x920 [ 44.554131][ T532] ? netlink_ack+0xcf0/0xcf0 [ 44.554138][ T532] ? netlink_deliver_tap+0xc5/0x330 [ 44.554140][ T532] ? netlink_deliver_tap+0x13c/0x330 [ 44.554145][ T532] netlink_unicast+0x486/0x750 [ 44.554149][ T532] ? netlink_attachskb+0x810/0x810 [ 44.554152][ T532] ? __lock_acquire+0x518/0xc20 [ 44.554156][ T532] netlink_sendmsg+0x735/0xc60 [ 44.554160][ T532] ? netlink_unicast+0x750/0x750 [ 44.554164][ T532] ? __might_fault+0x97/0x140 [ 44.554170][ T532] ____sys_sendmsg+0x415/0x880 [ 44.554174][ T532] ? copy_msghdr_from_user+0x279/0x420 [ 44.554176][ T532] ? get_timestamp.constprop.0+0x390/0x390 [ 44.554178][ T532] ? move_addr_to_kernel+0x40/0x40 [ 44.554186][ T532] ___sys_sendmsg+0x14e/0x1d0 [ 44.554189][ T532] ? copy_msghdr_from_user+0x420/0x420 [ 44.554205][ T532] __sys_sendmsg+0x12c/0x1d0 [ 44.554209][ T532] ? __sys_sendmsg_sock+0x20/0x20 [ 44.554215][ T532] ? rcu_is_watching+0x16/0xd0 [ 44.554219][ T532] do_syscall_64+0xff/0x530 [ 44.554222][ T532] ? exc_page_fault+0xee/0x100 [ 44.554225][ T532] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 44.554227][ T532] RIP: 0033:0x7f2433e4054e [ 44.554231][ T532] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 44.554233][ T532] RSP: 002b:00007ffc65558ce0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 44.554236][ T532] RAX: ffffffffffffffda RBX: 00007ffc65559490 RCX: 00007f2433e4054e [ 44.554237][ T532] RDX: 0000000000000000 RSI: 00007ffc65558d90 RDI: 0000000000000005 [ 44.554238][ T532] RBP: 00007ffc65558cf0 R08: 0000000000000000 R09: 0000000000000000 [ 44.554239][ T532] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b8d9 [ 44.554240][ T532] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc65559460 [ 44.554247][ T532] [ 44.592787][ T532] vethB: entered promiscuous mode [ 44.635339][ T533] vethA: entered promiscuous mode [ 44.636428][ T533] vethB: entered promiscuous mode [ 44.682536][ T534] vethA: entered promiscuous mode [ 44.683356][ T534] vethB: entered promiscuous mode [ 44.918083][ T540] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 44.918846][ T540] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 45.033652][ T543] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 45.034172][ T543] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 45.152144][ T546] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 51.465224][ T12] vethA: left promiscuous mode [ 51.465245][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 51.465248][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 51.465249][ T12] preempt_count: 1, expected: 0 [ 51.465250][ T12] RCU nest depth: 0, expected: 0 [ 51.465251][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 51.465254][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 51.465266][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 51.465270][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 51.465276][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 51.465280][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 51.465285][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 51.465288][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 51.465292][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 51.465296][ T12] irq event stamp: 427706 [ 51.465297][ T12] hardirqs last enabled at (427705): [] __down_trylock_console_sem+0x86/0xa0 [ 51.465300][ T12] hardirqs last disabled at (427706): [] console_emit_next_record+0x3d4/0x4c0 [ 51.465302][ T12] softirqs last enabled at (427576): [] tcp_close+0x2b/0xb0 [ 51.465305][ T12] softirqs last disabled at (427574): [] release_sock+0x21/0x240 [ 51.465308][ T12] Preemption disabled at: [ 51.465309][ T12] [] vprintk_emit+0x31b/0x3e0 [ 51.465315][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 51.465319][ T12] Tainted: [W]=WARN [ 51.465319][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 51.465322][ T12] Workqueue: netns cleanup_net [ 51.465325][ T12] Call Trace: [ 51.465327][ T12] [ 51.465330][ T12] dump_stack_lvl+0x6f/0xa0 [ 51.465336][ T12] ? vprintk_emit+0x31b/0x3e0 [ 51.465338][ T12] __might_resched.cold+0x1fe/0x2c1 [ 51.465343][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 51.465347][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 51.465352][ T12] __kmalloc_noprof+0x443/0x760 [ 51.465355][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 51.465361][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 51.465363][ T12] alloc_buf.isra.0+0x4b/0x260 [ 51.465367][ T12] put_chars+0x1e1/0x2f0 [ 51.465370][ T12] ? __send_to_port+0x420/0x420 [ 51.465374][ T12] ? validate_chain+0x38b/0xc20 [ 51.465379][ T12] hvc_console_print+0x292/0x780 [ 51.465387][ T12] ? hvc_write+0x3a0/0x3a0 [ 51.465390][ T12] ? rcu_is_watching+0x16/0xd0 [ 51.465394][ T12] ? lock_acquire+0x13c/0x160 [ 51.465398][ T12] console_emit_next_record+0x22f/0x4c0 [ 51.465403][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 51.465404][ T12] ? console_flush_one_record+0x106/0x710 [ 51.465408][ T12] ? rcu_is_watching+0x16/0xd0 [ 51.465410][ T12] ? lock_acquire+0x13c/0x160 [ 51.465415][ T12] console_flush_one_record+0x46f/0x710 [ 51.465419][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 51.465421][ T12] ? __lock_acquire+0x518/0xc20 [ 51.465427][ T12] console_unlock+0xee/0x1f0 [ 51.465430][ T12] ? console_flush_one_record+0x710/0x710 [ 51.465432][ T12] ? rcu_is_watching+0x16/0xd0 [ 51.465435][ T12] ? lock_acquire+0x60/0x160 [ 51.465439][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 51.465441][ T12] ? vprintk_emit+0x320/0x3e0 [ 51.465444][ T12] vprintk_emit+0x37c/0x3e0 [ 51.465448][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 51.465451][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 51.465453][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 51.465456][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 51.465458][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 51.465462][ T12] _printk+0xc7/0x100 [ 51.465465][ T12] ? snapshot_read.cold+0x21/0x21 [ 51.465469][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 51.465472][ T12] ? netdev_name+0x43/0x60 [ 51.465475][ T12] ? __netdev_printk+0x17f/0x1d0 [ 51.465479][ T12] netdev_info+0xe2/0x116 [ 51.465482][ T12] ? netdev_notice+0x120/0x120 [ 51.465486][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 51.465488][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 51.465490][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 51.465494][ T12] ? mutex_is_locked+0x1c/0x50 [ 51.465498][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 51.465501][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 51.465504][ T12] netif_set_promiscuity+0x4c/0xc0 [ 51.465508][ T12] dev_set_promiscuity+0x9d/0x150 [ 51.465511][ T12] hsr_del_port+0x39d/0x540 [ 51.465517][ T12] hsr_del_ports+0x24/0x80 [ 51.465519][ T12] hsr_dellink+0x5d/0x90 [ 51.465522][ T12] default_device_exit_batch+0x19d/0x600 [ 51.465526][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 51.465529][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 51.465531][ T12] ? mutex_is_locked+0x1c/0x50 [ 51.465536][ T12] ops_undo_list+0x2ce/0x8f0 [ 51.465540][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 51.465542][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 51.465543][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 51.465547][ T12] ? idr_destroy+0x121/0x250 [ 51.465551][ T12] cleanup_net+0x431/0x890 [ 51.465555][ T12] ? net_passive_dec+0x230/0x230 [ 51.465559][ T12] ? lock_acquire+0x13c/0x160 [ 51.465561][ T12] ? rcu_is_watching+0x16/0xd0 [ 51.465565][ T12] process_one_work+0xe3e/0x1560 [ 51.465572][ T12] ? __queue_delayed_work+0x470/0x470 [ 51.465576][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 51.465584][ T12] worker_thread+0x4f1/0xd60 [ 51.465591][ T12] ? rescuer_thread+0x1340/0x1340 [ 51.465594][ T12] kthread+0x367/0x460 [ 51.465596][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 51.465599][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 51.465602][ T12] ret_from_fork+0x474/0x6b0 [ 51.465606][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 51.465616][ T12] ? __switch_to+0x5a3/0xe00 [ 51.465619][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 51.465622][ T12] ret_from_fork_asm+0x11/0x20 [ 51.465631][ T12] [ 51.495309][ T12] vethB: left promiscuous mode [ 51.510670][ T12] vethA (unregistering): left promiscuous mode [ 51.524129][ T12] vethB (unregistering): left promiscuous mode [ 51.818457][ T12] vethA: left promiscuous mode [ 51.832158][ T12] vethB (unregistering): left promiscuous mode [ 52.961007][ T615] vethA: entered promiscuous mode [ 52.961028][ T615] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 52.961031][ T615] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 615, name: ip [ 52.961033][ T615] preempt_count: 1, expected: 0 [ 52.961035][ T615] RCU nest depth: 0, expected: 0 [ 52.961036][ T615] locks held by ip/615: 6, last CPU#2: [ 52.961039][ T615] #0: ffffffff892f3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 52.961054][ T615] #1: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 52.961060][ T615] #2: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 52.961068][ T615] #3: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 52.961074][ T615] #4: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 52.961081][ T615] #5: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 52.961087][ T615] irq event stamp: 24610 [ 52.961088][ T615] hardirqs last enabled at (24609): [] __down_trylock_console_sem+0x86/0xa0 [ 52.961092][ T615] hardirqs last disabled at (24610): [] console_emit_next_record+0x3d4/0x4c0 [ 52.961095][ T615] softirqs last enabled at (23874): [] handle_softirqs+0x67c/0x900 [ 52.961099][ T615] softirqs last disabled at (23867): [] __irq_exit_rcu+0x145/0x1c0 [ 52.961102][ T615] Preemption disabled at: [ 52.961103][ T615] [] vprintk_emit+0x31b/0x3e0 [ 52.961111][ T615] CPU: 2 UID: 0 PID: 615 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 52.961116][ T615] Tainted: [W]=WARN [ 52.961117][ T615] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 52.961120][ T615] Call Trace: [ 52.961122][ T615] [ 52.961124][ T615] dump_stack_lvl+0x6f/0xa0 [ 52.961132][ T615] ? vprintk_emit+0x31b/0x3e0 [ 52.961136][ T615] __might_resched.cold+0x1fe/0x2c1 [ 52.961142][ T615] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 52.961148][ T615] ? __kmalloc_noprof+0xdb/0x760 [ 52.961155][ T615] __kmalloc_noprof+0x443/0x760 [ 52.961159][ T615] ? alloc_buf.isra.0+0x4b/0x260 [ 52.961168][ T615] ? do_raw_spin_unlock+0x59/0x250 [ 52.961172][ T615] alloc_buf.isra.0+0x4b/0x260 [ 52.961177][ T615] put_chars+0x1e1/0x2f0 [ 52.961182][ T615] ? __send_to_port+0x420/0x420 [ 52.961194][ T615] hvc_console_print+0x292/0x780 [ 52.961206][ T615] ? hvc_write+0x3a0/0x3a0 [ 52.961210][ T615] ? lock_acquire+0x13c/0x160 [ 52.961218][ T615] console_emit_next_record+0x22f/0x4c0 [ 52.961225][ T615] ? devkmsg_read+0x4b0/0x4b0 [ 52.961227][ T615] ? console_flush_one_record+0x106/0x710 [ 52.961233][ T615] ? rcu_is_watching+0x16/0xd0 [ 52.961238][ T615] ? lock_acquire+0x13c/0x160 [ 52.961246][ T615] console_flush_one_record+0x46f/0x710 [ 52.961253][ T615] ? console_emit_next_record+0x4c0/0x4c0 [ 52.961256][ T615] ? __lock_acquire+0x518/0xc20 [ 52.961266][ T615] console_unlock+0xee/0x1f0 [ 52.961270][ T615] ? console_flush_one_record+0x710/0x710 [ 52.961273][ T615] ? rcu_is_watching+0x16/0xd0 [ 52.961277][ T615] ? lock_acquire+0x60/0x160 [ 52.961284][ T615] ? __down_trylock_console_sem+0x5e/0xa0 [ 52.961286][ T615] ? vprintk_emit+0x320/0x3e0 [ 52.961292][ T615] vprintk_emit+0x37c/0x3e0 [ 52.961299][ T615] ? wake_up_klogd_work_func+0x90/0x90 [ 52.961301][ T615] ? kasan_save_stack+0x3d/0x50 [ 52.961306][ T615] ? kasan_save_track+0x14/0x30 [ 52.961308][ T615] ? __kasan_kmalloc+0x7b/0x90 [ 52.961311][ T615] ? __kmalloc_cache_noprof+0x29a/0x620 [ 52.961313][ T615] ? hsr_add_port+0x1eb/0xb60 [ 52.961317][ T615] ? hsr_dev_finalize+0x841/0xcf0 [ 52.961320][ T615] ? hsr_newlink+0x3b9/0x930 [ 52.961326][ T615] _printk+0xc7/0x100 [ 52.961332][ T615] ? snapshot_read.cold+0x21/0x21 [ 52.961334][ T615] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 52.961342][ T615] ? netdev_name+0x43/0x60 [ 52.961347][ T615] ? __netdev_printk+0x17f/0x1d0 [ 52.961354][ T615] netdev_info+0xe2/0x116 [ 52.961358][ T615] ? netdev_notice+0x120/0x120 [ 52.961371][ T615] ? mutex_is_locked+0x1c/0x50 [ 52.961377][ T615] __dev_set_promiscuity.cold+0x95/0x104 [ 52.961385][ T615] netif_set_promiscuity+0x4c/0xc0 [ 52.961391][ T615] dev_set_promiscuity+0x9d/0x150 [ 52.961396][ T615] hsr_add_port+0x48c/0xb60 [ 52.961402][ T615] ? hsr_port_exists+0x60/0x60 [ 52.961408][ T615] ? timer_init_key+0x10d/0x280 [ 52.961416][ T615] hsr_dev_finalize+0x841/0xcf0 [ 52.961419][ T615] ? alloc_netdev_mqs+0xe11/0x14d0 [ 52.961427][ T615] ? alloc_netdev_mqs+0xf05/0x14d0 [ 52.961430][ T615] hsr_newlink+0x3b9/0x930 [ 52.961436][ T615] ? hsr_dellink+0x90/0x90 [ 52.961440][ T615] ? rtnl_create_link+0x169/0xf20 [ 52.961444][ T615] ? nla_strscpy+0xe3/0x180 [ 52.961451][ T615] rtnl_newlink_create+0x2d0/0x750 [ 52.961458][ T615] ? rtnl_create_link+0xf20/0xf20 [ 52.961461][ T615] ? __dev_get_by_name+0x12/0x50 [ 52.961464][ T615] ? rtnl_dev_get+0xd7/0x170 [ 52.961481][ T615] __rtnl_newlink+0x22b/0xa50 [ 52.961495][ T615] rtnl_newlink+0x9f1/0x11c0 [ 52.961506][ T615] ? rtnl_bridge_getlink+0x850/0x850 [ 52.961509][ T615] ? __lock_acquire+0x518/0xc20 [ 52.961522][ T615] ? __lock_release.isra.0+0x69/0x1a0 [ 52.961529][ T615] ? rtnl_bridge_getlink+0x850/0x850 [ 52.961533][ T615] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 52.961539][ T615] ? rtnl_link_fill+0x920/0x920 [ 52.961541][ T615] ? __lock_acquire+0x518/0xc20 [ 52.961550][ T615] ? lock_acquire.part.0+0xd4/0x280 [ 52.961553][ T615] ? find_held_lock+0x2b/0x80 [ 52.961560][ T615] netlink_rcv_skb+0x14e/0x3a0 [ 52.961564][ T615] ? rtnl_link_fill+0x920/0x920 [ 52.961569][ T615] ? netlink_ack+0xcf0/0xcf0 [ 52.961582][ T615] ? netlink_deliver_tap+0xc5/0x330 [ 52.961585][ T615] ? netlink_deliver_tap+0x13c/0x330 [ 52.961593][ T615] netlink_unicast+0x486/0x750 [ 52.961601][ T615] ? netlink_attachskb+0x810/0x810 [ 52.961606][ T615] ? __lock_acquire+0x518/0xc20 [ 52.961619][ T615] netlink_sendmsg+0x735/0xc60 [ 52.961626][ T615] ? netlink_unicast+0x750/0x750 [ 52.961633][ T615] ? __might_fault+0x97/0x140 [ 52.961642][ T615] ____sys_sendmsg+0x415/0x880 [ 52.961648][ T615] ? copy_msghdr_from_user+0x279/0x420 [ 52.961652][ T615] ? get_timestamp.constprop.0+0x390/0x390 [ 52.961655][ T615] ? move_addr_to_kernel+0x40/0x40 [ 52.961669][ T615] ___sys_sendmsg+0x14e/0x1d0 [ 52.961674][ T615] ? copy_msghdr_from_user+0x420/0x420 [ 52.961707][ T615] __sys_sendmsg+0x12c/0x1d0 [ 52.961712][ T615] ? __sys_sendmsg_sock+0x20/0x20 [ 52.961724][ T615] ? rcu_is_watching+0x16/0xd0 [ 52.961731][ T615] do_syscall_64+0xff/0x530 [ 52.961735][ T615] ? exc_page_fault+0xee/0x100 [ 52.961740][ T615] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 52.961743][ T615] RIP: 0033:0x7f31435e854e [ 52.961749][ T615] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 52.961751][ T615] RSP: 002b:00007ffe874bc490 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 52.961756][ T615] RAX: ffffffffffffffda RBX: 00007ffe874bcc40 RCX: 00007f31435e854e [ 52.961758][ T615] RDX: 0000000000000000 RSI: 00007ffe874bc540 RDI: 0000000000000005 [ 52.961759][ T615] RBP: 00007ffe874bc4a0 R08: 0000000000000000 R09: 0000000000000000 [ 52.961761][ T615] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b8e2 [ 52.961762][ T615] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe874bcc10 [ 52.961776][ T615] [ 53.029556][ T615] vethB: entered promiscuous mode [ 53.077391][ T616] vethA: entered promiscuous mode [ 53.078206][ T616] vethB: entered promiscuous mode [ 53.133683][ T617] vethA: entered promiscuous mode [ 53.135151][ T617] vethB: entered promiscuous mode [ 53.392082][ T623] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 53.392841][ T623] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 53.525927][ T626] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 53.526657][ T626] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 60.463176][ T12] vethA: left promiscuous mode [ 60.463197][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 60.463199][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 60.463201][ T12] preempt_count: 1, expected: 0 [ 60.463202][ T12] RCU nest depth: 0, expected: 0 [ 60.463203][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 60.463206][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 60.463219][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 60.463223][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 60.463228][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 60.463233][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 60.463238][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 60.463242][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 60.463246][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 60.463250][ T12] irq event stamp: 543938 [ 60.463251][ T12] hardirqs last enabled at (543937): [] __down_trylock_console_sem+0x86/0xa0 [ 60.463254][ T12] hardirqs last disabled at (543938): [] console_emit_next_record+0x3d4/0x4c0 [ 60.463256][ T12] softirqs last enabled at (543806): [] tcp_close+0x2b/0xb0 [ 60.463259][ T12] softirqs last disabled at (543804): [] release_sock+0x21/0x240 [ 60.463263][ T12] Preemption disabled at: [ 60.463263][ T12] [] vprintk_emit+0x31b/0x3e0 [ 60.463269][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 60.463273][ T12] Tainted: [W]=WARN [ 60.463274][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 60.463276][ T12] Workqueue: netns cleanup_net [ 60.463279][ T12] Call Trace: [ 60.463281][ T12] [ 60.463283][ T12] dump_stack_lvl+0x6f/0xa0 [ 60.463289][ T12] ? vprintk_emit+0x31b/0x3e0 [ 60.463292][ T12] __might_resched.cold+0x1fe/0x2c1 [ 60.463297][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 60.463301][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 60.463306][ T12] __kmalloc_noprof+0x443/0x760 [ 60.463308][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 60.463315][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 60.463317][ T12] alloc_buf.isra.0+0x4b/0x260 [ 60.463321][ T12] put_chars+0x1e1/0x2f0 [ 60.463324][ T12] ? __send_to_port+0x420/0x420 [ 60.463328][ T12] ? validate_chain+0x38b/0xc20 [ 60.463333][ T12] hvc_console_print+0x292/0x780 [ 60.463341][ T12] ? hvc_write+0x3a0/0x3a0 [ 60.463344][ T12] ? rcu_is_watching+0x16/0xd0 [ 60.463348][ T12] ? lock_acquire+0x13c/0x160 [ 60.463353][ T12] console_emit_next_record+0x22f/0x4c0 [ 60.463357][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 60.463359][ T12] ? console_flush_one_record+0x106/0x710 [ 60.463362][ T12] ? rcu_is_watching+0x16/0xd0 [ 60.463365][ T12] ? lock_acquire+0x13c/0x160 [ 60.463369][ T12] console_flush_one_record+0x46f/0x710 [ 60.463374][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 60.463376][ T12] ? __lock_acquire+0x518/0xc20 [ 60.463382][ T12] console_unlock+0xee/0x1f0 [ 60.463385][ T12] ? console_flush_one_record+0x710/0x710 [ 60.463387][ T12] ? rcu_is_watching+0x16/0xd0 [ 60.463389][ T12] ? lock_acquire+0x60/0x160 [ 60.463393][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 60.463395][ T12] ? vprintk_emit+0x320/0x3e0 [ 60.463399][ T12] vprintk_emit+0x37c/0x3e0 [ 60.463403][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 60.463406][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 60.463407][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 60.463411][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 60.463412][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 60.463416][ T12] _printk+0xc7/0x100 [ 60.463420][ T12] ? snapshot_read.cold+0x21/0x21 [ 60.463423][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 60.463426][ T12] ? netdev_name+0x43/0x60 [ 60.463430][ T12] ? __netdev_printk+0x17f/0x1d0 [ 60.463433][ T12] netdev_info+0xe2/0x116 [ 60.463436][ T12] ? netdev_notice+0x120/0x120 [ 60.463440][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 60.463441][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 60.463444][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 60.463448][ T12] ? mutex_is_locked+0x1c/0x50 [ 60.463452][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 60.463455][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 60.463458][ T12] netif_set_promiscuity+0x4c/0xc0 [ 60.463462][ T12] dev_set_promiscuity+0x9d/0x150 [ 60.463465][ T12] hsr_del_port+0x39d/0x540 [ 60.463471][ T12] hsr_del_ports+0x24/0x80 [ 60.463473][ T12] hsr_dellink+0x5d/0x90 [ 60.463476][ T12] default_device_exit_batch+0x19d/0x600 [ 60.463480][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 60.463483][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 60.463486][ T12] ? mutex_is_locked+0x1c/0x50 [ 60.463490][ T12] ops_undo_list+0x2ce/0x8f0 [ 60.463494][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 60.463496][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 60.463498][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 60.463501][ T12] ? idr_destroy+0x121/0x250 [ 60.463507][ T12] cleanup_net+0x431/0x890 [ 60.463510][ T12] ? net_passive_dec+0x230/0x230 [ 60.463514][ T12] ? lock_acquire+0x13c/0x160 [ 60.463516][ T12] ? rcu_is_watching+0x16/0xd0 [ 60.463521][ T12] process_one_work+0xe3e/0x1560 [ 60.463528][ T12] ? __queue_delayed_work+0x470/0x470 [ 60.463531][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 60.463539][ T12] worker_thread+0x4f1/0xd60 [ 60.463546][ T12] ? rescuer_thread+0x1340/0x1340 [ 60.463549][ T12] kthread+0x367/0x460 [ 60.463552][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 60.463554][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 60.463557][ T12] ret_from_fork+0x474/0x6b0 [ 60.463562][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 60.463565][ T12] ? __switch_to+0x5a3/0xe00 [ 60.463568][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 60.463571][ T12] ret_from_fork_asm+0x11/0x20 [ 60.463580][ T12] [ 60.497526][ T12] vethB: left promiscuous mode [ 60.508605][ T12] vethA (unregistering): left promiscuous mode [ 60.511794][ T12] vethB (unregistering): left promiscuous mode [ 60.815138][ T12] vethA: left promiscuous mode [ 60.831585][ T12] vethB (unregistering): left promiscuous mode [ 61.685150][ T704] vethA: entered promiscuous mode [ 61.685168][ T704] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 61.685170][ T704] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 704, name: ip [ 61.685172][ T704] preempt_count: 1, expected: 0 [ 61.685173][ T704] RCU nest depth: 0, expected: 0 [ 61.685174][ T704] locks held by ip/704: 6, last CPU#0: [ 61.685176][ T704] #0: ffffffff892f3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 61.685188][ T704] #1: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 61.685192][ T704] #2: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 61.685198][ T704] #3: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 61.685202][ T704] #4: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 61.685205][ T704] #5: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 61.685210][ T704] irq event stamp: 16908 [ 61.685211][ T704] hardirqs last enabled at (16907): [] __down_trylock_console_sem+0x86/0xa0 [ 61.685213][ T704] hardirqs last disabled at (16908): [] console_emit_next_record+0x3d4/0x4c0 [ 61.685215][ T704] softirqs last enabled at (16822): [] __alloc_skb+0x4c2/0x5f0 [ 61.685219][ T704] softirqs last disabled at (16820): [] __alloc_skb+0x4c2/0x5f0 [ 61.685221][ T704] Preemption disabled at: [ 61.685222][ T704] [] vprintk_emit+0x31b/0x3e0 [ 61.685228][ T704] CPU: 0 UID: 0 PID: 704 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 61.685231][ T704] Tainted: [W]=WARN [ 61.685232][ T704] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 61.685234][ T704] Call Trace: [ 61.685235][ T704] [ 61.685237][ T704] dump_stack_lvl+0x6f/0xa0 [ 61.685243][ T704] ? vprintk_emit+0x31b/0x3e0 [ 61.685246][ T704] __might_resched.cold+0x1fe/0x2c1 [ 61.685251][ T704] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 61.685255][ T704] ? __kmalloc_noprof+0xdb/0x760 [ 61.685260][ T704] __kmalloc_noprof+0x443/0x760 [ 61.685262][ T704] ? alloc_buf.isra.0+0x4b/0x260 [ 61.685268][ T704] ? do_raw_spin_unlock+0x59/0x250 [ 61.685271][ T704] alloc_buf.isra.0+0x4b/0x260 [ 61.685275][ T704] put_chars+0x1e1/0x2f0 [ 61.685278][ T704] ? __send_to_port+0x420/0x420 [ 61.685285][ T704] hvc_console_print+0x292/0x780 [ 61.685292][ T704] ? hvc_write+0x3a0/0x3a0 [ 61.685295][ T704] ? lock_acquire+0x13c/0x160 [ 61.685300][ T704] console_emit_next_record+0x22f/0x4c0 [ 61.685304][ T704] ? devkmsg_read+0x4b0/0x4b0 [ 61.685306][ T704] ? console_flush_one_record+0x106/0x710 [ 61.685309][ T704] ? rcu_is_watching+0x16/0xd0 [ 61.685313][ T704] ? lock_acquire+0x13c/0x160 [ 61.685317][ T704] console_flush_one_record+0x46f/0x710 [ 61.685322][ T704] ? console_emit_next_record+0x4c0/0x4c0 [ 61.685324][ T704] ? __lock_acquire+0x518/0xc20 [ 61.685329][ T704] console_unlock+0xee/0x1f0 [ 61.685332][ T704] ? console_flush_one_record+0x710/0x710 [ 61.685334][ T704] ? rcu_is_watching+0x16/0xd0 [ 61.685336][ T704] ? lock_acquire+0x60/0x160 [ 61.685340][ T704] ? __down_trylock_console_sem+0x5e/0xa0 [ 61.685342][ T704] ? vprintk_emit+0x320/0x3e0 [ 61.685345][ T704] vprintk_emit+0x37c/0x3e0 [ 61.685350][ T704] ? wake_up_klogd_work_func+0x90/0x90 [ 61.685352][ T704] ? kasan_save_stack+0x3d/0x50 [ 61.685355][ T704] ? kasan_save_track+0x14/0x30 [ 61.685357][ T704] ? __kasan_kmalloc+0x7b/0x90 [ 61.685358][ T704] ? __kmalloc_cache_noprof+0x29a/0x620 [ 61.685360][ T704] ? hsr_add_port+0x1eb/0xb60 [ 61.685364][ T704] ? hsr_dev_finalize+0x841/0xcf0 [ 61.685366][ T704] ? hsr_newlink+0x3b9/0x930 [ 61.685369][ T704] _printk+0xc7/0x100 [ 61.685373][ T704] ? snapshot_read.cold+0x21/0x21 [ 61.685375][ T704] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 61.685379][ T704] ? netdev_name+0x43/0x60 [ 61.685382][ T704] ? __netdev_printk+0x17f/0x1d0 [ 61.685386][ T704] netdev_info+0xe2/0x116 [ 61.685389][ T704] ? netdev_notice+0x120/0x120 [ 61.685396][ T704] ? mutex_is_locked+0x1c/0x50 [ 61.685400][ T704] __dev_set_promiscuity.cold+0x95/0x104 [ 61.685405][ T704] netif_set_promiscuity+0x4c/0xc0 [ 61.685410][ T704] dev_set_promiscuity+0x9d/0x150 [ 61.685413][ T704] hsr_add_port+0x48c/0xb60 [ 61.685416][ T704] ? hsr_port_exists+0x60/0x60 [ 61.685420][ T704] ? timer_init_key+0x10d/0x280 [ 61.685425][ T704] hsr_dev_finalize+0x841/0xcf0 [ 61.685427][ T704] ? alloc_netdev_mqs+0xe11/0x14d0 [ 61.685432][ T704] ? alloc_netdev_mqs+0xf05/0x14d0 [ 61.685434][ T704] hsr_newlink+0x3b9/0x930 [ 61.685437][ T704] ? hsr_dellink+0x90/0x90 [ 61.685440][ T704] ? rtnl_create_link+0x169/0xf20 [ 61.685442][ T704] ? nla_strscpy+0xe3/0x180 [ 61.685446][ T704] rtnl_newlink_create+0x2d0/0x750 [ 61.685450][ T704] ? rtnl_create_link+0xf20/0xf20 [ 61.685452][ T704] ? __dev_get_by_name+0x12/0x50 [ 61.685454][ T704] ? rtnl_dev_get+0xd7/0x170 [ 61.685463][ T704] __rtnl_newlink+0x22b/0xa50 [ 61.685470][ T704] rtnl_newlink+0x9f1/0x11c0 [ 61.685476][ T704] ? rtnl_bridge_getlink+0x850/0x850 [ 61.685478][ T704] ? __lock_acquire+0x518/0xc20 [ 61.685485][ T704] ? __lock_release.isra.0+0x69/0x1a0 [ 61.685489][ T704] ? rtnl_bridge_getlink+0x850/0x850 [ 61.685491][ T704] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 61.685495][ T704] ? rtnl_link_fill+0x920/0x920 [ 61.685496][ T704] ? __lock_acquire+0x518/0xc20 [ 61.685501][ T704] ? lock_acquire.part.0+0xd4/0x280 [ 61.685503][ T704] ? find_held_lock+0x2b/0x80 [ 61.685507][ T704] netlink_rcv_skb+0x14e/0x3a0 [ 61.685510][ T704] ? rtnl_link_fill+0x920/0x920 [ 61.685514][ T704] ? netlink_ack+0xcf0/0xcf0 [ 61.685520][ T704] ? netlink_deliver_tap+0xc5/0x330 [ 61.685522][ T704] ? netlink_deliver_tap+0x13c/0x330 [ 61.685527][ T704] netlink_unicast+0x486/0x750 [ 61.685532][ T704] ? netlink_attachskb+0x810/0x810 [ 61.685535][ T704] ? __lock_acquire+0x518/0xc20 [ 61.685539][ T704] netlink_sendmsg+0x735/0xc60 [ 61.685543][ T704] ? netlink_unicast+0x750/0x750 [ 61.685548][ T704] ? __might_fault+0x97/0x140 [ 61.685554][ T704] ____sys_sendmsg+0x415/0x880 [ 61.685557][ T704] ? copy_msghdr_from_user+0x279/0x420 [ 61.685560][ T704] ? get_timestamp.constprop.0+0x390/0x390 [ 61.685562][ T704] ? move_addr_to_kernel+0x40/0x40 [ 61.685570][ T704] ___sys_sendmsg+0x14e/0x1d0 [ 61.685573][ T704] ? copy_msghdr_from_user+0x420/0x420 [ 61.685590][ T704] __sys_sendmsg+0x12c/0x1d0 [ 61.685594][ T704] ? __sys_sendmsg_sock+0x20/0x20 [ 61.685600][ T704] ? rcu_is_watching+0x16/0xd0 [ 61.685604][ T704] do_syscall_64+0xff/0x530 [ 61.685608][ T704] ? exc_page_fault+0xee/0x100 [ 61.685611][ T704] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 61.685613][ T704] RIP: 0033:0x7f84aeafb54e [ 61.685617][ T704] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 61.685618][ T704] RSP: 002b:00007ffd9bdb6b20 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 61.685621][ T704] RAX: ffffffffffffffda RBX: 00007ffd9bdb72d0 RCX: 00007f84aeafb54e [ 61.685623][ T704] RDX: 0000000000000000 RSI: 00007ffd9bdb6bd0 RDI: 0000000000000005 [ 61.685624][ T704] RBP: 00007ffd9bdb6b30 R08: 0000000000000000 R09: 0000000000000000 [ 61.685624][ T704] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b8eb [ 61.685625][ T704] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd9bdb72a0 [ 61.685633][ T704] [ 61.721813][ T704] vethB: entered promiscuous mode [ 61.786288][ T705] vethA: entered promiscuous mode [ 61.787602][ T705] vethB: entered promiscuous mode [ 61.852535][ T706] vethA: entered promiscuous mode [ 61.853867][ T706] vethB: entered promiscuous mode [ 62.069041][ T712] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 62.069555][ T712] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 62.177383][ T715] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 62.177914][ T715] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 62.273846][ T718] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 68.304464][ T12] vethA: left promiscuous mode [ 68.304490][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 68.304494][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 68.304497][ T12] preempt_count: 1, expected: 0 [ 68.304498][ T12] RCU nest depth: 0, expected: 0 [ 68.304500][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 68.304503][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 68.304518][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 68.304524][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 68.304532][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 68.304538][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 68.304545][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 68.304551][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 68.304557][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 68.304563][ T12] irq event stamp: 633484 [ 68.304565][ T12] hardirqs last enabled at (633483): [] __down_trylock_console_sem+0x86/0xa0 [ 68.304568][ T12] hardirqs last disabled at (633484): [] console_emit_next_record+0x3d4/0x4c0 [ 68.304572][ T12] softirqs last enabled at (633354): [] tcp_close+0x2b/0xb0 [ 68.304576][ T12] softirqs last disabled at (633352): [] release_sock+0x21/0x240 [ 68.304580][ T12] Preemption disabled at: [ 68.304581][ T12] [] vprintk_emit+0x31b/0x3e0 [ 68.304589][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 68.304594][ T12] Tainted: [W]=WARN [ 68.304595][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 68.304598][ T12] Workqueue: netns cleanup_net [ 68.304602][ T12] Call Trace: [ 68.304605][ T12] [ 68.304608][ T12] dump_stack_lvl+0x6f/0xa0 [ 68.304615][ T12] ? vprintk_emit+0x31b/0x3e0 [ 68.304618][ T12] __might_resched.cold+0x1fe/0x2c1 [ 68.304625][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 68.304631][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 68.304639][ T12] __kmalloc_noprof+0x443/0x760 [ 68.304643][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 68.304652][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 68.304656][ T12] alloc_buf.isra.0+0x4b/0x260 [ 68.304662][ T12] put_chars+0x1e1/0x2f0 [ 68.304666][ T12] ? __send_to_port+0x420/0x420 [ 68.304678][ T12] ? validate_chain+0x38b/0xc20 [ 68.304687][ T12] hvc_console_print+0x292/0x780 [ 68.304699][ T12] ? hvc_write+0x3a0/0x3a0 [ 68.304704][ T12] ? rcu_is_watching+0x16/0xd0 [ 68.304709][ T12] ? lock_acquire+0x13c/0x160 [ 68.304717][ T12] console_emit_next_record+0x22f/0x4c0 [ 68.304724][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 68.304726][ T12] ? console_flush_one_record+0x106/0x710 [ 68.304732][ T12] ? rcu_is_watching+0x16/0xd0 [ 68.304736][ T12] ? lock_acquire+0x13c/0x160 [ 68.304744][ T12] console_flush_one_record+0x46f/0x710 [ 68.304751][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 68.304754][ T12] ? __lock_acquire+0x518/0xc20 [ 68.304764][ T12] console_unlock+0xee/0x1f0 [ 68.304769][ T12] ? console_flush_one_record+0x710/0x710 [ 68.304771][ T12] ? rcu_is_watching+0x16/0xd0 [ 68.304775][ T12] ? lock_acquire+0x60/0x160 [ 68.304783][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 68.304785][ T12] ? vprintk_emit+0x320/0x3e0 [ 68.304791][ T12] vprintk_emit+0x37c/0x3e0 [ 68.304798][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 68.304807][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 68.304809][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 68.304813][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 68.304816][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 68.304822][ T12] _printk+0xc7/0x100 [ 68.304828][ T12] ? snapshot_read.cold+0x21/0x21 [ 68.304833][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 68.304838][ T12] ? netdev_name+0x43/0x60 [ 68.304843][ T12] ? __netdev_printk+0x17f/0x1d0 [ 68.304850][ T12] netdev_info+0xe2/0x116 [ 68.304854][ T12] ? netdev_notice+0x120/0x120 [ 68.304860][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 68.304863][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 68.304866][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 68.304873][ T12] ? mutex_is_locked+0x1c/0x50 [ 68.304879][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 68.304883][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 68.304888][ T12] netif_set_promiscuity+0x4c/0xc0 [ 68.304895][ T12] dev_set_promiscuity+0x9d/0x150 [ 68.304899][ T12] hsr_del_port+0x39d/0x540 [ 68.304908][ T12] hsr_del_ports+0x24/0x80 [ 68.304911][ T12] hsr_dellink+0x5d/0x90 [ 68.304916][ T12] default_device_exit_batch+0x19d/0x600 [ 68.304922][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 68.304927][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 68.304931][ T12] ? mutex_is_locked+0x1c/0x50 [ 68.304938][ T12] ops_undo_list+0x2ce/0x8f0 [ 68.304945][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 68.304948][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 68.304951][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 68.304956][ T12] ? idr_destroy+0x121/0x250 [ 68.304964][ T12] cleanup_net+0x431/0x890 [ 68.304969][ T12] ? net_passive_dec+0x230/0x230 [ 68.304976][ T12] ? lock_acquire+0x13c/0x160 [ 68.304979][ T12] ? rcu_is_watching+0x16/0xd0 [ 68.304987][ T12] process_one_work+0xe3e/0x1560 [ 68.304999][ T12] ? __queue_delayed_work+0x470/0x470 [ 68.305004][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 68.305019][ T12] worker_thread+0x4f1/0xd60 [ 68.305033][ T12] ? rescuer_thread+0x1340/0x1340 [ 68.305036][ T12] kthread+0x367/0x460 [ 68.305040][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 68.305044][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 68.305049][ T12] ret_from_fork+0x474/0x6b0 [ 68.305055][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 68.305061][ T12] ? __switch_to+0x5a3/0xe00 [ 68.305066][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 68.305071][ T12] ret_from_fork_asm+0x11/0x20 [ 68.305087][ T12] [ 68.359477][ T12] vethB: left promiscuous mode [ 68.389100][ T12] vethA (unregistering): left promiscuous mode [ 68.394614][ T12] vethB (unregistering): left promiscuous mode [ 68.689362][ T12] vethA: left promiscuous mode [ 68.703499][ T12] vethB (unregistering): left promiscuous mode [ 69.944121][ T787] vethA: entered promiscuous mode [ 69.944143][ T787] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 69.944146][ T787] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 787, name: ip [ 69.944148][ T787] preempt_count: 1, expected: 0 [ 69.944150][ T787] RCU nest depth: 0, expected: 0 [ 69.944151][ T787] locks held by ip/787: 6, last CPU#3: [ 69.944154][ T787] #0: ffffffff892f3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 69.944170][ T787] #1: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 69.944176][ T787] #2: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 69.944184][ T787] #3: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 69.944190][ T787] #4: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 69.944196][ T787] #5: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 69.944202][ T787] irq event stamp: 17916 [ 69.944204][ T787] hardirqs last enabled at (17915): [] __down_trylock_console_sem+0x86/0xa0 [ 69.944207][ T787] hardirqs last disabled at (17916): [] console_emit_next_record+0x3d4/0x4c0 [ 69.944210][ T787] softirqs last enabled at (17832): [] __alloc_skb+0x4c2/0x5f0 [ 69.944215][ T787] softirqs last disabled at (17830): [] __alloc_skb+0x4c2/0x5f0 [ 69.944218][ T787] Preemption disabled at: [ 69.944219][ T787] [] vprintk_emit+0x31b/0x3e0 [ 69.944227][ T787] CPU: 3 UID: 0 PID: 787 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 69.944232][ T787] Tainted: [W]=WARN [ 69.944233][ T787] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 69.944235][ T787] Call Trace: [ 69.944238][ T787] [ 69.944240][ T787] dump_stack_lvl+0x6f/0xa0 [ 69.944247][ T787] ? vprintk_emit+0x31b/0x3e0 [ 69.944251][ T787] __might_resched.cold+0x1fe/0x2c1 [ 69.944257][ T787] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 69.944263][ T787] ? __kmalloc_noprof+0xdb/0x760 [ 69.944271][ T787] __kmalloc_noprof+0x443/0x760 [ 69.944275][ T787] ? alloc_buf.isra.0+0x4b/0x260 [ 69.944284][ T787] ? do_raw_spin_unlock+0x59/0x250 [ 69.944288][ T787] alloc_buf.isra.0+0x4b/0x260 [ 69.944294][ T787] put_chars+0x1e1/0x2f0 [ 69.944298][ T787] ? __send_to_port+0x420/0x420 [ 69.944311][ T787] hvc_console_print+0x292/0x780 [ 69.944323][ T787] ? hvc_write+0x3a0/0x3a0 [ 69.944328][ T787] ? lock_acquire+0x13c/0x160 [ 69.944336][ T787] console_emit_next_record+0x22f/0x4c0 [ 69.944343][ T787] ? devkmsg_read+0x4b0/0x4b0 [ 69.944345][ T787] ? console_flush_one_record+0x106/0x710 [ 69.944351][ T787] ? rcu_is_watching+0x16/0xd0 [ 69.944356][ T787] ? lock_acquire+0x13c/0x160 [ 69.944364][ T787] console_flush_one_record+0x46f/0x710 [ 69.944371][ T787] ? console_emit_next_record+0x4c0/0x4c0 [ 69.944374][ T787] ? __lock_acquire+0x518/0xc20 [ 69.944384][ T787] console_unlock+0xee/0x1f0 [ 69.944389][ T787] ? console_flush_one_record+0x710/0x710 [ 69.944391][ T787] ? rcu_is_watching+0x16/0xd0 [ 69.944395][ T787] ? lock_acquire+0x60/0x160 [ 69.944402][ T787] ? __down_trylock_console_sem+0x5e/0xa0 [ 69.944404][ T787] ? vprintk_emit+0x320/0x3e0 [ 69.944410][ T787] vprintk_emit+0x37c/0x3e0 [ 69.944417][ T787] ? wake_up_klogd_work_func+0x90/0x90 [ 69.944419][ T787] ? kasan_save_stack+0x3d/0x50 [ 69.944424][ T787] ? kasan_save_track+0x14/0x30 [ 69.944426][ T787] ? __kasan_kmalloc+0x7b/0x90 [ 69.944429][ T787] ? __kmalloc_cache_noprof+0x29a/0x620 [ 69.944431][ T787] ? hsr_add_port+0x1eb/0xb60 [ 69.944436][ T787] ? hsr_dev_finalize+0x841/0xcf0 [ 69.944438][ T787] ? hsr_newlink+0x3b9/0x930 [ 69.944445][ T787] _printk+0xc7/0x100 [ 69.944450][ T787] ? snapshot_read.cold+0x21/0x21 [ 69.944452][ T787] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 69.944460][ T787] ? netdev_name+0x43/0x60 [ 69.944465][ T787] ? __netdev_printk+0x17f/0x1d0 [ 69.944472][ T787] netdev_info+0xe2/0x116 [ 69.944475][ T787] ? netdev_notice+0x120/0x120 [ 69.944489][ T787] ? mutex_is_locked+0x1c/0x50 [ 69.944495][ T787] __dev_set_promiscuity.cold+0x95/0x104 [ 69.944502][ T787] netif_set_promiscuity+0x4c/0xc0 [ 69.944509][ T787] dev_set_promiscuity+0x9d/0x150 [ 69.944514][ T787] hsr_add_port+0x48c/0xb60 [ 69.944520][ T787] ? hsr_port_exists+0x60/0x60 [ 69.944525][ T787] ? timer_init_key+0x10d/0x280 [ 69.944534][ T787] hsr_dev_finalize+0x841/0xcf0 [ 69.944536][ T787] ? alloc_netdev_mqs+0xe11/0x14d0 [ 69.944545][ T787] ? alloc_netdev_mqs+0xf05/0x14d0 [ 69.944548][ T787] hsr_newlink+0x3b9/0x930 [ 69.944553][ T787] ? hsr_dellink+0x90/0x90 [ 69.944558][ T787] ? rtnl_create_link+0x169/0xf20 [ 69.944561][ T787] ? nla_strscpy+0xe3/0x180 [ 69.944568][ T787] rtnl_newlink_create+0x2d0/0x750 [ 69.944575][ T787] ? rtnl_create_link+0xf20/0xf20 [ 69.944578][ T787] ? __dev_get_by_name+0x12/0x50 [ 69.944581][ T787] ? rtnl_dev_get+0xd7/0x170 [ 69.944598][ T787] __rtnl_newlink+0x22b/0xa50 [ 69.944611][ T787] rtnl_newlink+0x9f1/0x11c0 [ 69.944621][ T787] ? rtnl_bridge_getlink+0x850/0x850 [ 69.944624][ T787] ? __lock_acquire+0x518/0xc20 [ 69.944637][ T787] ? __lock_release.isra.0+0x69/0x1a0 [ 69.944644][ T787] ? rtnl_bridge_getlink+0x850/0x850 [ 69.944648][ T787] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 69.944653][ T787] ? rtnl_link_fill+0x920/0x920 [ 69.944656][ T787] ? __lock_acquire+0x518/0xc20 [ 69.944664][ T787] ? lock_acquire.part.0+0xd4/0x280 [ 69.944667][ T787] ? find_held_lock+0x2b/0x80 [ 69.944680][ T787] netlink_rcv_skb+0x14e/0x3a0 [ 69.944684][ T787] ? rtnl_link_fill+0x920/0x920 [ 69.944690][ T787] ? netlink_ack+0xcf0/0xcf0 [ 69.944702][ T787] ? netlink_deliver_tap+0xc5/0x330 [ 69.944705][ T787] ? netlink_deliver_tap+0x13c/0x330 [ 69.944714][ T787] netlink_unicast+0x486/0x750 [ 69.944721][ T787] ? netlink_attachskb+0x810/0x810 [ 69.944726][ T787] ? __lock_acquire+0x518/0xc20 [ 69.944734][ T787] netlink_sendmsg+0x735/0xc60 [ 69.944741][ T787] ? netlink_unicast+0x750/0x750 [ 69.944749][ T787] ? __might_fault+0x97/0x140 [ 69.944758][ T787] ____sys_sendmsg+0x415/0x880 [ 69.944763][ T787] ? copy_msghdr_from_user+0x279/0x420 [ 69.944767][ T787] ? get_timestamp.constprop.0+0x390/0x390 [ 69.944770][ T787] ? move_addr_to_kernel+0x40/0x40 [ 69.944784][ T787] ___sys_sendmsg+0x14e/0x1d0 [ 69.944789][ T787] ? copy_msghdr_from_user+0x420/0x420 [ 69.944823][ T787] __sys_sendmsg+0x12c/0x1d0 [ 69.944828][ T787] ? __sys_sendmsg_sock+0x20/0x20 [ 69.944839][ T787] ? rcu_is_watching+0x16/0xd0 [ 69.944846][ T787] do_syscall_64+0xff/0x530 [ 69.944850][ T787] ? exc_page_fault+0xee/0x100 [ 69.944855][ T787] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 69.944858][ T787] RIP: 0033:0x7fefe3f9a54e [ 69.944863][ T787] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 69.944866][ T787] RSP: 002b:00007ffe8411d0b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 69.944870][ T787] RAX: ffffffffffffffda RBX: 00007ffe8411d860 RCX: 00007fefe3f9a54e [ 69.944872][ T787] RDX: 0000000000000000 RSI: 00007ffe8411d160 RDI: 0000000000000005 [ 69.944874][ T787] RBP: 00007ffe8411d0c0 R08: 0000000000000000 R09: 0000000000000000 [ 69.944875][ T787] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b8f3 [ 69.944877][ T787] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe8411d830 [ 69.944892][ T787] [ 70.001875][ T787] vethB: entered promiscuous mode [ 70.059121][ T788] vethA: entered promiscuous mode [ 70.060017][ T788] vethB: entered promiscuous mode [ 70.103017][ T789] vethA: entered promiscuous mode [ 70.103923][ T789] vethB: entered promiscuous mode [ 70.396658][ T795] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 70.397423][ T795] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 70.529883][ T798] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 70.530306][ T798] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 70.639012][ T801] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 78.766625][ T12] vethA: left promiscuous mode [ 78.766647][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 78.766649][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 78.766651][ T12] preempt_count: 1, expected: 0 [ 78.766652][ T12] RCU nest depth: 0, expected: 0 [ 78.766653][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 78.766655][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 78.766668][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 78.766672][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 78.766678][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 78.766682][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 78.766687][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 78.766691][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 78.766695][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 78.766699][ T12] irq event stamp: 729616 [ 78.766700][ T12] hardirqs last enabled at (729615): [] __down_trylock_console_sem+0x86/0xa0 [ 78.766702][ T12] hardirqs last disabled at (729616): [] console_emit_next_record+0x3d4/0x4c0 [ 78.766704][ T12] softirqs last enabled at (729486): [] tcp_close+0x2b/0xb0 [ 78.766714][ T12] softirqs last disabled at (729484): [] release_sock+0x21/0x240 [ 78.766718][ T12] Preemption disabled at: [ 78.766718][ T12] [] vprintk_emit+0x31b/0x3e0 [ 78.766724][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 78.766728][ T12] Tainted: [W]=WARN [ 78.766729][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 78.766731][ T12] Workqueue: netns cleanup_net [ 78.766735][ T12] Call Trace: [ 78.766737][ T12] [ 78.766739][ T12] dump_stack_lvl+0x6f/0xa0 [ 78.766745][ T12] ? vprintk_emit+0x31b/0x3e0 [ 78.766748][ T12] __might_resched.cold+0x1fe/0x2c1 [ 78.766753][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 78.766757][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 78.766763][ T12] __kmalloc_noprof+0x443/0x760 [ 78.766765][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 78.766772][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 78.766774][ T12] alloc_buf.isra.0+0x4b/0x260 [ 78.766778][ T12] put_chars+0x1e1/0x2f0 [ 78.766781][ T12] ? __send_to_port+0x420/0x420 [ 78.766784][ T12] ? validate_chain+0x38b/0xc20 [ 78.766790][ T12] hvc_console_print+0x292/0x780 [ 78.766797][ T12] ? hvc_write+0x3a0/0x3a0 [ 78.766800][ T12] ? rcu_is_watching+0x16/0xd0 [ 78.766807][ T12] ? lock_acquire+0x13c/0x160 [ 78.766812][ T12] console_emit_next_record+0x22f/0x4c0 [ 78.766816][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 78.766818][ T12] ? console_flush_one_record+0x106/0x710 [ 78.766822][ T12] ? rcu_is_watching+0x16/0xd0 [ 78.766825][ T12] ? lock_acquire+0x13c/0x160 [ 78.766830][ T12] console_flush_one_record+0x46f/0x710 [ 78.766835][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 78.766837][ T12] ? __lock_acquire+0x518/0xc20 [ 78.766843][ T12] console_unlock+0xee/0x1f0 [ 78.766846][ T12] ? console_flush_one_record+0x710/0x710 [ 78.766848][ T12] ? rcu_is_watching+0x16/0xd0 [ 78.766851][ T12] ? lock_acquire+0x60/0x160 [ 78.766855][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 78.766857][ T12] ? vprintk_emit+0x320/0x3e0 [ 78.766862][ T12] vprintk_emit+0x37c/0x3e0 [ 78.766866][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 78.766869][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 78.766871][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 78.766875][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 78.766877][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 78.766880][ T12] _printk+0xc7/0x100 [ 78.766884][ T12] ? snapshot_read.cold+0x21/0x21 [ 78.766888][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 78.766891][ T12] ? netdev_name+0x43/0x60 [ 78.766895][ T12] ? __netdev_printk+0x17f/0x1d0 [ 78.766899][ T12] netdev_info+0xe2/0x116 [ 78.766901][ T12] ? netdev_notice+0x120/0x120 [ 78.766905][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 78.766907][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 78.766909][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 78.766913][ T12] ? mutex_is_locked+0x1c/0x50 [ 78.766917][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 78.766920][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 78.766923][ T12] netif_set_promiscuity+0x4c/0xc0 [ 78.766928][ T12] dev_set_promiscuity+0x9d/0x150 [ 78.766931][ T12] hsr_del_port+0x39d/0x540 [ 78.766937][ T12] hsr_del_ports+0x24/0x80 [ 78.766940][ T12] hsr_dellink+0x5d/0x90 [ 78.766943][ T12] default_device_exit_batch+0x19d/0x600 [ 78.766947][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 78.766949][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 78.766952][ T12] ? mutex_is_locked+0x1c/0x50 [ 78.766956][ T12] ops_undo_list+0x2ce/0x8f0 [ 78.766960][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 78.766963][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 78.766965][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 78.766968][ T12] ? idr_destroy+0x121/0x250 [ 78.766973][ T12] cleanup_net+0x431/0x890 [ 78.766976][ T12] ? net_passive_dec+0x230/0x230 [ 78.766980][ T12] ? lock_acquire+0x13c/0x160 [ 78.766982][ T12] ? rcu_is_watching+0x16/0xd0 [ 78.766987][ T12] process_one_work+0xe3e/0x1560 [ 78.766995][ T12] ? __queue_delayed_work+0x470/0x470 [ 78.766998][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 78.767007][ T12] worker_thread+0x4f1/0xd60 [ 78.767014][ T12] ? rescuer_thread+0x1340/0x1340 [ 78.767016][ T12] kthread+0x367/0x460 [ 78.767019][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 78.767023][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 78.767026][ T12] ret_from_fork+0x474/0x6b0 [ 78.767030][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 78.767033][ T12] ? __switch_to+0x5a3/0xe00 [ 78.767037][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 78.767039][ T12] ret_from_fork_asm+0x11/0x20 [ 78.767050][ T12] [ 78.800462][ T12] vethB: left promiscuous mode [ 78.827705][ T12] vethA (unregistering): left promiscuous mode [ 78.834119][ T12] vethB (unregistering): left promiscuous mode [ 79.069847][ T12] vethA: left promiscuous mode [ 79.082398][ T12] vethB (unregistering): left promiscuous mode [ 80.036088][ T878] vethA: entered promiscuous mode [ 80.036105][ T878] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 80.036107][ T878] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 878, name: ip [ 80.036109][ T878] preempt_count: 1, expected: 0 [ 80.036110][ T878] RCU nest depth: 0, expected: 0 [ 80.036111][ T878] locks held by ip/878: 6, last CPU#0: [ 80.036114][ T878] #0: ffffffff892f3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 80.036125][ T878] #1: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 80.036129][ T878] #2: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 80.036136][ T878] #3: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 80.036139][ T878] #4: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 80.036143][ T878] #5: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 80.036147][ T878] irq event stamp: 22962 [ 80.036148][ T878] hardirqs last enabled at (22961): [] __down_trylock_console_sem+0x86/0xa0 [ 80.036151][ T878] hardirqs last disabled at (22962): [] console_emit_next_record+0x3d4/0x4c0 [ 80.036153][ T878] softirqs last enabled at (22876): [] __alloc_skb+0x4c2/0x5f0 [ 80.036156][ T878] softirqs last disabled at (22874): [] __alloc_skb+0x4c2/0x5f0 [ 80.036159][ T878] Preemption disabled at: [ 80.036159][ T878] [] vprintk_emit+0x31b/0x3e0 [ 80.036165][ T878] CPU: 0 UID: 0 PID: 878 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 80.036169][ T878] Tainted: [W]=WARN [ 80.036170][ T878] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 80.036171][ T878] Call Trace: [ 80.036173][ T878] [ 80.036174][ T878] dump_stack_lvl+0x6f/0xa0 [ 80.036180][ T878] ? vprintk_emit+0x31b/0x3e0 [ 80.036182][ T878] __might_resched.cold+0x1fe/0x2c1 [ 80.036187][ T878] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 80.036191][ T878] ? __kmalloc_noprof+0xdb/0x760 [ 80.036197][ T878] __kmalloc_noprof+0x443/0x760 [ 80.036199][ T878] ? alloc_buf.isra.0+0x4b/0x260 [ 80.036205][ T878] ? do_raw_spin_unlock+0x59/0x250 [ 80.036208][ T878] alloc_buf.isra.0+0x4b/0x260 [ 80.036211][ T878] put_chars+0x1e1/0x2f0 [ 80.036214][ T878] ? __send_to_port+0x420/0x420 [ 80.036222][ T878] hvc_console_print+0x292/0x780 [ 80.036229][ T878] ? hvc_write+0x3a0/0x3a0 [ 80.036232][ T878] ? lock_acquire+0x13c/0x160 [ 80.036237][ T878] console_emit_next_record+0x22f/0x4c0 [ 80.036241][ T878] ? devkmsg_read+0x4b0/0x4b0 [ 80.036242][ T878] ? console_flush_one_record+0x106/0x710 [ 80.036246][ T878] ? rcu_is_watching+0x16/0xd0 [ 80.036250][ T878] ? lock_acquire+0x13c/0x160 [ 80.036254][ T878] console_flush_one_record+0x46f/0x710 [ 80.036258][ T878] ? console_emit_next_record+0x4c0/0x4c0 [ 80.036260][ T878] ? __lock_acquire+0x518/0xc20 [ 80.036266][ T878] console_unlock+0xee/0x1f0 [ 80.036269][ T878] ? console_flush_one_record+0x710/0x710 [ 80.036270][ T878] ? rcu_is_watching+0x16/0xd0 [ 80.036273][ T878] ? lock_acquire+0x60/0x160 [ 80.036277][ T878] ? __down_trylock_console_sem+0x5e/0xa0 [ 80.036278][ T878] ? vprintk_emit+0x320/0x3e0 [ 80.036282][ T878] vprintk_emit+0x37c/0x3e0 [ 80.036286][ T878] ? wake_up_klogd_work_func+0x90/0x90 [ 80.036288][ T878] ? kasan_save_stack+0x3d/0x50 [ 80.036291][ T878] ? kasan_save_track+0x14/0x30 [ 80.036293][ T878] ? __kasan_kmalloc+0x7b/0x90 [ 80.036295][ T878] ? __kmalloc_cache_noprof+0x29a/0x620 [ 80.036296][ T878] ? hsr_add_port+0x1eb/0xb60 [ 80.036300][ T878] ? hsr_dev_finalize+0x841/0xcf0 [ 80.036301][ T878] ? hsr_newlink+0x3b9/0x930 [ 80.036305][ T878] _printk+0xc7/0x100 [ 80.036309][ T878] ? snapshot_read.cold+0x21/0x21 [ 80.036310][ T878] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 80.036315][ T878] ? netdev_name+0x43/0x60 [ 80.036318][ T878] ? __netdev_printk+0x17f/0x1d0 [ 80.036322][ T878] netdev_info+0xe2/0x116 [ 80.036324][ T878] ? netdev_notice+0x120/0x120 [ 80.036331][ T878] ? mutex_is_locked+0x1c/0x50 [ 80.036335][ T878] __dev_set_promiscuity.cold+0x95/0x104 [ 80.036340][ T878] netif_set_promiscuity+0x4c/0xc0 [ 80.036345][ T878] dev_set_promiscuity+0x9d/0x150 [ 80.036348][ T878] hsr_add_port+0x48c/0xb60 [ 80.036352][ T878] ? hsr_port_exists+0x60/0x60 [ 80.036355][ T878] ? timer_init_key+0x10d/0x280 [ 80.036360][ T878] hsr_dev_finalize+0x841/0xcf0 [ 80.036362][ T878] ? alloc_netdev_mqs+0xe11/0x14d0 [ 80.036367][ T878] ? alloc_netdev_mqs+0xf05/0x14d0 [ 80.036369][ T878] hsr_newlink+0x3b9/0x930 [ 80.036372][ T878] ? hsr_dellink+0x90/0x90 [ 80.036375][ T878] ? rtnl_create_link+0x169/0xf20 [ 80.036377][ T878] ? nla_strscpy+0xe3/0x180 [ 80.036381][ T878] rtnl_newlink_create+0x2d0/0x750 [ 80.036385][ T878] ? rtnl_create_link+0xf20/0xf20 [ 80.036387][ T878] ? __dev_get_by_name+0x12/0x50 [ 80.036389][ T878] ? rtnl_dev_get+0xd7/0x170 [ 80.036397][ T878] __rtnl_newlink+0x22b/0xa50 [ 80.036404][ T878] rtnl_newlink+0x9f1/0x11c0 [ 80.036410][ T878] ? rtnl_bridge_getlink+0x850/0x850 [ 80.036412][ T878] ? __lock_acquire+0x518/0xc20 [ 80.036419][ T878] ? __lock_release.isra.0+0x69/0x1a0 [ 80.036423][ T878] ? rtnl_bridge_getlink+0x850/0x850 [ 80.036425][ T878] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 80.036429][ T878] ? rtnl_link_fill+0x920/0x920 [ 80.036430][ T878] ? __lock_acquire+0x518/0xc20 [ 80.036435][ T878] ? lock_acquire.part.0+0xd4/0x280 [ 80.036437][ T878] ? find_held_lock+0x2b/0x80 [ 80.036440][ T878] netlink_rcv_skb+0x14e/0x3a0 [ 80.036444][ T878] ? rtnl_link_fill+0x920/0x920 [ 80.036447][ T878] ? netlink_ack+0xcf0/0xcf0 [ 80.036454][ T878] ? netlink_deliver_tap+0xc5/0x330 [ 80.036456][ T878] ? netlink_deliver_tap+0x13c/0x330 [ 80.036461][ T878] netlink_unicast+0x486/0x750 [ 80.036465][ T878] ? netlink_attachskb+0x810/0x810 [ 80.036468][ T878] ? __lock_acquire+0x518/0xc20 [ 80.036472][ T878] netlink_sendmsg+0x735/0xc60 [ 80.036477][ T878] ? netlink_unicast+0x750/0x750 [ 80.036481][ T878] ? __might_fault+0x97/0x140 [ 80.036487][ T878] ____sys_sendmsg+0x415/0x880 [ 80.036491][ T878] ? copy_msghdr_from_user+0x279/0x420 [ 80.036493][ T878] ? get_timestamp.constprop.0+0x390/0x390 [ 80.036495][ T878] ? move_addr_to_kernel+0x40/0x40 [ 80.036503][ T878] ___sys_sendmsg+0x14e/0x1d0 [ 80.036506][ T878] ? copy_msghdr_from_user+0x420/0x420 [ 80.036523][ T878] __sys_sendmsg+0x12c/0x1d0 [ 80.036526][ T878] ? __sys_sendmsg_sock+0x20/0x20 [ 80.036533][ T878] ? rcu_is_watching+0x16/0xd0 [ 80.036537][ T878] do_syscall_64+0xff/0x530 [ 80.036540][ T878] ? exc_page_fault+0xee/0x100 [ 80.036543][ T878] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 80.036545][ T878] RIP: 0033:0x7f69e88f454e [ 80.036549][ T878] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 80.036550][ T878] RSP: 002b:00007ffe4dc5d490 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 80.036553][ T878] RAX: ffffffffffffffda RBX: 00007ffe4dc5dc40 RCX: 00007f69e88f454e [ 80.036554][ T878] RDX: 0000000000000000 RSI: 00007ffe4dc5d540 RDI: 0000000000000005 [ 80.036555][ T878] RBP: 00007ffe4dc5d4a0 R08: 0000000000000000 R09: 0000000000000000 [ 80.036556][ T878] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b8fd [ 80.036557][ T878] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe4dc5dc10 [ 80.036564][ T878] [ 80.070671][ T878] vethB: entered promiscuous mode [ 80.112673][ T879] vethA: entered promiscuous mode [ 80.113510][ T879] vethB: entered promiscuous mode [ 80.154523][ T880] vethA: entered promiscuous mode [ 80.155404][ T880] vethB: entered promiscuous mode [ 80.345842][ T886] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 80.346277][ T886] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 80.479613][ T890] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 80.480356][ T890] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 80.598401][ T893] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 88.333399][ T12] vethA: left promiscuous mode [ 88.333422][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 88.333425][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 88.333428][ T12] preempt_count: 1, expected: 0 [ 88.333429][ T12] RCU nest depth: 0, expected: 0 [ 88.333430][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 88.333433][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 88.333448][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 88.333454][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 88.333462][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 88.333468][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 88.333475][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 88.333480][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 88.333486][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 88.333492][ T12] irq event stamp: 835832 [ 88.333494][ T12] hardirqs last enabled at (835831): [] __down_trylock_console_sem+0x86/0xa0 [ 88.333497][ T12] hardirqs last disabled at (835832): [] console_emit_next_record+0x3d4/0x4c0 [ 88.333500][ T12] softirqs last enabled at (835704): [] tcp_close+0x2b/0xb0 [ 88.333505][ T12] softirqs last disabled at (835702): [] release_sock+0x21/0x240 [ 88.333509][ T12] Preemption disabled at: [ 88.333510][ T12] [] vprintk_emit+0x31b/0x3e0 [ 88.333517][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 88.333522][ T12] Tainted: [W]=WARN [ 88.333523][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 88.333526][ T12] Workqueue: netns cleanup_net [ 88.333531][ T12] Call Trace: [ 88.333533][ T12] [ 88.333536][ T12] dump_stack_lvl+0x6f/0xa0 [ 88.333543][ T12] ? vprintk_emit+0x31b/0x3e0 [ 88.333547][ T12] __might_resched.cold+0x1fe/0x2c1 [ 88.333553][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 88.333559][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 88.333567][ T12] __kmalloc_noprof+0x443/0x760 [ 88.333571][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 88.333580][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 88.333584][ T12] alloc_buf.isra.0+0x4b/0x260 [ 88.333590][ T12] put_chars+0x1e1/0x2f0 [ 88.333594][ T12] ? __send_to_port+0x420/0x420 [ 88.333600][ T12] ? validate_chain+0x38b/0xc20 [ 88.333610][ T12] hvc_console_print+0x292/0x780 [ 88.333622][ T12] ? hvc_write+0x3a0/0x3a0 [ 88.333626][ T12] ? rcu_is_watching+0x16/0xd0 [ 88.333632][ T12] ? lock_acquire+0x13c/0x160 [ 88.333639][ T12] console_emit_next_record+0x22f/0x4c0 [ 88.333646][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 88.333649][ T12] ? console_flush_one_record+0x106/0x710 [ 88.333654][ T12] ? rcu_is_watching+0x16/0xd0 [ 88.333658][ T12] ? lock_acquire+0x13c/0x160 [ 88.333665][ T12] console_flush_one_record+0x46f/0x710 [ 88.333672][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 88.333674][ T12] ? __lock_acquire+0x518/0xc20 [ 88.333683][ T12] console_unlock+0xee/0x1f0 [ 88.333687][ T12] ? console_flush_one_record+0x710/0x710 [ 88.333690][ T12] ? rcu_is_watching+0x16/0xd0 [ 88.333693][ T12] ? lock_acquire+0x60/0x160 [ 88.333699][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 88.333702][ T12] ? vprintk_emit+0x320/0x3e0 [ 88.333707][ T12] vprintk_emit+0x37c/0x3e0 [ 88.333713][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 88.333723][ T12] _printk+0xc7/0x100 [ 88.333728][ T12] ? snapshot_read.cold+0x21/0x21 [ 88.333732][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 88.333737][ T12] ? netdev_name+0x43/0x60 [ 88.333748][ T12] ? __netdev_printk+0x17f/0x1d0 [ 88.333753][ T12] netdev_info+0xe2/0x116 [ 88.333757][ T12] ? netdev_notice+0x120/0x120 [ 88.333763][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 88.333765][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 88.333769][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 88.333775][ T12] ? mutex_is_locked+0x1c/0x50 [ 88.333781][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 88.333785][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 88.333790][ T12] netif_set_promiscuity+0x4c/0xc0 [ 88.333797][ T12] dev_set_promiscuity+0x9d/0x150 [ 88.333806][ T12] hsr_del_port+0x39d/0x540 [ 88.333815][ T12] hsr_del_ports+0x24/0x80 [ 88.333819][ T12] hsr_dellink+0x5d/0x90 [ 88.333824][ T12] default_device_exit_batch+0x19d/0x600 [ 88.333830][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 88.333835][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 88.333840][ T12] ? mutex_is_locked+0x1c/0x50 [ 88.333846][ T12] ops_undo_list+0x2ce/0x8f0 [ 88.333853][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 88.333858][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 88.333861][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 88.333866][ T12] ? idr_destroy+0x121/0x250 [ 88.333874][ T12] cleanup_net+0x431/0x890 [ 88.333880][ T12] ? net_passive_dec+0x230/0x230 [ 88.333887][ T12] ? lock_acquire+0x13c/0x160 [ 88.333890][ T12] ? rcu_is_watching+0x16/0xd0 [ 88.333898][ T12] process_one_work+0xe3e/0x1560 [ 88.333911][ T12] ? __queue_delayed_work+0x470/0x470 [ 88.333915][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 88.333931][ T12] worker_thread+0x4f1/0xd60 [ 88.333944][ T12] ? rescuer_thread+0x1340/0x1340 [ 88.333948][ T12] kthread+0x367/0x460 [ 88.333951][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 88.333956][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 88.333961][ T12] ret_from_fork+0x474/0x6b0 [ 88.333967][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 88.333973][ T12] ? __switch_to+0x5a3/0xe00 [ 88.333977][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 88.333982][ T12] ret_from_fork_asm+0x11/0x20 [ 88.333999][ T12] [ 88.377277][ T12] vethB: left promiscuous mode [ 88.386666][ T12] vethA (unregistering): left promiscuous mode [ 88.398220][ T12] vethB (unregistering): left promiscuous mode [ 88.682002][ T12] vethA: left promiscuous mode [ 88.689838][ T12] vethB (unregistering): left promiscuous mode [ 89.623892][ T970] vethA: entered promiscuous mode [ 89.623908][ T970] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 89.623911][ T970] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 970, name: ip [ 89.623912][ T970] preempt_count: 1, expected: 0 [ 89.623913][ T970] RCU nest depth: 0, expected: 0 [ 89.623914][ T970] locks held by ip/970: 6, last CPU#3: [ 89.623916][ T970] #0: ffffffff892f3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 89.623928][ T970] #1: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 89.623933][ T970] #2: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 89.623939][ T970] #3: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 89.623942][ T970] #4: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 89.623946][ T970] #5: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 89.623951][ T970] irq event stamp: 23456 [ 89.623951][ T970] hardirqs last enabled at (23455): [] __down_trylock_console_sem+0x86/0xa0 [ 89.623954][ T970] hardirqs last disabled at (23456): [] console_emit_next_record+0x3d4/0x4c0 [ 89.623956][ T970] softirqs last enabled at (23372): [] __alloc_skb+0x4c2/0x5f0 [ 89.623959][ T970] softirqs last disabled at (23370): [] __alloc_skb+0x4c2/0x5f0 [ 89.623962][ T970] Preemption disabled at: [ 89.623962][ T970] [] vprintk_emit+0x31b/0x3e0 [ 89.623969][ T970] CPU: 3 UID: 0 PID: 970 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 89.623972][ T970] Tainted: [W]=WARN [ 89.623973][ T970] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 89.623975][ T970] Call Trace: [ 89.623976][ T970] [ 89.623978][ T970] dump_stack_lvl+0x6f/0xa0 [ 89.623984][ T970] ? vprintk_emit+0x31b/0x3e0 [ 89.623986][ T970] __might_resched.cold+0x1fe/0x2c1 [ 89.623991][ T970] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 89.623995][ T970] ? __kmalloc_noprof+0xdb/0x760 [ 89.624000][ T970] __kmalloc_noprof+0x443/0x760 [ 89.624003][ T970] ? alloc_buf.isra.0+0x4b/0x260 [ 89.624009][ T970] ? do_raw_spin_unlock+0x59/0x250 [ 89.624012][ T970] alloc_buf.isra.0+0x4b/0x260 [ 89.624015][ T970] put_chars+0x1e1/0x2f0 [ 89.624018][ T970] ? __send_to_port+0x420/0x420 [ 89.624025][ T970] hvc_console_print+0x292/0x780 [ 89.624032][ T970] ? hvc_write+0x3a0/0x3a0 [ 89.624035][ T970] ? lock_acquire+0x13c/0x160 [ 89.624039][ T970] console_emit_next_record+0x22f/0x4c0 [ 89.624043][ T970] ? devkmsg_read+0x4b0/0x4b0 [ 89.624045][ T970] ? console_flush_one_record+0x106/0x710 [ 89.624048][ T970] ? rcu_is_watching+0x16/0xd0 [ 89.624053][ T970] ? lock_acquire+0x13c/0x160 [ 89.624057][ T970] console_flush_one_record+0x46f/0x710 [ 89.624061][ T970] ? console_emit_next_record+0x4c0/0x4c0 [ 89.624063][ T970] ? __lock_acquire+0x518/0xc20 [ 89.624069][ T970] console_unlock+0xee/0x1f0 [ 89.624072][ T970] ? console_flush_one_record+0x710/0x710 [ 89.624074][ T970] ? rcu_is_watching+0x16/0xd0 [ 89.624076][ T970] ? lock_acquire+0x60/0x160 [ 89.624080][ T970] ? __down_trylock_console_sem+0x5e/0xa0 [ 89.624082][ T970] ? vprintk_emit+0x320/0x3e0 [ 89.624085][ T970] vprintk_emit+0x37c/0x3e0 [ 89.624089][ T970] ? wake_up_klogd_work_func+0x90/0x90 [ 89.624091][ T970] ? kasan_save_stack+0x3d/0x50 [ 89.624095][ T970] ? kasan_save_track+0x14/0x30 [ 89.624096][ T970] ? __kasan_kmalloc+0x7b/0x90 [ 89.624098][ T970] ? __kmalloc_cache_noprof+0x29a/0x620 [ 89.624100][ T970] ? hsr_add_port+0x1eb/0xb60 [ 89.624103][ T970] ? hsr_dev_finalize+0x841/0xcf0 [ 89.624105][ T970] ? hsr_newlink+0x3b9/0x930 [ 89.624109][ T970] _printk+0xc7/0x100 [ 89.624113][ T970] ? snapshot_read.cold+0x21/0x21 [ 89.624115][ T970] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.624119][ T970] ? netdev_name+0x43/0x60 [ 89.624122][ T970] ? __netdev_printk+0x17f/0x1d0 [ 89.624126][ T970] netdev_info+0xe2/0x116 [ 89.624128][ T970] ? netdev_notice+0x120/0x120 [ 89.624136][ T970] ? mutex_is_locked+0x1c/0x50 [ 89.624140][ T970] __dev_set_promiscuity.cold+0x95/0x104 [ 89.624144][ T970] netif_set_promiscuity+0x4c/0xc0 [ 89.624149][ T970] dev_set_promiscuity+0x9d/0x150 [ 89.624152][ T970] hsr_add_port+0x48c/0xb60 [ 89.624155][ T970] ? hsr_port_exists+0x60/0x60 [ 89.624159][ T970] ? timer_init_key+0x10d/0x280 [ 89.624164][ T970] hsr_dev_finalize+0x841/0xcf0 [ 89.624166][ T970] ? alloc_netdev_mqs+0xe11/0x14d0 [ 89.624171][ T970] ? alloc_netdev_mqs+0xf05/0x14d0 [ 89.624173][ T970] hsr_newlink+0x3b9/0x930 [ 89.624176][ T970] ? hsr_dellink+0x90/0x90 [ 89.624178][ T970] ? rtnl_create_link+0x169/0xf20 [ 89.624181][ T970] ? nla_strscpy+0xe3/0x180 [ 89.624185][ T970] rtnl_newlink_create+0x2d0/0x750 [ 89.624189][ T970] ? rtnl_create_link+0xf20/0xf20 [ 89.624191][ T970] ? __dev_get_by_name+0x12/0x50 [ 89.624193][ T970] ? rtnl_dev_get+0xd7/0x170 [ 89.624201][ T970] __rtnl_newlink+0x22b/0xa50 [ 89.624208][ T970] rtnl_newlink+0x9f1/0x11c0 [ 89.624214][ T970] ? rtnl_bridge_getlink+0x850/0x850 [ 89.624216][ T970] ? __lock_acquire+0x518/0xc20 [ 89.624222][ T970] ? __lock_release.isra.0+0x69/0x1a0 [ 89.624226][ T970] ? rtnl_bridge_getlink+0x850/0x850 [ 89.624229][ T970] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 89.624232][ T970] ? rtnl_link_fill+0x920/0x920 [ 89.624233][ T970] ? __lock_acquire+0x518/0xc20 [ 89.624238][ T970] ? lock_acquire.part.0+0xd4/0x280 [ 89.624240][ T970] ? find_held_lock+0x2b/0x80 [ 89.624244][ T970] netlink_rcv_skb+0x14e/0x3a0 [ 89.624247][ T970] ? rtnl_link_fill+0x920/0x920 [ 89.624250][ T970] ? netlink_ack+0xcf0/0xcf0 [ 89.624257][ T970] ? netlink_deliver_tap+0xc5/0x330 [ 89.624259][ T970] ? netlink_deliver_tap+0x13c/0x330 [ 89.624264][ T970] netlink_unicast+0x486/0x750 [ 89.624268][ T970] ? netlink_attachskb+0x810/0x810 [ 89.624271][ T970] ? __lock_acquire+0x518/0xc20 [ 89.624275][ T970] netlink_sendmsg+0x735/0xc60 [ 89.624279][ T970] ? netlink_unicast+0x750/0x750 [ 89.624284][ T970] ? __might_fault+0x97/0x140 [ 89.624289][ T970] ____sys_sendmsg+0x415/0x880 [ 89.624293][ T970] ? copy_msghdr_from_user+0x279/0x420 [ 89.624295][ T970] ? get_timestamp.constprop.0+0x390/0x390 [ 89.624297][ T970] ? move_addr_to_kernel+0x40/0x40 [ 89.624305][ T970] ___sys_sendmsg+0x14e/0x1d0 [ 89.624308][ T970] ? copy_msghdr_from_user+0x420/0x420 [ 89.624324][ T970] __sys_sendmsg+0x12c/0x1d0 [ 89.624328][ T970] ? __sys_sendmsg_sock+0x20/0x20 [ 89.624334][ T970] ? rcu_is_watching+0x16/0xd0 [ 89.624338][ T970] do_syscall_64+0xff/0x530 [ 89.624341][ T970] ? exc_page_fault+0xee/0x100 [ 89.624344][ T970] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.624346][ T970] RIP: 0033:0x7fe704ac954e [ 89.624350][ T970] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 89.624352][ T970] RSP: 002b:00007ffdfca981c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 89.624354][ T970] RAX: ffffffffffffffda RBX: 00007ffdfca98970 RCX: 00007fe704ac954e [ 89.624356][ T970] RDX: 0000000000000000 RSI: 00007ffdfca98270 RDI: 0000000000000005 [ 89.624357][ T970] RBP: 00007ffdfca981d0 R08: 0000000000000000 R09: 0000000000000000 [ 89.624358][ T970] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b907 [ 89.624359][ T970] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdfca98940 [ 89.624366][ T970] [ 89.667708][ T970] vethB: entered promiscuous mode [ 89.706089][ T971] vethA: entered promiscuous mode [ 89.706878][ T971] vethB: entered promiscuous mode [ 89.740677][ T972] vethA: entered promiscuous mode [ 89.741730][ T972] vethB: entered promiscuous mode [ 89.957262][ T978] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 89.957706][ T978] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 90.062886][ T981] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 90.063305][ T981] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 90.172764][ T984] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 96.547257][ T12] vethA: left promiscuous mode [ 96.547277][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 96.547280][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 96.547282][ T12] preempt_count: 1, expected: 0 [ 96.547283][ T12] RCU nest depth: 0, expected: 0 [ 96.547284][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 96.547286][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 96.547298][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 96.547302][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 96.547308][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 96.547313][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 96.547318][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 96.547321][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 96.547325][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 96.547329][ T12] irq event stamp: 932370 [ 96.547330][ T12] hardirqs last enabled at (932369): [] __down_trylock_console_sem+0x86/0xa0 [ 96.547332][ T12] hardirqs last disabled at (932370): [] console_emit_next_record+0x3d4/0x4c0 [ 96.547334][ T12] softirqs last enabled at (932240): [] tcp_close+0x2b/0xb0 [ 96.547338][ T12] softirqs last disabled at (932238): [] release_sock+0x21/0x240 [ 96.547341][ T12] Preemption disabled at: [ 96.547341][ T12] [] vprintk_emit+0x31b/0x3e0 [ 96.547347][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 96.547351][ T12] Tainted: [W]=WARN [ 96.547352][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 96.547353][ T12] Workqueue: netns cleanup_net [ 96.547357][ T12] Call Trace: [ 96.547358][ T12] [ 96.547361][ T12] dump_stack_lvl+0x6f/0xa0 [ 96.547367][ T12] ? vprintk_emit+0x31b/0x3e0 [ 96.547369][ T12] __might_resched.cold+0x1fe/0x2c1 [ 96.547374][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 96.547378][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 96.547383][ T12] __kmalloc_noprof+0x443/0x760 [ 96.547386][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 96.547392][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 96.547395][ T12] alloc_buf.isra.0+0x4b/0x260 [ 96.547398][ T12] put_chars+0x1e1/0x2f0 [ 96.547401][ T12] ? __send_to_port+0x420/0x420 [ 96.547404][ T12] ? validate_chain+0x38b/0xc20 [ 96.547409][ T12] hvc_console_print+0x292/0x780 [ 96.547416][ T12] ? hvc_write+0x3a0/0x3a0 [ 96.547419][ T12] ? rcu_is_watching+0x16/0xd0 [ 96.547423][ T12] ? lock_acquire+0x13c/0x160 [ 96.547428][ T12] console_emit_next_record+0x22f/0x4c0 [ 96.547432][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 96.547433][ T12] ? console_flush_one_record+0x106/0x710 [ 96.547437][ T12] ? rcu_is_watching+0x16/0xd0 [ 96.547439][ T12] ? lock_acquire+0x13c/0x160 [ 96.547443][ T12] console_flush_one_record+0x46f/0x710 [ 96.547448][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 96.547450][ T12] ? __lock_acquire+0x518/0xc20 [ 96.547455][ T12] console_unlock+0xee/0x1f0 [ 96.547458][ T12] ? console_flush_one_record+0x710/0x710 [ 96.547460][ T12] ? rcu_is_watching+0x16/0xd0 [ 96.547462][ T12] ? lock_acquire+0x60/0x160 [ 96.547466][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 96.547468][ T12] ? vprintk_emit+0x320/0x3e0 [ 96.547471][ T12] vprintk_emit+0x37c/0x3e0 [ 96.547475][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 96.547478][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 96.547480][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 96.547483][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 96.547485][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 96.547488][ T12] _printk+0xc7/0x100 [ 96.547492][ T12] ? snapshot_read.cold+0x21/0x21 [ 96.547495][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 96.547498][ T12] ? netdev_name+0x43/0x60 [ 96.547501][ T12] ? __netdev_printk+0x17f/0x1d0 [ 96.547505][ T12] netdev_info+0xe2/0x116 [ 96.547507][ T12] ? netdev_notice+0x120/0x120 [ 96.547511][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 96.547513][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 96.547515][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 96.547519][ T12] ? mutex_is_locked+0x1c/0x50 [ 96.547522][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 96.547525][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 96.547528][ T12] netif_set_promiscuity+0x4c/0xc0 [ 96.547532][ T12] dev_set_promiscuity+0x9d/0x150 [ 96.547535][ T12] hsr_del_port+0x39d/0x540 [ 96.547541][ T12] hsr_del_ports+0x24/0x80 [ 96.547543][ T12] hsr_dellink+0x5d/0x90 [ 96.547546][ T12] default_device_exit_batch+0x19d/0x600 [ 96.547549][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 96.547552][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 96.547555][ T12] ? mutex_is_locked+0x1c/0x50 [ 96.547558][ T12] ops_undo_list+0x2ce/0x8f0 [ 96.547562][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 96.547564][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 96.547566][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 96.547569][ T12] ? idr_destroy+0x121/0x250 [ 96.547574][ T12] cleanup_net+0x431/0x890 [ 96.547577][ T12] ? net_passive_dec+0x230/0x230 [ 96.547581][ T12] ? lock_acquire+0x13c/0x160 [ 96.547583][ T12] ? rcu_is_watching+0x16/0xd0 [ 96.547587][ T12] process_one_work+0xe3e/0x1560 [ 96.547594][ T12] ? __queue_delayed_work+0x470/0x470 [ 96.547597][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 96.547605][ T12] worker_thread+0x4f1/0xd60 [ 96.547612][ T12] ? rescuer_thread+0x1340/0x1340 [ 96.547614][ T12] kthread+0x367/0x460 [ 96.547617][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 96.547620][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 96.547623][ T12] ret_from_fork+0x474/0x6b0 [ 96.547627][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 96.547630][ T12] ? __switch_to+0x5a3/0xe00 [ 96.547633][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 96.547636][ T12] ret_from_fork_asm+0x11/0x20 [ 96.547645][ T12] [ 96.575135][ T12] vethB: left promiscuous mode [ 96.596158][ T12] vethA (unregistering): left promiscuous mode [ 96.603879][ T12] vethB (unregistering): left promiscuous mode [ 96.886339][ T12] vethA: left promiscuous mode [ 96.897245][ T12] vethB (unregistering): left promiscuous mode [ 97.359218][ T1038] vethA: entered promiscuous mode [ 97.360045][ T1038] vethB: entered promiscuous mode [ 97.409299][ T1039] vethA: entered promiscuous mode [ 97.410711][ T1039] vethB: entered promiscuous mode [ 97.627400][ T1044] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 97.627422][ T1044] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 97.627425][ T1044] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1044, name: ip [ 97.627426][ T1044] preempt_count: 1, expected: 0 [ 97.627427][ T1044] RCU nest depth: 0, expected: 0 [ 97.627428][ T1044] locks held by ip/1044: 5, last CPU#3: [ 97.627431][ T1044] #0: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 97.627443][ T1044] #1: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 97.627449][ T1044] #2: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 97.627453][ T1044] #3: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 97.627457][ T1044] #4: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 97.627461][ T1044] irq event stamp: 20140 [ 97.627462][ T1044] hardirqs last enabled at (20139): [] __down_trylock_console_sem+0x86/0xa0 [ 97.627465][ T1044] hardirqs last disabled at (20140): [] console_emit_next_record+0x3d4/0x4c0 [ 97.627467][ T1044] softirqs last enabled at (20134): [] __dev_change_flags+0x20b/0x660 [ 97.627469][ T1044] softirqs last disabled at (20132): [] dev_set_rx_mode+0x56/0xa0 [ 97.627472][ T1044] Preemption disabled at: [ 97.627473][ T1044] [] vprintk_emit+0x31b/0x3e0 [ 97.627479][ T1044] CPU: 3 UID: 0 PID: 1044 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 97.627483][ T1044] Tainted: [W]=WARN [ 97.627484][ T1044] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 97.627486][ T1044] Call Trace: [ 97.627487][ T1044] [ 97.627489][ T1044] dump_stack_lvl+0x6f/0xa0 [ 97.627495][ T1044] ? vprintk_emit+0x31b/0x3e0 [ 97.627497][ T1044] __might_resched.cold+0x1fe/0x2c1 [ 97.627502][ T1044] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 97.627506][ T1044] ? __kmalloc_noprof+0xdb/0x760 [ 97.627511][ T1044] __kmalloc_noprof+0x443/0x760 [ 97.627514][ T1044] ? alloc_buf.isra.0+0x4b/0x260 [ 97.627519][ T1044] ? do_raw_spin_unlock+0x59/0x250 [ 97.627522][ T1044] alloc_buf.isra.0+0x4b/0x260 [ 97.627526][ T1044] put_chars+0x1e1/0x2f0 [ 97.627529][ T1044] ? __send_to_port+0x420/0x420 [ 97.627533][ T1044] ? validate_chain+0x38b/0xc20 [ 97.627538][ T1044] hvc_console_print+0x292/0x780 [ 97.627545][ T1044] ? hvc_write+0x3a0/0x3a0 [ 97.627548][ T1044] ? rcu_is_watching+0x16/0xd0 [ 97.627552][ T1044] ? lock_acquire+0x13c/0x160 [ 97.627556][ T1044] console_emit_next_record+0x22f/0x4c0 [ 97.627560][ T1044] ? devkmsg_read+0x4b0/0x4b0 [ 97.627562][ T1044] ? console_flush_one_record+0x106/0x710 [ 97.627566][ T1044] ? rcu_is_watching+0x16/0xd0 [ 97.627568][ T1044] ? lock_acquire+0x13c/0x160 [ 97.627572][ T1044] console_flush_one_record+0x46f/0x710 [ 97.627577][ T1044] ? console_emit_next_record+0x4c0/0x4c0 [ 97.627578][ T1044] ? __lock_acquire+0x518/0xc20 [ 97.627584][ T1044] console_unlock+0xee/0x1f0 [ 97.627587][ T1044] ? console_flush_one_record+0x710/0x710 [ 97.627589][ T1044] ? rcu_is_watching+0x16/0xd0 [ 97.627591][ T1044] ? lock_acquire+0x60/0x160 [ 97.627595][ T1044] ? __down_trylock_console_sem+0x5e/0xa0 [ 97.627597][ T1044] ? vprintk_emit+0x320/0x3e0 [ 97.627600][ T1044] vprintk_emit+0x37c/0x3e0 [ 97.627604][ T1044] ? wake_up_klogd_work_func+0x90/0x90 [ 97.627606][ T1044] ? __lock_acquire+0x518/0xc20 [ 97.627608][ T1044] ? mark_usage+0x61/0x170 [ 97.627611][ T1044] ? __lock_acquire+0x518/0xc20 [ 97.627615][ T1044] _printk+0xc7/0x100 [ 97.627618][ T1044] ? snapshot_read.cold+0x21/0x21 [ 97.627622][ T1044] ? __lock_release.isra.0+0x69/0x1a0 [ 97.627624][ T1044] ? netdev_name+0x43/0x60 [ 97.627628][ T1044] ? __netdev_printk+0x17f/0x1d0 [ 97.627631][ T1044] netdev_warn+0xe2/0x116 [ 97.627634][ T1044] ? netdev_err+0x120/0x120 [ 97.627636][ T1044] ? hsr_port_get_hsr+0x150/0x150 [ 97.627642][ T1044] ? ip6_route_dev_notify+0x3d/0x790 [ 97.627649][ T1044] hsr_dev_open.cold+0x3b/0x73 [ 97.627652][ T1044] __dev_open+0x2f3/0x610 [ 97.627656][ T1044] ? netif_state_change+0x340/0x340 [ 97.627659][ T1044] ? mark_held_locks+0x40/0x70 [ 97.627663][ T1044] __dev_change_flags+0x4a4/0x660 [ 97.627666][ T1044] ? netif_set_allmulti+0x250/0x250 [ 97.627668][ T1044] ? kernel_text_address+0x149/0x170 [ 97.627671][ T1044] ? __kernel_text_address+0x12/0x30 [ 97.627673][ T1044] ? write_profile+0xf0/0xf0 [ 97.627675][ T1044] ? unwind_get_return_address+0x67/0xd0 [ 97.627680][ T1044] netif_change_flags+0x87/0x190 [ 97.627683][ T1044] do_setlink.isra.0+0x1cc3/0x2750 [ 97.627687][ T1044] ? stack_trace_save+0x93/0xc0 [ 97.627689][ T1044] ? rtnl_link_get_size+0x350/0x350 [ 97.627690][ T1044] ? rcu_read_lock_any_held+0x66/0x90 [ 97.627693][ T1044] ? stack_depot_save_flags+0x38e/0x790 [ 97.627697][ T1044] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 97.627699][ T1044] ? rcu_read_lock_any_held+0x3c/0x90 [ 97.627701][ T1044] ? validate_chain+0x38b/0xc20 [ 97.627704][ T1044] ? kasan_save_stack+0x3d/0x50 [ 97.627707][ T1044] ? kasan_save_stack+0x2f/0x50 [ 97.627709][ T1044] ? kasan_save_track+0x14/0x30 [ 97.627712][ T1044] ? __lock_acquire+0x518/0xc20 [ 97.627713][ T1044] ? __netlink_deliver_tap+0x20e/0x9b0 [ 97.627717][ T1044] ? ___sys_sendmsg+0x70/0x1d0 [ 97.627722][ T1044] ? lock_acquire.part.0+0xd4/0x280 [ 97.627724][ T1044] ? rtnl_newlink+0x9a8/0x11c0 [ 97.627727][ T1044] ? rcu_is_watching+0x16/0xd0 [ 97.627730][ T1044] ? lock_acquire+0x13c/0x160 [ 97.627731][ T1044] ? rcu_is_watching+0x16/0xd0 [ 97.627733][ T1044] ? rcu_is_watching+0x16/0xd0 [ 97.627736][ T1044] ? trace_contention_end+0xb3/0x180 [ 97.627739][ T1044] ? __mutex_lock+0x1db/0x1ea0 [ 97.627743][ T1044] ? __mutex_lock+0x9a3/0x1ea0 [ 97.627745][ T1044] ? rtnl_newlink+0x9a8/0x11c0 [ 97.627749][ T1044] ? ww_mutex_lock+0x160/0x160 [ 97.627755][ T1044] ? __rtnl_newlink+0x3fa/0xa50 [ 97.627761][ T1044] rtnl_newlink+0x9f1/0x11c0 [ 97.627767][ T1044] ? rtnl_bridge_getlink+0x850/0x850 [ 97.627769][ T1044] ? __lock_acquire+0x518/0xc20 [ 97.627780][ T1044] ? lock_acquire.part.0+0xd4/0x280 [ 97.627782][ T1044] ? find_held_lock+0x2b/0x80 [ 97.627784][ T1044] ? rtnl_bridge_getlink+0x850/0x850 [ 97.627786][ T1044] ? __lock_release.isra.0+0x69/0x1a0 [ 97.627790][ T1044] ? rtnl_bridge_getlink+0x850/0x850 [ 97.627792][ T1044] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 97.627796][ T1044] ? rtnl_link_fill+0x920/0x920 [ 97.627797][ T1044] ? __lock_acquire+0x518/0xc20 [ 97.627802][ T1044] ? lock_acquire.part.0+0xd4/0x280 [ 97.627804][ T1044] ? find_held_lock+0x2b/0x80 [ 97.627809][ T1044] netlink_rcv_skb+0x14e/0x3a0 [ 97.627812][ T1044] ? rtnl_link_fill+0x920/0x920 [ 97.627815][ T1044] ? netlink_ack+0xcf0/0xcf0 [ 97.627822][ T1044] ? netlink_deliver_tap+0xc5/0x330 [ 97.627824][ T1044] ? netlink_deliver_tap+0x13c/0x330 [ 97.627829][ T1044] netlink_unicast+0x486/0x750 [ 97.627833][ T1044] ? netlink_attachskb+0x810/0x810 [ 97.627836][ T1044] ? __lock_acquire+0x518/0xc20 [ 97.627840][ T1044] netlink_sendmsg+0x735/0xc60 [ 97.627845][ T1044] ? netlink_unicast+0x750/0x750 [ 97.627849][ T1044] ? __might_fault+0x97/0x140 [ 97.627855][ T1044] ____sys_sendmsg+0x415/0x880 [ 97.627857][ T1044] ? copy_msghdr_from_user+0x279/0x420 [ 97.627860][ T1044] ? get_timestamp.constprop.0+0x390/0x390 [ 97.627862][ T1044] ? move_addr_to_kernel+0x40/0x40 [ 97.627870][ T1044] ___sys_sendmsg+0x14e/0x1d0 [ 97.627873][ T1044] ? copy_msghdr_from_user+0x420/0x420 [ 97.627890][ T1044] __sys_sendmsg+0x12c/0x1d0 [ 97.627894][ T1044] ? __sys_sendmsg_sock+0x20/0x20 [ 97.627900][ T1044] ? rcu_is_watching+0x16/0xd0 [ 97.627904][ T1044] do_syscall_64+0xff/0x530 [ 97.627908][ T1044] ? exc_page_fault+0xee/0x100 [ 97.627910][ T1044] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 97.627913][ T1044] RIP: 0033:0x7eff85d2454e [ 97.627917][ T1044] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 97.627919][ T1044] RSP: 002b:00007ffea5af9c40 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 97.627922][ T1044] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007eff85d2454e [ 97.627923][ T1044] RDX: 0000000000000000 RSI: 00007ffea5af9cf0 RDI: 0000000000000005 [ 97.627924][ T1044] RBP: 00007ffea5af9c50 R08: 0000000000000000 R09: 0000000000000000 [ 97.627925][ T1044] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b90f [ 97.627926][ T1044] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffea5afa3c0 [ 97.627933][ T1044] [ 97.666152][ T1044] prp1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 97.677050][ T1044] ip (1044) used greatest stack depth: 23080 bytes left [ 97.807026][ T1047] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 97.807439][ T1047] prp2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 103.485166][ T12] vethA: left promiscuous mode [ 103.485189][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 103.485192][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 103.485193][ T12] preempt_count: 1, expected: 0 [ 103.485194][ T12] RCU nest depth: 0, expected: 0 [ 103.485195][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 103.485198][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 103.485211][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 103.485215][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 103.485221][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 103.485226][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 103.485231][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 103.485235][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 103.485239][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 103.485243][ T12] irq event stamp: 1029798 [ 103.485244][ T12] hardirqs last enabled at (1029797): [] __down_trylock_console_sem+0x86/0xa0 [ 103.485247][ T12] hardirqs last disabled at (1029798): [] console_emit_next_record+0x3d4/0x4c0 [ 103.485249][ T12] softirqs last enabled at (1029682): [] tcp_close+0x2b/0xb0 [ 103.485253][ T12] softirqs last disabled at (1029680): [] release_sock+0x21/0x240 [ 103.485256][ T12] Preemption disabled at: [ 103.485257][ T12] [] vprintk_emit+0x31b/0x3e0 [ 103.485263][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 103.485267][ T12] Tainted: [W]=WARN [ 103.485268][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 103.485270][ T12] Workqueue: netns cleanup_net [ 103.485273][ T12] Call Trace: [ 103.485276][ T12] [ 103.485278][ T12] dump_stack_lvl+0x6f/0xa0 [ 103.485284][ T12] ? vprintk_emit+0x31b/0x3e0 [ 103.485287][ T12] __might_resched.cold+0x1fe/0x2c1 [ 103.485292][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 103.485296][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 103.485301][ T12] __kmalloc_noprof+0x443/0x760 [ 103.485304][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 103.485311][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 103.485313][ T12] alloc_buf.isra.0+0x4b/0x260 [ 103.485317][ T12] put_chars+0x1e1/0x2f0 [ 103.485320][ T12] ? __send_to_port+0x420/0x420 [ 103.485324][ T12] ? validate_chain+0x38b/0xc20 [ 103.485330][ T12] hvc_console_print+0x292/0x780 [ 103.485338][ T12] ? hvc_write+0x3a0/0x3a0 [ 103.485342][ T12] ? rcu_is_watching+0x16/0xd0 [ 103.485346][ T12] ? lock_acquire+0x13c/0x160 [ 103.485350][ T12] console_emit_next_record+0x22f/0x4c0 [ 103.485355][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 103.485357][ T12] ? console_flush_one_record+0x106/0x710 [ 103.485361][ T12] ? rcu_is_watching+0x16/0xd0 [ 103.485364][ T12] ? lock_acquire+0x13c/0x160 [ 103.485368][ T12] console_flush_one_record+0x46f/0x710 [ 103.485374][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 103.485376][ T12] ? __lock_acquire+0x518/0xc20 [ 103.485382][ T12] console_unlock+0xee/0x1f0 [ 103.485386][ T12] ? console_flush_one_record+0x710/0x710 [ 103.485388][ T12] ? rcu_is_watching+0x16/0xd0 [ 103.485390][ T12] ? lock_acquire+0x60/0x160 [ 103.485395][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 103.485397][ T12] ? vprintk_emit+0x320/0x3e0 [ 103.485401][ T12] vprintk_emit+0x37c/0x3e0 [ 103.485405][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 103.485409][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 103.485411][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 103.485414][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 103.485416][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 103.485420][ T12] _printk+0xc7/0x100 [ 103.485423][ T12] ? snapshot_read.cold+0x21/0x21 [ 103.485427][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 103.485430][ T12] ? netdev_name+0x43/0x60 [ 103.485433][ T12] ? __netdev_printk+0x17f/0x1d0 [ 103.485438][ T12] netdev_info+0xe2/0x116 [ 103.485440][ T12] ? netdev_notice+0x120/0x120 [ 103.485445][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 103.485446][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 103.485449][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 103.485453][ T12] ? mutex_is_locked+0x1c/0x50 [ 103.485457][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 103.485461][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 103.485464][ T12] netif_set_promiscuity+0x4c/0xc0 [ 103.485468][ T12] dev_set_promiscuity+0x9d/0x150 [ 103.485472][ T12] hsr_del_port+0x39d/0x540 [ 103.485477][ T12] hsr_del_ports+0x24/0x80 [ 103.485480][ T12] hsr_dellink+0x5d/0x90 [ 103.485483][ T12] default_device_exit_batch+0x19d/0x600 [ 103.485488][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 103.485491][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 103.485493][ T12] ? mutex_is_locked+0x1c/0x50 [ 103.485498][ T12] ops_undo_list+0x2ce/0x8f0 [ 103.485503][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 103.485505][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 103.485507][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 103.485510][ T12] ? idr_destroy+0x121/0x250 [ 103.485516][ T12] cleanup_net+0x431/0x890 [ 103.485519][ T12] ? net_passive_dec+0x230/0x230 [ 103.485524][ T12] ? lock_acquire+0x13c/0x160 [ 103.485526][ T12] ? rcu_is_watching+0x16/0xd0 [ 103.485531][ T12] process_one_work+0xe3e/0x1560 [ 103.485539][ T12] ? __queue_delayed_work+0x470/0x470 [ 103.485542][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 103.485550][ T12] worker_thread+0x4f1/0xd60 [ 103.485558][ T12] ? rescuer_thread+0x1340/0x1340 [ 103.485561][ T12] kthread+0x367/0x460 [ 103.485564][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 103.485567][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 103.485570][ T12] ret_from_fork+0x474/0x6b0 [ 103.485574][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 103.485578][ T12] ? __switch_to+0x5a3/0xe00 [ 103.485581][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 103.485584][ T12] ret_from_fork_asm+0x11/0x20 [ 103.485595][ T12] [ 103.532299][ T12] vethB: left promiscuous mode [ 103.547162][ T12] vethB (unregistering): left promiscuous mode [ 103.551267][ T12] vethA (unregistering): left promiscuous mode [ 104.187261][ T1084] vethA: entered promiscuous mode [ 104.188079][ T1084] vethB: entered promiscuous mode [ 104.234909][ T1085] vethA: entered promiscuous mode [ 104.235781][ T1085] vethB: entered promiscuous mode [ 104.399182][ T1090] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 104.501546][ T1093] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 104.501567][ T1093] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 104.501569][ T1093] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1093, name: ip [ 104.501571][ T1093] preempt_count: 1, expected: 0 [ 104.501572][ T1093] RCU nest depth: 0, expected: 0 [ 104.501573][ T1093] locks held by ip/1093: 5, last CPU#3: [ 104.501575][ T1093] #0: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 104.501587][ T1093] #1: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 104.501594][ T1093] #2: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 104.501598][ T1093] #3: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 104.501602][ T1093] #4: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 104.501606][ T1093] irq event stamp: 19324 [ 104.501607][ T1093] hardirqs last enabled at (19323): [] __down_trylock_console_sem+0x86/0xa0 [ 104.501609][ T1093] hardirqs last disabled at (19324): [] console_emit_next_record+0x3d4/0x4c0 [ 104.501611][ T1093] softirqs last enabled at (19318): [] __dev_change_flags+0x20b/0x660 [ 104.501613][ T1093] softirqs last disabled at (19316): [] dev_set_rx_mode+0x56/0xa0 [ 104.501616][ T1093] Preemption disabled at: [ 104.501617][ T1093] [] vprintk_emit+0x31b/0x3e0 [ 104.501623][ T1093] CPU: 3 UID: 0 PID: 1093 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 104.501627][ T1093] Tainted: [W]=WARN [ 104.501628][ T1093] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 104.501629][ T1093] Call Trace: [ 104.501631][ T1093] [ 104.501633][ T1093] dump_stack_lvl+0x6f/0xa0 [ 104.501639][ T1093] ? vprintk_emit+0x31b/0x3e0 [ 104.501641][ T1093] __might_resched.cold+0x1fe/0x2c1 [ 104.501646][ T1093] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 104.501650][ T1093] ? __kmalloc_noprof+0xdb/0x760 [ 104.501655][ T1093] __kmalloc_noprof+0x443/0x760 [ 104.501657][ T1093] ? alloc_buf.isra.0+0x4b/0x260 [ 104.501663][ T1093] ? do_raw_spin_unlock+0x59/0x250 [ 104.501666][ T1093] alloc_buf.isra.0+0x4b/0x260 [ 104.501670][ T1093] put_chars+0x1e1/0x2f0 [ 104.501673][ T1093] ? __send_to_port+0x420/0x420 [ 104.501676][ T1093] ? validate_chain+0x38b/0xc20 [ 104.501682][ T1093] hvc_console_print+0x292/0x780 [ 104.501689][ T1093] ? hvc_write+0x3a0/0x3a0 [ 104.501691][ T1093] ? rcu_is_watching+0x16/0xd0 [ 104.501695][ T1093] ? lock_acquire+0x13c/0x160 [ 104.501700][ T1093] console_emit_next_record+0x22f/0x4c0 [ 104.501704][ T1093] ? devkmsg_read+0x4b0/0x4b0 [ 104.501705][ T1093] ? console_flush_one_record+0x106/0x710 [ 104.501709][ T1093] ? rcu_is_watching+0x16/0xd0 [ 104.501711][ T1093] ? lock_acquire+0x13c/0x160 [ 104.501715][ T1093] console_flush_one_record+0x46f/0x710 [ 104.501720][ T1093] ? console_emit_next_record+0x4c0/0x4c0 [ 104.501722][ T1093] ? __lock_acquire+0x518/0xc20 [ 104.501727][ T1093] console_unlock+0xee/0x1f0 [ 104.501730][ T1093] ? console_flush_one_record+0x710/0x710 [ 104.501732][ T1093] ? rcu_is_watching+0x16/0xd0 [ 104.501734][ T1093] ? lock_acquire+0x60/0x160 [ 104.501738][ T1093] ? __down_trylock_console_sem+0x5e/0xa0 [ 104.501740][ T1093] ? vprintk_emit+0x320/0x3e0 [ 104.501744][ T1093] vprintk_emit+0x37c/0x3e0 [ 104.501747][ T1093] ? wake_up_klogd_work_func+0x90/0x90 [ 104.501749][ T1093] ? __lock_acquire+0x518/0xc20 [ 104.501752][ T1093] ? mark_usage+0x61/0x170 [ 104.501754][ T1093] ? __lock_acquire+0x518/0xc20 [ 104.501758][ T1093] _printk+0xc7/0x100 [ 104.501761][ T1093] ? snapshot_read.cold+0x21/0x21 [ 104.501765][ T1093] ? __lock_release.isra.0+0x69/0x1a0 [ 104.501767][ T1093] ? netdev_name+0x43/0x60 [ 104.501771][ T1093] ? __netdev_printk+0x17f/0x1d0 [ 104.501774][ T1093] netdev_warn+0xe2/0x116 [ 104.501777][ T1093] ? netdev_err+0x120/0x120 [ 104.501779][ T1093] ? hsr_port_get_hsr+0x150/0x150 [ 104.501785][ T1093] ? ip6_route_dev_notify+0x3d/0x790 [ 104.501791][ T1093] hsr_dev_open.cold+0x3b/0x73 [ 104.501795][ T1093] __dev_open+0x2f3/0x610 [ 104.501805][ T1093] ? netif_state_change+0x340/0x340 [ 104.501808][ T1093] ? mark_held_locks+0x40/0x70 [ 104.501813][ T1093] __dev_change_flags+0x4a4/0x660 [ 104.501816][ T1093] ? netif_set_allmulti+0x250/0x250 [ 104.501817][ T1093] ? kernel_text_address+0x149/0x170 [ 104.501820][ T1093] ? __kernel_text_address+0x12/0x30 [ 104.501822][ T1093] ? write_profile+0xf0/0xf0 [ 104.501824][ T1093] ? unwind_get_return_address+0x67/0xd0 [ 104.501829][ T1093] netif_change_flags+0x87/0x190 [ 104.501833][ T1093] do_setlink.isra.0+0x1cc3/0x2750 [ 104.501836][ T1093] ? stack_trace_save+0x93/0xc0 [ 104.501838][ T1093] ? rtnl_link_get_size+0x350/0x350 [ 104.501840][ T1093] ? rcu_read_lock_any_held+0x66/0x90 [ 104.501842][ T1093] ? stack_depot_save_flags+0x38e/0x790 [ 104.501846][ T1093] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 104.501849][ T1093] ? rcu_read_lock_any_held+0x3c/0x90 [ 104.501851][ T1093] ? validate_chain+0x38b/0xc20 [ 104.501853][ T1093] ? kasan_save_stack+0x3d/0x50 [ 104.501856][ T1093] ? kasan_save_stack+0x2f/0x50 [ 104.501858][ T1093] ? kasan_save_track+0x14/0x30 [ 104.501861][ T1093] ? __lock_acquire+0x518/0xc20 [ 104.501863][ T1093] ? __netlink_deliver_tap+0x20e/0x9b0 [ 104.501867][ T1093] ? ___sys_sendmsg+0x70/0x1d0 [ 104.501872][ T1093] ? lock_acquire.part.0+0xd4/0x280 [ 104.501874][ T1093] ? rtnl_newlink+0x9a8/0x11c0 [ 104.501876][ T1093] ? rcu_is_watching+0x16/0xd0 [ 104.501879][ T1093] ? lock_acquire+0x13c/0x160 [ 104.501880][ T1093] ? rcu_is_watching+0x16/0xd0 [ 104.501882][ T1093] ? rcu_is_watching+0x16/0xd0 [ 104.501885][ T1093] ? trace_contention_end+0xb3/0x180 [ 104.501888][ T1093] ? __mutex_lock+0x1db/0x1ea0 [ 104.501891][ T1093] ? __mutex_lock+0x9a3/0x1ea0 [ 104.501894][ T1093] ? rtnl_newlink+0x9a8/0x11c0 [ 104.501898][ T1093] ? ww_mutex_lock+0x160/0x160 [ 104.501903][ T1093] ? __rtnl_newlink+0x3fa/0xa50 [ 104.501909][ T1093] rtnl_newlink+0x9f1/0x11c0 [ 104.501914][ T1093] ? rtnl_bridge_getlink+0x850/0x850 [ 104.501916][ T1093] ? __lock_acquire+0x518/0xc20 [ 104.501921][ T1093] ? lock_acquire.part.0+0xd4/0x280 [ 104.501923][ T1093] ? find_held_lock+0x2b/0x80 [ 104.501925][ T1093] ? rtnl_bridge_getlink+0x850/0x850 [ 104.501927][ T1093] ? __lock_release.isra.0+0x69/0x1a0 [ 104.501930][ T1093] ? rtnl_bridge_getlink+0x850/0x850 [ 104.501932][ T1093] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 104.501936][ T1093] ? rtnl_link_fill+0x920/0x920 [ 104.501937][ T1093] ? __lock_acquire+0x518/0xc20 [ 104.501942][ T1093] ? lock_acquire.part.0+0xd4/0x280 [ 104.501943][ T1093] ? find_held_lock+0x2b/0x80 [ 104.501947][ T1093] netlink_rcv_skb+0x14e/0x3a0 [ 104.501949][ T1093] ? rtnl_link_fill+0x920/0x920 [ 104.501952][ T1093] ? netlink_ack+0xcf0/0xcf0 [ 104.501959][ T1093] ? netlink_deliver_tap+0xc5/0x330 [ 104.501961][ T1093] ? netlink_deliver_tap+0x13c/0x330 [ 104.501965][ T1093] netlink_unicast+0x486/0x750 [ 104.501969][ T1093] ? netlink_attachskb+0x810/0x810 [ 104.501972][ T1093] ? __lock_acquire+0x518/0xc20 [ 104.501976][ T1093] netlink_sendmsg+0x735/0xc60 [ 104.501981][ T1093] ? netlink_unicast+0x750/0x750 [ 104.501985][ T1093] ? __might_fault+0x97/0x140 [ 104.501990][ T1093] ____sys_sendmsg+0x415/0x880 [ 104.501993][ T1093] ? copy_msghdr_from_user+0x279/0x420 [ 104.501995][ T1093] ? get_timestamp.constprop.0+0x390/0x390 [ 104.501997][ T1093] ? move_addr_to_kernel+0x40/0x40 [ 104.502005][ T1093] ___sys_sendmsg+0x14e/0x1d0 [ 104.502008][ T1093] ? copy_msghdr_from_user+0x420/0x420 [ 104.502024][ T1093] __sys_sendmsg+0x12c/0x1d0 [ 104.502027][ T1093] ? __sys_sendmsg_sock+0x20/0x20 [ 104.502034][ T1093] ? rcu_is_watching+0x16/0xd0 [ 104.502037][ T1093] do_syscall_64+0xff/0x530 [ 104.502041][ T1093] ? exc_page_fault+0xee/0x100 [ 104.502043][ T1093] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 104.502046][ T1093] RIP: 0033:0x7f9988e7154e [ 104.502050][ T1093] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 104.502052][ T1093] RSP: 002b:00007ffe038e45b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 104.502054][ T1093] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f9988e7154e [ 104.502056][ T1093] RDX: 0000000000000000 RSI: 00007ffe038e4660 RDI: 0000000000000005 [ 104.502057][ T1093] RBP: 00007ffe038e45c0 R08: 0000000000000000 R09: 0000000000000000 [ 104.502058][ T1093] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b915 [ 104.502059][ T1093] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe038e4d30 [ 104.502066][ T1093] [ 109.118367][ T12] vethA: left promiscuous mode [ 109.118393][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 109.118396][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 109.118399][ T12] preempt_count: 1, expected: 0 [ 109.118401][ T12] RCU nest depth: 0, expected: 0 [ 109.118402][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 109.118405][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 109.118421][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 109.118428][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 109.118436][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 109.118443][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 109.118450][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 109.118456][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 109.118463][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 109.118469][ T12] irq event stamp: 1085628 [ 109.118471][ T12] hardirqs last enabled at (1085627): [] __down_trylock_console_sem+0x86/0xa0 [ 109.118474][ T12] hardirqs last disabled at (1085628): [] console_emit_next_record+0x3d4/0x4c0 [ 109.118478][ T12] softirqs last enabled at (1085512): [] tcp_close+0x2b/0xb0 [ 109.118482][ T12] softirqs last disabled at (1085510): [] release_sock+0x21/0x240 [ 109.118486][ T12] Preemption disabled at: [ 109.118487][ T12] [] vprintk_emit+0x31b/0x3e0 [ 109.118495][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 109.118500][ T12] Tainted: [W]=WARN [ 109.118502][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 109.118504][ T12] Workqueue: netns cleanup_net [ 109.118509][ T12] Call Trace: [ 109.118512][ T12] [ 109.118515][ T12] dump_stack_lvl+0x6f/0xa0 [ 109.118523][ T12] ? vprintk_emit+0x31b/0x3e0 [ 109.118526][ T12] __might_resched.cold+0x1fe/0x2c1 [ 109.118533][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 109.118539][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 109.118547][ T12] __kmalloc_noprof+0x443/0x760 [ 109.118551][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 109.118561][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 109.118565][ T12] alloc_buf.isra.0+0x4b/0x260 [ 109.118571][ T12] put_chars+0x1e1/0x2f0 [ 109.118576][ T12] ? __send_to_port+0x420/0x420 [ 109.118583][ T12] ? validate_chain+0x38b/0xc20 [ 109.118592][ T12] hvc_console_print+0x292/0x780 [ 109.118605][ T12] ? hvc_write+0x3a0/0x3a0 [ 109.118610][ T12] ? rcu_is_watching+0x16/0xd0 [ 109.118616][ T12] ? lock_acquire+0x13c/0x160 [ 109.118624][ T12] console_emit_next_record+0x22f/0x4c0 [ 109.118631][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 109.118634][ T12] ? console_flush_one_record+0x106/0x710 [ 109.118640][ T12] ? rcu_is_watching+0x16/0xd0 [ 109.118644][ T12] ? lock_acquire+0x13c/0x160 [ 109.118652][ T12] console_flush_one_record+0x46f/0x710 [ 109.118660][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 109.118663][ T12] ? __lock_acquire+0x518/0xc20 [ 109.118674][ T12] console_unlock+0xee/0x1f0 [ 109.118679][ T12] ? console_flush_one_record+0x710/0x710 [ 109.118682][ T12] ? rcu_is_watching+0x16/0xd0 [ 109.118686][ T12] ? lock_acquire+0x60/0x160 [ 109.118693][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 109.118696][ T12] ? vprintk_emit+0x320/0x3e0 [ 109.118702][ T12] vprintk_emit+0x37c/0x3e0 [ 109.118709][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 109.118714][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 109.118717][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 109.118721][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 109.118724][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 109.118731][ T12] _printk+0xc7/0x100 [ 109.118736][ T12] ? snapshot_read.cold+0x21/0x21 [ 109.118742][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 109.118747][ T12] ? netdev_name+0x43/0x60 [ 109.118752][ T12] ? __netdev_printk+0x17f/0x1d0 [ 109.118759][ T12] netdev_info+0xe2/0x116 [ 109.118763][ T12] ? netdev_notice+0x120/0x120 [ 109.118770][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 109.118773][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 109.118777][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 109.118784][ T12] ? mutex_is_locked+0x1c/0x50 [ 109.118790][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 109.118794][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 109.118799][ T12] netif_set_promiscuity+0x4c/0xc0 [ 109.118816][ T12] dev_set_promiscuity+0x9d/0x150 [ 109.118821][ T12] hsr_del_port+0x39d/0x540 [ 109.118830][ T12] hsr_del_ports+0x24/0x80 [ 109.118834][ T12] hsr_dellink+0x5d/0x90 [ 109.118839][ T12] default_device_exit_batch+0x19d/0x600 [ 109.118846][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 109.118851][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 109.118855][ T12] ? mutex_is_locked+0x1c/0x50 [ 109.118862][ T12] ops_undo_list+0x2ce/0x8f0 [ 109.118870][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 109.118874][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 109.118876][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 109.118882][ T12] ? idr_destroy+0x121/0x250 [ 109.118891][ T12] cleanup_net+0x431/0x890 [ 109.118897][ T12] ? net_passive_dec+0x230/0x230 [ 109.118904][ T12] ? lock_acquire+0x13c/0x160 [ 109.118907][ T12] ? rcu_is_watching+0x16/0xd0 [ 109.118915][ T12] process_one_work+0xe3e/0x1560 [ 109.118928][ T12] ? __queue_delayed_work+0x470/0x470 [ 109.118934][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 109.118949][ T12] worker_thread+0x4f1/0xd60 [ 109.118964][ T12] ? rescuer_thread+0x1340/0x1340 [ 109.118967][ T12] kthread+0x367/0x460 [ 109.118971][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 109.118975][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 109.118981][ T12] ret_from_fork+0x474/0x6b0 [ 109.118987][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 109.118993][ T12] ? __switch_to+0x5a3/0xe00 [ 109.118998][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 109.119003][ T12] ret_from_fork_asm+0x11/0x20 [ 109.119021][ T12] [ 109.172546][ T12] vethB: left promiscuous mode [ 109.195966][ T12] vethB (unregistering): left promiscuous mode [ 109.199365][ T12] vethA (unregistering): left promiscuous mode [ 109.902113][ T1132] vethA: entered promiscuous mode [ 109.902948][ T1132] vethB: entered promiscuous mode [ 109.949481][ T1133] vethA: entered promiscuous mode [ 109.950380][ T1133] vethB: entered promiscuous mode [ 110.117374][ T1138] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 110.117860][ T1138] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 110.117867][ T1138] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1138, name: ip [ 110.117870][ T1138] preempt_count: 1, expected: 0 [ 110.117872][ T1138] RCU nest depth: 0, expected: 0 [ 110.117873][ T1138] locks held by ip/1138: 5, last CPU#3: [ 110.117877][ T1138] #0: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 110.117892][ T1138] #1: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 110.117901][ T1138] #2: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 110.117907][ T1138] #3: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 110.117913][ T1138] #4: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 110.117920][ T1138] irq event stamp: 13896 [ 110.117922][ T1138] hardirqs last enabled at (13895): [] __down_trylock_console_sem+0x86/0xa0 [ 110.117925][ T1138] hardirqs last disabled at (13896): [] console_emit_next_record+0x3d4/0x4c0 [ 110.117929][ T1138] softirqs last enabled at (13890): [] __dev_change_flags+0x20b/0x660 [ 110.117931][ T1138] softirqs last disabled at (13888): [] dev_set_rx_mode+0x56/0xa0 [ 110.117935][ T1138] Preemption disabled at: [ 110.117936][ T1138] [] vprintk_emit+0x31b/0x3e0 [ 110.117944][ T1138] CPU: 3 UID: 0 PID: 1138 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 110.117948][ T1138] Tainted: [W]=WARN [ 110.117950][ T1138] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 110.117952][ T1138] Call Trace: [ 110.117954][ T1138] [ 110.117956][ T1138] dump_stack_lvl+0x6f/0xa0 [ 110.117964][ T1138] ? vprintk_emit+0x31b/0x3e0 [ 110.117967][ T1138] __might_resched.cold+0x1fe/0x2c1 [ 110.117973][ T1138] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 110.117979][ T1138] ? __kmalloc_noprof+0xdb/0x760 [ 110.117986][ T1138] __kmalloc_noprof+0x443/0x760 [ 110.117989][ T1138] ? alloc_buf.isra.0+0x4b/0x260 [ 110.117998][ T1138] ? do_raw_spin_unlock+0x59/0x250 [ 110.118002][ T1138] alloc_buf.isra.0+0x4b/0x260 [ 110.118007][ T1138] put_chars+0x1e1/0x2f0 [ 110.118011][ T1138] ? __send_to_port+0x420/0x420 [ 110.118017][ T1138] ? validate_chain+0x38b/0xc20 [ 110.118025][ T1138] hvc_console_print+0x292/0x780 [ 110.118036][ T1138] ? hvc_write+0x3a0/0x3a0 [ 110.118040][ T1138] ? rcu_is_watching+0x16/0xd0 [ 110.118046][ T1138] ? lock_acquire+0x13c/0x160 [ 110.118053][ T1138] console_emit_next_record+0x22f/0x4c0 [ 110.118060][ T1138] ? devkmsg_read+0x4b0/0x4b0 [ 110.118062][ T1138] ? console_flush_one_record+0x106/0x710 [ 110.118068][ T1138] ? rcu_is_watching+0x16/0xd0 [ 110.118071][ T1138] ? lock_acquire+0x13c/0x160 [ 110.118078][ T1138] console_flush_one_record+0x46f/0x710 [ 110.118085][ T1138] ? console_emit_next_record+0x4c0/0x4c0 [ 110.118088][ T1138] ? __lock_acquire+0x518/0xc20 [ 110.118097][ T1138] console_unlock+0xee/0x1f0 [ 110.118102][ T1138] ? console_flush_one_record+0x710/0x710 [ 110.118104][ T1138] ? rcu_is_watching+0x16/0xd0 [ 110.118108][ T1138] ? lock_acquire+0x60/0x160 [ 110.118114][ T1138] ? __down_trylock_console_sem+0x5e/0xa0 [ 110.118117][ T1138] ? vprintk_emit+0x320/0x3e0 [ 110.118123][ T1138] vprintk_emit+0x37c/0x3e0 [ 110.118129][ T1138] ? wake_up_klogd_work_func+0x90/0x90 [ 110.118132][ T1138] ? __lock_acquire+0x518/0xc20 [ 110.118135][ T1138] ? mark_usage+0x61/0x170 [ 110.118138][ T1138] ? __lock_acquire+0x518/0xc20 [ 110.118145][ T1138] _printk+0xc7/0x100 [ 110.118149][ T1138] ? snapshot_read.cold+0x21/0x21 [ 110.118156][ T1138] ? __lock_release.isra.0+0x69/0x1a0 [ 110.118159][ T1138] ? netdev_name+0x43/0x60 [ 110.118164][ T1138] ? __netdev_printk+0x17f/0x1d0 [ 110.118170][ T1138] netdev_warn+0xe2/0x116 [ 110.118173][ T1138] ? netdev_err+0x120/0x120 [ 110.118178][ T1138] ? hsr_port_get_hsr+0x150/0x150 [ 110.118186][ T1138] ? ip6_route_dev_notify+0x3d/0x790 [ 110.118196][ T1138] hsr_dev_open.cold+0x3b/0x73 [ 110.118201][ T1138] __dev_open+0x2f3/0x610 [ 110.118207][ T1138] ? netif_state_change+0x340/0x340 [ 110.118211][ T1138] ? mark_held_locks+0x40/0x70 [ 110.118219][ T1138] __dev_change_flags+0x4a4/0x660 [ 110.118223][ T1138] ? netif_set_allmulti+0x250/0x250 [ 110.118226][ T1138] ? kernel_text_address+0x149/0x170 [ 110.118231][ T1138] ? __kernel_text_address+0x12/0x30 [ 110.118233][ T1138] ? write_profile+0xf0/0xf0 [ 110.118236][ T1138] ? unwind_get_return_address+0x67/0xd0 [ 110.118244][ T1138] netif_change_flags+0x87/0x190 [ 110.118250][ T1138] do_setlink.isra.0+0x1cc3/0x2750 [ 110.118256][ T1138] ? stack_trace_save+0x93/0xc0 [ 110.118259][ T1138] ? rtnl_link_get_size+0x350/0x350 [ 110.118262][ T1138] ? rcu_read_lock_any_held+0x66/0x90 [ 110.118265][ T1138] ? stack_depot_save_flags+0x38e/0x790 [ 110.118270][ T1138] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 110.118274][ T1138] ? rcu_read_lock_any_held+0x3c/0x90 [ 110.118277][ T1138] ? validate_chain+0x38b/0xc20 [ 110.118281][ T1138] ? kasan_save_stack+0x3d/0x50 [ 110.118285][ T1138] ? kasan_save_stack+0x2f/0x50 [ 110.118287][ T1138] ? kasan_save_track+0x14/0x30 [ 110.118292][ T1138] ? __lock_acquire+0x518/0xc20 [ 110.118295][ T1138] ? __netlink_deliver_tap+0x20e/0x9b0 [ 110.118299][ T1138] ? ___sys_sendmsg+0x70/0x1d0 [ 110.118307][ T1138] ? lock_acquire.part.0+0xd4/0x280 [ 110.118310][ T1138] ? rtnl_newlink+0x9a8/0x11c0 [ 110.118315][ T1138] ? rcu_is_watching+0x16/0xd0 [ 110.118319][ T1138] ? lock_acquire+0x13c/0x160 [ 110.118321][ T1138] ? rcu_is_watching+0x16/0xd0 [ 110.118324][ T1138] ? rcu_is_watching+0x16/0xd0 [ 110.118327][ T1138] ? trace_contention_end+0xb3/0x180 [ 110.118332][ T1138] ? __mutex_lock+0x1db/0x1ea0 [ 110.118336][ T1138] ? __mutex_lock+0x9a3/0x1ea0 [ 110.118341][ T1138] ? rtnl_newlink+0x9a8/0x11c0 [ 110.118347][ T1138] ? ww_mutex_lock+0x160/0x160 [ 110.118357][ T1138] ? __rtnl_newlink+0x3fa/0xa50 [ 110.118366][ T1138] rtnl_newlink+0x9f1/0x11c0 [ 110.118376][ T1138] ? rtnl_bridge_getlink+0x850/0x850 [ 110.118379][ T1138] ? __lock_acquire+0x518/0xc20 [ 110.118387][ T1138] ? lock_acquire.part.0+0xd4/0x280 [ 110.118390][ T1138] ? find_held_lock+0x2b/0x80 [ 110.118393][ T1138] ? rtnl_bridge_getlink+0x850/0x850 [ 110.118397][ T1138] ? __lock_release.isra.0+0x69/0x1a0 [ 110.118403][ T1138] ? rtnl_bridge_getlink+0x850/0x850 [ 110.118407][ T1138] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 110.118413][ T1138] ? rtnl_link_fill+0x920/0x920 [ 110.118415][ T1138] ? __lock_acquire+0x518/0xc20 [ 110.118423][ T1138] ? lock_acquire.part.0+0xd4/0x280 [ 110.118426][ T1138] ? find_held_lock+0x2b/0x80 [ 110.118432][ T1138] netlink_rcv_skb+0x14e/0x3a0 [ 110.118435][ T1138] ? rtnl_link_fill+0x920/0x920 [ 110.118440][ T1138] ? netlink_ack+0xcf0/0xcf0 [ 110.118452][ T1138] ? netlink_deliver_tap+0xc5/0x330 [ 110.118454][ T1138] ? netlink_deliver_tap+0x13c/0x330 [ 110.118463][ T1138] netlink_unicast+0x486/0x750 [ 110.118470][ T1138] ? netlink_attachskb+0x810/0x810 [ 110.118475][ T1138] ? __lock_acquire+0x518/0xc20 [ 110.118482][ T1138] netlink_sendmsg+0x735/0xc60 [ 110.118489][ T1138] ? netlink_unicast+0x750/0x750 [ 110.118496][ T1138] ? __might_fault+0x97/0x140 [ 110.118504][ T1138] ____sys_sendmsg+0x415/0x880 [ 110.118509][ T1138] ? copy_msghdr_from_user+0x279/0x420 [ 110.118512][ T1138] ? get_timestamp.constprop.0+0x390/0x390 [ 110.118515][ T1138] ? move_addr_to_kernel+0x40/0x40 [ 110.118529][ T1138] ___sys_sendmsg+0x14e/0x1d0 [ 110.118534][ T1138] ? copy_msghdr_from_user+0x420/0x420 [ 110.118564][ T1138] __sys_sendmsg+0x12c/0x1d0 [ 110.118568][ T1138] ? __sys_sendmsg_sock+0x20/0x20 [ 110.118579][ T1138] ? rcu_is_watching+0x16/0xd0 [ 110.118586][ T1138] do_syscall_64+0xff/0x530 [ 110.118590][ T1138] ? exc_page_fault+0xee/0x100 [ 110.118595][ T1138] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 110.118599][ T1138] RIP: 0033:0x7fbb6ea9654e [ 110.118604][ T1138] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 110.118607][ T1138] RSP: 002b:00007ffdad777aa0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 110.118612][ T1138] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fbb6ea9654e [ 110.118614][ T1138] RDX: 0000000000000000 RSI: 00007ffdad777b50 RDI: 0000000000000005 [ 110.118616][ T1138] RBP: 00007ffdad777ab0 R08: 0000000000000000 R09: 0000000000000000 [ 110.118617][ T1138] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b91b [ 110.118619][ T1138] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdad778220 [ 110.118632][ T1138] [ 110.295398][ T1141] prp2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 116.157152][ T12] vethA: left promiscuous mode [ 116.157173][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 116.157176][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 116.157178][ T12] preempt_count: 1, expected: 0 [ 116.157179][ T12] RCU nest depth: 0, expected: 0 [ 116.157180][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 116.157182][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 116.157195][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 116.157199][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 116.157205][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 116.157209][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 116.157214][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 116.157219][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 116.157223][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 116.157227][ T12] irq event stamp: 1149702 [ 116.157228][ T12] hardirqs last enabled at (1149701): [] __down_trylock_console_sem+0x86/0xa0 [ 116.157230][ T12] hardirqs last disabled at (1149702): [] console_emit_next_record+0x3d4/0x4c0 [ 116.157232][ T12] softirqs last enabled at (1149586): [] tcp_close+0x2b/0xb0 [ 116.157236][ T12] softirqs last disabled at (1149584): [] release_sock+0x21/0x240 [ 116.157239][ T12] Preemption disabled at: [ 116.157240][ T12] [] vprintk_emit+0x31b/0x3e0 [ 116.157246][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 116.157250][ T12] Tainted: [W]=WARN [ 116.157250][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 116.157252][ T12] Workqueue: netns cleanup_net [ 116.157256][ T12] Call Trace: [ 116.157258][ T12] [ 116.157260][ T12] dump_stack_lvl+0x6f/0xa0 [ 116.157266][ T12] ? vprintk_emit+0x31b/0x3e0 [ 116.157269][ T12] __might_resched.cold+0x1fe/0x2c1 [ 116.157273][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 116.157278][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 116.157283][ T12] __kmalloc_noprof+0x443/0x760 [ 116.157286][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 116.157292][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 116.157294][ T12] alloc_buf.isra.0+0x4b/0x260 [ 116.157298][ T12] put_chars+0x1e1/0x2f0 [ 116.157301][ T12] ? __send_to_port+0x420/0x420 [ 116.157304][ T12] ? validate_chain+0x38b/0xc20 [ 116.157310][ T12] hvc_console_print+0x292/0x780 [ 116.157317][ T12] ? hvc_write+0x3a0/0x3a0 [ 116.157320][ T12] ? rcu_is_watching+0x16/0xd0 [ 116.157324][ T12] ? lock_acquire+0x13c/0x160 [ 116.157328][ T12] console_emit_next_record+0x22f/0x4c0 [ 116.157333][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 116.157335][ T12] ? console_flush_one_record+0x106/0x710 [ 116.157338][ T12] ? rcu_is_watching+0x16/0xd0 [ 116.157341][ T12] ? lock_acquire+0x13c/0x160 [ 116.157345][ T12] console_flush_one_record+0x46f/0x710 [ 116.157349][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 116.157351][ T12] ? __lock_acquire+0x518/0xc20 [ 116.157357][ T12] console_unlock+0xee/0x1f0 [ 116.157360][ T12] ? console_flush_one_record+0x710/0x710 [ 116.157362][ T12] ? rcu_is_watching+0x16/0xd0 [ 116.157364][ T12] ? lock_acquire+0x60/0x160 [ 116.157368][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 116.157370][ T12] ? vprintk_emit+0x320/0x3e0 [ 116.157373][ T12] vprintk_emit+0x37c/0x3e0 [ 116.157377][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 116.157380][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 116.157382][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 116.157385][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 116.157387][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 116.157390][ T12] _printk+0xc7/0x100 [ 116.157394][ T12] ? snapshot_read.cold+0x21/0x21 [ 116.157397][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 116.157400][ T12] ? netdev_name+0x43/0x60 [ 116.157404][ T12] ? __netdev_printk+0x17f/0x1d0 [ 116.157407][ T12] netdev_info+0xe2/0x116 [ 116.157410][ T12] ? netdev_notice+0x120/0x120 [ 116.157414][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 116.157415][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 116.157418][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 116.157421][ T12] ? mutex_is_locked+0x1c/0x50 [ 116.157425][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 116.157428][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 116.157431][ T12] netif_set_promiscuity+0x4c/0xc0 [ 116.157435][ T12] dev_set_promiscuity+0x9d/0x150 [ 116.157439][ T12] hsr_del_port+0x39d/0x540 [ 116.157444][ T12] hsr_del_ports+0x24/0x80 [ 116.157446][ T12] hsr_dellink+0x5d/0x90 [ 116.157449][ T12] default_device_exit_batch+0x19d/0x600 [ 116.157453][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 116.157456][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 116.157458][ T12] ? mutex_is_locked+0x1c/0x50 [ 116.157462][ T12] ops_undo_list+0x2ce/0x8f0 [ 116.157466][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 116.157469][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 116.157470][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 116.157474][ T12] ? idr_destroy+0x121/0x250 [ 116.157478][ T12] cleanup_net+0x431/0x890 [ 116.157482][ T12] ? net_passive_dec+0x230/0x230 [ 116.157486][ T12] ? lock_acquire+0x13c/0x160 [ 116.157488][ T12] ? rcu_is_watching+0x16/0xd0 [ 116.157492][ T12] process_one_work+0xe3e/0x1560 [ 116.157499][ T12] ? __queue_delayed_work+0x470/0x470 [ 116.157502][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 116.157510][ T12] worker_thread+0x4f1/0xd60 [ 116.157517][ T12] ? rescuer_thread+0x1340/0x1340 [ 116.157519][ T12] kthread+0x367/0x460 [ 116.157522][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 116.157525][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 116.157528][ T12] ret_from_fork+0x474/0x6b0 [ 116.157532][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 116.157536][ T12] ? __switch_to+0x5a3/0xe00 [ 116.157539][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 116.157542][ T12] ret_from_fork_asm+0x11/0x20 [ 116.157551][ T12] [ 116.191459][ T12] vethB: left promiscuous mode [ 116.209305][ T12] vethB (unregistering): left promiscuous mode [ 116.217943][ T12] vethA (unregistering): left promiscuous mode [ 116.867707][ T1180] vethA: entered promiscuous mode [ 116.868604][ T1180] vethB: entered promiscuous mode [ 116.914518][ T1181] vethA: entered promiscuous mode [ 116.915319][ T1181] vethB: entered promiscuous mode [ 117.073322][ T1186] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 117.175661][ T1189] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 117.175683][ T1189] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 117.175685][ T1189] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1189, name: ip [ 117.175687][ T1189] preempt_count: 1, expected: 0 [ 117.175687][ T1189] RCU nest depth: 0, expected: 0 [ 117.175688][ T1189] locks held by ip/1189: 5, last CPU#0: [ 117.175691][ T1189] #0: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 117.175702][ T1189] #1: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 117.175708][ T1189] #2: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 117.175712][ T1189] #3: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 117.175716][ T1189] #4: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 117.175720][ T1189] irq event stamp: 21794 [ 117.175721][ T1189] hardirqs last enabled at (21793): [] __down_trylock_console_sem+0x86/0xa0 [ 117.175724][ T1189] hardirqs last disabled at (21794): [] console_emit_next_record+0x3d4/0x4c0 [ 117.175726][ T1189] softirqs last enabled at (21788): [] __dev_change_flags+0x20b/0x660 [ 117.175728][ T1189] softirqs last disabled at (21786): [] dev_set_rx_mode+0x56/0xa0 [ 117.175731][ T1189] Preemption disabled at: [ 117.175731][ T1189] [] vprintk_emit+0x31b/0x3e0 [ 117.175737][ T1189] CPU: 0 UID: 0 PID: 1189 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 117.175740][ T1189] Tainted: [W]=WARN [ 117.175741][ T1189] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 117.175743][ T1189] Call Trace: [ 117.175745][ T1189] [ 117.175746][ T1189] dump_stack_lvl+0x6f/0xa0 [ 117.175752][ T1189] ? vprintk_emit+0x31b/0x3e0 [ 117.175754][ T1189] __might_resched.cold+0x1fe/0x2c1 [ 117.175759][ T1189] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 117.175763][ T1189] ? __kmalloc_noprof+0xdb/0x760 [ 117.175768][ T1189] __kmalloc_noprof+0x443/0x760 [ 117.175770][ T1189] ? alloc_buf.isra.0+0x4b/0x260 [ 117.175776][ T1189] ? do_raw_spin_unlock+0x59/0x250 [ 117.175779][ T1189] alloc_buf.isra.0+0x4b/0x260 [ 117.175782][ T1189] put_chars+0x1e1/0x2f0 [ 117.175785][ T1189] ? __send_to_port+0x420/0x420 [ 117.175788][ T1189] ? validate_chain+0x38b/0xc20 [ 117.175793][ T1189] hvc_console_print+0x292/0x780 [ 117.175800][ T1189] ? hvc_write+0x3a0/0x3a0 [ 117.175803][ T1189] ? rcu_is_watching+0x16/0xd0 [ 117.175809][ T1189] ? lock_acquire+0x13c/0x160 [ 117.175813][ T1189] console_emit_next_record+0x22f/0x4c0 [ 117.175817][ T1189] ? devkmsg_read+0x4b0/0x4b0 [ 117.175818][ T1189] ? console_flush_one_record+0x106/0x710 [ 117.175822][ T1189] ? rcu_is_watching+0x16/0xd0 [ 117.175824][ T1189] ? lock_acquire+0x13c/0x160 [ 117.175828][ T1189] console_flush_one_record+0x46f/0x710 [ 117.175832][ T1189] ? console_emit_next_record+0x4c0/0x4c0 [ 117.175834][ T1189] ? __lock_acquire+0x518/0xc20 [ 117.175839][ T1189] console_unlock+0xee/0x1f0 [ 117.175848][ T1189] ? console_flush_one_record+0x710/0x710 [ 117.175849][ T1189] ? rcu_is_watching+0x16/0xd0 [ 117.175852][ T1189] ? lock_acquire+0x60/0x160 [ 117.175855][ T1189] ? __down_trylock_console_sem+0x5e/0xa0 [ 117.175857][ T1189] ? vprintk_emit+0x320/0x3e0 [ 117.175861][ T1189] vprintk_emit+0x37c/0x3e0 [ 117.175864][ T1189] ? wake_up_klogd_work_func+0x90/0x90 [ 117.175866][ T1189] ? __lock_acquire+0x518/0xc20 [ 117.175868][ T1189] ? mark_usage+0x61/0x170 [ 117.175871][ T1189] ? __lock_acquire+0x518/0xc20 [ 117.175874][ T1189] _printk+0xc7/0x100 [ 117.175878][ T1189] ? snapshot_read.cold+0x21/0x21 [ 117.175881][ T1189] ? __lock_release.isra.0+0x69/0x1a0 [ 117.175884][ T1189] ? netdev_name+0x43/0x60 [ 117.175887][ T1189] ? __netdev_printk+0x17f/0x1d0 [ 117.175890][ T1189] netdev_warn+0xe2/0x116 [ 117.175893][ T1189] ? netdev_err+0x120/0x120 [ 117.175895][ T1189] ? hsr_port_get_hsr+0x150/0x150 [ 117.175901][ T1189] ? ip6_route_dev_notify+0x3d/0x790 [ 117.175907][ T1189] hsr_dev_open.cold+0x3b/0x73 [ 117.175911][ T1189] __dev_open+0x2f3/0x610 [ 117.175914][ T1189] ? netif_state_change+0x340/0x340 [ 117.175917][ T1189] ? mark_held_locks+0x40/0x70 [ 117.175921][ T1189] __dev_change_flags+0x4a4/0x660 [ 117.175924][ T1189] ? netif_set_allmulti+0x250/0x250 [ 117.175925][ T1189] ? kernel_text_address+0x149/0x170 [ 117.175929][ T1189] ? __kernel_text_address+0x12/0x30 [ 117.175930][ T1189] ? write_profile+0xf0/0xf0 [ 117.175932][ T1189] ? unwind_get_return_address+0x67/0xd0 [ 117.175937][ T1189] netif_change_flags+0x87/0x190 [ 117.175941][ T1189] do_setlink.isra.0+0x1cc3/0x2750 [ 117.175944][ T1189] ? stack_trace_save+0x93/0xc0 [ 117.175946][ T1189] ? rtnl_link_get_size+0x350/0x350 [ 117.175948][ T1189] ? rcu_read_lock_any_held+0x66/0x90 [ 117.175950][ T1189] ? stack_depot_save_flags+0x38e/0x790 [ 117.175954][ T1189] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 117.175957][ T1189] ? rcu_read_lock_any_held+0x3c/0x90 [ 117.175958][ T1189] ? validate_chain+0x38b/0xc20 [ 117.175961][ T1189] ? kasan_save_stack+0x3d/0x50 [ 117.175964][ T1189] ? kasan_save_stack+0x2f/0x50 [ 117.175966][ T1189] ? kasan_save_track+0x14/0x30 [ 117.175968][ T1189] ? __lock_acquire+0x518/0xc20 [ 117.175970][ T1189] ? __netlink_deliver_tap+0x20e/0x9b0 [ 117.175974][ T1189] ? ___sys_sendmsg+0x70/0x1d0 [ 117.175978][ T1189] ? lock_acquire.part.0+0xd4/0x280 [ 117.175980][ T1189] ? rtnl_newlink+0x9a8/0x11c0 [ 117.175983][ T1189] ? rcu_is_watching+0x16/0xd0 [ 117.175985][ T1189] ? lock_acquire+0x13c/0x160 [ 117.175987][ T1189] ? rcu_is_watching+0x16/0xd0 [ 117.175989][ T1189] ? rcu_is_watching+0x16/0xd0 [ 117.175991][ T1189] ? trace_contention_end+0xb3/0x180 [ 117.175995][ T1189] ? __mutex_lock+0x1db/0x1ea0 [ 117.175998][ T1189] ? __mutex_lock+0x9a3/0x1ea0 [ 117.176000][ T1189] ? rtnl_newlink+0x9a8/0x11c0 [ 117.176004][ T1189] ? ww_mutex_lock+0x160/0x160 [ 117.176010][ T1189] ? __rtnl_newlink+0x3fa/0xa50 [ 117.176015][ T1189] rtnl_newlink+0x9f1/0x11c0 [ 117.176020][ T1189] ? rtnl_bridge_getlink+0x850/0x850 [ 117.176022][ T1189] ? __lock_acquire+0x518/0xc20 [ 117.176027][ T1189] ? lock_acquire.part.0+0xd4/0x280 [ 117.176029][ T1189] ? find_held_lock+0x2b/0x80 [ 117.176031][ T1189] ? rtnl_bridge_getlink+0x850/0x850 [ 117.176033][ T1189] ? __lock_release.isra.0+0x69/0x1a0 [ 117.176036][ T1189] ? rtnl_bridge_getlink+0x850/0x850 [ 117.176039][ T1189] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 117.176042][ T1189] ? rtnl_link_fill+0x920/0x920 [ 117.176043][ T1189] ? __lock_acquire+0x518/0xc20 [ 117.176048][ T1189] ? lock_acquire.part.0+0xd4/0x280 [ 117.176050][ T1189] ? find_held_lock+0x2b/0x80 [ 117.176053][ T1189] netlink_rcv_skb+0x14e/0x3a0 [ 117.176055][ T1189] ? rtnl_link_fill+0x920/0x920 [ 117.176058][ T1189] ? netlink_ack+0xcf0/0xcf0 [ 117.176065][ T1189] ? netlink_deliver_tap+0xc5/0x330 [ 117.176066][ T1189] ? netlink_deliver_tap+0x13c/0x330 [ 117.176071][ T1189] netlink_unicast+0x486/0x750 [ 117.176075][ T1189] ? netlink_attachskb+0x810/0x810 [ 117.176078][ T1189] ? __lock_acquire+0x518/0xc20 [ 117.176082][ T1189] netlink_sendmsg+0x735/0xc60 [ 117.176086][ T1189] ? netlink_unicast+0x750/0x750 [ 117.176090][ T1189] ? __might_fault+0x97/0x140 [ 117.176096][ T1189] ____sys_sendmsg+0x415/0x880 [ 117.176098][ T1189] ? copy_msghdr_from_user+0x279/0x420 [ 117.176101][ T1189] ? get_timestamp.constprop.0+0x390/0x390 [ 117.176102][ T1189] ? move_addr_to_kernel+0x40/0x40 [ 117.176110][ T1189] ___sys_sendmsg+0x14e/0x1d0 [ 117.176113][ T1189] ? copy_msghdr_from_user+0x420/0x420 [ 117.176129][ T1189] __sys_sendmsg+0x12c/0x1d0 [ 117.176132][ T1189] ? __sys_sendmsg_sock+0x20/0x20 [ 117.176138][ T1189] ? rcu_is_watching+0x16/0xd0 [ 117.176142][ T1189] do_syscall_64+0xff/0x530 [ 117.176145][ T1189] ? exc_page_fault+0xee/0x100 [ 117.176148][ T1189] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 117.176150][ T1189] RIP: 0033:0x7f357bfef54e [ 117.176154][ T1189] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 117.176156][ T1189] RSP: 002b:00007ffe05e00060 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 117.176158][ T1189] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f357bfef54e [ 117.176160][ T1189] RDX: 0000000000000000 RSI: 00007ffe05e00110 RDI: 0000000000000005 [ 117.176161][ T1189] RBP: 00007ffe05e00070 R08: 0000000000000000 R09: 0000000000000000 [ 117.176162][ T1189] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b922 [ 117.176162][ T1189] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe05e007e0 [ 117.176169][ T1189] [ 122.793408][ T12] vethA: left promiscuous mode [ 122.793428][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 122.793431][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 122.793432][ T12] preempt_count: 1, expected: 0 [ 122.793433][ T12] RCU nest depth: 0, expected: 0 [ 122.793434][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 122.793437][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 122.793449][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 122.793453][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 122.793459][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 122.793463][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 122.793468][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 122.793472][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 122.793476][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 122.793480][ T12] irq event stamp: 1219424 [ 122.793481][ T12] hardirqs last enabled at (1219423): [] __down_trylock_console_sem+0x86/0xa0 [ 122.793483][ T12] hardirqs last disabled at (1219424): [] console_emit_next_record+0x3d4/0x4c0 [ 122.793485][ T12] softirqs last enabled at (1219308): [] tcp_close+0x2b/0xb0 [ 122.793489][ T12] softirqs last disabled at (1219306): [] release_sock+0x21/0x240 [ 122.793492][ T12] Preemption disabled at: [ 122.793493][ T12] [] vprintk_emit+0x31b/0x3e0 [ 122.793499][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 122.793502][ T12] Tainted: [W]=WARN [ 122.793503][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 122.793505][ T12] Workqueue: netns cleanup_net [ 122.793508][ T12] Call Trace: [ 122.793510][ T12] [ 122.793512][ T12] dump_stack_lvl+0x6f/0xa0 [ 122.793518][ T12] ? vprintk_emit+0x31b/0x3e0 [ 122.793521][ T12] __might_resched.cold+0x1fe/0x2c1 [ 122.793525][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 122.793530][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 122.793535][ T12] __kmalloc_noprof+0x443/0x760 [ 122.793537][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 122.793543][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 122.793546][ T12] alloc_buf.isra.0+0x4b/0x260 [ 122.793549][ T12] put_chars+0x1e1/0x2f0 [ 122.793552][ T12] ? __send_to_port+0x420/0x420 [ 122.793556][ T12] ? validate_chain+0x38b/0xc20 [ 122.793561][ T12] hvc_console_print+0x292/0x780 [ 122.793568][ T12] ? hvc_write+0x3a0/0x3a0 [ 122.793571][ T12] ? rcu_is_watching+0x16/0xd0 [ 122.793575][ T12] ? lock_acquire+0x13c/0x160 [ 122.793579][ T12] console_emit_next_record+0x22f/0x4c0 [ 122.793583][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 122.793585][ T12] ? console_flush_one_record+0x106/0x710 [ 122.793589][ T12] ? rcu_is_watching+0x16/0xd0 [ 122.793591][ T12] ? lock_acquire+0x13c/0x160 [ 122.793595][ T12] console_flush_one_record+0x46f/0x710 [ 122.793600][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 122.793602][ T12] ? __lock_acquire+0x518/0xc20 [ 122.793607][ T12] console_unlock+0xee/0x1f0 [ 122.793610][ T12] ? console_flush_one_record+0x710/0x710 [ 122.793612][ T12] ? rcu_is_watching+0x16/0xd0 [ 122.793614][ T12] ? lock_acquire+0x60/0x160 [ 122.793618][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 122.793620][ T12] ? vprintk_emit+0x320/0x3e0 [ 122.793624][ T12] vprintk_emit+0x37c/0x3e0 [ 122.793627][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 122.793630][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 122.793632][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 122.793635][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 122.793637][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 122.793641][ T12] _printk+0xc7/0x100 [ 122.793645][ T12] ? snapshot_read.cold+0x21/0x21 [ 122.793648][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 122.793651][ T12] ? netdev_name+0x43/0x60 [ 122.793654][ T12] ? __netdev_printk+0x17f/0x1d0 [ 122.793658][ T12] netdev_info+0xe2/0x116 [ 122.793660][ T12] ? netdev_notice+0x120/0x120 [ 122.793664][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 122.793665][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 122.793668][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 122.793672][ T12] ? mutex_is_locked+0x1c/0x50 [ 122.793675][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 122.793678][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 122.793681][ T12] netif_set_promiscuity+0x4c/0xc0 [ 122.793685][ T12] dev_set_promiscuity+0x9d/0x150 [ 122.793688][ T12] hsr_del_port+0x39d/0x540 [ 122.793694][ T12] hsr_del_ports+0x24/0x80 [ 122.793696][ T12] hsr_dellink+0x5d/0x90 [ 122.793699][ T12] default_device_exit_batch+0x19d/0x600 [ 122.793702][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 122.793705][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 122.793708][ T12] ? mutex_is_locked+0x1c/0x50 [ 122.793712][ T12] ops_undo_list+0x2ce/0x8f0 [ 122.793716][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 122.793718][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 122.793720][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 122.793723][ T12] ? idr_destroy+0x121/0x250 [ 122.793728][ T12] cleanup_net+0x431/0x890 [ 122.793731][ T12] ? net_passive_dec+0x230/0x230 [ 122.793735][ T12] ? lock_acquire+0x13c/0x160 [ 122.793737][ T12] ? rcu_is_watching+0x16/0xd0 [ 122.793741][ T12] process_one_work+0xe3e/0x1560 [ 122.793748][ T12] ? __queue_delayed_work+0x470/0x470 [ 122.793751][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 122.793759][ T12] worker_thread+0x4f1/0xd60 [ 122.793766][ T12] ? rescuer_thread+0x1340/0x1340 [ 122.793768][ T12] kthread+0x367/0x460 [ 122.793771][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 122.793774][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 122.793777][ T12] ret_from_fork+0x474/0x6b0 [ 122.793781][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 122.793784][ T12] ? __switch_to+0x5a3/0xe00 [ 122.793788][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 122.793790][ T12] ret_from_fork_asm+0x11/0x20 [ 122.793799][ T12] [ 122.826594][ T12] vethB: left promiscuous mode [ 122.842539][ T12] vethB (unregistering): left promiscuous mode [ 122.847924][ T12] vethA (unregistering): left promiscuous mode [ 123.586247][ T1228] vethA: entered promiscuous mode [ 123.587046][ T1228] vethB: entered promiscuous mode [ 123.624819][ T1229] vethA: entered promiscuous mode [ 123.625672][ T1229] vethB: entered promiscuous mode [ 123.788553][ T1234] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 129.244591][ T12] vethA: left promiscuous mode [ 129.244610][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 129.244612][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 129.244614][ T12] preempt_count: 1, expected: 0 [ 129.244615][ T12] RCU nest depth: 0, expected: 0 [ 129.244616][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 129.244618][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 129.244630][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 129.244634][ T12] #2: ffffffff890c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 129.244640][ T12] #3: ffffffff890e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 129.244645][ T12] #4: ffffffff88979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 129.244650][ T12] #5: ffffffff88979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 129.244654][ T12] #6: ffffffff88899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 129.244657][ T12] #7: ffffffff88899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 129.244661][ T12] irq event stamp: 1296918 [ 129.244662][ T12] hardirqs last enabled at (1296917): [] __down_trylock_console_sem+0x86/0xa0 [ 129.244665][ T12] hardirqs last disabled at (1296918): [] console_emit_next_record+0x3d4/0x4c0 [ 129.244667][ T12] softirqs last enabled at (1296804): [] tcp_close+0x2b/0xb0 [ 129.244670][ T12] softirqs last disabled at (1296802): [] release_sock+0x21/0x240 [ 129.244673][ T12] Preemption disabled at: [ 129.244674][ T12] [] vprintk_emit+0x31b/0x3e0 [ 129.244680][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 129.244684][ T12] Tainted: [W]=WARN [ 129.244685][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 129.244686][ T12] Workqueue: netns cleanup_net [ 129.244690][ T12] Call Trace: [ 129.244692][ T12] [ 129.244694][ T12] dump_stack_lvl+0x6f/0xa0 [ 129.244700][ T12] ? vprintk_emit+0x31b/0x3e0 [ 129.244702][ T12] __might_resched.cold+0x1fe/0x2c1 [ 129.244707][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 129.244711][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 129.244716][ T12] __kmalloc_noprof+0x443/0x760 [ 129.244719][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 129.244725][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 129.244728][ T12] alloc_buf.isra.0+0x4b/0x260 [ 129.244731][ T12] put_chars+0x1e1/0x2f0 [ 129.244734][ T12] ? __send_to_port+0x420/0x420 [ 129.244738][ T12] ? validate_chain+0x38b/0xc20 [ 129.244743][ T12] hvc_console_print+0x292/0x780 [ 129.244750][ T12] ? hvc_write+0x3a0/0x3a0 [ 129.244753][ T12] ? rcu_is_watching+0x16/0xd0 [ 129.244757][ T12] ? lock_acquire+0x13c/0x160 [ 129.244762][ T12] console_emit_next_record+0x22f/0x4c0 [ 129.244766][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 129.244768][ T12] ? console_flush_one_record+0x106/0x710 [ 129.244771][ T12] ? rcu_is_watching+0x16/0xd0 [ 129.244774][ T12] ? lock_acquire+0x13c/0x160 [ 129.244778][ T12] console_flush_one_record+0x46f/0x710 [ 129.244782][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 129.244784][ T12] ? __lock_acquire+0x518/0xc20 [ 129.244790][ T12] console_unlock+0xee/0x1f0 [ 129.244793][ T12] ? console_flush_one_record+0x710/0x710 [ 129.244795][ T12] ? rcu_is_watching+0x16/0xd0 [ 129.244797][ T12] ? lock_acquire+0x60/0x160 [ 129.244801][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 129.244808][ T12] ? vprintk_emit+0x320/0x3e0 [ 129.244811][ T12] vprintk_emit+0x37c/0x3e0 [ 129.244815][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 129.244822][ T12] _printk+0xc7/0x100 [ 129.244825][ T12] ? snapshot_read.cold+0x21/0x21 [ 129.244828][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 129.244832][ T12] ? netdev_name+0x43/0x60 [ 129.244835][ T12] ? __netdev_printk+0x17f/0x1d0 [ 129.244839][ T12] netdev_info+0xe2/0x116 [ 129.244841][ T12] ? netdev_notice+0x120/0x120 [ 129.244845][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 129.244846][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 129.244849][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 129.244853][ T12] ? mutex_is_locked+0x1c/0x50 [ 129.244857][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 129.244860][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 129.244863][ T12] netif_set_promiscuity+0x4c/0xc0 [ 129.244867][ T12] dev_set_promiscuity+0x9d/0x150 [ 129.244870][ T12] hsr_del_port+0x39d/0x540 [ 129.244876][ T12] hsr_del_ports+0x24/0x80 [ 129.244879][ T12] hsr_dellink+0x5d/0x90 [ 129.244882][ T12] default_device_exit_batch+0x19d/0x600 [ 129.244892][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 129.244894][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 129.244897][ T12] ? mutex_is_locked+0x1c/0x50 [ 129.244901][ T12] ops_undo_list+0x2ce/0x8f0 [ 129.244905][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 129.244908][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 129.244910][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 129.244913][ T12] ? idr_destroy+0x121/0x250 [ 129.244918][ T12] cleanup_net+0x431/0x890 [ 129.244921][ T12] ? net_passive_dec+0x230/0x230 [ 129.244925][ T12] ? lock_acquire+0x13c/0x160 [ 129.244927][ T12] ? rcu_is_watching+0x16/0xd0 [ 129.244932][ T12] process_one_work+0xe3e/0x1560 [ 129.244939][ T12] ? __queue_delayed_work+0x470/0x470 [ 129.244942][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 129.244950][ T12] worker_thread+0x4f1/0xd60 [ 129.244957][ T12] ? rescuer_thread+0x1340/0x1340 [ 129.244959][ T12] kthread+0x367/0x460 [ 129.244962][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 129.244965][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 129.244968][ T12] ret_from_fork+0x474/0x6b0 [ 129.244972][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 129.244975][ T12] ? __switch_to+0x5a3/0xe00 [ 129.244978][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 129.244981][ T12] ret_from_fork_asm+0x11/0x20 [ 129.244990][ T12] [ 129.272778][ T12] vethB: left promiscuous mode [ 129.287858][ T12] vethB (unregistering): left promiscuous mode [ 129.292852][ T12] vethA (unregistering): left promiscuous mode