[ 9.433347][ T197] vethA: entered promiscuous mode [ 9.433439][ T197] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.433441][ T197] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 197, name: ip [ 9.433443][ T197] preempt_count: 1, expected: 0 [ 9.433444][ T197] RCU nest depth: 0, expected: 0 [ 9.433445][ T197] locks held by ip/197: 6, last CPU#3: [ 9.433447][ T197] #0: ffffffffba8f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 9.433458][ T197] #1: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 9.433462][ T197] #2: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.433468][ T197] #3: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.433472][ T197] #4: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.433476][ T197] #5: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.433480][ T197] irq event stamp: 16378 [ 9.433481][ T197] hardirqs last enabled at (16377): [] __down_trylock_console_sem+0x86/0xa0 [ 9.433483][ T197] hardirqs last disabled at (16378): [] console_emit_next_record+0x3d4/0x4c0 [ 9.433485][ T197] softirqs last enabled at (16254): [] __alloc_skb+0x4c2/0x5f0 [ 9.433489][ T197] softirqs last disabled at (16252): [] __alloc_skb+0x4c2/0x5f0 [ 9.433491][ T197] Preemption disabled at: [ 9.433492][ T197] [] vprintk_emit+0x31b/0x3e0 [ 9.433497][ T197] CPU: 3 UID: 0 PID: 197 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.433501][ T197] Tainted: [W]=WARN [ 9.433502][ T197] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.433503][ T197] Call Trace: [ 9.433505][ T197] [ 9.433507][ T197] dump_stack_lvl+0x6f/0xa0 [ 9.433512][ T197] ? vprintk_emit+0x31b/0x3e0 [ 9.433515][ T197] __might_resched.cold+0x1fe/0x2c1 [ 9.433519][ T197] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.433523][ T197] ? __kmalloc_noprof+0xdb/0x760 [ 9.433528][ T197] __kmalloc_noprof+0x443/0x760 [ 9.433531][ T197] ? alloc_buf.isra.0+0x4b/0x260 [ 9.433536][ T197] ? do_raw_spin_unlock+0x59/0x250 [ 9.433539][ T197] alloc_buf.isra.0+0x4b/0x260 [ 9.433542][ T197] put_chars+0x1e1/0x2f0 [ 9.433545][ T197] ? __send_to_port+0x420/0x420 [ 9.433552][ T197] hvc_console_print+0x292/0x780 [ 9.433559][ T197] ? hvc_write+0x3a0/0x3a0 [ 9.433561][ T197] ? lock_acquire+0x13c/0x160 [ 9.433566][ T197] console_emit_next_record+0x22f/0x4c0 [ 9.433569][ T197] ? devkmsg_read+0x4b0/0x4b0 [ 9.433571][ T197] ? console_flush_one_record+0x106/0x710 [ 9.433574][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.433578][ T197] ? lock_acquire+0x13c/0x160 [ 9.433582][ T197] console_flush_one_record+0x46f/0x710 [ 9.433586][ T197] ? console_emit_next_record+0x4c0/0x4c0 [ 9.433588][ T197] ? __lock_acquire+0x518/0xc20 [ 9.433593][ T197] console_unlock+0xee/0x1f0 [ 9.433596][ T197] ? console_flush_one_record+0x710/0x710 [ 9.433598][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.433600][ T197] ? lock_acquire+0x60/0x160 [ 9.433604][ T197] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.433606][ T197] ? vprintk_emit+0x320/0x3e0 [ 9.433609][ T197] vprintk_emit+0x37c/0x3e0 [ 9.433613][ T197] ? wake_up_klogd_work_func+0x90/0x90 [ 9.433614][ T197] ? kasan_save_stack+0x3d/0x50 [ 9.433618][ T197] ? kasan_save_track+0x14/0x30 [ 9.433619][ T197] ? __kasan_kmalloc+0x7b/0x90 [ 9.433621][ T197] ? __kmalloc_cache_noprof+0x29a/0x620 [ 9.433623][ T197] ? hsr_add_port+0x1eb/0xb60 [ 9.433626][ T197] ? hsr_dev_finalize+0x841/0xcf0 [ 9.433628][ T197] ? hsr_newlink+0x3b9/0x930 [ 9.433632][ T197] _printk+0xc7/0x100 [ 9.433635][ T197] ? snapshot_read.cold+0x21/0x21 [ 9.433637][ T197] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.433641][ T197] ? netdev_name+0x43/0x60 [ 9.433644][ T197] ? __netdev_printk+0x17f/0x1d0 [ 9.433648][ T197] netdev_info+0xe2/0x116 [ 9.433650][ T197] ? netdev_notice+0x120/0x120 [ 9.433657][ T197] ? mutex_is_locked+0x1c/0x50 [ 9.433660][ T197] __dev_set_promiscuity.cold+0x95/0x104 [ 9.433664][ T197] netif_set_promiscuity+0x4c/0xc0 [ 9.433669][ T197] dev_set_promiscuity+0x9d/0x150 [ 9.433672][ T197] hsr_add_port+0x48c/0xb60 [ 9.433675][ T197] ? hsr_port_exists+0x60/0x60 [ 9.433678][ T197] ? timer_init_key+0x10d/0x280 [ 9.433684][ T197] hsr_dev_finalize+0x841/0xcf0 [ 9.433685][ T197] ? alloc_netdev_mqs+0xe10/0x14d0 [ 9.433690][ T197] ? alloc_netdev_mqs+0xf05/0x14d0 [ 9.433692][ T197] hsr_newlink+0x3b9/0x930 [ 9.433695][ T197] ? hsr_dellink+0x90/0x90 [ 9.433698][ T197] ? rtnl_create_link+0x169/0xf20 [ 9.433700][ T197] ? nla_strscpy+0xe3/0x180 [ 9.433704][ T197] rtnl_newlink_create+0x2d0/0x750 [ 9.433708][ T197] ? rtnl_create_link+0xf20/0xf20 [ 9.433709][ T197] ? __dev_get_by_name+0x12/0x50 [ 9.433712][ T197] ? rtnl_dev_get+0xd7/0x170 [ 9.433720][ T197] __rtnl_newlink+0x22b/0xa50 [ 9.433727][ T197] rtnl_newlink+0x9f1/0x11c0 [ 9.433732][ T197] ? rtnl_bridge_getlink+0x850/0x850 [ 9.433734][ T197] ? __lock_acquire+0x518/0xc20 [ 9.433740][ T197] ? __lock_release.isra.0+0x69/0x1a0 [ 9.433744][ T197] ? rtnl_bridge_getlink+0x850/0x850 [ 9.433746][ T197] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.433750][ T197] ? rtnl_link_fill+0x920/0x920 [ 9.433751][ T197] ? __lock_acquire+0x518/0xc20 [ 9.433756][ T197] ? lock_acquire.part.0+0xd4/0x280 [ 9.433757][ T197] ? find_held_lock+0x2b/0x80 [ 9.433761][ T197] netlink_rcv_skb+0x14e/0x3a0 [ 9.433764][ T197] ? rtnl_link_fill+0x920/0x920 [ 9.433767][ T197] ? netlink_ack+0xcf0/0xcf0 [ 9.433774][ T197] ? netlink_deliver_tap+0xc5/0x330 [ 9.433776][ T197] ? netlink_deliver_tap+0x13c/0x330 [ 9.433780][ T197] netlink_unicast+0x486/0x750 [ 9.433785][ T197] ? netlink_attachskb+0x810/0x810 [ 9.433788][ T197] ? __lock_acquire+0x518/0xc20 [ 9.433792][ T197] netlink_sendmsg+0x735/0xc60 [ 9.433796][ T197] ? netlink_unicast+0x750/0x750 [ 9.433800][ T197] ? __might_fault+0x97/0x140 [ 9.433805][ T197] ____sys_sendmsg+0x415/0x880 [ 9.433809][ T197] ? copy_msghdr_from_user+0x279/0x420 [ 9.433812][ T197] ? get_timestamp.constprop.0+0x390/0x390 [ 9.433813][ T197] ? move_addr_to_kernel+0x40/0x40 [ 9.433821][ T197] ___sys_sendmsg+0x14e/0x1d0 [ 9.433824][ T197] ? copy_msghdr_from_user+0x420/0x420 [ 9.433840][ T197] __sys_sendmsg+0x12c/0x1d0 [ 9.433843][ T197] ? __sys_sendmsg_sock+0x20/0x20 [ 9.433849][ T197] ? rcu_is_watching+0x16/0xd0 [ 9.433853][ T197] do_syscall_64+0xff/0x530 [ 9.433856][ T197] ? exc_page_fault+0xee/0x100 [ 9.433859][ T197] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.433860][ T197] RIP: 0033:0x7f6aa445454e [ 9.433864][ T197] 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 [ 9.433866][ T197] RSP: 002b:00007ffc26450440 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.433869][ T197] RAX: ffffffffffffffda RBX: 00007ffc26450bf0 RCX: 00007f6aa445454e [ 9.433870][ T197] RDX: 0000000000000000 RSI: 00007ffc264504f0 RDI: 0000000000000005 [ 9.433871][ T197] RBP: 00007ffc26450450 R08: 0000000000000000 R09: 0000000000000000 [ 9.433872][ T197] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91251f [ 9.433873][ T197] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc26450bc0 [ 9.433880][ T197] [ 9.469302][ T197] vethB: entered promiscuous mode [ 9.485961][ T197] ip (197) used greatest stack depth: 23336 bytes left [ 9.514165][ T198] vethA: entered promiscuous mode [ 9.514872][ T198] vethB: entered promiscuous mode [ 9.544304][ T199] vethA: entered promiscuous mode [ 9.545032][ T199] vethB: entered promiscuous mode [ 9.734177][ T205] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 9.734735][ T205] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 9.819665][ T209] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 9.820129][ T209] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 9.911863][ T212] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 15.878879][ T12] vethA: left promiscuous mode [ 15.878924][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.878926][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 15.878927][ T12] preempt_count: 1, expected: 0 [ 15.878928][ T12] RCU nest depth: 0, expected: 0 [ 15.878930][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 15.878932][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 15.878943][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 15.878947][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 15.878953][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 15.878956][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.878961][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.878965][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.878969][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.878972][ T12] irq event stamp: 11342 [ 15.878973][ T12] hardirqs last enabled at (11341): [] __down_trylock_console_sem+0x86/0xa0 [ 15.878975][ T12] hardirqs last disabled at (11342): [] console_emit_next_record+0x3d4/0x4c0 [ 15.878977][ T12] softirqs last enabled at (11288): [] handle_softirqs+0x67c/0x900 [ 15.878980][ T12] softirqs last disabled at (10173): [] __irq_exit_rcu+0x145/0x1c0 [ 15.878982][ T12] Preemption disabled at: [ 15.878983][ T12] [] vprintk_emit+0x31b/0x3e0 [ 15.878989][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.878992][ T12] Tainted: [W]=WARN [ 15.878994][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.878995][ T12] Workqueue: netns cleanup_net [ 15.878998][ T12] Call Trace: [ 15.879000][ T12] [ 15.879002][ T12] dump_stack_lvl+0x6f/0xa0 [ 15.879008][ T12] ? vprintk_emit+0x31b/0x3e0 [ 15.879010][ T12] __might_resched.cold+0x1fe/0x2c1 [ 15.879014][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.879018][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 15.879023][ T12] __kmalloc_noprof+0x443/0x760 [ 15.879026][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 15.879031][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 15.879036][ T12] alloc_buf.isra.0+0x4b/0x260 [ 15.879040][ T12] put_chars+0x1e1/0x2f0 [ 15.879042][ T12] ? check_prev_add+0xef/0xe90 [ 15.879044][ T12] ? __send_to_port+0x420/0x420 [ 15.879048][ T12] ? validate_chain+0x34a/0xc20 [ 15.879053][ T12] hvc_console_print+0x292/0x780 [ 15.879060][ T12] ? hvc_write+0x3a0/0x3a0 [ 15.879062][ T12] ? rcu_is_watching+0x16/0xd0 [ 15.879066][ T12] ? lock_acquire+0x13c/0x160 [ 15.879070][ T12] console_emit_next_record+0x22f/0x4c0 [ 15.879074][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 15.879076][ T12] ? console_flush_one_record+0x106/0x710 [ 15.879079][ T12] ? rcu_is_watching+0x16/0xd0 [ 15.879082][ T12] ? lock_acquire+0x13c/0x160 [ 15.879086][ T12] console_flush_one_record+0x46f/0x710 [ 15.879090][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 15.879092][ T12] ? __lock_acquire+0x518/0xc20 [ 15.879097][ T12] console_unlock+0xee/0x1f0 [ 15.879100][ T12] ? console_flush_one_record+0x710/0x710 [ 15.879102][ T12] ? rcu_is_watching+0x16/0xd0 [ 15.879104][ T12] ? lock_acquire+0x60/0x160 [ 15.879108][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.879109][ T12] ? vprintk_emit+0x320/0x3e0 [ 15.879113][ T12] vprintk_emit+0x37c/0x3e0 [ 15.879117][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 15.879119][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 15.879121][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 15.879124][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 15.879126][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 15.879129][ T12] _printk+0xc7/0x100 [ 15.879133][ T12] ? snapshot_read.cold+0x21/0x21 [ 15.879136][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 15.879139][ T12] ? netdev_name+0x43/0x60 [ 15.879142][ T12] ? __netdev_printk+0x17f/0x1d0 [ 15.879146][ T12] netdev_info+0xe2/0x116 [ 15.879148][ T12] ? netdev_notice+0x120/0x120 [ 15.879152][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 15.879153][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 15.879155][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 15.879159][ T12] ? mutex_is_locked+0x1c/0x50 [ 15.879163][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 15.879165][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 15.879168][ T12] netif_set_promiscuity+0x4c/0xc0 [ 15.879172][ T12] dev_set_promiscuity+0x9d/0x150 [ 15.879175][ T12] hsr_del_port+0x39d/0x540 [ 15.879180][ T12] hsr_del_ports+0x24/0x80 [ 15.879183][ T12] hsr_dellink+0x5d/0x90 [ 15.879185][ T12] default_device_exit_batch+0x19d/0x600 [ 15.879189][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 15.879192][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.879194][ T12] ? mutex_is_locked+0x1c/0x50 [ 15.879202][ T12] ops_undo_list+0x2ce/0x8f0 [ 15.879206][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 15.879208][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 15.879209][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 15.879212][ T12] ? idr_destroy+0x121/0x250 [ 15.879217][ T12] cleanup_net+0x431/0x890 [ 15.879220][ T12] ? net_passive_dec+0x230/0x230 [ 15.879224][ T12] ? lock_acquire+0x13c/0x160 [ 15.879226][ T12] ? rcu_is_watching+0x16/0xd0 [ 15.879230][ T12] process_one_work+0xe3e/0x1560 [ 15.879236][ T12] ? __queue_delayed_work+0x470/0x470 [ 15.879239][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 15.879247][ T12] worker_thread+0x4f1/0xd60 [ 15.879254][ T12] ? rescuer_thread+0x1340/0x1340 [ 15.879256][ T12] kthread+0x367/0x460 [ 15.879258][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.879261][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 15.879264][ T12] ret_from_fork+0x474/0x6b0 [ 15.879268][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 15.879271][ T12] ? __switch_to+0x5a3/0xe00 [ 15.879274][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 15.879277][ T12] ret_from_fork_asm+0x11/0x20 [ 15.879286][ T12] [ 15.908359][ T12] vethB: left promiscuous mode [ 15.917815][ T12] vethA (unregistering): left promiscuous mode [ 15.920748][ T12] vethB (unregistering): left promiscuous mode [ 16.135793][ T12] vethA: left promiscuous mode [ 16.142468][ T12] vethB (unregistering): left promiscuous mode [ 16.908230][ T281] vethA: entered promiscuous mode [ 16.908246][ T281] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.908248][ T281] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 281, name: ip [ 16.908249][ T281] preempt_count: 1, expected: 0 [ 16.908250][ T281] RCU nest depth: 0, expected: 0 [ 16.908252][ T281] locks held by ip/281: 6, last CPU#2: [ 16.908254][ T281] #0: ffffffffba8f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 16.908265][ T281] #1: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 16.908269][ T281] #2: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.908275][ T281] #3: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.908279][ T281] #4: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.908283][ T281] #5: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.908286][ T281] irq event stamp: 17016 [ 16.908287][ T281] hardirqs last enabled at (17015): [] __down_trylock_console_sem+0x86/0xa0 [ 16.908290][ T281] hardirqs last disabled at (17016): [] console_emit_next_record+0x3d4/0x4c0 [ 16.908292][ T281] softirqs last enabled at (16930): [] __alloc_skb+0x4c2/0x5f0 [ 16.908295][ T281] softirqs last disabled at (16928): [] __alloc_skb+0x4c2/0x5f0 [ 16.908297][ T281] Preemption disabled at: [ 16.908298][ T281] [] vprintk_emit+0x31b/0x3e0 [ 16.908304][ T281] CPU: 2 UID: 0 PID: 281 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.908307][ T281] Tainted: [W]=WARN [ 16.908308][ T281] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.908310][ T281] Call Trace: [ 16.908311][ T281] [ 16.908312][ T281] dump_stack_lvl+0x6f/0xa0 [ 16.908318][ T281] ? vprintk_emit+0x31b/0x3e0 [ 16.908320][ T281] __might_resched.cold+0x1fe/0x2c1 [ 16.908325][ T281] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.908329][ T281] ? __kmalloc_noprof+0xdb/0x760 [ 16.908334][ T281] __kmalloc_noprof+0x443/0x760 [ 16.908336][ T281] ? alloc_buf.isra.0+0x4b/0x260 [ 16.908342][ T281] ? do_raw_spin_unlock+0x59/0x250 [ 16.908344][ T281] alloc_buf.isra.0+0x4b/0x260 [ 16.908347][ T281] put_chars+0x1e1/0x2f0 [ 16.908351][ T281] ? __send_to_port+0x420/0x420 [ 16.908357][ T281] hvc_console_print+0x292/0x780 [ 16.908363][ T281] ? hvc_write+0x3a0/0x3a0 [ 16.908366][ T281] ? lock_acquire+0x13c/0x160 [ 16.908370][ T281] console_emit_next_record+0x22f/0x4c0 [ 16.908374][ T281] ? devkmsg_read+0x4b0/0x4b0 [ 16.908375][ T281] ? console_flush_one_record+0x106/0x710 [ 16.908379][ T281] ? rcu_is_watching+0x16/0xd0 [ 16.908383][ T281] ? lock_acquire+0x13c/0x160 [ 16.908386][ T281] console_flush_one_record+0x46f/0x710 [ 16.908390][ T281] ? console_emit_next_record+0x4c0/0x4c0 [ 16.908392][ T281] ? __lock_acquire+0x518/0xc20 [ 16.908397][ T281] console_unlock+0xee/0x1f0 [ 16.908400][ T281] ? console_flush_one_record+0x710/0x710 [ 16.908402][ T281] ? rcu_is_watching+0x16/0xd0 [ 16.908404][ T281] ? lock_acquire+0x60/0x160 [ 16.908408][ T281] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.908409][ T281] ? vprintk_emit+0x320/0x3e0 [ 16.908412][ T281] vprintk_emit+0x37c/0x3e0 [ 16.908416][ T281] ? wake_up_klogd_work_func+0x90/0x90 [ 16.908418][ T281] ? kasan_save_stack+0x3d/0x50 [ 16.908421][ T281] ? kasan_save_track+0x14/0x30 [ 16.908423][ T281] ? __kasan_kmalloc+0x7b/0x90 [ 16.908424][ T281] ? __kmalloc_cache_noprof+0x29a/0x620 [ 16.908426][ T281] ? hsr_add_port+0x1eb/0xb60 [ 16.908429][ T281] ? hsr_dev_finalize+0x841/0xcf0 [ 16.908431][ T281] ? hsr_newlink+0x3b9/0x930 [ 16.908434][ T281] _printk+0xc7/0x100 [ 16.908438][ T281] ? snapshot_read.cold+0x21/0x21 [ 16.908439][ T281] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.908444][ T281] ? netdev_name+0x43/0x60 [ 16.908447][ T281] ? __netdev_printk+0x17f/0x1d0 [ 16.908450][ T281] netdev_info+0xe2/0x116 [ 16.908453][ T281] ? netdev_notice+0x120/0x120 [ 16.908459][ T281] ? mutex_is_locked+0x1c/0x50 [ 16.908463][ T281] __dev_set_promiscuity.cold+0x95/0x104 [ 16.908467][ T281] netif_set_promiscuity+0x4c/0xc0 [ 16.908472][ T281] dev_set_promiscuity+0x9d/0x150 [ 16.908475][ T281] hsr_add_port+0x48c/0xb60 [ 16.908478][ T281] ? hsr_port_exists+0x60/0x60 [ 16.908481][ T281] ? timer_init_key+0x10d/0x280 [ 16.908487][ T281] hsr_dev_finalize+0x841/0xcf0 [ 16.908488][ T281] ? alloc_netdev_mqs+0xe10/0x14d0 [ 16.908493][ T281] ? alloc_netdev_mqs+0xf05/0x14d0 [ 16.908495][ T281] hsr_newlink+0x3b9/0x930 [ 16.908497][ T281] ? hsr_dellink+0x90/0x90 [ 16.908500][ T281] ? rtnl_create_link+0x169/0xf20 [ 16.908502][ T281] ? nla_strscpy+0xe3/0x180 [ 16.908506][ T281] rtnl_newlink_create+0x2d0/0x750 [ 16.908510][ T281] ? rtnl_create_link+0xf20/0xf20 [ 16.908511][ T281] ? __dev_get_by_name+0x12/0x50 [ 16.908514][ T281] ? rtnl_dev_get+0xd7/0x170 [ 16.908521][ T281] __rtnl_newlink+0x22b/0xa50 [ 16.908528][ T281] rtnl_newlink+0x9f1/0x11c0 [ 16.908533][ T281] ? rtnl_bridge_getlink+0x850/0x850 [ 16.908535][ T281] ? __lock_acquire+0x518/0xc20 [ 16.908541][ T281] ? __lock_release.isra.0+0x69/0x1a0 [ 16.908545][ T281] ? rtnl_bridge_getlink+0x850/0x850 [ 16.908547][ T281] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 16.908550][ T281] ? rtnl_link_fill+0x920/0x920 [ 16.908552][ T281] ? __lock_acquire+0x518/0xc20 [ 16.908556][ T281] ? lock_acquire.part.0+0xd4/0x280 [ 16.908558][ T281] ? find_held_lock+0x2b/0x80 [ 16.908561][ T281] netlink_rcv_skb+0x14e/0x3a0 [ 16.908564][ T281] ? rtnl_link_fill+0x920/0x920 [ 16.908567][ T281] ? netlink_ack+0xcf0/0xcf0 [ 16.908574][ T281] ? netlink_deliver_tap+0xc5/0x330 [ 16.908576][ T281] ? netlink_deliver_tap+0x13c/0x330 [ 16.908580][ T281] netlink_unicast+0x486/0x750 [ 16.908584][ T281] ? netlink_attachskb+0x810/0x810 [ 16.908587][ T281] ? __lock_acquire+0x518/0xc20 [ 16.908591][ T281] netlink_sendmsg+0x735/0xc60 [ 16.908595][ T281] ? netlink_unicast+0x750/0x750 [ 16.908599][ T281] ? __might_fault+0x97/0x140 [ 16.908605][ T281] ____sys_sendmsg+0x415/0x880 [ 16.908608][ T281] ? copy_msghdr_from_user+0x279/0x420 [ 16.908610][ T281] ? get_timestamp.constprop.0+0x390/0x390 [ 16.908612][ T281] ? move_addr_to_kernel+0x40/0x40 [ 16.908619][ T281] ___sys_sendmsg+0x14e/0x1d0 [ 16.908622][ T281] ? copy_msghdr_from_user+0x420/0x420 [ 16.908637][ T281] __sys_sendmsg+0x12c/0x1d0 [ 16.908640][ T281] ? __sys_sendmsg_sock+0x20/0x20 [ 16.908646][ T281] ? rcu_is_watching+0x16/0xd0 [ 16.908650][ T281] do_syscall_64+0xff/0x530 [ 16.908653][ T281] ? exc_page_fault+0xee/0x100 [ 16.908656][ T281] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.908657][ T281] RIP: 0033:0x7f00e956454e [ 16.908661][ T281] 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 [ 16.908663][ T281] RSP: 002b:00007ffdad4edec0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 16.908666][ T281] RAX: ffffffffffffffda RBX: 00007ffdad4ee670 RCX: 00007f00e956454e [ 16.908667][ T281] RDX: 0000000000000000 RSI: 00007ffdad4edf70 RDI: 0000000000000005 [ 16.908668][ T281] RBP: 00007ffdad4eded0 R08: 0000000000000000 R09: 0000000000000000 [ 16.908669][ T281] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a912527 [ 16.908670][ T281] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdad4ee640 [ 16.908676][ T281] [ 16.950104][ T281] vethB: entered promiscuous mode [ 16.980476][ T282] vethA: entered promiscuous mode [ 16.981194][ T282] vethB: entered promiscuous mode [ 17.009108][ T283] vethA: entered promiscuous mode [ 17.009836][ T283] vethB: entered promiscuous mode [ 17.184925][ T289] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 17.185368][ T289] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 17.275009][ T292] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 17.275553][ T292] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 17.365945][ T295] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 23.029376][ T12] vethA: left promiscuous mode [ 23.029395][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.029397][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 23.029399][ T12] preempt_count: 1, expected: 0 [ 23.029400][ T12] RCU nest depth: 0, expected: 0 [ 23.029401][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 23.029403][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 23.029415][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 23.029419][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 23.029425][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 23.029430][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.029435][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.029438][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.029442][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 23.029446][ T12] irq event stamp: 105714 [ 23.029447][ T12] hardirqs last enabled at (105713): [] __down_trylock_console_sem+0x86/0xa0 [ 23.029449][ T12] hardirqs last disabled at (105714): [] console_emit_next_record+0x3d4/0x4c0 [ 23.029451][ T12] softirqs last enabled at (105584): [] tcp_close+0x2b/0xb0 [ 23.029455][ T12] softirqs last disabled at (105582): [] release_sock+0x21/0x240 [ 23.029458][ T12] Preemption disabled at: [ 23.029459][ T12] [] vprintk_emit+0x31b/0x3e0 [ 23.029465][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.029468][ T12] Tainted: [W]=WARN [ 23.029469][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.029471][ T12] Workqueue: netns cleanup_net [ 23.029474][ T12] Call Trace: [ 23.029476][ T12] [ 23.029478][ T12] dump_stack_lvl+0x6f/0xa0 [ 23.029484][ T12] ? vprintk_emit+0x31b/0x3e0 [ 23.029486][ T12] __might_resched.cold+0x1fe/0x2c1 [ 23.029491][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.029495][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 23.029500][ T12] __kmalloc_noprof+0x443/0x760 [ 23.029503][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 23.029509][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 23.029511][ T12] alloc_buf.isra.0+0x4b/0x260 [ 23.029515][ T12] put_chars+0x1e1/0x2f0 [ 23.029518][ T12] ? __send_to_port+0x420/0x420 [ 23.029521][ T12] ? validate_chain+0x38b/0xc20 [ 23.029526][ T12] hvc_console_print+0x292/0x780 [ 23.029533][ T12] ? hvc_write+0x3a0/0x3a0 [ 23.029536][ T12] ? rcu_is_watching+0x16/0xd0 [ 23.029541][ T12] ? lock_acquire+0x13c/0x160 [ 23.029545][ T12] console_emit_next_record+0x22f/0x4c0 [ 23.029549][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 23.029551][ T12] ? console_flush_one_record+0x106/0x710 [ 23.029554][ T12] ? rcu_is_watching+0x16/0xd0 [ 23.029557][ T12] ? lock_acquire+0x13c/0x160 [ 23.029561][ T12] console_flush_one_record+0x46f/0x710 [ 23.029565][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 23.029567][ T12] ? __lock_acquire+0x518/0xc20 [ 23.029572][ T12] console_unlock+0xee/0x1f0 [ 23.029576][ T12] ? console_flush_one_record+0x710/0x710 [ 23.029577][ T12] ? rcu_is_watching+0x16/0xd0 [ 23.029580][ T12] ? lock_acquire+0x60/0x160 [ 23.029584][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.029585][ T12] ? vprintk_emit+0x320/0x3e0 [ 23.029589][ T12] vprintk_emit+0x37c/0x3e0 [ 23.029593][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 23.029596][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 23.029597][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 23.029600][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 23.029602][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 23.029606][ T12] _printk+0xc7/0x100 [ 23.029609][ T12] ? snapshot_read.cold+0x21/0x21 [ 23.029613][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 23.029615][ T12] ? netdev_name+0x43/0x60 [ 23.029619][ T12] ? __netdev_printk+0x17f/0x1d0 [ 23.029622][ T12] netdev_info+0xe2/0x116 [ 23.029625][ T12] ? netdev_notice+0x120/0x120 [ 23.029629][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 23.029630][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 23.029632][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 23.029636][ T12] ? mutex_is_locked+0x1c/0x50 [ 23.029640][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 23.029643][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 23.029646][ T12] netif_set_promiscuity+0x4c/0xc0 [ 23.029650][ T12] dev_set_promiscuity+0x9d/0x150 [ 23.029653][ T12] hsr_del_port+0x39d/0x540 [ 23.029659][ T12] hsr_del_ports+0x24/0x80 [ 23.029661][ T12] hsr_dellink+0x5d/0x90 [ 23.029664][ T12] default_device_exit_batch+0x19d/0x600 [ 23.029668][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 23.029670][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.029673][ T12] ? mutex_is_locked+0x1c/0x50 [ 23.029677][ T12] ops_undo_list+0x2ce/0x8f0 [ 23.029681][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 23.029683][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 23.029685][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 23.029688][ T12] ? idr_destroy+0x121/0x250 [ 23.029693][ T12] cleanup_net+0x431/0x890 [ 23.029696][ T12] ? net_passive_dec+0x230/0x230 [ 23.029700][ T12] ? lock_acquire+0x13c/0x160 [ 23.029702][ T12] ? rcu_is_watching+0x16/0xd0 [ 23.029706][ T12] process_one_work+0xe3e/0x1560 [ 23.029713][ T12] ? __queue_delayed_work+0x470/0x470 [ 23.029716][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 23.029724][ T12] worker_thread+0x4f1/0xd60 [ 23.029731][ T12] ? rescuer_thread+0x1340/0x1340 [ 23.029733][ T12] kthread+0x367/0x460 [ 23.029736][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 23.029739][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 23.029742][ T12] ret_from_fork+0x474/0x6b0 [ 23.029746][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 23.029749][ T12] ? __switch_to+0x5a3/0xe00 [ 23.029753][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 23.029755][ T12] ret_from_fork_asm+0x11/0x20 [ 23.029764][ T12] [ 23.057389][ T12] vethB: left promiscuous mode [ 23.077553][ T12] vethA (unregistering): left promiscuous mode [ 23.081669][ T12] vethB (unregistering): left promiscuous mode [ 23.307867][ T12] vethA: left promiscuous mode [ 23.315342][ T12] vethB (unregistering): left promiscuous mode [ 24.080792][ T364] vethA: entered promiscuous mode [ 24.080810][ T364] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.080812][ T364] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 364, name: ip [ 24.080813][ T364] preempt_count: 1, expected: 0 [ 24.080814][ T364] RCU nest depth: 0, expected: 0 [ 24.080816][ T364] locks held by ip/364: 6, last CPU#2: [ 24.080818][ T364] #0: ffffffffba8f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 24.080830][ T364] #1: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 24.080834][ T364] #2: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.080840][ T364] #3: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.080844][ T364] #4: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.080848][ T364] #5: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 24.080851][ T364] irq event stamp: 17622 [ 24.080852][ T364] hardirqs last enabled at (17621): [] __down_trylock_console_sem+0x86/0xa0 [ 24.080855][ T364] hardirqs last disabled at (17622): [] console_emit_next_record+0x3d4/0x4c0 [ 24.080857][ T364] softirqs last enabled at (17538): [] __alloc_skb+0x4c2/0x5f0 [ 24.080860][ T364] softirqs last disabled at (17536): [] __alloc_skb+0x4c2/0x5f0 [ 24.080863][ T364] Preemption disabled at: [ 24.080863][ T364] [] vprintk_emit+0x31b/0x3e0 [ 24.080869][ T364] CPU: 2 UID: 0 PID: 364 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.080873][ T364] Tainted: [W]=WARN [ 24.080874][ T364] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.080876][ T364] Call Trace: [ 24.080877][ T364] [ 24.080879][ T364] dump_stack_lvl+0x6f/0xa0 [ 24.080884][ T364] ? vprintk_emit+0x31b/0x3e0 [ 24.080887][ T364] __might_resched.cold+0x1fe/0x2c1 [ 24.080891][ T364] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.080895][ T364] ? __kmalloc_noprof+0xdb/0x760 [ 24.080901][ T364] __kmalloc_noprof+0x443/0x760 [ 24.080903][ T364] ? alloc_buf.isra.0+0x4b/0x260 [ 24.080909][ T364] ? do_raw_spin_unlock+0x59/0x250 [ 24.080912][ T364] alloc_buf.isra.0+0x4b/0x260 [ 24.080915][ T364] put_chars+0x1e1/0x2f0 [ 24.080918][ T364] ? __send_to_port+0x420/0x420 [ 24.080925][ T364] hvc_console_print+0x292/0x780 [ 24.080932][ T364] ? hvc_write+0x3a0/0x3a0 [ 24.080935][ T364] ? lock_acquire+0x13c/0x160 [ 24.080939][ T364] console_emit_next_record+0x22f/0x4c0 [ 24.080943][ T364] ? devkmsg_read+0x4b0/0x4b0 [ 24.080945][ T364] ? console_flush_one_record+0x106/0x710 [ 24.080948][ T364] ? rcu_is_watching+0x16/0xd0 [ 24.080953][ T364] ? lock_acquire+0x13c/0x160 [ 24.080957][ T364] console_flush_one_record+0x46f/0x710 [ 24.080961][ T364] ? console_emit_next_record+0x4c0/0x4c0 [ 24.080963][ T364] ? __lock_acquire+0x518/0xc20 [ 24.080968][ T364] console_unlock+0xee/0x1f0 [ 24.080971][ T364] ? console_flush_one_record+0x710/0x710 [ 24.080973][ T364] ? rcu_is_watching+0x16/0xd0 [ 24.080975][ T364] ? lock_acquire+0x60/0x160 [ 24.080979][ T364] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.080981][ T364] ? vprintk_emit+0x320/0x3e0 [ 24.080984][ T364] vprintk_emit+0x37c/0x3e0 [ 24.080988][ T364] ? wake_up_klogd_work_func+0x90/0x90 [ 24.080990][ T364] ? kasan_save_stack+0x3d/0x50 [ 24.080993][ T364] ? kasan_save_track+0x14/0x30 [ 24.080995][ T364] ? __kasan_kmalloc+0x7b/0x90 [ 24.080997][ T364] ? __kmalloc_cache_noprof+0x29a/0x620 [ 24.080998][ T364] ? hsr_add_port+0x1eb/0xb60 [ 24.081002][ T364] ? hsr_dev_finalize+0x841/0xcf0 [ 24.081004][ T364] ? hsr_newlink+0x3b9/0x930 [ 24.081008][ T364] _printk+0xc7/0x100 [ 24.081011][ T364] ? snapshot_read.cold+0x21/0x21 [ 24.081013][ T364] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.081017][ T364] ? netdev_name+0x43/0x60 [ 24.081021][ T364] ? __netdev_printk+0x17f/0x1d0 [ 24.081024][ T364] netdev_info+0xe2/0x116 [ 24.081027][ T364] ? netdev_notice+0x120/0x120 [ 24.081036][ T364] ? mutex_is_locked+0x1c/0x50 [ 24.081041][ T364] __dev_set_promiscuity.cold+0x95/0x104 [ 24.081046][ T364] netif_set_promiscuity+0x4c/0xc0 [ 24.081051][ T364] dev_set_promiscuity+0x9d/0x150 [ 24.081054][ T364] hsr_add_port+0x48c/0xb60 [ 24.081057][ T364] ? hsr_port_exists+0x60/0x60 [ 24.081061][ T364] ? timer_init_key+0x10d/0x280 [ 24.081066][ T364] hsr_dev_finalize+0x841/0xcf0 [ 24.081068][ T364] ? alloc_netdev_mqs+0xe10/0x14d0 [ 24.081073][ T364] ? alloc_netdev_mqs+0xf05/0x14d0 [ 24.081075][ T364] hsr_newlink+0x3b9/0x930 [ 24.081078][ T364] ? hsr_dellink+0x90/0x90 [ 24.081080][ T364] ? rtnl_create_link+0x169/0xf20 [ 24.081082][ T364] ? nla_strscpy+0xe3/0x180 [ 24.081087][ T364] rtnl_newlink_create+0x2d0/0x750 [ 24.081091][ T364] ? rtnl_create_link+0xf20/0xf20 [ 24.081093][ T364] ? __dev_get_by_name+0x12/0x50 [ 24.081095][ T364] ? rtnl_dev_get+0xd7/0x170 [ 24.081104][ T364] __rtnl_newlink+0x22b/0xa50 [ 24.081110][ T364] rtnl_newlink+0x9f1/0x11c0 [ 24.081116][ T364] ? rtnl_bridge_getlink+0x850/0x850 [ 24.081118][ T364] ? __lock_acquire+0x518/0xc20 [ 24.081125][ T364] ? __lock_release.isra.0+0x69/0x1a0 [ 24.081129][ T364] ? rtnl_bridge_getlink+0x850/0x850 [ 24.081131][ T364] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 24.081134][ T364] ? rtnl_link_fill+0x920/0x920 [ 24.081136][ T364] ? __lock_acquire+0x518/0xc20 [ 24.081140][ T364] ? lock_acquire.part.0+0xd4/0x280 [ 24.081142][ T364] ? find_held_lock+0x2b/0x80 [ 24.081146][ T364] netlink_rcv_skb+0x14e/0x3a0 [ 24.081149][ T364] ? rtnl_link_fill+0x920/0x920 [ 24.081153][ T364] ? netlink_ack+0xcf0/0xcf0 [ 24.081159][ T364] ? netlink_deliver_tap+0xc5/0x330 [ 24.081161][ T364] ? netlink_deliver_tap+0x13c/0x330 [ 24.081166][ T364] netlink_unicast+0x486/0x750 [ 24.081170][ T364] ? netlink_attachskb+0x810/0x810 [ 24.081173][ T364] ? __lock_acquire+0x518/0xc20 [ 24.081178][ T364] netlink_sendmsg+0x735/0xc60 [ 24.081182][ T364] ? netlink_unicast+0x750/0x750 [ 24.081186][ T364] ? __might_fault+0x97/0x140 [ 24.081192][ T364] ____sys_sendmsg+0x415/0x880 [ 24.081195][ T364] ? copy_msghdr_from_user+0x279/0x420 [ 24.081198][ T364] ? get_timestamp.constprop.0+0x390/0x390 [ 24.081199][ T364] ? move_addr_to_kernel+0x40/0x40 [ 24.081207][ T364] ___sys_sendmsg+0x14e/0x1d0 [ 24.081210][ T364] ? copy_msghdr_from_user+0x420/0x420 [ 24.081226][ T364] __sys_sendmsg+0x12c/0x1d0 [ 24.081230][ T364] ? __sys_sendmsg_sock+0x20/0x20 [ 24.081236][ T364] ? fpregs_restore_userregs+0x14b/0x300 [ 24.081239][ T364] ? rcu_is_watching+0x16/0xd0 [ 24.081243][ T364] do_syscall_64+0xff/0x530 [ 24.081246][ T364] ? exc_page_fault+0xee/0x100 [ 24.081249][ T364] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.081250][ T364] RIP: 0033:0x7fe27872d54e [ 24.081254][ T364] 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 [ 24.081260][ T364] RSP: 002b:00007fff8914c130 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 24.081262][ T364] RAX: ffffffffffffffda RBX: 00007fff8914c8e0 RCX: 00007fe27872d54e [ 24.081264][ T364] RDX: 0000000000000000 RSI: 00007fff8914c1e0 RDI: 0000000000000005 [ 24.081265][ T364] RBP: 00007fff8914c140 R08: 0000000000000000 R09: 0000000000000000 [ 24.081266][ T364] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91252e [ 24.081267][ T364] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff8914c8b0 [ 24.081274][ T364] [ 24.121381][ T364] vethB: entered promiscuous mode [ 24.158344][ T365] vethA: entered promiscuous mode [ 24.164757][ T365] vethB: entered promiscuous mode [ 24.194623][ T366] vethA: entered promiscuous mode [ 24.195434][ T366] vethB: entered promiscuous mode [ 24.384803][ T372] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 24.386123][ T372] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 24.466629][ T375] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 24.467025][ T375] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 24.572244][ T379] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 31.918865][ T12] vethA: left promiscuous mode [ 31.918885][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.918887][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 31.918888][ T12] preempt_count: 1, expected: 0 [ 31.918889][ T12] RCU nest depth: 0, expected: 0 [ 31.918891][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 31.918893][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 31.918905][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 31.918909][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 31.918915][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 31.918919][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.918923][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.918927][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.918930][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 31.918934][ T12] irq event stamp: 205422 [ 31.918935][ T12] hardirqs last enabled at (205421): [] __down_trylock_console_sem+0x86/0xa0 [ 31.918937][ T12] hardirqs last disabled at (205422): [] console_emit_next_record+0x3d4/0x4c0 [ 31.918939][ T12] softirqs last enabled at (205292): [] tcp_close+0x2b/0xb0 [ 31.918943][ T12] softirqs last disabled at (205290): [] release_sock+0x21/0x240 [ 31.918946][ T12] Preemption disabled at: [ 31.918946][ T12] [] vprintk_emit+0x31b/0x3e0 [ 31.918952][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.918955][ T12] Tainted: [W]=WARN [ 31.918957][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.918958][ T12] Workqueue: netns cleanup_net [ 31.918961][ T12] Call Trace: [ 31.918963][ T12] [ 31.918965][ T12] dump_stack_lvl+0x6f/0xa0 [ 31.918970][ T12] ? vprintk_emit+0x31b/0x3e0 [ 31.918973][ T12] __might_resched.cold+0x1fe/0x2c1 [ 31.918977][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.918981][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 31.918987][ T12] __kmalloc_noprof+0x443/0x760 [ 31.918989][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 31.918996][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 31.918999][ T12] alloc_buf.isra.0+0x4b/0x260 [ 31.919003][ T12] put_chars+0x1e1/0x2f0 [ 31.919006][ T12] ? __send_to_port+0x420/0x420 [ 31.919010][ T12] ? validate_chain+0x38b/0xc20 [ 31.919016][ T12] hvc_console_print+0x292/0x780 [ 31.919025][ T12] ? hvc_write+0x3a0/0x3a0 [ 31.919028][ T12] ? rcu_is_watching+0x16/0xd0 [ 31.919038][ T12] ? lock_acquire+0x13c/0x160 [ 31.919044][ T12] console_emit_next_record+0x22f/0x4c0 [ 31.919049][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 31.919051][ T12] ? console_flush_one_record+0x106/0x710 [ 31.919055][ T12] ? rcu_is_watching+0x16/0xd0 [ 31.919058][ T12] ? lock_acquire+0x13c/0x160 [ 31.919063][ T12] console_flush_one_record+0x46f/0x710 [ 31.919067][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 31.919069][ T12] ? __lock_acquire+0x518/0xc20 [ 31.919075][ T12] console_unlock+0xee/0x1f0 [ 31.919078][ T12] ? console_flush_one_record+0x710/0x710 [ 31.919080][ T12] ? rcu_is_watching+0x16/0xd0 [ 31.919082][ T12] ? lock_acquire+0x60/0x160 [ 31.919086][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.919088][ T12] ? vprintk_emit+0x320/0x3e0 [ 31.919092][ T12] vprintk_emit+0x37c/0x3e0 [ 31.919096][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 31.919098][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 31.919100][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 31.919103][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 31.919105][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 31.919108][ T12] _printk+0xc7/0x100 [ 31.919112][ T12] ? snapshot_read.cold+0x21/0x21 [ 31.919115][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 31.919118][ T12] ? netdev_name+0x43/0x60 [ 31.919121][ T12] ? __netdev_printk+0x17f/0x1d0 [ 31.919124][ T12] netdev_info+0xe2/0x116 [ 31.919127][ T12] ? netdev_notice+0x120/0x120 [ 31.919130][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 31.919131][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 31.919134][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 31.919137][ T12] ? mutex_is_locked+0x1c/0x50 [ 31.919141][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 31.919144][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 31.919147][ T12] netif_set_promiscuity+0x4c/0xc0 [ 31.919151][ T12] dev_set_promiscuity+0x9d/0x150 [ 31.919154][ T12] hsr_del_port+0x39d/0x540 [ 31.919159][ T12] hsr_del_ports+0x24/0x80 [ 31.919162][ T12] hsr_dellink+0x5d/0x90 [ 31.919164][ T12] default_device_exit_batch+0x19d/0x600 [ 31.919168][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 31.919171][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.919173][ T12] ? mutex_is_locked+0x1c/0x50 [ 31.919177][ T12] ops_undo_list+0x2ce/0x8f0 [ 31.919181][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 31.919183][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 31.919184][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 31.919188][ T12] ? idr_destroy+0x121/0x250 [ 31.919192][ T12] cleanup_net+0x431/0x890 [ 31.919196][ T12] ? net_passive_dec+0x230/0x230 [ 31.919200][ T12] ? lock_acquire+0x13c/0x160 [ 31.919202][ T12] ? rcu_is_watching+0x16/0xd0 [ 31.919206][ T12] process_one_work+0xe3e/0x1560 [ 31.919212][ T12] ? __queue_delayed_work+0x470/0x470 [ 31.919215][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 31.919223][ T12] worker_thread+0x4f1/0xd60 [ 31.919230][ T12] ? rescuer_thread+0x1340/0x1340 [ 31.919232][ T12] kthread+0x367/0x460 [ 31.919235][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 31.919238][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 31.919241][ T12] ret_from_fork+0x474/0x6b0 [ 31.919245][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 31.919248][ T12] ? __switch_to+0x5a3/0xe00 [ 31.919251][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 31.919254][ T12] ret_from_fork_asm+0x11/0x20 [ 31.919262][ T12] [ 31.945407][ T12] vethB: left promiscuous mode [ 31.961583][ T12] vethA (unregistering): left promiscuous mode [ 31.966880][ T12] vethB (unregistering): left promiscuous mode [ 32.198590][ T12] vethA: left promiscuous mode [ 32.211714][ T12] vethB (unregistering): left promiscuous mode [ 32.955042][ T448] vethA: entered promiscuous mode [ 32.955058][ T448] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.955060][ T448] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 448, name: ip [ 32.955062][ T448] preempt_count: 1, expected: 0 [ 32.955063][ T448] RCU nest depth: 0, expected: 0 [ 32.955064][ T448] locks held by ip/448: 6, last CPU#0: [ 32.955066][ T448] #0: ffffffffba8f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 32.955078][ T448] #1: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 32.955081][ T448] #2: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.955087][ T448] #3: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.955091][ T448] #4: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.955095][ T448] #5: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.955099][ T448] irq event stamp: 30006 [ 32.955100][ T448] hardirqs last enabled at (30005): [] __down_trylock_console_sem+0x86/0xa0 [ 32.955102][ T448] hardirqs last disabled at (30006): [] console_emit_next_record+0x3d4/0x4c0 [ 32.955104][ T448] softirqs last enabled at (30000): [] handle_softirqs+0x67c/0x900 [ 32.955107][ T448] softirqs last disabled at (29993): [] __irq_exit_rcu+0x145/0x1c0 [ 32.955110][ T448] Preemption disabled at: [ 32.955110][ T448] [] vprintk_emit+0x31b/0x3e0 [ 32.955116][ T448] CPU: 0 UID: 0 PID: 448 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.955119][ T448] Tainted: [W]=WARN [ 32.955120][ T448] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.955122][ T448] Call Trace: [ 32.955124][ T448] [ 32.955125][ T448] dump_stack_lvl+0x6f/0xa0 [ 32.955131][ T448] ? vprintk_emit+0x31b/0x3e0 [ 32.955133][ T448] __might_resched.cold+0x1fe/0x2c1 [ 32.955137][ T448] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.955141][ T448] ? __kmalloc_noprof+0xdb/0x760 [ 32.955146][ T448] __kmalloc_noprof+0x443/0x760 [ 32.955149][ T448] ? alloc_buf.isra.0+0x4b/0x260 [ 32.955154][ T448] ? do_raw_spin_unlock+0x59/0x250 [ 32.955157][ T448] alloc_buf.isra.0+0x4b/0x260 [ 32.955160][ T448] put_chars+0x1e1/0x2f0 [ 32.955163][ T448] ? __send_to_port+0x420/0x420 [ 32.955170][ T448] hvc_console_print+0x292/0x780 [ 32.955177][ T448] ? hvc_write+0x3a0/0x3a0 [ 32.955180][ T448] ? lock_acquire+0x13c/0x160 [ 32.955184][ T448] console_emit_next_record+0x22f/0x4c0 [ 32.955188][ T448] ? devkmsg_read+0x4b0/0x4b0 [ 32.955189][ T448] ? console_flush_one_record+0x106/0x710 [ 32.955193][ T448] ? rcu_is_watching+0x16/0xd0 [ 32.955197][ T448] ? lock_acquire+0x13c/0x160 [ 32.955201][ T448] console_flush_one_record+0x46f/0x710 [ 32.955205][ T448] ? console_emit_next_record+0x4c0/0x4c0 [ 32.955206][ T448] ? __lock_acquire+0x518/0xc20 [ 32.955212][ T448] console_unlock+0xee/0x1f0 [ 32.955214][ T448] ? console_flush_one_record+0x710/0x710 [ 32.955216][ T448] ? rcu_is_watching+0x16/0xd0 [ 32.955219][ T448] ? lock_acquire+0x60/0x160 [ 32.955222][ T448] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.955224][ T448] ? vprintk_emit+0x320/0x3e0 [ 32.955227][ T448] vprintk_emit+0x37c/0x3e0 [ 32.955231][ T448] ? wake_up_klogd_work_func+0x90/0x90 [ 32.955233][ T448] ? kasan_save_stack+0x3d/0x50 [ 32.955237][ T448] ? kasan_save_track+0x14/0x30 [ 32.955238][ T448] ? __kasan_kmalloc+0x7b/0x90 [ 32.955240][ T448] ? __kmalloc_cache_noprof+0x29a/0x620 [ 32.955241][ T448] ? hsr_add_port+0x1eb/0xb60 [ 32.955245][ T448] ? hsr_dev_finalize+0x841/0xcf0 [ 32.955247][ T448] ? hsr_newlink+0x3b9/0x930 [ 32.955250][ T448] _printk+0xc7/0x100 [ 32.955254][ T448] ? snapshot_read.cold+0x21/0x21 [ 32.955256][ T448] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.955260][ T448] ? netdev_name+0x43/0x60 [ 32.955263][ T448] ? __netdev_printk+0x17f/0x1d0 [ 32.955267][ T448] netdev_info+0xe2/0x116 [ 32.955269][ T448] ? netdev_notice+0x120/0x120 [ 32.955276][ T448] ? mutex_is_locked+0x1c/0x50 [ 32.955280][ T448] __dev_set_promiscuity.cold+0x95/0x104 [ 32.955284][ T448] netif_set_promiscuity+0x4c/0xc0 [ 32.955289][ T448] dev_set_promiscuity+0x9d/0x150 [ 32.955292][ T448] hsr_add_port+0x48c/0xb60 [ 32.955295][ T448] ? hsr_port_exists+0x60/0x60 [ 32.955299][ T448] ? timer_init_key+0x10d/0x280 [ 32.955304][ T448] hsr_dev_finalize+0x841/0xcf0 [ 32.955305][ T448] ? alloc_netdev_mqs+0xe10/0x14d0 [ 32.955310][ T448] ? alloc_netdev_mqs+0xf05/0x14d0 [ 32.955312][ T448] hsr_newlink+0x3b9/0x930 [ 32.955315][ T448] ? hsr_dellink+0x90/0x90 [ 32.955317][ T448] ? rtnl_create_link+0x169/0xf20 [ 32.955319][ T448] ? nla_strscpy+0xe3/0x180 [ 32.955328][ T448] rtnl_newlink_create+0x2d0/0x750 [ 32.955332][ T448] ? rtnl_create_link+0xf20/0xf20 [ 32.955333][ T448] ? __dev_get_by_name+0x12/0x50 [ 32.955335][ T448] ? rtnl_dev_get+0xd7/0x170 [ 32.955344][ T448] __rtnl_newlink+0x22b/0xa50 [ 32.955350][ T448] rtnl_newlink+0x9f1/0x11c0 [ 32.955355][ T448] ? rtnl_bridge_getlink+0x850/0x850 [ 32.955357][ T448] ? __lock_acquire+0x518/0xc20 [ 32.955364][ T448] ? __lock_release.isra.0+0x69/0x1a0 [ 32.955367][ T448] ? rtnl_bridge_getlink+0x850/0x850 [ 32.955369][ T448] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 32.955372][ T448] ? rtnl_link_fill+0x920/0x920 [ 32.955374][ T448] ? __lock_acquire+0x518/0xc20 [ 32.955378][ T448] ? lock_acquire.part.0+0xd4/0x280 [ 32.955380][ T448] ? find_held_lock+0x2b/0x80 [ 32.955384][ T448] netlink_rcv_skb+0x14e/0x3a0 [ 32.955387][ T448] ? rtnl_link_fill+0x920/0x920 [ 32.955390][ T448] ? netlink_ack+0xcf0/0xcf0 [ 32.955396][ T448] ? netlink_deliver_tap+0xc5/0x330 [ 32.955398][ T448] ? netlink_deliver_tap+0x13c/0x330 [ 32.955403][ T448] netlink_unicast+0x486/0x750 [ 32.955407][ T448] ? netlink_attachskb+0x810/0x810 [ 32.955410][ T448] ? __lock_acquire+0x518/0xc20 [ 32.955414][ T448] netlink_sendmsg+0x735/0xc60 [ 32.955418][ T448] ? netlink_unicast+0x750/0x750 [ 32.955422][ T448] ? __might_fault+0x97/0x140 [ 32.955427][ T448] ____sys_sendmsg+0x415/0x880 [ 32.955431][ T448] ? copy_msghdr_from_user+0x279/0x420 [ 32.955433][ T448] ? get_timestamp.constprop.0+0x390/0x390 [ 32.955435][ T448] ? move_addr_to_kernel+0x40/0x40 [ 32.955442][ T448] ___sys_sendmsg+0x14e/0x1d0 [ 32.955445][ T448] ? copy_msghdr_from_user+0x420/0x420 [ 32.955460][ T448] __sys_sendmsg+0x12c/0x1d0 [ 32.955463][ T448] ? __sys_sendmsg_sock+0x20/0x20 [ 32.955469][ T448] ? rcu_is_watching+0x16/0xd0 [ 32.955473][ T448] do_syscall_64+0xff/0x530 [ 32.955476][ T448] ? exc_page_fault+0xee/0x100 [ 32.955478][ T448] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.955480][ T448] RIP: 0033:0x7ff301e9154e [ 32.955484][ T448] 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 [ 32.955486][ T448] RSP: 002b:00007ffe4bdc6bb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 32.955489][ T448] RAX: ffffffffffffffda RBX: 00007ffe4bdc7360 RCX: 00007ff301e9154e [ 32.955491][ T448] RDX: 0000000000000000 RSI: 00007ffe4bdc6c60 RDI: 0000000000000005 [ 32.955492][ T448] RBP: 00007ffe4bdc6bc0 R08: 0000000000000000 R09: 0000000000000000 [ 32.955492][ T448] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a912537 [ 32.955493][ T448] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe4bdc7330 [ 32.955500][ T448] [ 32.989260][ T448] vethB: entered promiscuous mode [ 33.025385][ T449] vethA: entered promiscuous mode [ 33.026120][ T449] vethB: entered promiscuous mode [ 33.060453][ T450] vethA: entered promiscuous mode [ 33.067223][ T450] vethB: entered promiscuous mode [ 33.230455][ T456] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 33.230889][ T456] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 33.321447][ T459] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 33.321841][ T459] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 33.418008][ T463] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 39.955112][ T12] vethA: left promiscuous mode [ 39.955131][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.955133][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 39.955134][ T12] preempt_count: 1, expected: 0 [ 39.955135][ T12] RCU nest depth: 0, expected: 0 [ 39.955136][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 39.955139][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 39.955150][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 39.955154][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 39.955160][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 39.955164][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.955169][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.955172][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.955176][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 39.955180][ T12] irq event stamp: 307818 [ 39.955181][ T12] hardirqs last enabled at (307817): [] __down_trylock_console_sem+0x86/0xa0 [ 39.955183][ T12] hardirqs last disabled at (307818): [] console_emit_next_record+0x3d4/0x4c0 [ 39.955185][ T12] softirqs last enabled at (307808): [] handle_softirqs+0x67c/0x900 [ 39.955188][ T12] softirqs last disabled at (307711): [] __irq_exit_rcu+0x145/0x1c0 [ 39.955190][ T12] Preemption disabled at: [ 39.955191][ T12] [] vprintk_emit+0x31b/0x3e0 [ 39.955197][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.955200][ T12] Tainted: [W]=WARN [ 39.955201][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.955202][ T12] Workqueue: netns cleanup_net [ 39.955206][ T12] Call Trace: [ 39.955207][ T12] [ 39.955209][ T12] dump_stack_lvl+0x6f/0xa0 [ 39.955215][ T12] ? vprintk_emit+0x31b/0x3e0 [ 39.955217][ T12] __might_resched.cold+0x1fe/0x2c1 [ 39.955222][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.955226][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 39.955231][ T12] __kmalloc_noprof+0x443/0x760 [ 39.955233][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 39.955238][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 39.955241][ T12] alloc_buf.isra.0+0x4b/0x260 [ 39.955245][ T12] put_chars+0x1e1/0x2f0 [ 39.955248][ T12] ? __send_to_port+0x420/0x420 [ 39.955251][ T12] ? validate_chain+0x38b/0xc20 [ 39.955256][ T12] hvc_console_print+0x292/0x780 [ 39.955262][ T12] ? hvc_write+0x3a0/0x3a0 [ 39.955265][ T12] ? rcu_is_watching+0x16/0xd0 [ 39.955269][ T12] ? lock_acquire+0x13c/0x160 [ 39.955273][ T12] console_emit_next_record+0x22f/0x4c0 [ 39.955277][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 39.955278][ T12] ? console_flush_one_record+0x106/0x710 [ 39.955282][ T12] ? rcu_is_watching+0x16/0xd0 [ 39.955284][ T12] ? lock_acquire+0x13c/0x160 [ 39.955288][ T12] console_flush_one_record+0x46f/0x710 [ 39.955292][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 39.955294][ T12] ? __lock_acquire+0x518/0xc20 [ 39.955299][ T12] console_unlock+0xee/0x1f0 [ 39.955302][ T12] ? console_flush_one_record+0x710/0x710 [ 39.955303][ T12] ? rcu_is_watching+0x16/0xd0 [ 39.955306][ T12] ? lock_acquire+0x60/0x160 [ 39.955309][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.955311][ T12] ? vprintk_emit+0x320/0x3e0 [ 39.955314][ T12] vprintk_emit+0x37c/0x3e0 [ 39.955318][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 39.955321][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 39.955322][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 39.955325][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 39.955327][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 39.955331][ T12] _printk+0xc7/0x100 [ 39.955334][ T12] ? snapshot_read.cold+0x21/0x21 [ 39.955337][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 39.955340][ T12] ? netdev_name+0x43/0x60 [ 39.955343][ T12] ? __netdev_printk+0x17f/0x1d0 [ 39.955347][ T12] netdev_info+0xe2/0x116 [ 39.955349][ T12] ? netdev_notice+0x120/0x120 [ 39.955352][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 39.955353][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 39.955356][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 39.955359][ T12] ? mutex_is_locked+0x1c/0x50 [ 39.955363][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 39.955365][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 39.955368][ T12] netif_set_promiscuity+0x4c/0xc0 [ 39.955377][ T12] dev_set_promiscuity+0x9d/0x150 [ 39.955380][ T12] hsr_del_port+0x39d/0x540 [ 39.955385][ T12] hsr_del_ports+0x24/0x80 [ 39.955387][ T12] hsr_dellink+0x5d/0x90 [ 39.955389][ T12] default_device_exit_batch+0x19d/0x600 [ 39.955393][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 39.955395][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.955398][ T12] ? mutex_is_locked+0x1c/0x50 [ 39.955402][ T12] ops_undo_list+0x2ce/0x8f0 [ 39.955406][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 39.955407][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 39.955409][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 39.955412][ T12] ? idr_destroy+0x121/0x250 [ 39.955417][ T12] cleanup_net+0x431/0x890 [ 39.955420][ T12] ? net_passive_dec+0x230/0x230 [ 39.955424][ T12] ? lock_acquire+0x13c/0x160 [ 39.955426][ T12] ? rcu_is_watching+0x16/0xd0 [ 39.955430][ T12] process_one_work+0xe3e/0x1560 [ 39.955436][ T12] ? __queue_delayed_work+0x470/0x470 [ 39.955439][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 39.955447][ T12] worker_thread+0x4f1/0xd60 [ 39.955454][ T12] ? rescuer_thread+0x1340/0x1340 [ 39.955456][ T12] kthread+0x367/0x460 [ 39.955458][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.955461][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.955464][ T12] ret_from_fork+0x474/0x6b0 [ 39.955468][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 39.955471][ T12] ? __switch_to+0x5a3/0xe00 [ 39.955474][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 39.955476][ T12] ret_from_fork_asm+0x11/0x20 [ 39.955485][ T12] [ 39.981140][ T12] vethB: left promiscuous mode [ 39.996058][ T12] vethA (unregistering): left promiscuous mode [ 40.001378][ T12] vethB (unregistering): left promiscuous mode [ 40.226767][ T12] vethA: left promiscuous mode [ 40.238423][ T12] vethB (unregistering): left promiscuous mode [ 40.964271][ T532] vethA: entered promiscuous mode [ 40.964287][ T532] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.964289][ T532] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 532, name: ip [ 40.964291][ T532] preempt_count: 1, expected: 0 [ 40.964292][ T532] RCU nest depth: 0, expected: 0 [ 40.964293][ T532] locks held by ip/532: 6, last CPU#2: [ 40.964295][ T532] #0: ffffffffba8f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 40.964306][ T532] #1: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 40.964310][ T532] #2: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 40.964316][ T532] #3: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 40.964320][ T532] #4: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 40.964324][ T532] #5: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 40.964327][ T532] irq event stamp: 17560 [ 40.964328][ T532] hardirqs last enabled at (17559): [] __down_trylock_console_sem+0x86/0xa0 [ 40.964331][ T532] hardirqs last disabled at (17560): [] console_emit_next_record+0x3d4/0x4c0 [ 40.964333][ T532] softirqs last enabled at (17476): [] __alloc_skb+0x4c2/0x5f0 [ 40.964336][ T532] softirqs last disabled at (17474): [] __alloc_skb+0x4c2/0x5f0 [ 40.964338][ T532] Preemption disabled at: [ 40.964339][ T532] [] vprintk_emit+0x31b/0x3e0 [ 40.964345][ T532] CPU: 2 UID: 0 PID: 532 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.964348][ T532] Tainted: [W]=WARN [ 40.964349][ T532] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.964351][ T532] Call Trace: [ 40.964352][ T532] [ 40.964353][ T532] dump_stack_lvl+0x6f/0xa0 [ 40.964359][ T532] ? vprintk_emit+0x31b/0x3e0 [ 40.964361][ T532] __might_resched.cold+0x1fe/0x2c1 [ 40.964365][ T532] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.964369][ T532] ? __kmalloc_noprof+0xdb/0x760 [ 40.964374][ T532] __kmalloc_noprof+0x443/0x760 [ 40.964377][ T532] ? alloc_buf.isra.0+0x4b/0x260 [ 40.964387][ T532] ? do_raw_spin_unlock+0x59/0x250 [ 40.964389][ T532] alloc_buf.isra.0+0x4b/0x260 [ 40.964393][ T532] put_chars+0x1e1/0x2f0 [ 40.964396][ T532] ? __send_to_port+0x420/0x420 [ 40.964402][ T532] hvc_console_print+0x292/0x780 [ 40.964409][ T532] ? hvc_write+0x3a0/0x3a0 [ 40.964412][ T532] ? lock_acquire+0x13c/0x160 [ 40.964416][ T532] console_emit_next_record+0x22f/0x4c0 [ 40.964420][ T532] ? devkmsg_read+0x4b0/0x4b0 [ 40.964422][ T532] ? console_flush_one_record+0x106/0x710 [ 40.964425][ T532] ? rcu_is_watching+0x16/0xd0 [ 40.964429][ T532] ? lock_acquire+0x13c/0x160 [ 40.964432][ T532] console_flush_one_record+0x46f/0x710 [ 40.964437][ T532] ? console_emit_next_record+0x4c0/0x4c0 [ 40.964438][ T532] ? __lock_acquire+0x518/0xc20 [ 40.964443][ T532] console_unlock+0xee/0x1f0 [ 40.964447][ T532] ? console_flush_one_record+0x710/0x710 [ 40.964448][ T532] ? rcu_is_watching+0x16/0xd0 [ 40.964451][ T532] ? lock_acquire+0x60/0x160 [ 40.964454][ T532] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.964456][ T532] ? vprintk_emit+0x320/0x3e0 [ 40.964459][ T532] vprintk_emit+0x37c/0x3e0 [ 40.964463][ T532] ? wake_up_klogd_work_func+0x90/0x90 [ 40.964465][ T532] ? kasan_save_stack+0x3d/0x50 [ 40.964468][ T532] ? kasan_save_track+0x14/0x30 [ 40.964470][ T532] ? __kasan_kmalloc+0x7b/0x90 [ 40.964471][ T532] ? __kmalloc_cache_noprof+0x29a/0x620 [ 40.964473][ T532] ? hsr_add_port+0x1eb/0xb60 [ 40.964476][ T532] ? hsr_dev_finalize+0x841/0xcf0 [ 40.964478][ T532] ? hsr_newlink+0x3b9/0x930 [ 40.964481][ T532] _printk+0xc7/0x100 [ 40.964485][ T532] ? snapshot_read.cold+0x21/0x21 [ 40.964487][ T532] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 40.964491][ T532] ? netdev_name+0x43/0x60 [ 40.964494][ T532] ? __netdev_printk+0x17f/0x1d0 [ 40.964498][ T532] netdev_info+0xe2/0x116 [ 40.964500][ T532] ? netdev_notice+0x120/0x120 [ 40.964506][ T532] ? mutex_is_locked+0x1c/0x50 [ 40.964510][ T532] __dev_set_promiscuity.cold+0x95/0x104 [ 40.964514][ T532] netif_set_promiscuity+0x4c/0xc0 [ 40.964519][ T532] dev_set_promiscuity+0x9d/0x150 [ 40.964522][ T532] hsr_add_port+0x48c/0xb60 [ 40.964525][ T532] ? hsr_port_exists+0x60/0x60 [ 40.964528][ T532] ? timer_init_key+0x10d/0x280 [ 40.964533][ T532] hsr_dev_finalize+0x841/0xcf0 [ 40.964535][ T532] ? alloc_netdev_mqs+0xe10/0x14d0 [ 40.964540][ T532] ? alloc_netdev_mqs+0xf05/0x14d0 [ 40.964542][ T532] hsr_newlink+0x3b9/0x930 [ 40.964544][ T532] ? hsr_dellink+0x90/0x90 [ 40.964547][ T532] ? rtnl_create_link+0x169/0xf20 [ 40.964549][ T532] ? nla_strscpy+0xe3/0x180 [ 40.964553][ T532] rtnl_newlink_create+0x2d0/0x750 [ 40.964557][ T532] ? rtnl_create_link+0xf20/0xf20 [ 40.964559][ T532] ? __dev_get_by_name+0x12/0x50 [ 40.964561][ T532] ? rtnl_dev_get+0xd7/0x170 [ 40.964569][ T532] __rtnl_newlink+0x22b/0xa50 [ 40.964575][ T532] rtnl_newlink+0x9f1/0x11c0 [ 40.964580][ T532] ? rtnl_bridge_getlink+0x850/0x850 [ 40.964582][ T532] ? __lock_acquire+0x518/0xc20 [ 40.964589][ T532] ? __lock_release.isra.0+0x69/0x1a0 [ 40.964592][ T532] ? rtnl_bridge_getlink+0x850/0x850 [ 40.964594][ T532] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 40.964598][ T532] ? rtnl_link_fill+0x920/0x920 [ 40.964599][ T532] ? __lock_acquire+0x518/0xc20 [ 40.964603][ T532] ? lock_acquire.part.0+0xd4/0x280 [ 40.964605][ T532] ? find_held_lock+0x2b/0x80 [ 40.964609][ T532] netlink_rcv_skb+0x14e/0x3a0 [ 40.964612][ T532] ? rtnl_link_fill+0x920/0x920 [ 40.964615][ T532] ? netlink_ack+0xcf0/0xcf0 [ 40.964621][ T532] ? netlink_deliver_tap+0xc5/0x330 [ 40.964623][ T532] ? netlink_deliver_tap+0x13c/0x330 [ 40.964628][ T532] netlink_unicast+0x486/0x750 [ 40.964632][ T532] ? netlink_attachskb+0x810/0x810 [ 40.964635][ T532] ? __lock_acquire+0x518/0xc20 [ 40.964639][ T532] netlink_sendmsg+0x735/0xc60 [ 40.964643][ T532] ? netlink_unicast+0x750/0x750 [ 40.964647][ T532] ? __might_fault+0x97/0x140 [ 40.964652][ T532] ____sys_sendmsg+0x415/0x880 [ 40.964656][ T532] ? copy_msghdr_from_user+0x279/0x420 [ 40.964658][ T532] ? get_timestamp.constprop.0+0x390/0x390 [ 40.964660][ T532] ? move_addr_to_kernel+0x40/0x40 [ 40.964667][ T532] ___sys_sendmsg+0x14e/0x1d0 [ 40.964670][ T532] ? copy_msghdr_from_user+0x420/0x420 [ 40.964685][ T532] __sys_sendmsg+0x12c/0x1d0 [ 40.964688][ T532] ? __sys_sendmsg_sock+0x20/0x20 [ 40.964695][ T532] ? rcu_is_watching+0x16/0xd0 [ 40.964698][ T532] do_syscall_64+0xff/0x530 [ 40.964701][ T532] ? exc_page_fault+0xee/0x100 [ 40.964704][ T532] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 40.964706][ T532] RIP: 0033:0x7f694eb6b54e [ 40.964709][ 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 [ 40.964711][ T532] RSP: 002b:00007ffeb7a4c680 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 40.964714][ T532] RAX: ffffffffffffffda RBX: 00007ffeb7a4ce30 RCX: 00007f694eb6b54e [ 40.964715][ T532] RDX: 0000000000000000 RSI: 00007ffeb7a4c730 RDI: 0000000000000005 [ 40.964716][ T532] RBP: 00007ffeb7a4c690 R08: 0000000000000000 R09: 0000000000000000 [ 40.964717][ T532] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91253f [ 40.964718][ T532] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffeb7a4ce00 [ 40.964724][ T532] [ 41.008050][ T532] vethB: entered promiscuous mode [ 41.037614][ T533] vethA: entered promiscuous mode [ 41.038304][ T533] vethB: entered promiscuous mode [ 41.073268][ T534] vethA: entered promiscuous mode [ 41.073961][ T534] vethB: entered promiscuous mode [ 41.245584][ T540] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 41.245964][ T540] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 41.335265][ T543] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 41.335661][ T543] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 41.431139][ T546] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 47.750853][ T12] vethA: left promiscuous mode [ 47.750871][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.750874][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 47.750875][ T12] preempt_count: 1, expected: 0 [ 47.750876][ T12] RCU nest depth: 0, expected: 0 [ 47.750877][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 47.750880][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 47.750892][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 47.750896][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 47.750901][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 47.750905][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.750910][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.750914][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.750917][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 47.750921][ T12] irq event stamp: 414864 [ 47.750922][ T12] hardirqs last enabled at (414863): [] __down_trylock_console_sem+0x86/0xa0 [ 47.750925][ T12] hardirqs last disabled at (414864): [] console_emit_next_record+0x3d4/0x4c0 [ 47.750927][ T12] softirqs last enabled at (414734): [] tcp_close+0x2b/0xb0 [ 47.750930][ T12] softirqs last disabled at (414732): [] release_sock+0x21/0x240 [ 47.750933][ T12] Preemption disabled at: [ 47.750933][ T12] [] vprintk_emit+0x31b/0x3e0 [ 47.750939][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.750943][ T12] Tainted: [W]=WARN [ 47.750944][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.750945][ T12] Workqueue: netns cleanup_net [ 47.750949][ T12] Call Trace: [ 47.750950][ T12] [ 47.750952][ T12] dump_stack_lvl+0x6f/0xa0 [ 47.750958][ T12] ? vprintk_emit+0x31b/0x3e0 [ 47.750960][ T12] __might_resched.cold+0x1fe/0x2c1 [ 47.750964][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.750968][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 47.750973][ T12] __kmalloc_noprof+0x443/0x760 [ 47.750976][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 47.750981][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 47.750984][ T12] alloc_buf.isra.0+0x4b/0x260 [ 47.750988][ T12] put_chars+0x1e1/0x2f0 [ 47.750991][ T12] ? __send_to_port+0x420/0x420 [ 47.750994][ T12] ? validate_chain+0x38b/0xc20 [ 47.750999][ T12] hvc_console_print+0x292/0x780 [ 47.751006][ T12] ? hvc_write+0x3a0/0x3a0 [ 47.751009][ T12] ? rcu_is_watching+0x16/0xd0 [ 47.751013][ T12] ? lock_acquire+0x13c/0x160 [ 47.751017][ T12] console_emit_next_record+0x22f/0x4c0 [ 47.751021][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 47.751023][ T12] ? console_flush_one_record+0x106/0x710 [ 47.751026][ T12] ? rcu_is_watching+0x16/0xd0 [ 47.751028][ T12] ? lock_acquire+0x13c/0x160 [ 47.751037][ T12] console_flush_one_record+0x46f/0x710 [ 47.751042][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 47.751044][ T12] ? __lock_acquire+0x518/0xc20 [ 47.751050][ T12] console_unlock+0xee/0x1f0 [ 47.751053][ T12] ? console_flush_one_record+0x710/0x710 [ 47.751055][ T12] ? rcu_is_watching+0x16/0xd0 [ 47.751058][ T12] ? lock_acquire+0x60/0x160 [ 47.751061][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.751063][ T12] ? vprintk_emit+0x320/0x3e0 [ 47.751066][ T12] vprintk_emit+0x37c/0x3e0 [ 47.751070][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 47.751073][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 47.751075][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 47.751078][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 47.751080][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 47.751083][ T12] _printk+0xc7/0x100 [ 47.751087][ T12] ? snapshot_read.cold+0x21/0x21 [ 47.751090][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 47.751093][ T12] ? netdev_name+0x43/0x60 [ 47.751096][ T12] ? __netdev_printk+0x17f/0x1d0 [ 47.751099][ T12] netdev_info+0xe2/0x116 [ 47.751102][ T12] ? netdev_notice+0x120/0x120 [ 47.751105][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 47.751107][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 47.751109][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 47.751113][ T12] ? mutex_is_locked+0x1c/0x50 [ 47.751116][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 47.751119][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 47.751122][ T12] netif_set_promiscuity+0x4c/0xc0 [ 47.751126][ T12] dev_set_promiscuity+0x9d/0x150 [ 47.751129][ T12] hsr_del_port+0x39d/0x540 [ 47.751134][ T12] hsr_del_ports+0x24/0x80 [ 47.751137][ T12] hsr_dellink+0x5d/0x90 [ 47.751139][ T12] default_device_exit_batch+0x19d/0x600 [ 47.751143][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 47.751145][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.751148][ T12] ? mutex_is_locked+0x1c/0x50 [ 47.751152][ T12] ops_undo_list+0x2ce/0x8f0 [ 47.751156][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 47.751158][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 47.751159][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 47.751162][ T12] ? idr_destroy+0x121/0x250 [ 47.751167][ T12] cleanup_net+0x431/0x890 [ 47.751170][ T12] ? net_passive_dec+0x230/0x230 [ 47.751174][ T12] ? lock_acquire+0x13c/0x160 [ 47.751176][ T12] ? rcu_is_watching+0x16/0xd0 [ 47.751180][ T12] process_one_work+0xe3e/0x1560 [ 47.751186][ T12] ? __queue_delayed_work+0x470/0x470 [ 47.751189][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 47.751197][ T12] worker_thread+0x4f1/0xd60 [ 47.751204][ T12] ? rescuer_thread+0x1340/0x1340 [ 47.751206][ T12] kthread+0x367/0x460 [ 47.751209][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 47.751212][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 47.751215][ T12] ret_from_fork+0x474/0x6b0 [ 47.751218][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 47.751222][ T12] ? __switch_to+0x5a3/0xe00 [ 47.751225][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 47.751227][ T12] ret_from_fork_asm+0x11/0x20 [ 47.751236][ T12] [ 47.776218][ T12] vethB: left promiscuous mode [ 47.791207][ T12] vethA (unregistering): left promiscuous mode [ 47.796763][ T12] vethB (unregistering): left promiscuous mode [ 48.031497][ T12] vethA: left promiscuous mode [ 48.038475][ T12] vethB (unregistering): left promiscuous mode [ 48.797485][ T615] vethA: entered promiscuous mode [ 48.797502][ T615] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 48.797504][ T615] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 615, name: ip [ 48.797505][ T615] preempt_count: 1, expected: 0 [ 48.797506][ T615] RCU nest depth: 0, expected: 0 [ 48.797507][ T615] locks held by ip/615: 6, last CPU#3: [ 48.797509][ T615] #0: ffffffffba8f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 48.797521][ T615] #1: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 48.797525][ T615] #2: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 48.797531][ T615] #3: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 48.797534][ T615] #4: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 48.797538][ T615] #5: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 48.797542][ T615] irq event stamp: 24244 [ 48.797542][ T615] hardirqs last enabled at (24243): [] __down_trylock_console_sem+0x86/0xa0 [ 48.797545][ T615] hardirqs last disabled at (24244): [] console_emit_next_record+0x3d4/0x4c0 [ 48.797547][ T615] softirqs last enabled at (24160): [] __alloc_skb+0x4c2/0x5f0 [ 48.797550][ T615] softirqs last disabled at (24158): [] __alloc_skb+0x4c2/0x5f0 [ 48.797553][ T615] Preemption disabled at: [ 48.797553][ T615] [] vprintk_emit+0x31b/0x3e0 [ 48.797559][ T615] CPU: 3 UID: 0 PID: 615 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 48.797562][ T615] Tainted: [W]=WARN [ 48.797563][ T615] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 48.797565][ T615] Call Trace: [ 48.797566][ T615] [ 48.797568][ T615] dump_stack_lvl+0x6f/0xa0 [ 48.797574][ T615] ? vprintk_emit+0x31b/0x3e0 [ 48.797576][ T615] __might_resched.cold+0x1fe/0x2c1 [ 48.797580][ T615] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 48.797584][ T615] ? __kmalloc_noprof+0xdb/0x760 [ 48.797589][ T615] __kmalloc_noprof+0x443/0x760 [ 48.797592][ T615] ? alloc_buf.isra.0+0x4b/0x260 [ 48.797597][ T615] ? do_raw_spin_unlock+0x59/0x250 [ 48.797600][ T615] alloc_buf.isra.0+0x4b/0x260 [ 48.797603][ T615] put_chars+0x1e1/0x2f0 [ 48.797606][ T615] ? __send_to_port+0x420/0x420 [ 48.797613][ T615] hvc_console_print+0x292/0x780 [ 48.797619][ T615] ? hvc_write+0x3a0/0x3a0 [ 48.797622][ T615] ? lock_acquire+0x13c/0x160 [ 48.797626][ T615] console_emit_next_record+0x22f/0x4c0 [ 48.797629][ T615] ? devkmsg_read+0x4b0/0x4b0 [ 48.797631][ T615] ? console_flush_one_record+0x106/0x710 [ 48.797634][ T615] ? rcu_is_watching+0x16/0xd0 [ 48.797638][ T615] ? lock_acquire+0x13c/0x160 [ 48.797642][ T615] console_flush_one_record+0x46f/0x710 [ 48.797646][ T615] ? console_emit_next_record+0x4c0/0x4c0 [ 48.797648][ T615] ? __lock_acquire+0x518/0xc20 [ 48.797653][ T615] console_unlock+0xee/0x1f0 [ 48.797656][ T615] ? console_flush_one_record+0x710/0x710 [ 48.797658][ T615] ? rcu_is_watching+0x16/0xd0 [ 48.797660][ T615] ? lock_acquire+0x60/0x160 [ 48.797663][ T615] ? __down_trylock_console_sem+0x5e/0xa0 [ 48.797665][ T615] ? vprintk_emit+0x320/0x3e0 [ 48.797668][ T615] vprintk_emit+0x37c/0x3e0 [ 48.797672][ T615] ? wake_up_klogd_work_func+0x90/0x90 [ 48.797674][ T615] ? kasan_save_stack+0x3d/0x50 [ 48.797677][ T615] ? kasan_save_track+0x14/0x30 [ 48.797679][ T615] ? __kasan_kmalloc+0x7b/0x90 [ 48.797681][ T615] ? __kmalloc_cache_noprof+0x29a/0x620 [ 48.797682][ T615] ? hsr_add_port+0x1eb/0xb60 [ 48.797686][ T615] ? hsr_dev_finalize+0x841/0xcf0 [ 48.797687][ T615] ? hsr_newlink+0x3b9/0x930 [ 48.797691][ T615] _printk+0xc7/0x100 [ 48.797694][ T615] ? snapshot_read.cold+0x21/0x21 [ 48.797696][ T615] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 48.797700][ T615] ? netdev_name+0x43/0x60 [ 48.797703][ T615] ? __netdev_printk+0x17f/0x1d0 [ 48.797707][ T615] netdev_info+0xe2/0x116 [ 48.797709][ T615] ? netdev_notice+0x120/0x120 [ 48.797716][ T615] ? mutex_is_locked+0x1c/0x50 [ 48.797719][ T615] __dev_set_promiscuity.cold+0x95/0x104 [ 48.797724][ T615] netif_set_promiscuity+0x4c/0xc0 [ 48.797728][ T615] dev_set_promiscuity+0x9d/0x150 [ 48.797731][ T615] hsr_add_port+0x48c/0xb60 [ 48.797734][ T615] ? hsr_port_exists+0x60/0x60 [ 48.797738][ T615] ? timer_init_key+0x10d/0x280 [ 48.797743][ T615] hsr_dev_finalize+0x841/0xcf0 [ 48.797745][ T615] ? alloc_netdev_mqs+0xe11/0x14d0 [ 48.797749][ T615] ? alloc_netdev_mqs+0xf05/0x14d0 [ 48.797751][ T615] hsr_newlink+0x3b9/0x930 [ 48.797754][ T615] ? hsr_dellink+0x90/0x90 [ 48.797756][ T615] ? rtnl_create_link+0x169/0xf20 [ 48.797758][ T615] ? nla_strscpy+0xe3/0x180 [ 48.797763][ T615] rtnl_newlink_create+0x2d0/0x750 [ 48.797766][ T615] ? rtnl_create_link+0xf20/0xf20 [ 48.797768][ T615] ? __dev_get_by_name+0x12/0x50 [ 48.797770][ T615] ? rtnl_dev_get+0xd7/0x170 [ 48.797778][ T615] __rtnl_newlink+0x22b/0xa50 [ 48.797784][ T615] rtnl_newlink+0x9f1/0x11c0 [ 48.797790][ T615] ? rtnl_bridge_getlink+0x850/0x850 [ 48.797792][ T615] ? __lock_acquire+0x518/0xc20 [ 48.797798][ T615] ? __lock_release.isra.0+0x69/0x1a0 [ 48.797801][ T615] ? rtnl_bridge_getlink+0x850/0x850 [ 48.797804][ T615] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 48.797807][ T615] ? rtnl_link_fill+0x920/0x920 [ 48.797808][ T615] ? __lock_acquire+0x518/0xc20 [ 48.797812][ T615] ? lock_acquire.part.0+0xd4/0x280 [ 48.797814][ T615] ? find_held_lock+0x2b/0x80 [ 48.797818][ T615] netlink_rcv_skb+0x14e/0x3a0 [ 48.797821][ T615] ? rtnl_link_fill+0x920/0x920 [ 48.797824][ T615] ? netlink_ack+0xcf0/0xcf0 [ 48.797830][ T615] ? netlink_deliver_tap+0xc5/0x330 [ 48.797832][ T615] ? netlink_deliver_tap+0x13c/0x330 [ 48.797836][ T615] netlink_unicast+0x486/0x750 [ 48.797840][ T615] ? netlink_attachskb+0x810/0x810 [ 48.797843][ T615] ? __lock_acquire+0x518/0xc20 [ 48.797847][ T615] netlink_sendmsg+0x735/0xc60 [ 48.797851][ T615] ? netlink_unicast+0x750/0x750 [ 48.797855][ T615] ? __might_fault+0x97/0x140 [ 48.797861][ T615] ____sys_sendmsg+0x415/0x880 [ 48.797864][ T615] ? copy_msghdr_from_user+0x279/0x420 [ 48.797866][ T615] ? get_timestamp.constprop.0+0x390/0x390 [ 48.797868][ T615] ? move_addr_to_kernel+0x40/0x40 [ 48.797875][ T615] ___sys_sendmsg+0x14e/0x1d0 [ 48.797878][ T615] ? copy_msghdr_from_user+0x420/0x420 [ 48.797893][ T615] __sys_sendmsg+0x12c/0x1d0 [ 48.797897][ T615] ? __sys_sendmsg_sock+0x20/0x20 [ 48.797903][ T615] ? rcu_is_watching+0x16/0xd0 [ 48.797906][ T615] do_syscall_64+0xff/0x530 [ 48.797910][ T615] ? exc_page_fault+0xee/0x100 [ 48.797912][ T615] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 48.797914][ T615] RIP: 0033:0x7f0a90f8954e [ 48.797918][ 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 [ 48.797920][ T615] RSP: 002b:00007ffc3f4b8640 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 48.797922][ T615] RAX: ffffffffffffffda RBX: 00007ffc3f4b8df0 RCX: 00007f0a90f8954e [ 48.797923][ T615] RDX: 0000000000000000 RSI: 00007ffc3f4b86f0 RDI: 0000000000000005 [ 48.797924][ T615] RBP: 00007ffc3f4b8650 R08: 0000000000000000 R09: 0000000000000000 [ 48.797925][ T615] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a912547 [ 48.797926][ T615] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc3f4b8dc0 [ 48.797933][ T615] [ 48.831978][ T615] vethB: entered promiscuous mode [ 48.870141][ T616] vethA: entered promiscuous mode [ 48.870857][ T616] vethB: entered promiscuous mode [ 48.911747][ T617] vethA: entered promiscuous mode [ 48.912518][ T617] vethB: entered promiscuous mode [ 49.081092][ T623] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 49.081479][ T623] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 49.165431][ T626] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 49.165818][ T626] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 49.256908][ T629] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 55.216740][ T12] vethA: left promiscuous mode [ 55.216759][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 55.216761][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 55.216763][ T12] preempt_count: 1, expected: 0 [ 55.216763][ T12] RCU nest depth: 0, expected: 0 [ 55.216765][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 55.216767][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 55.216779][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 55.216783][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 55.216789][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 55.216793][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 55.216798][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 55.216802][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 55.216805][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 55.216809][ T12] irq event stamp: 501556 [ 55.216810][ T12] hardirqs last enabled at (501555): [] __down_trylock_console_sem+0x86/0xa0 [ 55.216812][ T12] hardirqs last disabled at (501556): [] console_emit_next_record+0x3d4/0x4c0 [ 55.216814][ T12] softirqs last enabled at (501426): [] tcp_close+0x2b/0xb0 [ 55.216817][ T12] softirqs last disabled at (501424): [] release_sock+0x21/0x240 [ 55.216820][ T12] Preemption disabled at: [ 55.216821][ T12] [] vprintk_emit+0x31b/0x3e0 [ 55.216826][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 55.216830][ T12] Tainted: [W]=WARN [ 55.216831][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 55.216833][ T12] Workqueue: netns cleanup_net [ 55.216836][ T12] Call Trace: [ 55.216838][ T12] [ 55.216839][ T12] dump_stack_lvl+0x6f/0xa0 [ 55.216845][ T12] ? vprintk_emit+0x31b/0x3e0 [ 55.216847][ T12] __might_resched.cold+0x1fe/0x2c1 [ 55.216852][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 55.216856][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 55.216861][ T12] __kmalloc_noprof+0x443/0x760 [ 55.216863][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 55.216869][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 55.216872][ T12] alloc_buf.isra.0+0x4b/0x260 [ 55.216875][ T12] put_chars+0x1e1/0x2f0 [ 55.216878][ T12] ? __send_to_port+0x420/0x420 [ 55.216882][ T12] ? validate_chain+0x38b/0xc20 [ 55.216887][ T12] hvc_console_print+0x292/0x780 [ 55.216893][ T12] ? hvc_write+0x3a0/0x3a0 [ 55.216896][ T12] ? rcu_is_watching+0x16/0xd0 [ 55.216900][ T12] ? lock_acquire+0x13c/0x160 [ 55.216904][ T12] console_emit_next_record+0x22f/0x4c0 [ 55.216908][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 55.216910][ T12] ? console_flush_one_record+0x106/0x710 [ 55.216913][ T12] ? rcu_is_watching+0x16/0xd0 [ 55.216915][ T12] ? lock_acquire+0x13c/0x160 [ 55.216919][ T12] console_flush_one_record+0x46f/0x710 [ 55.216924][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 55.216925][ T12] ? __lock_acquire+0x518/0xc20 [ 55.216931][ T12] console_unlock+0xee/0x1f0 [ 55.216933][ T12] ? console_flush_one_record+0x710/0x710 [ 55.216935][ T12] ? rcu_is_watching+0x16/0xd0 [ 55.216938][ T12] ? lock_acquire+0x60/0x160 [ 55.216941][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 55.216943][ T12] ? vprintk_emit+0x320/0x3e0 [ 55.216946][ T12] vprintk_emit+0x37c/0x3e0 [ 55.216950][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 55.216953][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 55.216955][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 55.216958][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 55.216959][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 55.216963][ T12] _printk+0xc7/0x100 [ 55.216966][ T12] ? snapshot_read.cold+0x21/0x21 [ 55.216969][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 55.216972][ T12] ? netdev_name+0x43/0x60 [ 55.216975][ T12] ? __netdev_printk+0x17f/0x1d0 [ 55.216979][ T12] netdev_info+0xe2/0x116 [ 55.216982][ T12] ? netdev_notice+0x120/0x120 [ 55.216986][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 55.216987][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 55.216990][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 55.216993][ T12] ? mutex_is_locked+0x1c/0x50 [ 55.216997][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 55.217000][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 55.217003][ T12] netif_set_promiscuity+0x4c/0xc0 [ 55.217007][ T12] dev_set_promiscuity+0x9d/0x150 [ 55.217010][ T12] hsr_del_port+0x39d/0x540 [ 55.217015][ T12] hsr_del_ports+0x24/0x80 [ 55.217018][ T12] hsr_dellink+0x5d/0x90 [ 55.217021][ T12] default_device_exit_batch+0x19d/0x600 [ 55.217024][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 55.217026][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 55.217029][ T12] ? mutex_is_locked+0x1c/0x50 [ 55.217036][ T12] ops_undo_list+0x2ce/0x8f0 [ 55.217040][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 55.217042][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 55.217044][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 55.217047][ T12] ? idr_destroy+0x121/0x250 [ 55.217051][ T12] cleanup_net+0x431/0x890 [ 55.217055][ T12] ? net_passive_dec+0x230/0x230 [ 55.217058][ T12] ? lock_acquire+0x13c/0x160 [ 55.217060][ T12] ? rcu_is_watching+0x16/0xd0 [ 55.217064][ T12] process_one_work+0xe3e/0x1560 [ 55.217071][ T12] ? __queue_delayed_work+0x470/0x470 [ 55.217074][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 55.217081][ T12] worker_thread+0x4f1/0xd60 [ 55.217088][ T12] ? rescuer_thread+0x1340/0x1340 [ 55.217090][ T12] kthread+0x367/0x460 [ 55.217093][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 55.217096][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 55.217099][ T12] ret_from_fork+0x474/0x6b0 [ 55.217103][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 55.217106][ T12] ? __switch_to+0x5a3/0xe00 [ 55.217109][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 55.217112][ T12] ret_from_fork_asm+0x11/0x20 [ 55.217121][ T12] [ 55.243511][ T12] vethB: left promiscuous mode [ 55.253788][ T12] vethA (unregistering): left promiscuous mode [ 55.257626][ T12] vethB (unregistering): left promiscuous mode [ 55.485425][ T12] vethA: left promiscuous mode [ 55.492042][ T12] vethB (unregistering): left promiscuous mode [ 56.262098][ T696] vethA: entered promiscuous mode [ 56.262116][ T696] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 56.262118][ T696] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 696, name: ip [ 56.262120][ T696] preempt_count: 1, expected: 0 [ 56.262121][ T696] RCU nest depth: 0, expected: 0 [ 56.262122][ T696] locks held by ip/696: 6, last CPU#3: [ 56.262124][ T696] #0: ffffffffba8f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 56.262136][ T696] #1: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 56.262140][ T696] #2: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 56.262146][ T696] #3: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 56.262150][ T696] #4: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 56.262154][ T696] #5: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 56.262158][ T696] irq event stamp: 20062 [ 56.262159][ T696] hardirqs last enabled at (20061): [] __down_trylock_console_sem+0x86/0xa0 [ 56.262161][ T696] hardirqs last disabled at (20062): [] console_emit_next_record+0x3d4/0x4c0 [ 56.262163][ T696] softirqs last enabled at (19976): [] __alloc_skb+0x4c2/0x5f0 [ 56.262167][ T696] softirqs last disabled at (19974): [] __alloc_skb+0x4c2/0x5f0 [ 56.262169][ T696] Preemption disabled at: [ 56.262170][ T696] [] vprintk_emit+0x31b/0x3e0 [ 56.262176][ T696] CPU: 3 UID: 0 PID: 696 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 56.262179][ T696] Tainted: [W]=WARN [ 56.262180][ T696] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 56.262182][ T696] Call Trace: [ 56.262183][ T696] [ 56.262185][ T696] dump_stack_lvl+0x6f/0xa0 [ 56.262191][ T696] ? vprintk_emit+0x31b/0x3e0 [ 56.262193][ T696] __might_resched.cold+0x1fe/0x2c1 [ 56.262198][ T696] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 56.262202][ T696] ? __kmalloc_noprof+0xdb/0x760 [ 56.262207][ T696] __kmalloc_noprof+0x443/0x760 [ 56.262209][ T696] ? alloc_buf.isra.0+0x4b/0x260 [ 56.262215][ T696] ? do_raw_spin_unlock+0x59/0x250 [ 56.262218][ T696] alloc_buf.isra.0+0x4b/0x260 [ 56.262221][ T696] put_chars+0x1e1/0x2f0 [ 56.262224][ T696] ? __send_to_port+0x420/0x420 [ 56.262231][ T696] hvc_console_print+0x292/0x780 [ 56.262238][ T696] ? hvc_write+0x3a0/0x3a0 [ 56.262240][ T696] ? lock_acquire+0x13c/0x160 [ 56.262245][ T696] console_emit_next_record+0x22f/0x4c0 [ 56.262249][ T696] ? devkmsg_read+0x4b0/0x4b0 [ 56.262250][ T696] ? console_flush_one_record+0x106/0x710 [ 56.262254][ T696] ? rcu_is_watching+0x16/0xd0 [ 56.262258][ T696] ? lock_acquire+0x13c/0x160 [ 56.262262][ T696] console_flush_one_record+0x46f/0x710 [ 56.262266][ T696] ? console_emit_next_record+0x4c0/0x4c0 [ 56.262268][ T696] ? __lock_acquire+0x518/0xc20 [ 56.262273][ T696] console_unlock+0xee/0x1f0 [ 56.262276][ T696] ? console_flush_one_record+0x710/0x710 [ 56.262278][ T696] ? rcu_is_watching+0x16/0xd0 [ 56.262280][ T696] ? lock_acquire+0x60/0x160 [ 56.262284][ T696] ? __down_trylock_console_sem+0x5e/0xa0 [ 56.262286][ T696] ? vprintk_emit+0x320/0x3e0 [ 56.262289][ T696] vprintk_emit+0x37c/0x3e0 [ 56.262293][ T696] ? wake_up_klogd_work_func+0x90/0x90 [ 56.262295][ T696] ? kasan_save_stack+0x3d/0x50 [ 56.262298][ T696] ? kasan_save_track+0x14/0x30 [ 56.262300][ T696] ? __kasan_kmalloc+0x7b/0x90 [ 56.262301][ T696] ? __kmalloc_cache_noprof+0x29a/0x620 [ 56.262303][ T696] ? hsr_add_port+0x1eb/0xb60 [ 56.262307][ T696] ? hsr_dev_finalize+0x841/0xcf0 [ 56.262308][ T696] ? hsr_newlink+0x3b9/0x930 [ 56.262312][ T696] _printk+0xc7/0x100 [ 56.262316][ T696] ? snapshot_read.cold+0x21/0x21 [ 56.262317][ T696] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 56.262322][ T696] ? netdev_name+0x43/0x60 [ 56.262325][ T696] ? __netdev_printk+0x17f/0x1d0 [ 56.262329][ T696] netdev_info+0xe2/0x116 [ 56.262331][ T696] ? netdev_notice+0x120/0x120 [ 56.262338][ T696] ? mutex_is_locked+0x1c/0x50 [ 56.262342][ T696] __dev_set_promiscuity.cold+0x95/0x104 [ 56.262346][ T696] netif_set_promiscuity+0x4c/0xc0 [ 56.262351][ T696] dev_set_promiscuity+0x9d/0x150 [ 56.262354][ T696] hsr_add_port+0x48c/0xb60 [ 56.262358][ T696] ? hsr_port_exists+0x60/0x60 [ 56.262361][ T696] ? timer_init_key+0x10d/0x280 [ 56.262366][ T696] hsr_dev_finalize+0x841/0xcf0 [ 56.262368][ T696] ? alloc_netdev_mqs+0xe11/0x14d0 [ 56.262373][ T696] ? alloc_netdev_mqs+0xf05/0x14d0 [ 56.262375][ T696] hsr_newlink+0x3b9/0x930 [ 56.262377][ T696] ? hsr_dellink+0x90/0x90 [ 56.262380][ T696] ? rtnl_create_link+0x169/0xf20 [ 56.262382][ T696] ? nla_strscpy+0xe3/0x180 [ 56.262387][ T696] rtnl_newlink_create+0x2d0/0x750 [ 56.262391][ T696] ? rtnl_create_link+0xf20/0xf20 [ 56.262392][ T696] ? __dev_get_by_name+0x12/0x50 [ 56.262395][ T696] ? rtnl_dev_get+0xd7/0x170 [ 56.262403][ T696] __rtnl_newlink+0x22b/0xa50 [ 56.262410][ T696] rtnl_newlink+0x9f1/0x11c0 [ 56.262415][ T696] ? rtnl_bridge_getlink+0x850/0x850 [ 56.262417][ T696] ? __lock_acquire+0x518/0xc20 [ 56.262424][ T696] ? __lock_release.isra.0+0x69/0x1a0 [ 56.262428][ T696] ? rtnl_bridge_getlink+0x850/0x850 [ 56.262430][ T696] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 56.262433][ T696] ? rtnl_link_fill+0x920/0x920 [ 56.262434][ T696] ? __lock_acquire+0x518/0xc20 [ 56.262439][ T696] ? lock_acquire.part.0+0xd4/0x280 [ 56.262441][ T696] ? find_held_lock+0x2b/0x80 [ 56.262445][ T696] netlink_rcv_skb+0x14e/0x3a0 [ 56.262448][ T696] ? rtnl_link_fill+0x920/0x920 [ 56.262451][ T696] ? netlink_ack+0xcf0/0xcf0 [ 56.262458][ T696] ? netlink_deliver_tap+0xc5/0x330 [ 56.262460][ T696] ? netlink_deliver_tap+0x13c/0x330 [ 56.262464][ T696] netlink_unicast+0x486/0x750 [ 56.262469][ T696] ? netlink_attachskb+0x810/0x810 [ 56.262472][ T696] ? __lock_acquire+0x518/0xc20 [ 56.262476][ T696] netlink_sendmsg+0x735/0xc60 [ 56.262480][ T696] ? netlink_unicast+0x750/0x750 [ 56.262484][ T696] ? __might_fault+0x97/0x140 [ 56.262490][ T696] ____sys_sendmsg+0x415/0x880 [ 56.262498][ T696] ? copy_msghdr_from_user+0x279/0x420 [ 56.262500][ T696] ? get_timestamp.constprop.0+0x390/0x390 [ 56.262502][ T696] ? move_addr_to_kernel+0x40/0x40 [ 56.262510][ T696] ___sys_sendmsg+0x14e/0x1d0 [ 56.262513][ T696] ? copy_msghdr_from_user+0x420/0x420 [ 56.262529][ T696] __sys_sendmsg+0x12c/0x1d0 [ 56.262532][ T696] ? __sys_sendmsg_sock+0x20/0x20 [ 56.262538][ T696] ? rcu_is_watching+0x16/0xd0 [ 56.262542][ T696] do_syscall_64+0xff/0x530 [ 56.262545][ T696] ? exc_page_fault+0xee/0x100 [ 56.262548][ T696] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 56.262550][ T696] RIP: 0033:0x7f7946d3f54e [ 56.262554][ T696] 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 [ 56.262556][ T696] RSP: 002b:00007fffd294f760 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 56.262559][ T696] RAX: ffffffffffffffda RBX: 00007fffd294ff10 RCX: 00007f7946d3f54e [ 56.262560][ T696] RDX: 0000000000000000 RSI: 00007fffd294f810 RDI: 0000000000000005 [ 56.262561][ T696] RBP: 00007fffd294f770 R08: 0000000000000000 R09: 0000000000000000 [ 56.262562][ T696] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91254e [ 56.262563][ T696] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffd294fee0 [ 56.262570][ T696] [ 56.296202][ T696] vethB: entered promiscuous mode [ 56.331853][ T697] vethA: entered promiscuous mode [ 56.332668][ T697] vethB: entered promiscuous mode [ 56.371343][ T698] vethA: entered promiscuous mode [ 56.372098][ T698] vethB: entered promiscuous mode [ 56.550832][ T704] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 56.553045][ T704] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 56.649223][ T707] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 56.649650][ T707] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 56.736474][ T710] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 62.701068][ T12] vethA: left promiscuous mode [ 62.701086][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 62.701089][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 62.701090][ T12] preempt_count: 1, expected: 0 [ 62.701091][ T12] RCU nest depth: 0, expected: 0 [ 62.701092][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 62.701094][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 62.701106][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 62.701110][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 62.701116][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 62.701120][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 62.701125][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 62.701128][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 62.701132][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 62.701136][ T12] irq event stamp: 583742 [ 62.701136][ T12] hardirqs last enabled at (583741): [] __down_trylock_console_sem+0x86/0xa0 [ 62.701139][ T12] hardirqs last disabled at (583742): [] console_emit_next_record+0x3d4/0x4c0 [ 62.701141][ T12] softirqs last enabled at (583612): [] tcp_close+0x2b/0xb0 [ 62.701144][ T12] softirqs last disabled at (583610): [] release_sock+0x21/0x240 [ 62.701147][ T12] Preemption disabled at: [ 62.701148][ T12] [] vprintk_emit+0x31b/0x3e0 [ 62.701153][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 62.701157][ T12] Tainted: [W]=WARN [ 62.701158][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 62.701159][ T12] Workqueue: netns cleanup_net [ 62.701163][ T12] Call Trace: [ 62.701164][ T12] [ 62.701166][ T12] dump_stack_lvl+0x6f/0xa0 [ 62.701172][ T12] ? vprintk_emit+0x31b/0x3e0 [ 62.701174][ T12] __might_resched.cold+0x1fe/0x2c1 [ 62.701179][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 62.701183][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 62.701188][ T12] __kmalloc_noprof+0x443/0x760 [ 62.701190][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 62.701196][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 62.701199][ T12] alloc_buf.isra.0+0x4b/0x260 [ 62.701202][ T12] put_chars+0x1e1/0x2f0 [ 62.701205][ T12] ? __send_to_port+0x420/0x420 [ 62.701208][ T12] ? validate_chain+0x38b/0xc20 [ 62.701214][ T12] hvc_console_print+0x292/0x780 [ 62.701220][ T12] ? hvc_write+0x3a0/0x3a0 [ 62.701223][ T12] ? rcu_is_watching+0x16/0xd0 [ 62.701227][ T12] ? lock_acquire+0x13c/0x160 [ 62.701231][ T12] console_emit_next_record+0x22f/0x4c0 [ 62.701235][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 62.701237][ T12] ? console_flush_one_record+0x106/0x710 [ 62.701240][ T12] ? rcu_is_watching+0x16/0xd0 [ 62.701242][ T12] ? lock_acquire+0x13c/0x160 [ 62.701246][ T12] console_flush_one_record+0x46f/0x710 [ 62.701251][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 62.701253][ T12] ? __lock_acquire+0x518/0xc20 [ 62.701258][ T12] console_unlock+0xee/0x1f0 [ 62.701261][ T12] ? console_flush_one_record+0x710/0x710 [ 62.701263][ T12] ? rcu_is_watching+0x16/0xd0 [ 62.701265][ T12] ? lock_acquire+0x60/0x160 [ 62.701269][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 62.701270][ T12] ? vprintk_emit+0x320/0x3e0 [ 62.701274][ T12] vprintk_emit+0x37c/0x3e0 [ 62.701278][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 62.701280][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 62.701282][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 62.701285][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 62.701287][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 62.701290][ T12] _printk+0xc7/0x100 [ 62.701294][ T12] ? snapshot_read.cold+0x21/0x21 [ 62.701297][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 62.701300][ T12] ? netdev_name+0x43/0x60 [ 62.701303][ T12] ? __netdev_printk+0x17f/0x1d0 [ 62.701306][ T12] netdev_info+0xe2/0x116 [ 62.701309][ T12] ? netdev_notice+0x120/0x120 [ 62.701312][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 62.701314][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 62.701316][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 62.701320][ T12] ? mutex_is_locked+0x1c/0x50 [ 62.701324][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 62.701326][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 62.701329][ T12] netif_set_promiscuity+0x4c/0xc0 [ 62.701333][ T12] dev_set_promiscuity+0x9d/0x150 [ 62.701336][ T12] hsr_del_port+0x39d/0x540 [ 62.701342][ T12] hsr_del_ports+0x24/0x80 [ 62.701344][ T12] hsr_dellink+0x5d/0x90 [ 62.701347][ T12] default_device_exit_batch+0x19d/0x600 [ 62.701350][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 62.701353][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 62.701355][ T12] ? mutex_is_locked+0x1c/0x50 [ 62.701359][ T12] ops_undo_list+0x2ce/0x8f0 [ 62.701363][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 62.701365][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 62.701367][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 62.701370][ T12] ? idr_destroy+0x121/0x250 [ 62.701375][ T12] cleanup_net+0x431/0x890 [ 62.701378][ T12] ? net_passive_dec+0x230/0x230 [ 62.701382][ T12] ? lock_acquire+0x13c/0x160 [ 62.701383][ T12] ? rcu_is_watching+0x16/0xd0 [ 62.701387][ T12] process_one_work+0xe3e/0x1560 [ 62.701394][ T12] ? __queue_delayed_work+0x470/0x470 [ 62.701397][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 62.701404][ T12] worker_thread+0x4f1/0xd60 [ 62.701411][ T12] ? rescuer_thread+0x1340/0x1340 [ 62.701414][ T12] kthread+0x367/0x460 [ 62.701416][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 62.701419][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 62.701422][ T12] ret_from_fork+0x474/0x6b0 [ 62.701426][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 62.701429][ T12] ? __switch_to+0x5a3/0xe00 [ 62.701433][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 62.701435][ T12] ret_from_fork_asm+0x11/0x20 [ 62.701444][ T12] [ 62.727947][ T12] vethB: left promiscuous mode [ 62.736257][ T12] vethA (unregistering): left promiscuous mode [ 62.739059][ T12] vethB (unregistering): left promiscuous mode [ 62.989697][ T12] vethA: left promiscuous mode [ 62.997652][ T12] vethB (unregistering): left promiscuous mode [ 63.751488][ T779] vethA: entered promiscuous mode [ 63.751504][ T779] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 63.751506][ T779] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 779, name: ip [ 63.751508][ T779] preempt_count: 1, expected: 0 [ 63.751509][ T779] RCU nest depth: 0, expected: 0 [ 63.751510][ T779] locks held by ip/779: 6, last CPU#3: [ 63.751512][ T779] #0: ffffffffba8f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 63.751523][ T779] #1: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 63.751527][ T779] #2: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 63.751533][ T779] #3: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 63.751537][ T779] #4: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 63.751541][ T779] #5: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 63.751544][ T779] irq event stamp: 28110 [ 63.751545][ T779] hardirqs last enabled at (28109): [] __down_trylock_console_sem+0x86/0xa0 [ 63.751551][ T779] hardirqs last disabled at (28110): [] console_emit_next_record+0x3d4/0x4c0 [ 63.751553][ T779] softirqs last enabled at (28030): [] handle_softirqs+0x67c/0x900 [ 63.751557][ T779] softirqs last disabled at (27335): [] __irq_exit_rcu+0x145/0x1c0 [ 63.751559][ T779] Preemption disabled at: [ 63.751560][ T779] [] vprintk_emit+0x31b/0x3e0 [ 63.751565][ T779] CPU: 3 UID: 0 PID: 779 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 63.751568][ T779] Tainted: [W]=WARN [ 63.751569][ T779] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 63.751571][ T779] Call Trace: [ 63.751573][ T779] [ 63.751574][ T779] dump_stack_lvl+0x6f/0xa0 [ 63.751579][ T779] ? vprintk_emit+0x31b/0x3e0 [ 63.751582][ T779] __might_resched.cold+0x1fe/0x2c1 [ 63.751586][ T779] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 63.751590][ T779] ? __kmalloc_noprof+0xdb/0x760 [ 63.751595][ T779] __kmalloc_noprof+0x443/0x760 [ 63.751597][ T779] ? alloc_buf.isra.0+0x4b/0x260 [ 63.751603][ T779] ? do_raw_spin_unlock+0x59/0x250 [ 63.751606][ T779] alloc_buf.isra.0+0x4b/0x260 [ 63.751609][ T779] put_chars+0x1e1/0x2f0 [ 63.751612][ T779] ? __send_to_port+0x420/0x420 [ 63.751618][ T779] hvc_console_print+0x292/0x780 [ 63.751624][ T779] ? hvc_write+0x3a0/0x3a0 [ 63.751627][ T779] ? lock_acquire+0x13c/0x160 [ 63.751631][ T779] console_emit_next_record+0x22f/0x4c0 [ 63.751635][ T779] ? devkmsg_read+0x4b0/0x4b0 [ 63.751637][ T779] ? console_flush_one_record+0x106/0x710 [ 63.751640][ T779] ? rcu_is_watching+0x16/0xd0 [ 63.751644][ T779] ? lock_acquire+0x13c/0x160 [ 63.751648][ T779] console_flush_one_record+0x46f/0x710 [ 63.751652][ T779] ? console_emit_next_record+0x4c0/0x4c0 [ 63.751653][ T779] ? __lock_acquire+0x518/0xc20 [ 63.751658][ T779] console_unlock+0xee/0x1f0 [ 63.751661][ T779] ? console_flush_one_record+0x710/0x710 [ 63.751663][ T779] ? rcu_is_watching+0x16/0xd0 [ 63.751665][ T779] ? lock_acquire+0x60/0x160 [ 63.751669][ T779] ? __down_trylock_console_sem+0x5e/0xa0 [ 63.751670][ T779] ? vprintk_emit+0x320/0x3e0 [ 63.751673][ T779] vprintk_emit+0x37c/0x3e0 [ 63.751677][ T779] ? wake_up_klogd_work_func+0x90/0x90 [ 63.751679][ T779] ? kasan_save_stack+0x3d/0x50 [ 63.751682][ T779] ? kasan_save_track+0x14/0x30 [ 63.751684][ T779] ? __kasan_kmalloc+0x7b/0x90 [ 63.751685][ T779] ? __kmalloc_cache_noprof+0x29a/0x620 [ 63.751687][ T779] ? hsr_add_port+0x1eb/0xb60 [ 63.751690][ T779] ? hsr_dev_finalize+0x841/0xcf0 [ 63.751692][ T779] ? hsr_newlink+0x3b9/0x930 [ 63.751695][ T779] _printk+0xc7/0x100 [ 63.751699][ T779] ? snapshot_read.cold+0x21/0x21 [ 63.751700][ T779] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 63.751705][ T779] ? netdev_name+0x43/0x60 [ 63.751708][ T779] ? __netdev_printk+0x17f/0x1d0 [ 63.751711][ T779] netdev_info+0xe2/0x116 [ 63.751713][ T779] ? netdev_notice+0x120/0x120 [ 63.751720][ T779] ? mutex_is_locked+0x1c/0x50 [ 63.751724][ T779] __dev_set_promiscuity.cold+0x95/0x104 [ 63.751728][ T779] netif_set_promiscuity+0x4c/0xc0 [ 63.751732][ T779] dev_set_promiscuity+0x9d/0x150 [ 63.751735][ T779] hsr_add_port+0x48c/0xb60 [ 63.751739][ T779] ? hsr_port_exists+0x60/0x60 [ 63.751742][ T779] ? timer_init_key+0x10d/0x280 [ 63.751747][ T779] hsr_dev_finalize+0x841/0xcf0 [ 63.751749][ T779] ? alloc_netdev_mqs+0xe11/0x14d0 [ 63.751753][ T779] ? alloc_netdev_mqs+0xf05/0x14d0 [ 63.751755][ T779] hsr_newlink+0x3b9/0x930 [ 63.751758][ T779] ? hsr_dellink+0x90/0x90 [ 63.751761][ T779] ? rtnl_create_link+0x169/0xf20 [ 63.751762][ T779] ? nla_strscpy+0xe3/0x180 [ 63.751767][ T779] rtnl_newlink_create+0x2d0/0x750 [ 63.751771][ T779] ? rtnl_create_link+0xf20/0xf20 [ 63.751772][ T779] ? __dev_get_by_name+0x12/0x50 [ 63.751774][ T779] ? rtnl_dev_get+0xd7/0x170 [ 63.751782][ T779] __rtnl_newlink+0x22b/0xa50 [ 63.751789][ T779] rtnl_newlink+0x9f1/0x11c0 [ 63.751794][ T779] ? rtnl_bridge_getlink+0x850/0x850 [ 63.751796][ T779] ? __lock_acquire+0x518/0xc20 [ 63.751802][ T779] ? __lock_release.isra.0+0x69/0x1a0 [ 63.751806][ T779] ? rtnl_bridge_getlink+0x850/0x850 [ 63.751808][ T779] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 63.751811][ T779] ? rtnl_link_fill+0x920/0x920 [ 63.751812][ T779] ? __lock_acquire+0x518/0xc20 [ 63.751817][ T779] ? lock_acquire.part.0+0xd4/0x280 [ 63.751818][ T779] ? find_held_lock+0x2b/0x80 [ 63.751822][ T779] netlink_rcv_skb+0x14e/0x3a0 [ 63.751825][ T779] ? rtnl_link_fill+0x920/0x920 [ 63.751828][ T779] ? netlink_ack+0xcf0/0xcf0 [ 63.751834][ T779] ? netlink_deliver_tap+0xc5/0x330 [ 63.751836][ T779] ? netlink_deliver_tap+0x13c/0x330 [ 63.751841][ T779] netlink_unicast+0x486/0x750 [ 63.751845][ T779] ? netlink_attachskb+0x810/0x810 [ 63.751848][ T779] ? __lock_acquire+0x518/0xc20 [ 63.751852][ T779] netlink_sendmsg+0x735/0xc60 [ 63.751856][ T779] ? netlink_unicast+0x750/0x750 [ 63.751860][ T779] ? __might_fault+0x97/0x140 [ 63.751865][ T779] ____sys_sendmsg+0x415/0x880 [ 63.751868][ T779] ? copy_msghdr_from_user+0x279/0x420 [ 63.751871][ T779] ? get_timestamp.constprop.0+0x390/0x390 [ 63.751872][ T779] ? move_addr_to_kernel+0x40/0x40 [ 63.751880][ T779] ___sys_sendmsg+0x14e/0x1d0 [ 63.751882][ T779] ? copy_msghdr_from_user+0x420/0x420 [ 63.751898][ T779] __sys_sendmsg+0x12c/0x1d0 [ 63.751901][ T779] ? __sys_sendmsg_sock+0x20/0x20 [ 63.751907][ T779] ? rcu_is_watching+0x16/0xd0 [ 63.751910][ T779] do_syscall_64+0xff/0x530 [ 63.751913][ T779] ? exc_page_fault+0xee/0x100 [ 63.751916][ T779] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 63.751918][ T779] RIP: 0033:0x7fa17e29854e [ 63.751922][ T779] 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 [ 63.751924][ T779] RSP: 002b:00007ffecdfa5e00 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 63.751926][ T779] RAX: ffffffffffffffda RBX: 00007ffecdfa65b0 RCX: 00007fa17e29854e [ 63.751928][ T779] RDX: 0000000000000000 RSI: 00007ffecdfa5eb0 RDI: 0000000000000005 [ 63.751929][ T779] RBP: 00007ffecdfa5e10 R08: 0000000000000000 R09: 0000000000000000 [ 63.751929][ T779] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a912556 [ 63.751930][ T779] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffecdfa6580 [ 63.751937][ T779] [ 63.785881][ T779] vethB: entered promiscuous mode [ 63.824631][ T780] vethA: entered promiscuous mode [ 63.825355][ T780] vethB: entered promiscuous mode [ 63.860336][ T781] vethA: entered promiscuous mode [ 63.861072][ T781] vethB: entered promiscuous mode [ 64.032792][ T787] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 64.033201][ T787] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 64.124266][ T790] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 64.124669][ T790] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 64.214360][ T793] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 71.354679][ T12] vethA: left promiscuous mode [ 71.354696][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 71.354699][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 71.354700][ T12] preempt_count: 1, expected: 0 [ 71.354701][ T12] RCU nest depth: 0, expected: 0 [ 71.354702][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 71.354704][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 71.354716][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 71.354720][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 71.354726][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 71.354730][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 71.354735][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 71.354738][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 71.354742][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 71.354745][ T12] irq event stamp: 665626 [ 71.354746][ T12] hardirqs last enabled at (665625): [] __down_trylock_console_sem+0x86/0xa0 [ 71.354749][ T12] hardirqs last disabled at (665626): [] console_emit_next_record+0x3d4/0x4c0 [ 71.354751][ T12] softirqs last enabled at (665494): [] tcp_close+0x2b/0xb0 [ 71.354754][ T12] softirqs last disabled at (665492): [] release_sock+0x21/0x240 [ 71.354757][ T12] Preemption disabled at: [ 71.354758][ T12] [] vprintk_emit+0x31b/0x3e0 [ 71.354764][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 71.354767][ T12] Tainted: [W]=WARN [ 71.354768][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 71.354770][ T12] Workqueue: netns cleanup_net [ 71.354773][ T12] Call Trace: [ 71.354775][ T12] [ 71.354777][ T12] dump_stack_lvl+0x6f/0xa0 [ 71.354783][ T12] ? vprintk_emit+0x31b/0x3e0 [ 71.354785][ T12] __might_resched.cold+0x1fe/0x2c1 [ 71.354790][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 71.354794][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 71.354799][ T12] __kmalloc_noprof+0x443/0x760 [ 71.354801][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 71.354807][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 71.354810][ T12] alloc_buf.isra.0+0x4b/0x260 [ 71.354813][ T12] put_chars+0x1e1/0x2f0 [ 71.354816][ T12] ? __send_to_port+0x420/0x420 [ 71.354819][ T12] ? validate_chain+0x38b/0xc20 [ 71.354824][ T12] hvc_console_print+0x292/0x780 [ 71.354831][ T12] ? hvc_write+0x3a0/0x3a0 [ 71.354833][ T12] ? rcu_is_watching+0x16/0xd0 [ 71.354838][ T12] ? lock_acquire+0x13c/0x160 [ 71.354842][ T12] console_emit_next_record+0x22f/0x4c0 [ 71.354845][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 71.354847][ T12] ? console_flush_one_record+0x106/0x710 [ 71.354850][ T12] ? rcu_is_watching+0x16/0xd0 [ 71.354853][ T12] ? lock_acquire+0x13c/0x160 [ 71.354857][ T12] console_flush_one_record+0x46f/0x710 [ 71.354861][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 71.354863][ T12] ? __lock_acquire+0x518/0xc20 [ 71.354868][ T12] console_unlock+0xee/0x1f0 [ 71.354871][ T12] ? console_flush_one_record+0x710/0x710 [ 71.354872][ T12] ? rcu_is_watching+0x16/0xd0 [ 71.354875][ T12] ? lock_acquire+0x60/0x160 [ 71.354878][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 71.354880][ T12] ? vprintk_emit+0x320/0x3e0 [ 71.354883][ T12] vprintk_emit+0x37c/0x3e0 [ 71.354887][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 71.354890][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 71.354891][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 71.354894][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 71.354896][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 71.354899][ T12] _printk+0xc7/0x100 [ 71.354903][ T12] ? snapshot_read.cold+0x21/0x21 [ 71.354906][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 71.354908][ T12] ? netdev_name+0x43/0x60 [ 71.354912][ T12] ? __netdev_printk+0x17f/0x1d0 [ 71.354915][ T12] netdev_info+0xe2/0x116 [ 71.354917][ T12] ? netdev_notice+0x120/0x120 [ 71.354921][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 71.354922][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 71.354925][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 71.354928][ T12] ? mutex_is_locked+0x1c/0x50 [ 71.354932][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 71.354935][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 71.354937][ T12] netif_set_promiscuity+0x4c/0xc0 [ 71.354942][ T12] dev_set_promiscuity+0x9d/0x150 [ 71.354945][ T12] hsr_del_port+0x39d/0x540 [ 71.354950][ T12] hsr_del_ports+0x24/0x80 [ 71.354953][ T12] hsr_dellink+0x5d/0x90 [ 71.354955][ T12] default_device_exit_batch+0x19d/0x600 [ 71.354959][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 71.354961][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 71.354964][ T12] ? mutex_is_locked+0x1c/0x50 [ 71.354967][ T12] ops_undo_list+0x2ce/0x8f0 [ 71.354971][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 71.354973][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 71.354975][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 71.354978][ T12] ? idr_destroy+0x121/0x250 [ 71.354982][ T12] cleanup_net+0x431/0x890 [ 71.354986][ T12] ? net_passive_dec+0x230/0x230 [ 71.354989][ T12] ? lock_acquire+0x13c/0x160 [ 71.354991][ T12] ? rcu_is_watching+0x16/0xd0 [ 71.354995][ T12] process_one_work+0xe3e/0x1560 [ 71.355002][ T12] ? __queue_delayed_work+0x470/0x470 [ 71.355005][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 71.355012][ T12] worker_thread+0x4f1/0xd60 [ 71.355019][ T12] ? rescuer_thread+0x1340/0x1340 [ 71.355021][ T12] kthread+0x367/0x460 [ 71.355024][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 71.355027][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 71.355035][ T12] ret_from_fork+0x474/0x6b0 [ 71.355039][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 71.355042][ T12] ? __switch_to+0x5a3/0xe00 [ 71.355045][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 71.355048][ T12] ret_from_fork_asm+0x11/0x20 [ 71.355057][ T12] [ 71.381903][ T12] vethB: left promiscuous mode [ 71.391382][ T12] vethA (unregistering): left promiscuous mode [ 71.397762][ T12] vethB (unregistering): left promiscuous mode [ 71.621162][ T12] vethA: left promiscuous mode [ 71.628176][ T12] vethB (unregistering): left promiscuous mode [ 72.387734][ T862] vethA: entered promiscuous mode [ 72.387750][ T862] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 72.387753][ T862] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 862, name: ip [ 72.387754][ T862] preempt_count: 1, expected: 0 [ 72.387755][ T862] RCU nest depth: 0, expected: 0 [ 72.387756][ T862] locks held by ip/862: 6, last CPU#2: [ 72.387758][ T862] #0: ffffffffba8f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 72.387770][ T862] #1: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 72.387774][ T862] #2: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 72.387780][ T862] #3: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 72.387783][ T862] #4: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 72.387787][ T862] #5: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 72.387791][ T862] irq event stamp: 21878 [ 72.387792][ T862] hardirqs last enabled at (21877): [] __down_trylock_console_sem+0x86/0xa0 [ 72.387795][ T862] hardirqs last disabled at (21878): [] console_emit_next_record+0x3d4/0x4c0 [ 72.387797][ T862] softirqs last enabled at (21794): [] __alloc_skb+0x4c2/0x5f0 [ 72.387800][ T862] softirqs last disabled at (21792): [] __alloc_skb+0x4c2/0x5f0 [ 72.387802][ T862] Preemption disabled at: [ 72.387803][ T862] [] vprintk_emit+0x31b/0x3e0 [ 72.387808][ T862] CPU: 2 UID: 0 PID: 862 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 72.387812][ T862] Tainted: [W]=WARN [ 72.387813][ T862] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 72.387814][ T862] Call Trace: [ 72.387816][ T862] [ 72.387817][ T862] dump_stack_lvl+0x6f/0xa0 [ 72.387823][ T862] ? vprintk_emit+0x31b/0x3e0 [ 72.387825][ T862] __might_resched.cold+0x1fe/0x2c1 [ 72.387829][ T862] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 72.387833][ T862] ? __kmalloc_noprof+0xdb/0x760 [ 72.387838][ T862] __kmalloc_noprof+0x443/0x760 [ 72.387841][ T862] ? alloc_buf.isra.0+0x4b/0x260 [ 72.387846][ T862] ? do_raw_spin_unlock+0x59/0x250 [ 72.387849][ T862] alloc_buf.isra.0+0x4b/0x260 [ 72.387852][ T862] put_chars+0x1e1/0x2f0 [ 72.387855][ T862] ? __send_to_port+0x420/0x420 [ 72.387861][ T862] hvc_console_print+0x292/0x780 [ 72.387868][ T862] ? hvc_write+0x3a0/0x3a0 [ 72.387870][ T862] ? lock_acquire+0x13c/0x160 [ 72.387874][ T862] console_emit_next_record+0x22f/0x4c0 [ 72.387878][ T862] ? devkmsg_read+0x4b0/0x4b0 [ 72.387880][ T862] ? console_flush_one_record+0x106/0x710 [ 72.387883][ T862] ? rcu_is_watching+0x16/0xd0 [ 72.387887][ T862] ? lock_acquire+0x13c/0x160 [ 72.387891][ T862] console_flush_one_record+0x46f/0x710 [ 72.387895][ T862] ? console_emit_next_record+0x4c0/0x4c0 [ 72.387897][ T862] ? __lock_acquire+0x518/0xc20 [ 72.387902][ T862] console_unlock+0xee/0x1f0 [ 72.387905][ T862] ? console_flush_one_record+0x710/0x710 [ 72.387906][ T862] ? rcu_is_watching+0x16/0xd0 [ 72.387909][ T862] ? lock_acquire+0x60/0x160 [ 72.387912][ T862] ? __down_trylock_console_sem+0x5e/0xa0 [ 72.387914][ T862] ? vprintk_emit+0x320/0x3e0 [ 72.387917][ T862] vprintk_emit+0x37c/0x3e0 [ 72.387921][ T862] ? wake_up_klogd_work_func+0x90/0x90 [ 72.387922][ T862] ? kasan_save_stack+0x3d/0x50 [ 72.387926][ T862] ? kasan_save_track+0x14/0x30 [ 72.387927][ T862] ? __kasan_kmalloc+0x7b/0x90 [ 72.387929][ T862] ? __kmalloc_cache_noprof+0x29a/0x620 [ 72.387931][ T862] ? hsr_add_port+0x1eb/0xb60 [ 72.387934][ T862] ? hsr_dev_finalize+0x841/0xcf0 [ 72.387936][ T862] ? hsr_newlink+0x3b9/0x930 [ 72.387939][ T862] _printk+0xc7/0x100 [ 72.387943][ T862] ? snapshot_read.cold+0x21/0x21 [ 72.387945][ T862] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 72.387949][ T862] ? netdev_name+0x43/0x60 [ 72.387952][ T862] ? __netdev_printk+0x17f/0x1d0 [ 72.387956][ T862] netdev_info+0xe2/0x116 [ 72.387958][ T862] ? netdev_notice+0x120/0x120 [ 72.387964][ T862] ? mutex_is_locked+0x1c/0x50 [ 72.387968][ T862] __dev_set_promiscuity.cold+0x95/0x104 [ 72.387972][ T862] netif_set_promiscuity+0x4c/0xc0 [ 72.387977][ T862] dev_set_promiscuity+0x9d/0x150 [ 72.387980][ T862] hsr_add_port+0x48c/0xb60 [ 72.387983][ T862] ? hsr_port_exists+0x60/0x60 [ 72.387986][ T862] ? timer_init_key+0x10d/0x280 [ 72.387992][ T862] hsr_dev_finalize+0x841/0xcf0 [ 72.387993][ T862] ? alloc_netdev_mqs+0xe11/0x14d0 [ 72.387998][ T862] ? alloc_netdev_mqs+0xf05/0x14d0 [ 72.388000][ T862] hsr_newlink+0x3b9/0x930 [ 72.388003][ T862] ? hsr_dellink+0x90/0x90 [ 72.388005][ T862] ? rtnl_create_link+0x169/0xf20 [ 72.388007][ T862] ? nla_strscpy+0xe3/0x180 [ 72.388012][ T862] rtnl_newlink_create+0x2d0/0x750 [ 72.388015][ T862] ? rtnl_create_link+0xf20/0xf20 [ 72.388017][ T862] ? __dev_get_by_name+0x12/0x50 [ 72.388019][ T862] ? rtnl_dev_get+0xd7/0x170 [ 72.388027][ T862] __rtnl_newlink+0x22b/0xa50 [ 72.388036][ T862] rtnl_newlink+0x9f1/0x11c0 [ 72.388041][ T862] ? rtnl_bridge_getlink+0x850/0x850 [ 72.388043][ T862] ? __lock_acquire+0x518/0xc20 [ 72.388050][ T862] ? __lock_release.isra.0+0x69/0x1a0 [ 72.388053][ T862] ? rtnl_bridge_getlink+0x850/0x850 [ 72.388055][ T862] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 72.388059][ T862] ? rtnl_link_fill+0x920/0x920 [ 72.388060][ T862] ? __lock_acquire+0x518/0xc20 [ 72.388064][ T862] ? lock_acquire.part.0+0xd4/0x280 [ 72.388066][ T862] ? find_held_lock+0x2b/0x80 [ 72.388070][ T862] netlink_rcv_skb+0x14e/0x3a0 [ 72.388073][ T862] ? rtnl_link_fill+0x920/0x920 [ 72.388076][ T862] ? netlink_ack+0xcf0/0xcf0 [ 72.388082][ T862] ? netlink_deliver_tap+0xc5/0x330 [ 72.388084][ T862] ? netlink_deliver_tap+0x13c/0x330 [ 72.388088][ T862] netlink_unicast+0x486/0x750 [ 72.388092][ T862] ? netlink_attachskb+0x810/0x810 [ 72.388095][ T862] ? __lock_acquire+0x518/0xc20 [ 72.388099][ T862] netlink_sendmsg+0x735/0xc60 [ 72.388103][ T862] ? netlink_unicast+0x750/0x750 [ 72.388107][ T862] ? __might_fault+0x97/0x140 [ 72.388113][ T862] ____sys_sendmsg+0x415/0x880 [ 72.388116][ T862] ? copy_msghdr_from_user+0x279/0x420 [ 72.388119][ T862] ? get_timestamp.constprop.0+0x390/0x390 [ 72.388120][ T862] ? move_addr_to_kernel+0x40/0x40 [ 72.388128][ T862] ___sys_sendmsg+0x14e/0x1d0 [ 72.388130][ T862] ? copy_msghdr_from_user+0x420/0x420 [ 72.388146][ T862] __sys_sendmsg+0x12c/0x1d0 [ 72.388149][ T862] ? __sys_sendmsg_sock+0x20/0x20 [ 72.388155][ T862] ? rcu_is_watching+0x16/0xd0 [ 72.388159][ T862] do_syscall_64+0xff/0x530 [ 72.388162][ T862] ? exc_page_fault+0xee/0x100 [ 72.388164][ T862] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 72.388166][ T862] RIP: 0033:0x7f773474954e [ 72.388170][ T862] 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 [ 72.388172][ T862] RSP: 002b:00007ffe36e63110 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 72.388175][ T862] RAX: ffffffffffffffda RBX: 00007ffe36e638c0 RCX: 00007f773474954e [ 72.388176][ T862] RDX: 0000000000000000 RSI: 00007ffe36e631c0 RDI: 0000000000000005 [ 72.388177][ T862] RBP: 00007ffe36e63120 R08: 0000000000000000 R09: 0000000000000000 [ 72.388178][ T862] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91255e [ 72.388179][ T862] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe36e63890 [ 72.388186][ T862] [ 72.424844][ T862] vethB: entered promiscuous mode [ 72.460805][ T863] vethA: entered promiscuous mode [ 72.461533][ T863] vethB: entered promiscuous mode [ 72.494455][ T864] vethA: entered promiscuous mode [ 72.495231][ T864] vethB: entered promiscuous mode [ 72.662330][ T870] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 72.662724][ T870] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 72.750306][ T873] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 72.750742][ T873] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 72.840694][ T876] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 79.398913][ T12] vethA: left promiscuous mode [ 79.398932][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 79.398934][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 79.398936][ T12] preempt_count: 1, expected: 0 [ 79.398937][ T12] RCU nest depth: 0, expected: 0 [ 79.398938][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 79.398940][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 79.398952][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 79.398956][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 79.398962][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 79.398966][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 79.398971][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 79.398974][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 79.398978][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 79.398982][ T12] irq event stamp: 764970 [ 79.398983][ T12] hardirqs last enabled at (764969): [] __down_trylock_console_sem+0x86/0xa0 [ 79.398985][ T12] hardirqs last disabled at (764970): [] console_emit_next_record+0x3d4/0x4c0 [ 79.398988][ T12] softirqs last enabled at (764840): [] tcp_close+0x2b/0xb0 [ 79.398991][ T12] softirqs last disabled at (764838): [] release_sock+0x21/0x240 [ 79.398994][ T12] Preemption disabled at: [ 79.398994][ T12] [] vprintk_emit+0x31b/0x3e0 [ 79.399000][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 79.399003][ T12] Tainted: [W]=WARN [ 79.399004][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 79.399006][ T12] Workqueue: netns cleanup_net [ 79.399009][ T12] Call Trace: [ 79.399011][ T12] [ 79.399013][ T12] dump_stack_lvl+0x6f/0xa0 [ 79.399019][ T12] ? vprintk_emit+0x31b/0x3e0 [ 79.399021][ T12] __might_resched.cold+0x1fe/0x2c1 [ 79.399025][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 79.399029][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 79.399039][ T12] __kmalloc_noprof+0x443/0x760 [ 79.399042][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 79.399048][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 79.399050][ T12] alloc_buf.isra.0+0x4b/0x260 [ 79.399054][ T12] put_chars+0x1e1/0x2f0 [ 79.399057][ T12] ? __send_to_port+0x420/0x420 [ 79.399060][ T12] ? validate_chain+0x38b/0xc20 [ 79.399065][ T12] hvc_console_print+0x292/0x780 [ 79.399072][ T12] ? hvc_write+0x3a0/0x3a0 [ 79.399074][ T12] ? rcu_is_watching+0x16/0xd0 [ 79.399079][ T12] ? lock_acquire+0x13c/0x160 [ 79.399083][ T12] console_emit_next_record+0x22f/0x4c0 [ 79.399086][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 79.399088][ T12] ? console_flush_one_record+0x106/0x710 [ 79.399091][ T12] ? rcu_is_watching+0x16/0xd0 [ 79.399094][ T12] ? lock_acquire+0x13c/0x160 [ 79.399098][ T12] console_flush_one_record+0x46f/0x710 [ 79.399102][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 79.399104][ T12] ? __lock_acquire+0x518/0xc20 [ 79.399109][ T12] console_unlock+0xee/0x1f0 [ 79.399112][ T12] ? console_flush_one_record+0x710/0x710 [ 79.399113][ T12] ? rcu_is_watching+0x16/0xd0 [ 79.399116][ T12] ? lock_acquire+0x60/0x160 [ 79.399119][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 79.399121][ T12] ? vprintk_emit+0x320/0x3e0 [ 79.399124][ T12] vprintk_emit+0x37c/0x3e0 [ 79.399128][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 79.399131][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 79.399133][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 79.399135][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 79.399137][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 79.399141][ T12] _printk+0xc7/0x100 [ 79.399144][ T12] ? snapshot_read.cold+0x21/0x21 [ 79.399147][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 79.399150][ T12] ? netdev_name+0x43/0x60 [ 79.399153][ T12] ? __netdev_printk+0x17f/0x1d0 [ 79.399157][ T12] netdev_info+0xe2/0x116 [ 79.399159][ T12] ? netdev_notice+0x120/0x120 [ 79.399162][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 79.399164][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 79.399166][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 79.399170][ T12] ? mutex_is_locked+0x1c/0x50 [ 79.399173][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 79.399176][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 79.399179][ T12] netif_set_promiscuity+0x4c/0xc0 [ 79.399183][ T12] dev_set_promiscuity+0x9d/0x150 [ 79.399186][ T12] hsr_del_port+0x39d/0x540 [ 79.399191][ T12] hsr_del_ports+0x24/0x80 [ 79.399194][ T12] hsr_dellink+0x5d/0x90 [ 79.399197][ T12] default_device_exit_batch+0x19d/0x600 [ 79.399200][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 79.399203][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 79.399205][ T12] ? mutex_is_locked+0x1c/0x50 [ 79.399209][ T12] ops_undo_list+0x2ce/0x8f0 [ 79.399213][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 79.399215][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 79.399216][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 79.399219][ T12] ? idr_destroy+0x121/0x250 [ 79.399224][ T12] cleanup_net+0x431/0x890 [ 79.399227][ T12] ? net_passive_dec+0x230/0x230 [ 79.399231][ T12] ? lock_acquire+0x13c/0x160 [ 79.399233][ T12] ? rcu_is_watching+0x16/0xd0 [ 79.399237][ T12] process_one_work+0xe3e/0x1560 [ 79.399243][ T12] ? __queue_delayed_work+0x470/0x470 [ 79.399246][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 79.399253][ T12] worker_thread+0x4f1/0xd60 [ 79.399260][ T12] ? rescuer_thread+0x1340/0x1340 [ 79.399262][ T12] kthread+0x367/0x460 [ 79.399265][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 79.399268][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 79.399270][ T12] ret_from_fork+0x474/0x6b0 [ 79.399274][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 79.399278][ T12] ? __switch_to+0x5a3/0xe00 [ 79.399281][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 79.399284][ T12] ret_from_fork_asm+0x11/0x20 [ 79.399292][ T12] [ 79.424801][ T12] vethB: left promiscuous mode [ 79.435619][ T12] vethA (unregistering): left promiscuous mode [ 79.440420][ T12] vethB (unregistering): left promiscuous mode [ 79.683353][ T12] vethA: left promiscuous mode [ 79.697760][ T12] vethB (unregistering): left promiscuous mode [ 80.455748][ T946] vethA: entered promiscuous mode [ 80.455764][ T946] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 80.455766][ T946] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 946, name: ip [ 80.455768][ T946] preempt_count: 1, expected: 0 [ 80.455769][ T946] RCU nest depth: 0, expected: 0 [ 80.455770][ T946] locks held by ip/946: 6, last CPU#0: [ 80.455772][ T946] #0: ffffffffba8f2d88 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 80.455784][ T946] #1: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 80.455788][ T946] #2: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 80.455794][ T946] #3: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 80.455798][ T946] #4: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 80.455801][ T946] #5: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 80.455805][ T946] irq event stamp: 16908 [ 80.455806][ T946] hardirqs last enabled at (16907): [] __down_trylock_console_sem+0x86/0xa0 [ 80.455809][ T946] hardirqs last disabled at (16908): [] console_emit_next_record+0x3d4/0x4c0 [ 80.455811][ T946] softirqs last enabled at (16824): [] __alloc_skb+0x4c2/0x5f0 [ 80.455814][ T946] softirqs last disabled at (16822): [] __alloc_skb+0x4c2/0x5f0 [ 80.455817][ T946] Preemption disabled at: [ 80.455817][ T946] [] vprintk_emit+0x31b/0x3e0 [ 80.455823][ T946] CPU: 0 UID: 0 PID: 946 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 80.455827][ T946] Tainted: [W]=WARN [ 80.455828][ T946] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 80.455829][ T946] Call Trace: [ 80.455831][ T946] [ 80.455832][ T946] dump_stack_lvl+0x6f/0xa0 [ 80.455838][ T946] ? vprintk_emit+0x31b/0x3e0 [ 80.455840][ T946] __might_resched.cold+0x1fe/0x2c1 [ 80.455844][ T946] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 80.455848][ T946] ? __kmalloc_noprof+0xdb/0x760 [ 80.455853][ T946] __kmalloc_noprof+0x443/0x760 [ 80.455855][ T946] ? alloc_buf.isra.0+0x4b/0x260 [ 80.455861][ T946] ? do_raw_spin_unlock+0x59/0x250 [ 80.455864][ T946] alloc_buf.isra.0+0x4b/0x260 [ 80.455867][ T946] put_chars+0x1e1/0x2f0 [ 80.455870][ T946] ? __send_to_port+0x420/0x420 [ 80.455877][ T946] hvc_console_print+0x292/0x780 [ 80.455883][ T946] ? hvc_write+0x3a0/0x3a0 [ 80.455886][ T946] ? lock_acquire+0x13c/0x160 [ 80.455890][ T946] console_emit_next_record+0x22f/0x4c0 [ 80.455894][ T946] ? devkmsg_read+0x4b0/0x4b0 [ 80.455896][ T946] ? console_flush_one_record+0x106/0x710 [ 80.455899][ T946] ? rcu_is_watching+0x16/0xd0 [ 80.455903][ T946] ? lock_acquire+0x13c/0x160 [ 80.455907][ T946] console_flush_one_record+0x46f/0x710 [ 80.455911][ T946] ? console_emit_next_record+0x4c0/0x4c0 [ 80.455913][ T946] ? __lock_acquire+0x518/0xc20 [ 80.455918][ T946] console_unlock+0xee/0x1f0 [ 80.455921][ T946] ? console_flush_one_record+0x710/0x710 [ 80.455923][ T946] ? rcu_is_watching+0x16/0xd0 [ 80.455926][ T946] ? lock_acquire+0x60/0x160 [ 80.455929][ T946] ? __down_trylock_console_sem+0x5e/0xa0 [ 80.455931][ T946] ? vprintk_emit+0x320/0x3e0 [ 80.455934][ T946] vprintk_emit+0x37c/0x3e0 [ 80.455938][ T946] ? wake_up_klogd_work_func+0x90/0x90 [ 80.455940][ T946] ? kasan_save_stack+0x3d/0x50 [ 80.455943][ T946] ? kasan_save_track+0x14/0x30 [ 80.455945][ T946] ? __kasan_kmalloc+0x7b/0x90 [ 80.455947][ T946] ? __kmalloc_cache_noprof+0x29a/0x620 [ 80.455948][ T946] ? hsr_add_port+0x1eb/0xb60 [ 80.455952][ T946] ? hsr_dev_finalize+0x841/0xcf0 [ 80.455954][ T946] ? hsr_newlink+0x3b9/0x930 [ 80.455957][ T946] _printk+0xc7/0x100 [ 80.455961][ T946] ? snapshot_read.cold+0x21/0x21 [ 80.455962][ T946] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 80.455967][ T946] ? netdev_name+0x43/0x60 [ 80.455970][ T946] ? __netdev_printk+0x17f/0x1d0 [ 80.455974][ T946] netdev_info+0xe2/0x116 [ 80.455976][ T946] ? netdev_notice+0x120/0x120 [ 80.455983][ T946] ? mutex_is_locked+0x1c/0x50 [ 80.455987][ T946] __dev_set_promiscuity.cold+0x95/0x104 [ 80.455991][ T946] netif_set_promiscuity+0x4c/0xc0 [ 80.455996][ T946] dev_set_promiscuity+0x9d/0x150 [ 80.455999][ T946] hsr_add_port+0x48c/0xb60 [ 80.456002][ T946] ? hsr_port_exists+0x60/0x60 [ 80.456005][ T946] ? timer_init_key+0x10d/0x280 [ 80.456010][ T946] hsr_dev_finalize+0x841/0xcf0 [ 80.456012][ T946] ? alloc_netdev_mqs+0xe11/0x14d0 [ 80.456017][ T946] ? alloc_netdev_mqs+0xf05/0x14d0 [ 80.456019][ T946] hsr_newlink+0x3b9/0x930 [ 80.456021][ T946] ? hsr_dellink+0x90/0x90 [ 80.456024][ T946] ? rtnl_create_link+0x169/0xf20 [ 80.456026][ T946] ? nla_strscpy+0xe3/0x180 [ 80.456031][ T946] rtnl_newlink_create+0x2d0/0x750 [ 80.456037][ T946] ? rtnl_create_link+0xf20/0xf20 [ 80.456039][ T946] ? __dev_get_by_name+0x12/0x50 [ 80.456041][ T946] ? rtnl_dev_get+0xd7/0x170 [ 80.456049][ T946] __rtnl_newlink+0x22b/0xa50 [ 80.456056][ T946] rtnl_newlink+0x9f1/0x11c0 [ 80.456061][ T946] ? rtnl_bridge_getlink+0x850/0x850 [ 80.456063][ T946] ? __lock_acquire+0x518/0xc20 [ 80.456069][ T946] ? __lock_release.isra.0+0x69/0x1a0 [ 80.456073][ T946] ? rtnl_bridge_getlink+0x850/0x850 [ 80.456075][ T946] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 80.456078][ T946] ? rtnl_link_fill+0x920/0x920 [ 80.456080][ T946] ? __lock_acquire+0x518/0xc20 [ 80.456084][ T946] ? lock_acquire.part.0+0xd4/0x280 [ 80.456086][ T946] ? find_held_lock+0x2b/0x80 [ 80.456089][ T946] netlink_rcv_skb+0x14e/0x3a0 [ 80.456093][ T946] ? rtnl_link_fill+0x920/0x920 [ 80.456096][ T946] ? netlink_ack+0xcf0/0xcf0 [ 80.456102][ T946] ? netlink_deliver_tap+0xc5/0x330 [ 80.456104][ T946] ? netlink_deliver_tap+0x13c/0x330 [ 80.456108][ T946] netlink_unicast+0x486/0x750 [ 80.456112][ T946] ? netlink_attachskb+0x810/0x810 [ 80.456115][ T946] ? __lock_acquire+0x518/0xc20 [ 80.456119][ T946] netlink_sendmsg+0x735/0xc60 [ 80.456123][ T946] ? netlink_unicast+0x750/0x750 [ 80.456127][ T946] ? __might_fault+0x97/0x140 [ 80.456133][ T946] ____sys_sendmsg+0x415/0x880 [ 80.456136][ T946] ? copy_msghdr_from_user+0x279/0x420 [ 80.456138][ T946] ? get_timestamp.constprop.0+0x390/0x390 [ 80.456140][ T946] ? move_addr_to_kernel+0x40/0x40 [ 80.456147][ T946] ___sys_sendmsg+0x14e/0x1d0 [ 80.456150][ T946] ? copy_msghdr_from_user+0x420/0x420 [ 80.456166][ T946] __sys_sendmsg+0x12c/0x1d0 [ 80.456169][ T946] ? __sys_sendmsg_sock+0x20/0x20 [ 80.456175][ T946] ? rcu_is_watching+0x16/0xd0 [ 80.456179][ T946] do_syscall_64+0xff/0x530 [ 80.456182][ T946] ? exc_page_fault+0xee/0x100 [ 80.456184][ T946] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 80.456186][ T946] RIP: 0033:0x7f71bdf8354e [ 80.456190][ T946] 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.456191][ T946] RSP: 002b:00007ffe0c09dbb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 80.456194][ T946] RAX: ffffffffffffffda RBX: 00007ffe0c09e360 RCX: 00007f71bdf8354e [ 80.456195][ T946] RDX: 0000000000000000 RSI: 00007ffe0c09dc60 RDI: 0000000000000005 [ 80.456196][ T946] RBP: 00007ffe0c09dbc0 R08: 0000000000000000 R09: 0000000000000000 [ 80.456197][ T946] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a912566 [ 80.456198][ T946] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe0c09e330 [ 80.456205][ T946] [ 80.490757][ T946] vethB: entered promiscuous mode [ 80.531130][ T947] vethA: entered promiscuous mode [ 80.531912][ T947] vethB: entered promiscuous mode [ 80.560375][ T948] vethA: entered promiscuous mode [ 80.561085][ T948] vethB: entered promiscuous mode [ 80.734429][ T954] hsr1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 80.734826][ T954] hsr1: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 80.826083][ T957] hsr2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 80.826513][ T957] hsr2: Slave B (vethB) is not up; please bring it up to get a fully working HSR network [ 80.919583][ T960] hsr3: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 87.172900][ T12] vethA: left promiscuous mode [ 87.172919][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 87.172921][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 87.172923][ T12] preempt_count: 1, expected: 0 [ 87.172923][ T12] RCU nest depth: 0, expected: 0 [ 87.172924][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 87.172926][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 87.172938][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 87.172942][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 87.172948][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 87.172952][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 87.172956][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 87.172960][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 87.172964][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 87.172968][ T12] irq event stamp: 863744 [ 87.172968][ T12] hardirqs last enabled at (863743): [] __down_trylock_console_sem+0x86/0xa0 [ 87.172971][ T12] hardirqs last disabled at (863744): [] console_emit_next_record+0x3d4/0x4c0 [ 87.172973][ T12] softirqs last enabled at (863614): [] tcp_close+0x2b/0xb0 [ 87.172976][ T12] softirqs last disabled at (863612): [] release_sock+0x21/0x240 [ 87.172979][ T12] Preemption disabled at: [ 87.172980][ T12] [] vprintk_emit+0x31b/0x3e0 [ 87.172986][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 87.172989][ T12] Tainted: [W]=WARN [ 87.172990][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 87.172992][ T12] Workqueue: netns cleanup_net [ 87.172996][ T12] Call Trace: [ 87.172998][ T12] [ 87.173000][ T12] dump_stack_lvl+0x6f/0xa0 [ 87.173006][ T12] ? vprintk_emit+0x31b/0x3e0 [ 87.173009][ T12] __might_resched.cold+0x1fe/0x2c1 [ 87.173014][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 87.173018][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 87.173023][ T12] __kmalloc_noprof+0x443/0x760 [ 87.173026][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 87.173039][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 87.173042][ T12] alloc_buf.isra.0+0x4b/0x260 [ 87.173047][ T12] put_chars+0x1e1/0x2f0 [ 87.173051][ T12] ? __send_to_port+0x420/0x420 [ 87.173056][ T12] ? validate_chain+0x38b/0xc20 [ 87.173063][ T12] hvc_console_print+0x292/0x780 [ 87.173073][ T12] ? hvc_write+0x3a0/0x3a0 [ 87.173077][ T12] ? rcu_is_watching+0x16/0xd0 [ 87.173082][ T12] ? lock_acquire+0x13c/0x160 [ 87.173088][ T12] console_emit_next_record+0x22f/0x4c0 [ 87.173094][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 87.173096][ T12] ? console_flush_one_record+0x106/0x710 [ 87.173100][ T12] ? rcu_is_watching+0x16/0xd0 [ 87.173103][ T12] ? lock_acquire+0x13c/0x160 [ 87.173108][ T12] console_flush_one_record+0x46f/0x710 [ 87.173113][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 87.173115][ T12] ? __lock_acquire+0x518/0xc20 [ 87.173121][ T12] console_unlock+0xee/0x1f0 [ 87.173125][ T12] ? console_flush_one_record+0x710/0x710 [ 87.173126][ T12] ? rcu_is_watching+0x16/0xd0 [ 87.173129][ T12] ? lock_acquire+0x60/0x160 [ 87.173133][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 87.173134][ T12] ? vprintk_emit+0x320/0x3e0 [ 87.173138][ T12] vprintk_emit+0x37c/0x3e0 [ 87.173142][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 87.173145][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 87.173147][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 87.173150][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 87.173151][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 87.173155][ T12] _printk+0xc7/0x100 [ 87.173159][ T12] ? snapshot_read.cold+0x21/0x21 [ 87.173162][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 87.173165][ T12] ? netdev_name+0x43/0x60 [ 87.173168][ T12] ? __netdev_printk+0x17f/0x1d0 [ 87.173172][ T12] netdev_info+0xe2/0x116 [ 87.173174][ T12] ? netdev_notice+0x120/0x120 [ 87.173178][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 87.173180][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 87.173182][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 87.173186][ T12] ? mutex_is_locked+0x1c/0x50 [ 87.173190][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 87.173193][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 87.173196][ T12] netif_set_promiscuity+0x4c/0xc0 [ 87.173200][ T12] dev_set_promiscuity+0x9d/0x150 [ 87.173203][ T12] hsr_del_port+0x39d/0x540 [ 87.173208][ T12] hsr_del_ports+0x24/0x80 [ 87.173211][ T12] hsr_dellink+0x5d/0x90 [ 87.173214][ T12] default_device_exit_batch+0x19d/0x600 [ 87.173218][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 87.173220][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 87.173223][ T12] ? mutex_is_locked+0x1c/0x50 [ 87.173227][ T12] ops_undo_list+0x2ce/0x8f0 [ 87.173231][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 87.173233][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 87.173235][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 87.173238][ T12] ? idr_destroy+0x121/0x250 [ 87.173243][ T12] cleanup_net+0x431/0x890 [ 87.173246][ T12] ? net_passive_dec+0x230/0x230 [ 87.173250][ T12] ? lock_acquire+0x13c/0x160 [ 87.173252][ T12] ? rcu_is_watching+0x16/0xd0 [ 87.173256][ T12] process_one_work+0xe3e/0x1560 [ 87.173263][ T12] ? __queue_delayed_work+0x470/0x470 [ 87.173266][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 87.173274][ T12] worker_thread+0x4f1/0xd60 [ 87.173282][ T12] ? rescuer_thread+0x1340/0x1340 [ 87.173284][ T12] kthread+0x367/0x460 [ 87.173287][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 87.173290][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 87.173293][ T12] ret_from_fork+0x474/0x6b0 [ 87.173297][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 87.173300][ T12] ? __switch_to+0x5a3/0xe00 [ 87.173304][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 87.173307][ T12] ret_from_fork_asm+0x11/0x20 [ 87.173316][ T12] [ 87.203271][ T12] vethB: left promiscuous mode [ 87.215063][ T12] vethA (unregistering): left promiscuous mode [ 87.220190][ T12] vethB (unregistering): left promiscuous mode [ 87.458374][ T12] vethA: left promiscuous mode [ 87.473758][ T12] vethB (unregistering): left promiscuous mode [ 87.822763][ T1014] vethA: entered promiscuous mode [ 87.823496][ T1014] vethB: entered promiscuous mode [ 87.854895][ T1015] vethA: entered promiscuous mode [ 87.855605][ T1015] vethB: entered promiscuous mode [ 88.002913][ T1020] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 88.087560][ T1023] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 92.627401][ T12] vethA: left promiscuous mode [ 92.627420][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 92.627422][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 92.627423][ T12] preempt_count: 1, expected: 0 [ 92.627424][ T12] RCU nest depth: 0, expected: 0 [ 92.627425][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 92.627428][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 92.627440][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 92.627444][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 92.627450][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 92.627454][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 92.627459][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 92.627462][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 92.627466][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 92.627470][ T12] irq event stamp: 956728 [ 92.627471][ T12] hardirqs last enabled at (956727): [] __down_trylock_console_sem+0x86/0xa0 [ 92.627474][ T12] hardirqs last disabled at (956728): [] console_emit_next_record+0x3d4/0x4c0 [ 92.627476][ T12] softirqs last enabled at (956698): [] handle_softirqs+0x67c/0x900 [ 92.627479][ T12] softirqs last disabled at (956689): [] __irq_exit_rcu+0x145/0x1c0 [ 92.627481][ T12] Preemption disabled at: [ 92.627482][ T12] [] vprintk_emit+0x31b/0x3e0 [ 92.627488][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 92.627491][ T12] Tainted: [W]=WARN [ 92.627492][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 92.627494][ T12] Workqueue: netns cleanup_net [ 92.627497][ T12] Call Trace: [ 92.627499][ T12] [ 92.627501][ T12] dump_stack_lvl+0x6f/0xa0 [ 92.627507][ T12] ? vprintk_emit+0x31b/0x3e0 [ 92.627509][ T12] __might_resched.cold+0x1fe/0x2c1 [ 92.627513][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 92.627518][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 92.627523][ T12] __kmalloc_noprof+0x443/0x760 [ 92.627525][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 92.627531][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 92.627534][ T12] alloc_buf.isra.0+0x4b/0x260 [ 92.627538][ T12] put_chars+0x1e1/0x2f0 [ 92.627541][ T12] ? __send_to_port+0x420/0x420 [ 92.627544][ T12] ? validate_chain+0x38b/0xc20 [ 92.627550][ T12] hvc_console_print+0x292/0x780 [ 92.627557][ T12] ? hvc_write+0x3a0/0x3a0 [ 92.627559][ T12] ? rcu_is_watching+0x16/0xd0 [ 92.627564][ T12] ? lock_acquire+0x13c/0x160 [ 92.627568][ T12] console_emit_next_record+0x22f/0x4c0 [ 92.627572][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 92.627574][ T12] ? console_flush_one_record+0x106/0x710 [ 92.627577][ T12] ? rcu_is_watching+0x16/0xd0 [ 92.627579][ T12] ? lock_acquire+0x13c/0x160 [ 92.627584][ T12] console_flush_one_record+0x46f/0x710 [ 92.627588][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 92.627590][ T12] ? __lock_acquire+0x518/0xc20 [ 92.627595][ T12] console_unlock+0xee/0x1f0 [ 92.627598][ T12] ? console_flush_one_record+0x710/0x710 [ 92.627600][ T12] ? rcu_is_watching+0x16/0xd0 [ 92.627603][ T12] ? lock_acquire+0x60/0x160 [ 92.627606][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 92.627608][ T12] ? vprintk_emit+0x320/0x3e0 [ 92.627612][ T12] vprintk_emit+0x37c/0x3e0 [ 92.627616][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 92.627618][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 92.627620][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 92.627623][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 92.627625][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 92.627629][ T12] _printk+0xc7/0x100 [ 92.627632][ T12] ? snapshot_read.cold+0x21/0x21 [ 92.627636][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 92.627638][ T12] ? netdev_name+0x43/0x60 [ 92.627642][ T12] ? __netdev_printk+0x17f/0x1d0 [ 92.627646][ T12] netdev_info+0xe2/0x116 [ 92.627648][ T12] ? netdev_notice+0x120/0x120 [ 92.627652][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 92.627653][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 92.627656][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 92.627659][ T12] ? mutex_is_locked+0x1c/0x50 [ 92.627663][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 92.627666][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 92.627669][ T12] netif_set_promiscuity+0x4c/0xc0 [ 92.627674][ T12] dev_set_promiscuity+0x9d/0x150 [ 92.627677][ T12] hsr_del_port+0x39d/0x540 [ 92.627682][ T12] hsr_del_ports+0x24/0x80 [ 92.627685][ T12] hsr_dellink+0x5d/0x90 [ 92.627687][ T12] default_device_exit_batch+0x19d/0x600 [ 92.627691][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 92.627694][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 92.627696][ T12] ? mutex_is_locked+0x1c/0x50 [ 92.627700][ T12] ops_undo_list+0x2ce/0x8f0 [ 92.627704][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 92.627706][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 92.627708][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 92.627711][ T12] ? idr_destroy+0x121/0x250 [ 92.627716][ T12] cleanup_net+0x431/0x890 [ 92.627719][ T12] ? net_passive_dec+0x230/0x230 [ 92.627723][ T12] ? lock_acquire+0x13c/0x160 [ 92.627725][ T12] ? rcu_is_watching+0x16/0xd0 [ 92.627730][ T12] process_one_work+0xe3e/0x1560 [ 92.627736][ T12] ? __queue_delayed_work+0x470/0x470 [ 92.627739][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 92.627747][ T12] worker_thread+0x4f1/0xd60 [ 92.627754][ T12] ? rescuer_thread+0x1340/0x1340 [ 92.627757][ T12] kthread+0x367/0x460 [ 92.627765][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 92.627768][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 92.627771][ T12] ret_from_fork+0x474/0x6b0 [ 92.627775][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 92.627778][ T12] ? __switch_to+0x5a3/0xe00 [ 92.627781][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 92.627784][ T12] ret_from_fork_asm+0x11/0x20 [ 92.627793][ T12] [ 92.653267][ T12] vethB: left promiscuous mode [ 92.660614][ T12] vethB (unregistering): left promiscuous mode [ 92.663706][ T12] vethA (unregistering): left promiscuous mode [ 93.269626][ T1060] vethA: entered promiscuous mode [ 93.270364][ T1060] vethB: entered promiscuous mode [ 93.304671][ T1061] vethA: entered promiscuous mode [ 93.305397][ T1061] vethB: entered promiscuous mode [ 93.436132][ T1066] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 93.539678][ T1069] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 98.314909][ T12] vethA: left promiscuous mode [ 98.314927][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 98.314929][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 98.314931][ T12] preempt_count: 1, expected: 0 [ 98.314932][ T12] RCU nest depth: 0, expected: 0 [ 98.314933][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 98.314935][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 98.314947][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 98.314951][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 98.314956][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 98.314960][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 98.314965][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 98.314968][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 98.314972][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 98.314976][ T12] irq event stamp: 1016318 [ 98.314977][ T12] hardirqs last enabled at (1016317): [] __down_trylock_console_sem+0x86/0xa0 [ 98.314979][ T12] hardirqs last disabled at (1016318): [] console_emit_next_record+0x3d4/0x4c0 [ 98.314981][ T12] softirqs last enabled at (1016202): [] tcp_close+0x2b/0xb0 [ 98.314985][ T12] softirqs last disabled at (1016200): [] release_sock+0x21/0x240 [ 98.314988][ T12] Preemption disabled at: [ 98.314989][ T12] [] vprintk_emit+0x31b/0x3e0 [ 98.314995][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 98.314998][ T12] Tainted: [W]=WARN [ 98.314999][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 98.315001][ T12] Workqueue: netns cleanup_net [ 98.315004][ T12] Call Trace: [ 98.315006][ T12] [ 98.315007][ T12] dump_stack_lvl+0x6f/0xa0 [ 98.315013][ T12] ? vprintk_emit+0x31b/0x3e0 [ 98.315015][ T12] __might_resched.cold+0x1fe/0x2c1 [ 98.315020][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 98.315024][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 98.315029][ T12] __kmalloc_noprof+0x443/0x760 [ 98.315031][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 98.315039][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 98.315042][ T12] alloc_buf.isra.0+0x4b/0x260 [ 98.315045][ T12] put_chars+0x1e1/0x2f0 [ 98.315048][ T12] ? __send_to_port+0x420/0x420 [ 98.315052][ T12] ? validate_chain+0x38b/0xc20 [ 98.315057][ T12] hvc_console_print+0x292/0x780 [ 98.315063][ T12] ? hvc_write+0x3a0/0x3a0 [ 98.315066][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.315070][ T12] ? lock_acquire+0x13c/0x160 [ 98.315074][ T12] console_emit_next_record+0x22f/0x4c0 [ 98.315078][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 98.315079][ T12] ? console_flush_one_record+0x106/0x710 [ 98.315083][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.315085][ T12] ? lock_acquire+0x13c/0x160 [ 98.315089][ T12] console_flush_one_record+0x46f/0x710 [ 98.315093][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 98.315095][ T12] ? __lock_acquire+0x518/0xc20 [ 98.315100][ T12] console_unlock+0xee/0x1f0 [ 98.315103][ T12] ? console_flush_one_record+0x710/0x710 [ 98.315105][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.315107][ T12] ? lock_acquire+0x60/0x160 [ 98.315111][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 98.315112][ T12] ? vprintk_emit+0x320/0x3e0 [ 98.315116][ T12] vprintk_emit+0x37c/0x3e0 [ 98.315119][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 98.315122][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 98.315124][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 98.315127][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 98.315129][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 98.315132][ T12] _printk+0xc7/0x100 [ 98.315135][ T12] ? snapshot_read.cold+0x21/0x21 [ 98.315138][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 98.315141][ T12] ? netdev_name+0x43/0x60 [ 98.315144][ T12] ? __netdev_printk+0x17f/0x1d0 [ 98.315148][ T12] netdev_info+0xe2/0x116 [ 98.315150][ T12] ? netdev_notice+0x120/0x120 [ 98.315153][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 98.315155][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 98.315157][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 98.315160][ T12] ? mutex_is_locked+0x1c/0x50 [ 98.315164][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 98.315167][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 98.315170][ T12] netif_set_promiscuity+0x4c/0xc0 [ 98.315174][ T12] dev_set_promiscuity+0x9d/0x150 [ 98.315177][ T12] hsr_del_port+0x39d/0x540 [ 98.315182][ T12] hsr_del_ports+0x24/0x80 [ 98.315184][ T12] hsr_dellink+0x5d/0x90 [ 98.315187][ T12] default_device_exit_batch+0x19d/0x600 [ 98.315190][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 98.315193][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 98.315195][ T12] ? mutex_is_locked+0x1c/0x50 [ 98.315199][ T12] ops_undo_list+0x2ce/0x8f0 [ 98.315203][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 98.315205][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 98.315206][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 98.315209][ T12] ? idr_destroy+0x121/0x250 [ 98.315214][ T12] cleanup_net+0x431/0x890 [ 98.315217][ T12] ? net_passive_dec+0x230/0x230 [ 98.315221][ T12] ? lock_acquire+0x13c/0x160 [ 98.315223][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.315227][ T12] process_one_work+0xe3e/0x1560 [ 98.315233][ T12] ? __queue_delayed_work+0x470/0x470 [ 98.315236][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 98.315243][ T12] worker_thread+0x4f1/0xd60 [ 98.315250][ T12] ? rescuer_thread+0x1340/0x1340 [ 98.315252][ T12] kthread+0x367/0x460 [ 98.315255][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 98.315258][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 98.315260][ T12] ret_from_fork+0x474/0x6b0 [ 98.315264][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 98.315267][ T12] ? __switch_to+0x5a3/0xe00 [ 98.315271][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 98.315273][ T12] ret_from_fork_asm+0x11/0x20 [ 98.315282][ T12] [ 98.340066][ T12] vethB: left promiscuous mode [ 98.348616][ T12] vethB (unregistering): left promiscuous mode [ 98.351935][ T12] vethA (unregistering): left promiscuous mode [ 98.903942][ T1108] vethA: entered promiscuous mode [ 98.904661][ T1108] vethB: entered promiscuous mode [ 98.948715][ T1109] vethA: entered promiscuous mode [ 98.949478][ T1109] vethB: entered promiscuous mode [ 99.080902][ T1114] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 99.175310][ T1117] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 104.986084][ T12] vethA: left promiscuous mode [ 104.986102][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 104.986104][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 104.986106][ T12] preempt_count: 1, expected: 0 [ 104.986106][ T12] RCU nest depth: 0, expected: 0 [ 104.986107][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 104.986109][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 104.986122][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 104.986125][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 104.986131][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 104.986135][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 104.986140][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 104.986143][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 104.986147][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 104.986151][ T12] irq event stamp: 1073192 [ 104.986152][ T12] hardirqs last enabled at (1073191): [] __down_trylock_console_sem+0x86/0xa0 [ 104.986154][ T12] hardirqs last disabled at (1073192): [] console_emit_next_record+0x3d4/0x4c0 [ 104.986156][ T12] softirqs last enabled at (1073148): [] handle_softirqs+0x67c/0x900 [ 104.986159][ T12] softirqs last disabled at (1073141): [] __irq_exit_rcu+0x145/0x1c0 [ 104.986161][ T12] Preemption disabled at: [ 104.986162][ T12] [] vprintk_emit+0x31b/0x3e0 [ 104.986167][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 104.986171][ T12] Tainted: [W]=WARN [ 104.986172][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 104.986173][ T12] Workqueue: netns cleanup_net [ 104.986177][ T12] Call Trace: [ 104.986178][ T12] [ 104.986180][ T12] dump_stack_lvl+0x6f/0xa0 [ 104.986185][ T12] ? vprintk_emit+0x31b/0x3e0 [ 104.986187][ T12] __might_resched.cold+0x1fe/0x2c1 [ 104.986192][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 104.986195][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 104.986200][ T12] __kmalloc_noprof+0x443/0x760 [ 104.986203][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 104.986208][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 104.986211][ T12] alloc_buf.isra.0+0x4b/0x260 [ 104.986214][ T12] put_chars+0x1e1/0x2f0 [ 104.986218][ T12] ? __send_to_port+0x420/0x420 [ 104.986221][ T12] ? validate_chain+0x38b/0xc20 [ 104.986226][ T12] hvc_console_print+0x292/0x780 [ 104.986233][ T12] ? hvc_write+0x3a0/0x3a0 [ 104.986235][ T12] ? rcu_is_watching+0x16/0xd0 [ 104.986239][ T12] ? lock_acquire+0x13c/0x160 [ 104.986243][ T12] console_emit_next_record+0x22f/0x4c0 [ 104.986247][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 104.986249][ T12] ? console_flush_one_record+0x106/0x710 [ 104.986252][ T12] ? rcu_is_watching+0x16/0xd0 [ 104.986254][ T12] ? lock_acquire+0x13c/0x160 [ 104.986258][ T12] console_flush_one_record+0x46f/0x710 [ 104.986262][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 104.986264][ T12] ? __lock_acquire+0x518/0xc20 [ 104.986269][ T12] console_unlock+0xee/0x1f0 [ 104.986272][ T12] ? console_flush_one_record+0x710/0x710 [ 104.986274][ T12] ? rcu_is_watching+0x16/0xd0 [ 104.986276][ T12] ? lock_acquire+0x60/0x160 [ 104.986280][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 104.986282][ T12] ? vprintk_emit+0x320/0x3e0 [ 104.986285][ T12] vprintk_emit+0x37c/0x3e0 [ 104.986289][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 104.986292][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 104.986294][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 104.986296][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 104.986298][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 104.986302][ T12] _printk+0xc7/0x100 [ 104.986305][ T12] ? snapshot_read.cold+0x21/0x21 [ 104.986308][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 104.986311][ T12] ? netdev_name+0x43/0x60 [ 104.986314][ T12] ? __netdev_printk+0x17f/0x1d0 [ 104.986317][ T12] netdev_info+0xe2/0x116 [ 104.986320][ T12] ? netdev_notice+0x120/0x120 [ 104.986323][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 104.986325][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 104.986327][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 104.986331][ T12] ? mutex_is_locked+0x1c/0x50 [ 104.986335][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 104.986337][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 104.986340][ T12] netif_set_promiscuity+0x4c/0xc0 [ 104.986344][ T12] dev_set_promiscuity+0x9d/0x150 [ 104.986347][ T12] hsr_del_port+0x39d/0x540 [ 104.986352][ T12] hsr_del_ports+0x24/0x80 [ 104.986354][ T12] hsr_dellink+0x5d/0x90 [ 104.986357][ T12] default_device_exit_batch+0x19d/0x600 [ 104.986360][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 104.986363][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 104.986365][ T12] ? mutex_is_locked+0x1c/0x50 [ 104.986369][ T12] ops_undo_list+0x2ce/0x8f0 [ 104.986373][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 104.986375][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 104.986376][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 104.986379][ T12] ? idr_destroy+0x121/0x250 [ 104.986384][ T12] cleanup_net+0x431/0x890 [ 104.986387][ T12] ? net_passive_dec+0x230/0x230 [ 104.986391][ T12] ? lock_acquire+0x13c/0x160 [ 104.986393][ T12] ? rcu_is_watching+0x16/0xd0 [ 104.986397][ T12] process_one_work+0xe3e/0x1560 [ 104.986403][ T12] ? __queue_delayed_work+0x470/0x470 [ 104.986406][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 104.986413][ T12] worker_thread+0x4f1/0xd60 [ 104.986420][ T12] ? rescuer_thread+0x1340/0x1340 [ 104.986422][ T12] kthread+0x367/0x460 [ 104.986425][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 104.986428][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 104.986430][ T12] ret_from_fork+0x474/0x6b0 [ 104.986434][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 104.986437][ T12] ? __switch_to+0x5a3/0xe00 [ 104.986440][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 104.986443][ T12] ret_from_fork_asm+0x11/0x20 [ 104.986452][ T12] [ 105.014209][ T12] vethB: left promiscuous mode [ 105.024076][ T12] vethB (unregistering): left promiscuous mode [ 105.035296][ T12] vethA (unregistering): left promiscuous mode [ 105.581370][ T1156] vethA: entered promiscuous mode [ 105.587955][ T1156] vethB: entered promiscuous mode [ 105.615321][ T1157] vethA: entered promiscuous mode [ 105.616052][ T1157] vethB: entered promiscuous mode [ 105.769491][ T1162] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 105.852412][ T1165] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 111.316290][ T12] vethA: left promiscuous mode [ 111.316309][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 111.316311][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 111.316313][ T12] preempt_count: 1, expected: 0 [ 111.316314][ T12] RCU nest depth: 0, expected: 0 [ 111.316315][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 111.316317][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 111.316329][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 111.316333][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 111.316338][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 111.316342][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 111.316347][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 111.316350][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 111.316354][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 111.316358][ T12] irq event stamp: 1138862 [ 111.316359][ T12] hardirqs last enabled at (1138861): [] __down_trylock_console_sem+0x86/0xa0 [ 111.316361][ T12] hardirqs last disabled at (1138862): [] console_emit_next_record+0x3d4/0x4c0 [ 111.316363][ T12] softirqs last enabled at (1138746): [] tcp_close+0x2b/0xb0 [ 111.316367][ T12] softirqs last disabled at (1138744): [] release_sock+0x21/0x240 [ 111.316370][ T12] Preemption disabled at: [ 111.316370][ T12] [] vprintk_emit+0x31b/0x3e0 [ 111.316376][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 111.316379][ T12] Tainted: [W]=WARN [ 111.316380][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 111.316382][ T12] Workqueue: netns cleanup_net [ 111.316385][ T12] Call Trace: [ 111.316387][ T12] [ 111.316389][ T12] dump_stack_lvl+0x6f/0xa0 [ 111.316395][ T12] ? vprintk_emit+0x31b/0x3e0 [ 111.316397][ T12] __might_resched.cold+0x1fe/0x2c1 [ 111.316401][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 111.316405][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 111.316410][ T12] __kmalloc_noprof+0x443/0x760 [ 111.316412][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 111.316418][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 111.316421][ T12] alloc_buf.isra.0+0x4b/0x260 [ 111.316424][ T12] put_chars+0x1e1/0x2f0 [ 111.316427][ T12] ? __send_to_port+0x420/0x420 [ 111.316430][ T12] ? validate_chain+0x38b/0xc20 [ 111.316435][ T12] hvc_console_print+0x292/0x780 [ 111.316442][ T12] ? hvc_write+0x3a0/0x3a0 [ 111.316444][ T12] ? rcu_is_watching+0x16/0xd0 [ 111.316449][ T12] ? lock_acquire+0x13c/0x160 [ 111.316453][ T12] console_emit_next_record+0x22f/0x4c0 [ 111.316457][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 111.316458][ T12] ? console_flush_one_record+0x106/0x710 [ 111.316462][ T12] ? rcu_is_watching+0x16/0xd0 [ 111.316464][ T12] ? lock_acquire+0x13c/0x160 [ 111.316468][ T12] console_flush_one_record+0x46f/0x710 [ 111.316472][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 111.316474][ T12] ? __lock_acquire+0x518/0xc20 [ 111.316479][ T12] console_unlock+0xee/0x1f0 [ 111.316482][ T12] ? console_flush_one_record+0x710/0x710 [ 111.316483][ T12] ? rcu_is_watching+0x16/0xd0 [ 111.316486][ T12] ? lock_acquire+0x60/0x160 [ 111.316489][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 111.316491][ T12] ? vprintk_emit+0x320/0x3e0 [ 111.316494][ T12] vprintk_emit+0x37c/0x3e0 [ 111.316498][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 111.316501][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 111.316503][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 111.316505][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 111.316507][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 111.316511][ T12] _printk+0xc7/0x100 [ 111.316514][ T12] ? snapshot_read.cold+0x21/0x21 [ 111.316517][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 111.316520][ T12] ? netdev_name+0x43/0x60 [ 111.316523][ T12] ? __netdev_printk+0x17f/0x1d0 [ 111.316527][ T12] netdev_info+0xe2/0x116 [ 111.316529][ T12] ? netdev_notice+0x120/0x120 [ 111.316532][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 111.316534][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 111.316536][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 111.316540][ T12] ? mutex_is_locked+0x1c/0x50 [ 111.316543][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 111.316546][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 111.316549][ T12] netif_set_promiscuity+0x4c/0xc0 [ 111.316553][ T12] dev_set_promiscuity+0x9d/0x150 [ 111.316556][ T12] hsr_del_port+0x39d/0x540 [ 111.316561][ T12] hsr_del_ports+0x24/0x80 [ 111.316564][ T12] hsr_dellink+0x5d/0x90 [ 111.316566][ T12] default_device_exit_batch+0x19d/0x600 [ 111.316570][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 111.316573][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 111.316575][ T12] ? mutex_is_locked+0x1c/0x50 [ 111.316579][ T12] ops_undo_list+0x2ce/0x8f0 [ 111.316583][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 111.316585][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 111.316586][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 111.316589][ T12] ? idr_destroy+0x121/0x250 [ 111.316594][ T12] cleanup_net+0x431/0x890 [ 111.316597][ T12] ? net_passive_dec+0x230/0x230 [ 111.316600][ T12] ? lock_acquire+0x13c/0x160 [ 111.316602][ T12] ? rcu_is_watching+0x16/0xd0 [ 111.316606][ T12] process_one_work+0xe3e/0x1560 [ 111.316613][ T12] ? __queue_delayed_work+0x470/0x470 [ 111.316615][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 111.316623][ T12] worker_thread+0x4f1/0xd60 [ 111.316630][ T12] ? rescuer_thread+0x1340/0x1340 [ 111.316632][ T12] kthread+0x367/0x460 [ 111.316634][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 111.316637][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 111.316640][ T12] ret_from_fork+0x474/0x6b0 [ 111.316644][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 111.316647][ T12] ? __switch_to+0x5a3/0xe00 [ 111.316650][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 111.316652][ T12] ret_from_fork_asm+0x11/0x20 [ 111.316661][ T12] [ 111.341498][ T12] vethB: left promiscuous mode [ 111.354740][ T12] vethB (unregistering): left promiscuous mode [ 111.361020][ T12] vethA (unregistering): left promiscuous mode [ 111.920238][ T1204] vethA: entered promiscuous mode [ 111.920979][ T1204] vethB: entered promiscuous mode [ 111.948960][ T1205] vethA: entered promiscuous mode [ 111.949668][ T1205] vethB: entered promiscuous mode [ 112.100152][ T1210] prp1: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 112.188295][ T1213] prp2: Slave A (vethA) is not up; please bring it up to get a fully working HSR network [ 117.501242][ T12] vethA: left promiscuous mode [ 117.501260][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 117.501262][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 117.501264][ T12] preempt_count: 1, expected: 0 [ 117.501264][ T12] RCU nest depth: 0, expected: 0 [ 117.501266][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 117.501268][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 117.501280][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 117.501284][ T12] #2: ffffffffba6c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 117.501289][ T12] #3: ffffffffba6e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 117.501293][ T12] #4: ffffffffb9f79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 117.501298][ T12] #5: ffffffffb9f79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 117.501302][ T12] #6: ffffffffb9e99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 117.501305][ T12] #7: ffffffffb9e99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 117.501309][ T12] irq event stamp: 1219344 [ 117.501310][ T12] hardirqs last enabled at (1219343): [] __down_trylock_console_sem+0x86/0xa0 [ 117.501312][ T12] hardirqs last disabled at (1219344): [] console_emit_next_record+0x3d4/0x4c0 [ 117.501314][ T12] softirqs last enabled at (1219228): [] tcp_close+0x2b/0xb0 [ 117.501317][ T12] softirqs last disabled at (1219226): [] release_sock+0x21/0x240 [ 117.501320][ T12] Preemption disabled at: [ 117.501321][ T12] [] vprintk_emit+0x31b/0x3e0 [ 117.501326][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 117.501330][ T12] Tainted: [W]=WARN [ 117.501331][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 117.501332][ T12] Workqueue: netns cleanup_net [ 117.501336][ T12] Call Trace: [ 117.501337][ T12] [ 117.501339][ T12] dump_stack_lvl+0x6f/0xa0 [ 117.501344][ T12] ? vprintk_emit+0x31b/0x3e0 [ 117.501347][ T12] __might_resched.cold+0x1fe/0x2c1 [ 117.501351][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 117.501355][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 117.501360][ T12] __kmalloc_noprof+0x443/0x760 [ 117.501362][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 117.501368][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 117.501371][ T12] alloc_buf.isra.0+0x4b/0x260 [ 117.501374][ T12] put_chars+0x1e1/0x2f0 [ 117.501377][ T12] ? __send_to_port+0x420/0x420 [ 117.501380][ T12] ? validate_chain+0x38b/0xc20 [ 117.501385][ T12] hvc_console_print+0x292/0x780 [ 117.501392][ T12] ? hvc_write+0x3a0/0x3a0 [ 117.501395][ T12] ? rcu_is_watching+0x16/0xd0 [ 117.501399][ T12] ? lock_acquire+0x13c/0x160 [ 117.501403][ T12] console_emit_next_record+0x22f/0x4c0 [ 117.501407][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 117.501409][ T12] ? console_flush_one_record+0x106/0x710 [ 117.501412][ T12] ? rcu_is_watching+0x16/0xd0 [ 117.501414][ T12] ? lock_acquire+0x13c/0x160 [ 117.501418][ T12] console_flush_one_record+0x46f/0x710 [ 117.501422][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 117.501424][ T12] ? __lock_acquire+0x518/0xc20 [ 117.501429][ T12] console_unlock+0xee/0x1f0 [ 117.501432][ T12] ? console_flush_one_record+0x710/0x710 [ 117.501434][ T12] ? rcu_is_watching+0x16/0xd0 [ 117.501436][ T12] ? lock_acquire+0x60/0x160 [ 117.501440][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 117.501441][ T12] ? vprintk_emit+0x320/0x3e0 [ 117.501445][ T12] vprintk_emit+0x37c/0x3e0 [ 117.501448][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 117.501451][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 117.501453][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 117.501456][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 117.501458][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 117.501461][ T12] _printk+0xc7/0x100 [ 117.501464][ T12] ? snapshot_read.cold+0x21/0x21 [ 117.501468][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 117.501470][ T12] ? netdev_name+0x43/0x60 [ 117.501474][ T12] ? __netdev_printk+0x17f/0x1d0 [ 117.501477][ T12] netdev_info+0xe2/0x116 [ 117.501479][ T12] ? netdev_notice+0x120/0x120 [ 117.501483][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 117.501484][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 117.501486][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 117.501490][ T12] ? mutex_is_locked+0x1c/0x50 [ 117.501494][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 117.501497][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 117.501500][ T12] netif_set_promiscuity+0x4c/0xc0 [ 117.501504][ T12] dev_set_promiscuity+0x9d/0x150 [ 117.501507][ T12] hsr_del_port+0x39d/0x540 [ 117.501512][ T12] hsr_del_ports+0x24/0x80 [ 117.501515][ T12] hsr_dellink+0x5d/0x90 [ 117.501517][ T12] default_device_exit_batch+0x19d/0x600 [ 117.501521][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 117.501523][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 117.501525][ T12] ? mutex_is_locked+0x1c/0x50 [ 117.501529][ T12] ops_undo_list+0x2ce/0x8f0 [ 117.501533][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 117.501535][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 117.501537][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 117.501540][ T12] ? idr_destroy+0x121/0x250 [ 117.501544][ T12] cleanup_net+0x431/0x890 [ 117.501547][ T12] ? net_passive_dec+0x230/0x230 [ 117.501551][ T12] ? lock_acquire+0x13c/0x160 [ 117.501553][ T12] ? rcu_is_watching+0x16/0xd0 [ 117.501557][ T12] process_one_work+0xe3e/0x1560 [ 117.501563][ T12] ? __queue_delayed_work+0x470/0x470 [ 117.501566][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 117.501574][ T12] worker_thread+0x4f1/0xd60 [ 117.501580][ T12] ? rescuer_thread+0x1340/0x1340 [ 117.501582][ T12] kthread+0x367/0x460 [ 117.501585][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 117.501588][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 117.501591][ T12] ret_from_fork+0x474/0x6b0 [ 117.501595][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 117.501598][ T12] ? __switch_to+0x5a3/0xe00 [ 117.501601][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 117.501604][ T12] ret_from_fork_asm+0x11/0x20 [ 117.501613][ T12] [ 117.526781][ T12] vethB: left promiscuous mode [ 117.560834][ T12] vethB (unregistering): left promiscuous mode [ 117.567263][ T12] vethA (unregistering): left promiscuous mode