[ 9.398352][ T201] rb_a: entered promiscuous mode [ 9.398410][ T201] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.398412][ T201] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 201, name: ip [ 9.398413][ T201] preempt_count: 1, expected: 0 [ 9.398414][ T201] RCU nest depth: 0, expected: 0 [ 9.398415][ T201] locks held by ip/201: 6, last CPU#0: [ 9.398417][ T201] #0: ffffffffa5ef3088 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get+0xf1/0x280 [ 9.398428][ T201] #1: ffffffffa5ce3740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 9.398432][ T201] #2: ffffffffa5579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.398437][ T201] #3: ffffffffa5579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.398441][ T201] #4: ffffffffa5499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.398445][ T201] #5: ffffffffa5499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.398448][ T201] irq event stamp: 19662 [ 9.398449][ T201] hardirqs last enabled at (19661): [] __down_trylock_console_sem+0x86/0xa0 [ 9.398452][ T201] hardirqs last disabled at (19662): [] console_emit_next_record+0x3d4/0x4c0 [ 9.398454][ T201] softirqs last enabled at (19534): [] __alloc_skb+0x4c2/0x5f0 [ 9.398457][ T201] softirqs last disabled at (19532): [] __alloc_skb+0x4c2/0x5f0 [ 9.398460][ T201] Preemption disabled at: [ 9.398460][ T201] [] vprintk_emit+0x31b/0x3e0 [ 9.398466][ T201] CPU: 0 UID: 0 PID: 201 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.398469][ T201] Tainted: [W]=WARN [ 9.398470][ T201] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.398471][ T201] Call Trace: [ 9.398473][ T201] [ 9.398475][ T201] dump_stack_lvl+0x6f/0xa0 [ 9.398480][ T201] ? vprintk_emit+0x31b/0x3e0 [ 9.398482][ T201] __might_resched.cold+0x1fe/0x2c1 [ 9.398487][ T201] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.398491][ T201] ? __kmalloc_noprof+0xdb/0x760 [ 9.398496][ T201] __kmalloc_noprof+0x443/0x760 [ 9.398499][ T201] ? alloc_buf.isra.0+0x4b/0x260 [ 9.398505][ T201] ? do_raw_spin_unlock+0x59/0x250 [ 9.398508][ T201] alloc_buf.isra.0+0x4b/0x260 [ 9.398511][ T201] put_chars+0x1e1/0x2f0 [ 9.398514][ T201] ? __send_to_port+0x420/0x420 [ 9.398522][ T201] hvc_console_print+0x292/0x780 [ 9.398529][ T201] ? hvc_write+0x3a0/0x3a0 [ 9.398532][ T201] ? lock_acquire+0x13c/0x160 [ 9.398536][ T201] console_emit_next_record+0x22f/0x4c0 [ 9.398540][ T201] ? devkmsg_read+0x4b0/0x4b0 [ 9.398542][ T201] ? console_flush_one_record+0x106/0x710 [ 9.398545][ T201] ? rcu_is_watching+0x16/0xd0 [ 9.398549][ T201] ? lock_acquire+0x13c/0x160 [ 9.398554][ T201] console_flush_one_record+0x46f/0x710 [ 9.398558][ T201] ? console_emit_next_record+0x4c0/0x4c0 [ 9.398560][ T201] ? __lock_acquire+0x518/0xc20 [ 9.398566][ T201] console_unlock+0xee/0x1f0 [ 9.398568][ T201] ? console_flush_one_record+0x710/0x710 [ 9.398570][ T201] ? rcu_is_watching+0x16/0xd0 [ 9.398573][ T201] ? lock_acquire+0x60/0x160 [ 9.398577][ T201] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.398578][ T201] ? vprintk_emit+0x320/0x3e0 [ 9.398582][ T201] vprintk_emit+0x37c/0x3e0 [ 9.398585][ T201] ? wake_up_klogd_work_func+0x90/0x90 [ 9.398587][ T201] ? kasan_save_stack+0x3d/0x50 [ 9.398591][ T201] ? kasan_save_track+0x14/0x30 [ 9.398592][ T201] ? __kasan_kmalloc+0x7b/0x90 [ 9.398594][ T201] ? __kmalloc_cache_noprof+0x29a/0x620 [ 9.398595][ T201] ? hsr_add_port+0x1eb/0xb60 [ 9.398599][ T201] ? hsr_dev_finalize+0x841/0xcf0 [ 9.398601][ T201] ? hsr_newlink+0x3b9/0x930 [ 9.398604][ T201] _printk+0xc7/0x100 [ 9.398608][ T201] ? snapshot_read.cold+0x21/0x21 [ 9.398609][ T201] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.398614][ T201] ? netdev_name+0x43/0x60 [ 9.398617][ T201] ? __netdev_printk+0x17f/0x1d0 [ 9.398621][ T201] netdev_info+0xe2/0x116 [ 9.398623][ T201] ? netdev_notice+0x120/0x120 [ 9.398631][ T201] ? mutex_is_locked+0x1c/0x50 [ 9.398635][ T201] __dev_set_promiscuity.cold+0x95/0x104 [ 9.398640][ T201] netif_set_promiscuity+0x4c/0xc0 [ 9.398644][ T201] dev_set_promiscuity+0x9d/0x150 [ 9.398647][ T201] hsr_add_port+0x48c/0xb60 [ 9.398651][ T201] ? hsr_port_exists+0x60/0x60 [ 9.398654][ T201] ? timer_init_key+0x10d/0x280 [ 9.398659][ T201] hsr_dev_finalize+0x841/0xcf0 [ 9.398661][ T201] ? alloc_netdev_mqs+0xe12/0x14d0 [ 9.398666][ T201] ? alloc_netdev_mqs+0xf05/0x14d0 [ 9.398668][ T201] hsr_newlink+0x3b9/0x930 [ 9.398671][ T201] ? hsr_dellink+0x90/0x90 [ 9.398674][ T201] ? rtnl_create_link+0x169/0xf20 [ 9.398676][ T201] ? nla_strscpy+0xe3/0x180 [ 9.398681][ T201] rtnl_newlink_create+0x2d0/0x750 [ 9.398685][ T201] ? rtnl_create_link+0xf20/0xf20 [ 9.398686][ T201] ? __dev_get_by_name+0x12/0x50 [ 9.398688][ T201] ? rtnl_dev_get+0xd7/0x170 [ 9.398698][ T201] __rtnl_newlink+0x22b/0xa50 [ 9.398705][ T201] rtnl_newlink+0x9f1/0x11c0 [ 9.398712][ T201] ? rtnl_bridge_getlink+0x850/0x850 [ 9.398714][ T201] ? __lock_acquire+0x518/0xc20 [ 9.398721][ T201] ? __lock_release.isra.0+0x69/0x1a0 [ 9.398725][ T201] ? rtnl_bridge_getlink+0x850/0x850 [ 9.398727][ T201] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.398731][ T201] ? rtnl_link_fill+0x920/0x920 [ 9.398732][ T201] ? __lock_acquire+0x518/0xc20 [ 9.398737][ T201] ? lock_acquire.part.0+0xd4/0x280 [ 9.398739][ T201] ? find_held_lock+0x2b/0x80 [ 9.398743][ T201] netlink_rcv_skb+0x14e/0x3a0 [ 9.398746][ T201] ? rtnl_link_fill+0x920/0x920 [ 9.398750][ T201] ? netlink_ack+0xcf0/0xcf0 [ 9.398757][ T201] ? netlink_deliver_tap+0xc5/0x330 [ 9.398759][ T201] ? netlink_deliver_tap+0x13c/0x330 [ 9.398764][ T201] netlink_unicast+0x486/0x750 [ 9.398768][ T201] ? netlink_attachskb+0x810/0x810 [ 9.398771][ T201] ? __lock_acquire+0x518/0xc20 [ 9.398776][ T201] netlink_sendmsg+0x735/0xc60 [ 9.398780][ T201] ? netlink_unicast+0x750/0x750 [ 9.398785][ T201] ? __might_fault+0x97/0x140 [ 9.398790][ T201] ____sys_sendmsg+0x415/0x880 [ 9.398794][ T201] ? copy_msghdr_from_user+0x279/0x420 [ 9.398797][ T201] ? get_timestamp.constprop.0+0x390/0x390 [ 9.398798][ T201] ? move_addr_to_kernel+0x40/0x40 [ 9.398807][ T201] ___sys_sendmsg+0x14e/0x1d0 [ 9.398810][ T201] ? copy_msghdr_from_user+0x420/0x420 [ 9.398828][ T201] __sys_sendmsg+0x12c/0x1d0 [ 9.398831][ T201] ? __sys_sendmsg_sock+0x20/0x20 [ 9.398839][ T201] ? rcu_is_watching+0x16/0xd0 [ 9.398843][ T201] do_syscall_64+0xff/0x530 [ 9.398845][ T201] ? exc_page_fault+0xee/0x100 [ 9.398849][ T201] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.398850][ T201] RIP: 0033:0x7f75aae9154e [ 9.398854][ T201] 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.398856][ T201] RSP: 002b:00007fff57056510 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.398858][ T201] RAX: ffffffffffffffda RBX: 00007fff57056cc0 RCX: 00007f75aae9154e [ 9.398860][ T201] RDX: 0000000000000000 RSI: 00007fff570565c0 RDI: 0000000000000005 [ 9.398861][ T201] RBP: 00007fff57056520 R08: 0000000000000000 R09: 0000000000000000 [ 9.398861][ T201] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a919f99 [ 9.398862][ T201] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff57056c90 [ 9.398870][ T201] [ 9.435038][ T201] rb_b: entered promiscuous mode [ 9.435972][ T201] rb_il: entered promiscuous mode [ 9.447659][ T201] ip (201) used greatest stack depth: 23336 bytes left [ 9.504224][ T203] pe_a: entered promiscuous mode [ 9.504984][ T203] pe_b: entered promiscuous mode [ 9.505841][ T203] debugfs: 'prp0' already exists in 'hsr' [ 9.506111][ T203] Cannot create hsr debugfs directory [ 9.542372][ T204] prp0: Slave A (pe_a) is not up; please bring it up to get a fully working HSR network [ 16.202769][ T69] rb_a: left promiscuous mode [ 16.202815][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.202817][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 16.202818][ T69] preempt_count: 1, expected: 0 [ 16.202819][ T69] RCU nest depth: 0, expected: 0 [ 16.202820][ T69] locks held by kworker/u16:1/69: 8, last CPU#3: [ 16.202822][ T69] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 16.202834][ T69] #1: ffa00000004a7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 16.202838][ T69] #2: ffffffffa5cc7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 16.202843][ T69] #3: ffffffffa5ce3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 16.202847][ T69] #4: ffffffffa5579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.202851][ T69] #5: ffffffffa5579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.202855][ T69] #6: ffffffffa5499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.202858][ T69] #7: ffffffffa5499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.202862][ T69] irq event stamp: 25138 [ 16.202863][ T69] hardirqs last enabled at (25137): [] __down_trylock_console_sem+0x86/0xa0 [ 16.202865][ T69] hardirqs last disabled at (25138): [] console_emit_next_record+0x3d4/0x4c0 [ 16.202867][ T69] softirqs last enabled at (25010): [] tcp_close+0x2b/0xb0 [ 16.202870][ T69] softirqs last disabled at (25008): [] release_sock+0x21/0x240 [ 16.202873][ T69] Preemption disabled at: [ 16.202873][ T69] [] vprintk_emit+0x31b/0x3e0 [ 16.202879][ T69] CPU: 3 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.202883][ T69] Tainted: [W]=WARN [ 16.202884][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.202885][ T69] Workqueue: netns cleanup_net [ 16.202889][ T69] Call Trace: [ 16.202891][ T69] [ 16.202893][ T69] dump_stack_lvl+0x6f/0xa0 [ 16.202899][ T69] ? vprintk_emit+0x31b/0x3e0 [ 16.202901][ T69] __might_resched.cold+0x1fe/0x2c1 [ 16.202906][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.202910][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 16.202914][ T69] __kmalloc_noprof+0x443/0x760 [ 16.202917][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 16.202922][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 16.202925][ T69] alloc_buf.isra.0+0x4b/0x260 [ 16.202928][ T69] put_chars+0x1e1/0x2f0 [ 16.202930][ T69] ? check_prev_add+0xef/0xe90 [ 16.202933][ T69] ? __send_to_port+0x420/0x420 [ 16.202936][ T69] ? validate_chain+0x34a/0xc20 [ 16.202941][ T69] hvc_console_print+0x292/0x780 [ 16.202947][ T69] ? hvc_write+0x3a0/0x3a0 [ 16.202950][ T69] ? rcu_is_watching+0x16/0xd0 [ 16.202954][ T69] ? lock_acquire+0x13c/0x160 [ 16.202958][ T69] console_emit_next_record+0x22f/0x4c0 [ 16.202962][ T69] ? devkmsg_read+0x4b0/0x4b0 [ 16.202964][ T69] ? console_flush_one_record+0x106/0x710 [ 16.202967][ T69] ? rcu_is_watching+0x16/0xd0 [ 16.202969][ T69] ? lock_acquire+0x13c/0x160 [ 16.202973][ T69] console_flush_one_record+0x46f/0x710 [ 16.202977][ T69] ? console_emit_next_record+0x4c0/0x4c0 [ 16.202979][ T69] ? __lock_acquire+0x518/0xc20 [ 16.202984][ T69] console_unlock+0xee/0x1f0 [ 16.202987][ T69] ? console_flush_one_record+0x710/0x710 [ 16.202989][ T69] ? rcu_is_watching+0x16/0xd0 [ 16.202991][ T69] ? lock_acquire+0x60/0x160 [ 16.202995][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.202996][ T69] ? vprintk_emit+0x320/0x3e0 [ 16.203000][ T69] vprintk_emit+0x37c/0x3e0 [ 16.203003][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 16.203006][ T69] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.203008][ T69] ? lockdep_hardirqs_on+0x91/0x130 [ 16.203011][ T69] ? finish_task_switch.isra.0+0x209/0xa70 [ 16.203013][ T69] ? finish_task_switch.isra.0+0x209/0xa70 [ 16.203016][ T69] _printk+0xc7/0x100 [ 16.203020][ T69] ? snapshot_read.cold+0x21/0x21 [ 16.203023][ T69] ? synchronize_rcu_expedited+0x440/0x510 [ 16.203026][ T69] ? netdev_name+0x43/0x60 [ 16.203029][ T69] ? __netdev_printk+0x17f/0x1d0 [ 16.203033][ T69] netdev_info+0xe2/0x116 [ 16.203035][ T69] ? netdev_notice+0x120/0x120 [ 16.203039][ T69] ? synchronize_rcu_expedited+0x440/0x510 [ 16.203040][ T69] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 16.203042][ T69] ? synchronize_rcu_normal+0x340/0x340 [ 16.203046][ T69] ? mutex_is_locked+0x1c/0x50 [ 16.203050][ T69] __dev_set_promiscuity.cold+0x95/0x104 [ 16.203052][ T69] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 16.203055][ T69] netif_set_promiscuity+0x4c/0xc0 [ 16.203059][ T69] dev_set_promiscuity+0x9d/0x150 [ 16.203062][ T69] hsr_del_port+0x39d/0x540 [ 16.203067][ T69] hsr_del_ports+0x24/0x80 [ 16.203070][ T69] hsr_dellink+0x5d/0x90 [ 16.203072][ T69] default_device_exit_batch+0x19d/0x600 [ 16.203076][ T69] ? unregister_netdevice_queue+0x470/0x470 [ 16.203078][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.203081][ T69] ? mutex_is_locked+0x1c/0x50 [ 16.203084][ T69] ops_undo_list+0x2ce/0x8f0 [ 16.203088][ T69] ? lockdep_hardirqs_on+0x91/0x130 [ 16.203090][ T69] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 16.203092][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 16.203095][ T69] ? idr_destroy+0x121/0x250 [ 16.203099][ T69] cleanup_net+0x431/0x890 [ 16.203102][ T69] ? net_passive_dec+0x230/0x230 [ 16.203106][ T69] ? lock_acquire+0x13c/0x160 [ 16.203108][ T69] ? rcu_is_watching+0x16/0xd0 [ 16.203112][ T69] process_one_work+0xe3e/0x1560 [ 16.203118][ T69] ? __queue_delayed_work+0x470/0x470 [ 16.203121][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 16.203128][ T69] worker_thread+0x4f1/0xd60 [ 16.203132][ T69] ? rescuer_thread+0x1340/0x1340 [ 16.203134][ T69] ? __kthread_parkme+0xbd/0x210 [ 16.203138][ T69] ? rescuer_thread+0x1340/0x1340 [ 16.203141][ T69] ? rescuer_thread+0x1340/0x1340 [ 16.203143][ T69] kthread+0x367/0x460 [ 16.203145][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.203147][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.203150][ T69] ret_from_fork+0x474/0x6b0 [ 16.203154][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 16.203157][ T69] ? __switch_to+0x5a3/0xe00 [ 16.203160][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.203163][ T69] ret_from_fork_asm+0x11/0x20 [ 16.203172][ T69] [ 16.229273][ T69] rb_b: left promiscuous mode [ 16.231304][ T69] rb_il: left promiscuous mode [ 16.254057][ T69] pe_b (unregistering): left promiscuous mode [ 16.264217][ T69] pe_a (unregistering): left promiscuous mode