[ 11.850250][ T256] br1: port 1(veth1) entered blocking state [ 11.850337][ T256] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.850339][ T256] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 256, name: ip [ 11.850341][ T256] preempt_count: 1, expected: 0 [ 11.850342][ T256] RCU nest depth: 0, expected: 0 [ 11.850343][ T256] locks held by ip/256: 5, last CPU#0: [ 11.850345][ T256] #0: ffffffffb88d2c40 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 11.850358][ T256] #1: ffffffffb8169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.850364][ T256] #2: ffffffffb8169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.850367][ T256] #3: ffffffffb8089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.850371][ T256] #4: ffffffffb8089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.850375][ T256] irq event stamp: 13886 [ 11.850376][ T256] hardirqs last enabled at (13885): [] __down_trylock_console_sem+0x86/0xa0 [ 11.850385][ T256] hardirqs last disabled at (13886): [] console_emit_next_record+0x3d4/0x4c0 [ 11.850387][ T256] softirqs last enabled at (13796): [] __alloc_skb+0x4c2/0x5f0 [ 11.850390][ T256] softirqs last disabled at (13794): [] __alloc_skb+0x4c2/0x5f0 [ 11.850392][ T256] Preemption disabled at: [ 11.850393][ T256] [] vprintk_emit+0x31b/0x3e0 [ 11.850399][ T256] CPU: 0 UID: 0 PID: 256 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.850403][ T256] Tainted: [W]=WARN [ 11.850404][ T256] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.850405][ T256] Call Trace: [ 11.850407][ T256] [ 11.850408][ T256] dump_stack_lvl+0x6f/0xa0 [ 11.850414][ T256] ? vprintk_emit+0x31b/0x3e0 [ 11.850416][ T256] __might_resched.cold+0x1fe/0x2c1 [ 11.850421][ T256] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.850425][ T256] ? __kmalloc_noprof+0xdb/0x760 [ 11.850430][ T256] __kmalloc_noprof+0x443/0x760 [ 11.850432][ T256] ? alloc_buf.isra.0+0x4b/0x260 [ 11.850438][ T256] ? do_raw_spin_unlock+0x59/0x250 [ 11.850440][ T256] alloc_buf.isra.0+0x4b/0x260 [ 11.850443][ T256] put_chars+0x1e1/0x2f0 [ 11.850446][ T256] ? __send_to_port+0x420/0x420 [ 11.850450][ T256] ? validate_chain+0x34a/0xc20 [ 11.850454][ T256] hvc_console_print+0x292/0x780 [ 11.850457][ T256] ? mark_usage+0x61/0x170 [ 11.850458][ T256] ? __lock_acquire+0x518/0xc20 [ 11.850460][ T256] ? __lock_acquire+0x518/0xc20 [ 11.850464][ T256] ? hvc_write+0x3a0/0x3a0 [ 11.850466][ T256] ? console_emit_next_record+0x1df/0x4c0 [ 11.850469][ T256] ? rcu_is_watching+0x16/0xd0 [ 11.850473][ T256] ? lock_acquire+0x13c/0x160 [ 11.850477][ T256] console_emit_next_record+0x22f/0x4c0 [ 11.850480][ T256] ? devkmsg_read+0x4b0/0x4b0 [ 11.850482][ T256] ? console_flush_one_record+0x106/0x710 [ 11.850485][ T256] ? rcu_is_watching+0x16/0xd0 [ 11.850487][ T256] ? lock_acquire+0x13c/0x160 [ 11.850491][ T256] console_flush_one_record+0x46f/0x710 [ 11.850495][ T256] ? console_emit_next_record+0x4c0/0x4c0 [ 11.850497][ T256] ? __lock_acquire+0x518/0xc20 [ 11.850502][ T256] console_unlock+0xee/0x1f0 [ 11.850504][ T256] ? console_flush_one_record+0x710/0x710 [ 11.850506][ T256] ? rcu_is_watching+0x16/0xd0 [ 11.850508][ T256] ? lock_acquire+0x60/0x160 [ 11.850512][ T256] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.850513][ T256] ? vprintk_emit+0x320/0x3e0 [ 11.850517][ T256] vprintk_emit+0x37c/0x3e0 [ 11.850521][ T256] ? wake_up_klogd_work_func+0x90/0x90 [ 11.850523][ T256] ? __lock_release.isra.0+0x69/0x1a0 [ 11.850525][ T256] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 11.850529][ T256] ? mark_held_locks+0x40/0x70 [ 11.850532][ T256] _printk+0xc7/0x100 [ 11.850536][ T256] ? snapshot_read.cold+0x21/0x21 [ 11.850540][ T256] ? br_multicast_flood+0xab0/0xab0 [bridge] [ 11.850552][ T256] ? do_setlink.isra.0+0xa31/0x2750 [ 11.850554][ T256] ? rtnl_newlink+0x9f1/0x11c0 [ 11.850555][ T256] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.850559][ T256] br_set_state+0x22f/0x430 [bridge] [ 11.850569][ T256] br_init_port+0xc4/0x200 [bridge] [ 11.850577][ T256] new_nbp+0x39c/0x580 [bridge] [ 11.850586][ T256] br_add_if+0x212/0x1320 [bridge] [ 11.850593][ T256] ? is_bpf_text_address+0x72/0x110 [ 11.850597][ T256] ? kernel_text_address+0x149/0x170 [ 11.850600][ T256] ? __kernel_text_address+0x12/0x30 [ 11.850604][ T256] do_set_master+0x357/0x580 [ 11.850608][ T256] do_setlink.isra.0+0xa31/0x2750 [ 11.850611][ T256] ? stack_trace_save+0x93/0xc0 [ 11.850614][ T256] ? rtnl_link_get_size+0x350/0x350 [ 11.850616][ T256] ? rcu_read_lock_any_held+0x66/0x90 [ 11.850618][ T256] ? stack_depot_save_flags+0x38e/0x790 [ 11.850622][ T256] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.850624][ T256] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.850626][ T256] ? validate_chain+0x38b/0xc20 [ 11.850628][ T256] ? kasan_save_stack+0x3d/0x50 [ 11.850631][ T256] ? kasan_save_stack+0x2f/0x50 [ 11.850633][ T256] ? kasan_save_track+0x14/0x30 [ 11.850636][ T256] ? __lock_acquire+0x518/0xc20 [ 11.850638][ T256] ? netlink_seq_next+0xe/0x60 [ 11.850641][ T256] ? ___sys_sendmsg+0xb0/0x1d0 [ 11.850645][ T256] ? lock_acquire.part.0+0xd4/0x280 [ 11.850647][ T256] ? rtnl_newlink+0x9a8/0x11c0 [ 11.850650][ T256] ? rcu_is_watching+0x16/0xd0 [ 11.850652][ T256] ? lock_acquire+0x13c/0x160 [ 11.850654][ T256] ? rcu_is_watching+0x16/0xd0 [ 11.850655][ T256] ? rcu_is_watching+0x16/0xd0 [ 11.850658][ T256] ? trace_contention_end+0xb3/0x180 [ 11.850662][ T256] ? __mutex_lock+0x1db/0x1ea0 [ 11.850663][ T256] ? __mutex_lock+0x9a3/0x1ea0 [ 11.850666][ T256] ? rtnl_newlink+0x9a8/0x11c0 [ 11.850669][ T256] ? ww_mutex_lock+0x160/0x160 [ 11.850670][ T256] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.850675][ T256] ? __rtnl_newlink+0x3fa/0xa50 [ 11.850680][ T256] rtnl_newlink+0x9f1/0x11c0 [ 11.850685][ T256] ? rtnl_bridge_getlink+0x850/0x850 [ 11.850687][ T256] ? __lock_acquire+0x518/0xc20 [ 11.850691][ T256] ? lock_acquire.part.0+0xd4/0x280 [ 11.850693][ T256] ? find_held_lock+0x2b/0x80 [ 11.850695][ T256] ? rtnl_bridge_getlink+0x850/0x850 [ 11.850697][ T256] ? __lock_release.isra.0+0x69/0x1a0 [ 11.850701][ T256] ? rtnl_bridge_getlink+0x850/0x850 [ 11.850703][ T256] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.850706][ T256] ? rtnl_link_fill+0x920/0x920 [ 11.850707][ T256] ? __lock_acquire+0x518/0xc20 [ 11.850711][ T256] ? lock_acquire.part.0+0xd4/0x280 [ 11.850713][ T256] ? find_held_lock+0x2b/0x80 [ 11.850716][ T256] netlink_rcv_skb+0x14e/0x3a0 [ 11.850718][ T256] ? rtnl_link_fill+0x920/0x920 [ 11.850721][ T256] ? netlink_ack+0xcf0/0xcf0 [ 11.850726][ T256] ? netlink_deliver_tap+0xc5/0x330 [ 11.850728][ T256] ? netlink_deliver_tap+0x13c/0x330 [ 11.850732][ T256] netlink_unicast+0x486/0x750 [ 11.850736][ T256] ? netlink_attachskb+0x810/0x810 [ 11.850738][ T256] ? __lock_acquire+0x518/0xc20 [ 11.850742][ T256] netlink_sendmsg+0x735/0xc60 [ 11.850746][ T256] ? netlink_unicast+0x750/0x750 [ 11.850749][ T256] ? __might_fault+0x97/0x140 [ 11.850755][ T256] ____sys_sendmsg+0x415/0x880 [ 11.850757][ T256] ? copy_msghdr_from_user+0x279/0x420 [ 11.850759][ T256] ? get_timestamp.constprop.0+0x390/0x390 [ 11.850761][ T256] ? move_addr_to_kernel+0x40/0x40 [ 11.850768][ T256] ___sys_sendmsg+0x14e/0x1d0 [ 11.850770][ T256] ? copy_msghdr_from_user+0x420/0x420 [ 11.850785][ T256] __sys_sendmsg+0x12c/0x1d0 [ 11.850788][ T256] ? __sys_sendmsg_sock+0x20/0x20 [ 11.850794][ T256] ? rcu_is_watching+0x16/0xd0 [ 11.850798][ T256] do_syscall_64+0xff/0x530 [ 11.850800][ T256] ? exc_page_fault+0xee/0x100 [ 11.850803][ T256] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.850805][ T256] RIP: 0033:0x7f23cf9be54e [ 11.850809][ T256] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 11.850811][ T256] RSP: 002b:00007ffc84d8e290 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.850813][ T256] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f23cf9be54e [ 11.850815][ T256] RDX: 0000000000000000 RSI: 00007ffc84d8e340 RDI: 0000000000000005 [ 11.850815][ T256] RBP: 00007ffc84d8e2a0 R08: 0000000000000000 R09: 0000000000000000 [ 11.850816][ T256] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a918a9d [ 11.850817][ T256] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc84d8ea00 [ 11.850824][ T256] [ 11.887526][ T256] br1: port 1(veth1) entered disabled state [ 11.887850][ T256] veth1: entered allmulticast mode [ 11.889518][ T256] veth1: entered promiscuous mode [ 11.906108][ T256] ip (256) used greatest stack depth: 23336 bytes left [ 11.926558][ T39] br1: port 1(veth1) entered blocking state [ 11.927072][ T39] br1: port 1(veth1) entered forwarding state [ 11.952327][ T258] br1: port 2(veth2) entered blocking state [ 11.952649][ T258] br1: port 2(veth2) entered disabled state [ 11.952947][ T258] veth2: entered allmulticast mode [ 11.954483][ T258] veth2: entered promiscuous mode [ 11.984937][ T39] br1: port 2(veth2) entered blocking state [ 11.985428][ T39] br1: port 2(veth2) entered forwarding state [ 12.090350][ T262] 8021q: 802.1Q VLAN Support v1.8 [ 12.386689][ T273] GACT probability NOT on [ 18.326734][ T317] Mirror/redirect action on [ 18.326753][ T317] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.326755][ T317] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 317, name: modprobe [ 18.326757][ T317] preempt_count: 1, expected: 0 [ 18.326758][ T317] RCU nest depth: 0, expected: 0 [ 18.326759][ T317] locks held by modprobe/317: 4, last CPU#3: [ 18.326762][ T317] #0: ffffffffb8169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.326775][ T317] #1: ffffffffb8169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.326780][ T317] #2: ffffffffb8089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.326784][ T317] #3: ffffffffb8089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.326788][ T317] irq event stamp: 21360 [ 18.326789][ T317] hardirqs last enabled at (21359): [] __down_trylock_console_sem+0x86/0xa0 [ 18.326791][ T317] hardirqs last disabled at (21360): [] console_emit_next_record+0x3d4/0x4c0 [ 18.326793][ T317] softirqs last enabled at (20016): [] handle_softirqs+0x67c/0x900 [ 18.326796][ T317] softirqs last disabled at (19051): [] __irq_exit_rcu+0x145/0x1c0 [ 18.326799][ T317] Preemption disabled at: [ 18.326800][ T317] [] vprintk_emit+0x31b/0x3e0 [ 18.326805][ T317] CPU: 3 UID: 0 PID: 317 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.326810][ T317] Tainted: [W]=WARN [ 18.326810][ T317] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.326812][ T317] Call Trace: [ 18.326814][ T317] [ 18.326815][ T317] dump_stack_lvl+0x6f/0xa0 [ 18.326821][ T317] ? vprintk_emit+0x31b/0x3e0 [ 18.326823][ T317] __might_resched.cold+0x1fe/0x2c1 [ 18.326828][ T317] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.326832][ T317] ? __kmalloc_noprof+0xdb/0x760 [ 18.326838][ T317] __kmalloc_noprof+0x443/0x760 [ 18.326840][ T317] ? alloc_buf.isra.0+0x4b/0x260 [ 18.326845][ T317] ? do_raw_spin_unlock+0x59/0x250 [ 18.326848][ T317] alloc_buf.isra.0+0x4b/0x260 [ 18.326851][ T317] put_chars+0x1e1/0x2f0 [ 18.326854][ T317] ? __send_to_port+0x420/0x420 [ 18.326855][ T317] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.326860][ T317] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.326862][ T317] ? validate_chain+0x38b/0xc20 [ 18.326867][ T317] hvc_console_print+0x292/0x780 [ 18.326869][ T317] ? __lock_acquire+0x518/0xc20 [ 18.326874][ T317] ? hvc_write+0x3a0/0x3a0 [ 18.326877][ T317] ? rcu_is_watching+0x16/0xd0 [ 18.326882][ T317] console_emit_next_record+0x22f/0x4c0 [ 18.326885][ T317] ? devkmsg_read+0x4b0/0x4b0 [ 18.326887][ T317] ? console_flush_one_record+0x106/0x710 [ 18.326890][ T317] ? rcu_is_watching+0x16/0xd0 [ 18.326893][ T317] ? lock_acquire+0x13c/0x160 [ 18.326896][ T317] console_flush_one_record+0x46f/0x710 [ 18.326900][ T317] ? console_emit_next_record+0x4c0/0x4c0 [ 18.326902][ T317] ? __lock_acquire+0x518/0xc20 [ 18.326907][ T317] console_unlock+0xee/0x1f0 [ 18.326910][ T317] ? console_flush_one_record+0x710/0x710 [ 18.326912][ T317] ? rcu_is_watching+0x16/0xd0 [ 18.326914][ T317] ? lock_acquire+0x60/0x160 [ 18.326917][ T317] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.326919][ T317] ? vprintk_emit+0x320/0x3e0 [ 18.326922][ T317] vprintk_emit+0x37c/0x3e0 [ 18.326927][ T317] ? wake_up_klogd_work_func+0x90/0x90 [ 18.326929][ T317] ? netdev_run_todo+0x2a8/0xfd0 [ 18.326934][ T317] ? mirred_device_event+0x3d/0x1d0 [act_mirred] [ 18.326937][ T317] ? rcu_is_watching+0x16/0xd0 [ 18.326941][ T317] ? llc_exit+0x3e0/0x3e0 [llc] [ 18.326943][ T317] _printk+0xc7/0x100 [ 18.326947][ T317] ? snapshot_read.cold+0x21/0x21 [ 18.326949][ T317] ? __lock_release.isra.0+0x69/0x1a0 [ 18.326952][ T317] ? llc_exit+0x3e0/0x3e0 [llc] [ 18.326953][ T317] ? __up_write+0x23d/0x5f0 [ 18.326955][ T317] ? __up_write+0x2e5/0x5f0 [ 18.326959][ T317] ? __up_write+0x2c7/0x5f0 [ 18.326961][ T317] mirred_init_module+0x28/0x1000 [act_mirred] [ 18.326964][ T317] do_one_initcall+0x124/0x4f0 [ 18.326967][ T317] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 18.326971][ T317] ? do_init_module+0xae/0x8a0 [ 18.326975][ T317] ? kasan_unpoison+0x44/0x70 [ 18.326979][ T317] do_init_module+0x2ad/0x8a0 [ 18.326983][ T317] ? lockdep_hardirqs_on+0x91/0x130 [ 18.326987][ T317] ? free_module+0x470/0x470 [ 18.326990][ T317] ? kfree+0x123/0x590 [ 18.326994][ T317] load_module+0x1424/0x1bb0 [ 18.327001][ T317] ? layout_and_allocate.isra.0+0x680/0x680 [ 18.327005][ T317] ? __ia32_sys_fsconfig+0x180/0x180 [ 18.327008][ T317] ? ovl_real_file+0x172/0x1e0 [ 18.327012][ T317] ? backing_file_read_iter+0x541/0x790 [ 18.327015][ T317] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.327019][ T317] init_module_from_file+0x11f/0x1a0 [ 18.327022][ T317] ? __do_sys_init_module+0x220/0x220 [ 18.327030][ T317] ? __rwlock_init+0x150/0x150 [ 18.327033][ T317] ? do_raw_spin_unlock+0x59/0x250 [ 18.327036][ T317] idempotent_init_module+0x37b/0x7c0 [ 18.327039][ T317] ? init_module_from_file+0x1a0/0x1a0 [ 18.327045][ T317] ? rcu_is_watching+0x16/0xd0 [ 18.327048][ T317] ? cap_capable+0x1d7/0x3d0 [ 18.327054][ T317] __x64_sys_finit_module+0xdf/0x190 [ 18.327056][ T317] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.327059][ T317] do_syscall_64+0xff/0x530 [ 18.327061][ T317] ? exc_page_fault+0xee/0x100 [ 18.327064][ T317] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.327066][ T317] RIP: 0033:0x7f64c56d237d [ 18.327069][ T317] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 18.327071][ T317] RSP: 002b:00007fff84e5c108 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 18.327074][ T317] RAX: ffffffffffffffda RBX: 00005597a511b810 RCX: 00007f64c56d237d [ 18.327075][ T317] RDX: 0000000000000000 RSI: 000055978c79bffd RDI: 0000000000000000 [ 18.327076][ T317] RBP: 00007fff84e5c1a0 R08: 0000000000000000 R09: 0000000000000000 [ 18.327077][ T317] R10: 0000000000000000 R11: 0000000000000246 R12: 000055978c79bffd [ 18.327078][ T317] R13: 00005597a511b960 R14: 0000000000040000 R15: 0000000000000000 [ 18.327084][ T317] [ 26.994230][ C0] [ 26.994248][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.994250][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 26.994252][ C0] preempt_count: 104, expected: 0 [ 26.994254][ C0] RCU nest depth: 0, expected: 0 [ 26.994255][ C0] INFO: lockdep is turned off. [ 26.994256][ C0] irq event stamp: 844124 [ 26.994257][ C0] hardirqs last enabled at (844124): [] _raw_spin_unlock_irq+0x28/0x50 [ 26.994267][ C0] hardirqs last disabled at (844123): [] _raw_spin_lock_irq+0x4a/0x50 [ 26.994270][ C0] softirqs last enabled at (844000): [] handle_softirqs+0x67c/0x900 [ 26.994274][ C0] softirqs last disabled at (844121): [] __irq_exit_rcu+0x145/0x1c0 [ 26.994276][ C0] Preemption disabled at: [ 26.994277][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 26.994285][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.994289][ C0] Tainted: [W]=WARN [ 26.994291][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.994293][ C0] Call Trace: [ 26.994295][ C0] [ 26.994297][ C0] dump_stack_lvl+0x6f/0xa0 [ 26.994303][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 26.994305][ C0] __might_resched.cold+0x1fe/0x2c1 [ 26.994310][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.994313][ C0] ? __asan_memcpy+0x3c/0x60 [ 26.994317][ C0] ? rcu_is_watching+0x16/0xd0 [ 26.994322][ C0] __kmalloc_noprof+0x443/0x760 [ 26.994326][ C0] ? __rwlock_init+0x150/0x150 [ 26.994329][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 26.994334][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 26.994336][ C0] alloc_buf.isra.0+0x4b/0x260 [ 26.994338][ C0] put_chars+0x1e1/0x2f0 [ 26.994341][ C0] ? __send_to_port+0x420/0x420 [ 26.994344][ C0] ? console_prepend_replay+0x20/0x20 [ 26.994348][ C0] hvc_console_print+0x292/0x780 [ 26.994353][ C0] ? hvc_write+0x3a0/0x3a0 [ 26.994355][ C0] ? rcu_is_watching+0x16/0xd0 [ 26.994357][ C0] ? lock_acquire+0x13c/0x160 [ 26.994360][ C0] console_emit_next_record+0x22f/0x4c0 [ 26.994363][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 26.994366][ C0] ? rcu_is_watching+0x16/0xd0 [ 26.994368][ C0] ? rcu_is_watching+0x16/0xd0 [ 26.994371][ C0] ? lock_acquire+0x13c/0x160 [ 26.994373][ C0] ? console_flush_one_record+0x111/0x710 [ 26.994376][ C0] console_flush_one_record+0x46f/0x710 [ 26.994379][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 26.994383][ C0] console_unlock+0xee/0x1f0 [ 26.994385][ C0] ? lock_acquire+0x13c/0x160 [ 26.994387][ C0] ? console_flush_one_record+0x710/0x710 [ 26.994390][ C0] ? rcu_is_watching+0x16/0xd0 [ 26.994393][ C0] ? lock_release+0x184/0x1f0 [ 26.994395][ C0] ? lock_acquire+0x60/0x160 [ 26.994398][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.994400][ C0] ? vprintk_emit+0x320/0x3e0 [ 26.994403][ C0] vprintk_emit+0x37c/0x3e0 [ 26.994406][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 26.994409][ C0] ? rcu_is_watching+0x16/0xd0 [ 26.994411][ C0] ? lock_release+0x184/0x1f0 [ 26.994414][ C0] ? x86_64_start_kernel+0xe0/0x130 [ 26.994419][ C0] _printk+0xc7/0x100 [ 26.994423][ C0] ? snapshot_read.cold+0x21/0x21 [ 26.994425][ C0] ? arch_stack_walk+0xd7/0x130 [ 26.994430][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.994439][ C0] ? nbcon_cpu_emergency_enter+0x28/0x80 [ 26.994441][ C0] print_irq_inversion_bug.part.0+0x32/0xc0 [ 26.994445][ C0] mark_lock_irq+0x989/0x9c0 [ 26.994449][ C0] mark_lock+0x1d7/0xa00 [ 26.994452][ C0] mark_usage+0x42/0x170 [ 26.994454][ C0] __lock_acquire+0x388/0xc20 [ 26.994457][ C0] lock_acquire.part.0+0xd4/0x280 [ 26.994460][ C0] ? br_forward_delay_timer_expired+0x44/0x5d0 [bridge] [ 26.994477][ C0] ? rcu_is_watching+0x16/0xd0 [ 26.994479][ C0] ? lock_acquire+0x13c/0x160 [ 26.994482][ C0] ? br_message_age_timer_expired+0x70/0x70 [bridge] [ 26.994493][ C0] _raw_spin_lock+0x33/0x40 [ 26.994496][ C0] ? br_forward_delay_timer_expired+0x44/0x5d0 [bridge] [ 26.994506][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [bridge] [ 26.994516][ C0] ? br_message_age_timer_expired+0x70/0x70 [bridge] [ 26.994527][ C0] call_timer_fn+0x160/0x4d0 [ 26.994531][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 26.994533][ C0] ? debug_object_active_state+0x430/0x430 [ 26.994537][ C0] ? find_held_lock+0x2b/0x80 [ 26.994540][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 26.994543][ C0] ? rcu_is_watching+0x16/0xd0 [ 26.994546][ C0] __run_timers+0x68f/0xaa0 [ 26.994548][ C0] ? br_message_age_timer_expired+0x70/0x70 [bridge] [ 26.994560][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 26.994562][ C0] ? __lock_acquire+0x518/0xc20 [ 26.994566][ C0] ? __rwlock_init+0x150/0x150 [ 26.994570][ C0] run_timer_softirq+0xf0/0x160 [ 26.994573][ C0] ? __run_timers+0xaa0/0xaa0 [ 26.994575][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.994578][ C0] ? rcu_is_watching+0x16/0xd0 [ 26.994580][ C0] handle_softirqs+0x1d3/0x900 [ 26.994583][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 26.994585][ C0] ? _local_bh_enable+0xc0/0xc0 [ 26.994588][ C0] __irq_exit_rcu+0x145/0x1c0 [ 26.994590][ C0] irq_exit_rcu+0xe/0x30 [ 26.994592][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 26.994596][ C0] [ 26.994597][ C0] [ 26.994598][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 26.994600][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.994603][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 26.994606][ C0] Code: 48 8b 3d 94 d2 f5 01 e8 1f 00 00 00 48 2b 05 58 93 95 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 86 11 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 26.994608][ C0] RSP: 0018:ffffffffb7e07cf8 EFLAGS: 00000296 [ 26.994612][ C0] RAX: 00000000000ce157 RBX: ffffffffb7e1c600 RCX: ffffffffb4ef0307 [ 26.994614][ C0] RDX: ffffffffb7e1c600 RSI: ffffffffb7c38af6 RDI: ffffffffb768d8e0 [ 26.994615][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 26.994617][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff6fc0fa2 [ 26.994618][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 26.994620][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 26.994624][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 26.994626][ C0] default_idle+0x9/0x10 [ 26.994629][ C0] default_idle_call+0x6e/0xb0 [ 26.994631][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 26.994633][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 26.994635][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 26.994638][ C0] ? rcu_is_watching+0x16/0xd0 [ 26.994641][ C0] do_idle+0xd8/0x190 [ 26.994643][ C0] cpu_startup_entry+0x53/0x70 [ 26.994646][ C0] rest_init+0x279/0x280 [ 26.994648][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 26.994652][ C0] ? rest_init+0x280/0x280 [ 26.994655][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 26.994659][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 26.994662][ C0] ? acpi_enable+0x1e4/0x330 [ 26.994665][ C0] start_kernel+0x3af/0x3b0 [ 26.994668][ C0] x86_64_start_reservations+0x24/0x30 [ 26.994671][ C0] x86_64_start_kernel+0x12b/0x130 [ 26.994673][ C0] common_startup_64+0x13e/0x148 [ 26.994679][ C0] [ 27.031446][ C0] ======================================================== [ 27.031757][ C0] WARNING: possible irq lock inversion dependency detected [ 27.032137][ C0] 7.2.0-virtme #1 Tainted: G W [ 27.032504][ C0] -------------------------------------------------------- [ 27.032811][ C0] swapper/0/0 just changed the state of lock: [ 27.033144][ C0] ff1100000c90ae58 (&br->lock){+.-.}-{3:3}, at: br_forward_delay_timer_expired+0x44/0x5d0 [bridge] [ 27.033656][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 27.034046][ C0] (fs_reclaim){+.+.}-{0:0} [ 27.034049][ C0] [ 27.034049][ C0] [ 27.034049][ C0] and interrupts could create inverse lock ordering between them. [ 27.034049][ C0] [ 27.034964][ C0] [ 27.034964][ C0] other info that might help us debug this: [ 27.035263][ C0] Chain exists of: [ 27.035263][ C0] &br->lock --> console_owner --> fs_reclaim [ 27.035263][ C0] [ 27.035881][ C0] Possible interrupt unsafe locking scenario: [ 27.035881][ C0] [ 27.036185][ C0] CPU0 CPU1 [ 27.036474][ C0] ---- ---- [ 27.036681][ C0] lock(fs_reclaim); [ 27.036917][ C0] local_irq_disable(); [ 27.037172][ C0] lock(&br->lock); [ 27.037510][ C0] lock(console_owner); [ 27.037858][ C0] [ 27.038020][ C0] lock(&br->lock); [ 27.038188][ C0] [ 27.038188][ C0] *** DEADLOCK *** [ 27.038188][ C0] [ 27.038579][ C0] locks held by swapper/0/0: 1, last CPU#0: [ 27.038919][ C0] #0: ffa0000000007c90 ((&p->forward_delay_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 27.039419][ C0] [ 27.039419][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 27.039864][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 27.040079][ C0] HARDIRQ-ON-W at: [ 27.040240][ C0] __lock_acquire+0x388/0xc20 [ 27.040594][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.040944][ C0] fs_reclaim_acquire+0xd5/0x120 [ 27.041206][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 27.041608][ C0] kthread_create_worker_on_node+0xea/0x210 [ 27.042003][ C0] workqueue_init+0x2a/0x680 [ 27.042266][ C0] kernel_init_freeable+0x2fe/0x630 [ 27.042670][ C0] kernel_init+0x21/0x150 [ 27.043014][ C0] ret_from_fork+0x474/0x6b0 [ 27.043277][ C0] ret_from_fork_asm+0x11/0x20 [ 27.043628][ C0] SOFTIRQ-ON-W at: [ 27.043789][ C0] __lock_acquire+0x388/0xc20 [ 27.044136][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.044486][ C0] fs_reclaim_acquire+0xd5/0x120 [ 27.044746][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 27.045136][ C0] kthread_create_worker_on_node+0xea/0x210 [ 27.045534][ C0] workqueue_init+0x2a/0x680 [ 27.045798][ C0] kernel_init_freeable+0x2fe/0x630 [ 27.046198][ C0] kernel_init+0x21/0x150 [ 27.046554][ C0] ret_from_fork+0x474/0x6b0 [ 27.046820][ C0] ret_from_fork_asm+0x11/0x20 [ 27.047164][ C0] INITIAL USE at: [ 27.047321][ C0] __lock_acquire+0x388/0xc20 [ 27.047674][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.048018][ C0] fs_reclaim_acquire+0xd5/0x120 [ 27.048277][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 27.048678][ C0] kthread_create_worker_on_node+0xea/0x210 [ 27.049071][ C0] workqueue_init+0x2a/0x680 [ 27.049335][ C0] kernel_init_freeable+0x2fe/0x630 [ 27.049681][ C0] kernel_init+0x21/0x150 [ 27.050026][ C0] ret_from_fork+0x474/0x6b0 [ 27.050288][ C0] ret_from_fork_asm+0x11/0x20 [ 27.050636][ C0] } [ 27.050746][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 27.051140][ C0] ... acquired at: [ 27.051298][ C0] __lock_acquire+0x518/0xc20 [ 27.051593][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.051804][ C0] fs_reclaim_acquire+0xd5/0x120 [ 27.052090][ C0] __kmalloc_noprof+0xd3/0x760 [ 27.052297][ C0] alloc_buf.isra.0+0x4b/0x260 [ 27.052592][ C0] put_chars+0x1e1/0x2f0 [ 27.052798][ C0] hvc_console_print+0x292/0x780 [ 27.053085][ C0] console_emit_next_record+0x22f/0x4c0 [ 27.053294][ C0] console_flush_one_record+0x46f/0x710 [ 27.053590][ C0] console_unlock+0xee/0x1f0 [ 27.053802][ C0] vprintk_emit+0x37c/0x3e0 [ 27.054088][ C0] _printk+0xc7/0x100 [ 27.054243][ C0] dm_interface_init+0x50/0x60 [ 27.054544][ C0] dm_init+0x51/0xd0 [ 27.054702][ C0] do_one_initcall+0x124/0x4f0 [ 27.054996][ C0] kernel_init_freeable+0x596/0x630 [ 27.055204][ C0] kernel_init+0x21/0x150 [ 27.055498][ C0] ret_from_fork+0x474/0x6b0 [ 27.055706][ C0] ret_from_fork_asm+0x11/0x20 [ 27.055995][ C0] [ 27.056103][ C0] -> (console_owner){....}-{0:0} { [ 27.056321][ C0] INITIAL USE at: [ 27.056566][ C0] } [ 27.056669][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 27.057075][ C0] ... acquired at: [ 27.057234][ C0] __lock_acquire+0x518/0xc20 [ 27.057525][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.057725][ C0] console_lock_spinning_enable+0x5c/0x60 [ 27.058068][ C0] console_emit_next_record+0x1d1/0x4c0 [ 27.058279][ C0] console_flush_one_record+0x46f/0x710 [ 27.058574][ C0] console_unlock+0xee/0x1f0 [ 27.058780][ C0] vprintk_emit+0x37c/0x3e0 [ 27.059045][ C0] _printk+0xc7/0x100 [ 27.059156][ C0] br_set_state+0x22f/0x430 [bridge] [ 27.059359][ C0] br_init_port+0xc4/0x200 [bridge] [ 27.059518][ C0] br_stp_enable_port+0x12/0x50 [bridge] [ 27.059758][ C0] br_port_carrier_check+0x220/0x430 [bridge] [ 27.059945][ C0] br_device_event+0x52d/0x8f0 [bridge] [ 27.060148][ C0] notifier_call_chain+0xae/0x300 [ 27.060298][ C0] netif_state_change+0x139/0x340 [ 27.060504][ C0] __linkwatch_run_queue+0x34c/0x750 [ 27.060653][ C0] linkwatch_event+0x7f/0xb0 [ 27.060849][ C0] process_one_work+0xe3e/0x1560 [ 27.060996][ C0] worker_thread+0x4f1/0xd60 [ 27.061192][ C0] kthread+0x367/0x460 [ 27.061301][ C0] ret_from_fork+0x474/0x6b0 [ 27.061511][ C0] ret_from_fork_asm+0x11/0x20 [ 27.061657][ C0] [ 27.061732][ C0] -> (&br->lock){+.-.}-{3:3} { [ 27.061934][ C0] HARDIRQ-ON-W at: [ 27.062042][ C0] __lock_acquire+0x388/0xc20 [ 27.062280][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.062522][ C0] _raw_spin_lock_bh+0x38/0x50 [ 27.062706][ C0] recalculate_group_addr+0x51/0x120 [bridge] [ 27.062980][ C0] br_vlan_filter_toggle+0x85/0x110 [bridge] [ 27.063208][ C0] br_changelink+0x575/0x16e0 [bridge] [ 27.063393][ C0] br_dev_newlink+0xeb/0x160 [bridge] [ 27.063637][ C0] rtnl_newlink_create+0x2d0/0x750 [ 27.063875][ C0] __rtnl_newlink+0x22b/0xa50 [ 27.064058][ C0] rtnl_newlink+0x9f1/0x11c0 [ 27.064236][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 27.064421][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 27.064662][ C0] netlink_unicast+0x486/0x750 [ 27.064895][ C0] netlink_sendmsg+0x735/0xc60 [ 27.065078][ C0] ____sys_sendmsg+0x415/0x880 [ 27.065261][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 27.065500][ C0] __sys_sendmsg+0x12c/0x1d0 [ 27.065687][ C0] do_syscall_64+0xff/0x530 [ 27.065924][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.066193][ C0] IN-SOFTIRQ-W at: [ 27.066303][ C0] __lock_acquire+0x388/0xc20 [ 27.066547][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.066727][ C0] _raw_spin_lock+0x33/0x40 [ 27.066964][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [bridge] [ 27.067243][ C0] call_timer_fn+0x160/0x4d0 [ 27.067429][ C0] __run_timers+0x68f/0xaa0 [ 27.067668][ C0] run_timer_softirq+0xf0/0x160 [ 27.067852][ C0] handle_softirqs+0x1d3/0x900 [ 27.068090][ C0] __irq_exit_rcu+0x145/0x1c0 [ 27.068329][ C0] irq_exit_rcu+0xe/0x30 [ 27.068518][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 27.068787][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 27.069056][ C0] pv_native_safe_halt+0xf/0x10 [ 27.069238][ C0] default_idle+0x9/0x10 [ 27.069477][ C0] default_idle_call+0x6e/0xb0 [ 27.069711][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 27.069932][ C0] do_idle+0xd8/0x190 [ 27.070131][ C0] cpu_startup_entry+0x53/0x70 [ 27.070366][ C0] rest_init+0x279/0x280 [ 27.070555][ C0] start_kernel+0x3af/0x3b0 [ 27.070795][ C0] x86_64_start_reservations+0x24/0x30 [ 27.070992][ C0] x86_64_start_kernel+0x12b/0x130 [ 27.071228][ C0] common_startup_64+0x13e/0x148 [ 27.071473][ C0] INITIAL USE at: [ 27.071583][ C0] __lock_acquire+0x388/0xc20 [ 27.071821][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.072008][ C0] _raw_spin_lock_bh+0x38/0x50 [ 27.072244][ C0] recalculate_group_addr+0x51/0x120 [bridge] [ 27.072525][ C0] br_vlan_filter_toggle+0x85/0x110 [bridge] [ 27.072752][ C0] br_changelink+0x575/0x16e0 [bridge] [ 27.072987][ C0] br_dev_newlink+0xeb/0x160 [bridge] [ 27.073228][ C0] rtnl_newlink_create+0x2d0/0x750 [ 27.073415][ C0] __rtnl_newlink+0x22b/0xa50 [ 27.073654][ C0] rtnl_newlink+0x9f1/0x11c0 [ 27.073912][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 27.074100][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 27.074336][ C0] netlink_unicast+0x486/0x750 [ 27.074525][ C0] netlink_sendmsg+0x735/0xc60 [ 27.074762][ C0] ____sys_sendmsg+0x415/0x880 [ 27.075012][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 27.075194][ C0] __sys_sendmsg+0x12c/0x1d0 [ 27.075426][ C0] do_syscall_64+0xff/0x530 [ 27.075668][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.075884][ C0] } [ 27.076010][ C0] ... key at: [] __key.7+0x0/0x40 [bridge] [ 27.076231][ C0] ... acquired at: [ 27.076389][ C0] mark_lock+0x1d7/0xa00 [ 27.076537][ C0] mark_usage+0x42/0x170 [ 27.076733][ C0] __lock_acquire+0x388/0xc20 [ 27.076881][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.077078][ C0] _raw_spin_lock+0x33/0x40 [ 27.077225][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [bridge] [ 27.077467][ C0] call_timer_fn+0x160/0x4d0 [ 27.077615][ C0] __run_timers+0x68f/0xaa0 [ 27.077810][ C0] run_timer_softirq+0xf0/0x160 [ 27.077954][ C0] handle_softirqs+0x1d3/0x900 [ 27.078150][ C0] __irq_exit_rcu+0x145/0x1c0 [ 27.078299][ C0] irq_exit_rcu+0xe/0x30 [ 27.078500][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 27.078679][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 27.078909][ C0] pv_native_safe_halt+0xf/0x10 [ 27.079107][ C0] default_idle+0x9/0x10 [ 27.079256][ C0] default_idle_call+0x6e/0xb0 [ 27.079460][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 27.079645][ C0] do_idle+0xd8/0x190 [ 27.079807][ C0] cpu_startup_entry+0x53/0x70 [ 27.079952][ C0] rest_init+0x279/0x280 [ 27.080151][ C0] start_kernel+0x3af/0x3b0 [ 27.080297][ C0] x86_64_start_reservations+0x24/0x30 [ 27.080499][ C0] x86_64_start_kernel+0x12b/0x130 [ 27.080646][ C0] common_startup_64+0x13e/0x148 [ 27.080842][ C0] [ 27.080915][ C0] [ 27.080915][ C0] stack backtrace: [ 27.081101][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.081105][ C0] Tainted: [W]=WARN [ 27.081106][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.081107][ C0] Call Trace: [ 27.081109][ C0] [ 27.081110][ C0] dump_stack_lvl+0x6f/0xa0 [ 27.081114][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 27.081117][ C0] mark_lock_irq+0x989/0x9c0 [ 27.081119][ C0] mark_lock+0x1d7/0xa00 [ 27.081121][ C0] mark_usage+0x42/0x170 [ 27.081123][ C0] __lock_acquire+0x388/0xc20 [ 27.081125][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.081127][ C0] ? br_forward_delay_timer_expired+0x44/0x5d0 [bridge] [ 27.081133][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.081137][ C0] ? lock_acquire+0x13c/0x160 [ 27.081139][ C0] ? br_message_age_timer_expired+0x70/0x70 [bridge] [ 27.081144][ C0] _raw_spin_lock+0x33/0x40 [ 27.081146][ C0] ? br_forward_delay_timer_expired+0x44/0x5d0 [bridge] [ 27.081152][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [bridge] [ 27.081158][ C0] ? br_message_age_timer_expired+0x70/0x70 [bridge] [ 27.081164][ C0] call_timer_fn+0x160/0x4d0 [ 27.081166][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 27.081168][ C0] ? debug_object_active_state+0x430/0x430 [ 27.081171][ C0] ? find_held_lock+0x2b/0x80 [ 27.081174][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 27.081176][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.081178][ C0] __run_timers+0x68f/0xaa0 [ 27.081180][ C0] ? br_message_age_timer_expired+0x70/0x70 [bridge] [ 27.081186][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 27.081188][ C0] ? __lock_acquire+0x518/0xc20 [ 27.081190][ C0] ? __rwlock_init+0x150/0x150 [ 27.081193][ C0] run_timer_softirq+0xf0/0x160 [ 27.081195][ C0] ? __run_timers+0xaa0/0xaa0 [ 27.081196][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 27.081199][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.081200][ C0] handle_softirqs+0x1d3/0x900 [ 27.081202][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 27.081204][ C0] ? _local_bh_enable+0xc0/0xc0 [ 27.081206][ C0] __irq_exit_rcu+0x145/0x1c0 [ 27.081207][ C0] irq_exit_rcu+0xe/0x30 [ 27.081208][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 27.081210][ C0] [ 27.081210][ C0] [ 27.081211][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 27.081213][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 27.081215][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 27.081217][ C0] Code: 48 8b 3d 94 d2 f5 01 e8 1f 00 00 00 48 2b 05 58 93 95 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 86 11 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 27.081218][ C0] RSP: 0018:ffffffffb7e07cf8 EFLAGS: 00000296 [ 27.081221][ C0] RAX: 00000000000ce157 RBX: ffffffffb7e1c600 RCX: ffffffffb4ef0307 [ 27.081222][ C0] RDX: ffffffffb7e1c600 RSI: ffffffffb7c38af6 RDI: ffffffffb768d8e0 [ 27.081223][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 27.081224][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff6fc0fa2 [ 27.081224][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 27.081226][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 27.081228][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 27.081230][ C0] default_idle+0x9/0x10 [ 27.081231][ C0] default_idle_call+0x6e/0xb0 [ 27.081233][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 27.081234][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 27.081236][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 27.081238][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.081240][ C0] do_idle+0xd8/0x190 [ 27.081242][ C0] cpu_startup_entry+0x53/0x70 [ 27.081243][ C0] rest_init+0x279/0x280 [ 27.081245][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 27.081247][ C0] ? rest_init+0x280/0x280 [ 27.081249][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 27.081253][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 27.081256][ C0] ? acpi_enable+0x1e4/0x330 [ 27.081258][ C0] start_kernel+0x3af/0x3b0 [ 27.081260][ C0] x86_64_start_reservations+0x24/0x30 [ 27.081261][ C0] x86_64_start_kernel+0x12b/0x130 [ 27.081263][ C0] common_startup_64+0x13e/0x148 [ 27.081266][ C0] [ 45.430324][ T505] br1: port 1(veth1) entered disabled state [ 45.430339][ T505] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.430341][ T505] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 505, name: ip [ 45.430343][ T505] preempt_count: 202, expected: 0 [ 45.430344][ T505] RCU nest depth: 0, expected: 0 [ 45.430345][ T505] INFO: lockdep is turned off. [ 45.430346][ T505] irq event stamp: 0 [ 45.430347][ T505] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 45.430352][ T505] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 45.430358][ T505] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 45.430359][ T505] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 45.430361][ T505] Preemption disabled at: [ 45.430362][ T505] [<0000000000000000>] 0x0 [ 45.430366][ T505] CPU: 0 UID: 0 PID: 505 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.430370][ T505] Tainted: [W]=WARN [ 45.430371][ T505] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.430372][ T505] Call Trace: [ 45.430374][ T505] [ 45.430375][ T505] dump_stack_lvl+0x6f/0xa0 [ 45.430381][ T505] __might_resched.cold+0x1fe/0x2c1 [ 45.430384][ T505] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.430388][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430392][ T505] __kmalloc_noprof+0x443/0x760 [ 45.430395][ T505] ? __rwlock_init+0x150/0x150 [ 45.430398][ T505] ? alloc_buf.isra.0+0x4b/0x260 [ 45.430402][ T505] ? do_raw_spin_unlock+0x59/0x250 [ 45.430404][ T505] alloc_buf.isra.0+0x4b/0x260 [ 45.430406][ T505] put_chars+0x1e1/0x2f0 [ 45.430408][ T505] ? __send_to_port+0x420/0x420 [ 45.430410][ T505] ? printk_get_next_message+0x240/0x650 [ 45.430413][ T505] hvc_console_print+0x292/0x780 [ 45.430417][ T505] ? hvc_write+0x3a0/0x3a0 [ 45.430419][ T505] ? __rwlock_init+0x150/0x150 [ 45.430421][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430423][ T505] ? lock_acquire+0x13c/0x160 [ 45.430425][ T505] console_emit_next_record+0x22f/0x4c0 [ 45.430427][ T505] ? devkmsg_read+0x4b0/0x4b0 [ 45.430429][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430431][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430432][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430434][ T505] ? lock_acquire+0x13c/0x160 [ 45.430436][ T505] ? console_flush_one_record+0x111/0x710 [ 45.430437][ T505] console_flush_one_record+0x46f/0x710 [ 45.430440][ T505] ? console_emit_next_record+0x4c0/0x4c0 [ 45.430442][ T505] console_unlock+0xee/0x1f0 [ 45.430444][ T505] ? lock_acquire+0x13c/0x160 [ 45.430445][ T505] ? console_flush_one_record+0x710/0x710 [ 45.430447][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430448][ T505] ? lock_release+0x184/0x1f0 [ 45.430450][ T505] ? lock_acquire+0x60/0x160 [ 45.430451][ T505] ? __rcu_read_lock+0x30/0x70 [ 45.430453][ T505] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.430455][ T505] ? vprintk_emit+0x320/0x3e0 [ 45.430457][ T505] vprintk_emit+0x37c/0x3e0 [ 45.430460][ T505] ? wake_up_klogd_work_func+0x90/0x90 [ 45.430462][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430463][ T505] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.430466][ T505] ? trace_hardirqs_on+0x36/0x40 [ 45.430467][ T505] _printk+0xc7/0x100 [ 45.430470][ T505] ? snapshot_read.cold+0x21/0x21 [ 45.430472][ T505] ? ipv6_mc_down+0x17e/0x2d0 [ 45.430477][ T505] br_set_state+0x22f/0x430 [bridge] [ 45.430490][ T505] br_stp_disable_port+0x11f/0x390 [bridge] [ 45.430497][ T505] br_device_event+0x7b5/0x8f0 [bridge] [ 45.430510][ T505] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 45.430513][ T505] ? _sub_I_65535_1+0x4d0/0x4d0 [stp] [ 45.430515][ T505] ? addrconf_notify+0x2c8/0xf30 [ 45.430519][ T505] notifier_call_chain+0xae/0x300 [ 45.430522][ T505] __dev_notify_flags+0x23c/0x3c0 [ 45.430526][ T505] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.430527][ T505] ? netif_change_name+0x8c0/0x8c0 [ 45.430529][ T505] ? netif_set_allmulti+0x250/0x250 [ 45.430531][ T505] ? __kernel_text_address+0x12/0x30 [ 45.430533][ T505] ? write_profile+0xf0/0xf0 [ 45.430535][ T505] ? unwind_get_return_address+0x67/0xd0 [ 45.430538][ T505] netif_change_flags+0xfe/0x190 [ 45.430540][ T505] do_setlink.isra.0+0x1cc3/0x2750 [ 45.430543][ T505] ? stack_trace_save+0x93/0xc0 [ 45.430545][ T505] ? rtnl_link_get_size+0x350/0x350 [ 45.430546][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430548][ T505] ? stack_depot_save_flags+0x1bc/0x790 [ 45.430551][ T505] ? kasan_save_stack+0x3d/0x50 [ 45.430554][ T505] ? kasan_save_stack+0x2f/0x50 [ 45.430555][ T505] ? kasan_save_track+0x14/0x30 [ 45.430557][ T505] ? __kasan_kmalloc+0x7b/0x90 [ 45.430558][ T505] ? __kmalloc_cache_noprof+0x29a/0x620 [ 45.430560][ T505] ? rtnl_newlink+0x124/0x11c0 [ 45.430561][ T505] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 45.430562][ T505] ? netlink_rcv_skb+0x14e/0x3a0 [ 45.430564][ T505] ? netlink_unicast+0x486/0x750 [ 45.430566][ T505] ? netlink_sendmsg+0x735/0xc60 [ 45.430567][ T505] ? ____sys_sendmsg+0x415/0x880 [ 45.430569][ T505] ? ___sys_sendmsg+0x14e/0x1d0 [ 45.430571][ T505] ? __sys_sendmsg+0x12c/0x1d0 [ 45.430572][ T505] ? do_syscall_64+0xff/0x530 [ 45.430574][ T505] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 45.430577][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430578][ T505] ? lock_acquire+0x13c/0x160 [ 45.430580][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430581][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430583][ T505] ? trace_contention_end+0xb3/0x180 [ 45.430586][ T505] ? __mutex_lock+0x1db/0x1ea0 [ 45.430588][ T505] ? __mutex_lock+0x9a3/0x1ea0 [ 45.430589][ T505] ? rtnl_newlink+0x9a8/0x11c0 [ 45.430591][ T505] ? ww_mutex_lock+0x160/0x160 [ 45.430593][ T505] ? __rtnl_newlink+0x3fa/0xa50 [ 45.430595][ T505] rtnl_newlink+0x9f1/0x11c0 [ 45.430597][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430598][ T505] ? rtnl_bridge_getlink+0x850/0x850 [ 45.430600][ T505] ? lock_acquire+0x13c/0x160 [ 45.430601][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430603][ T505] ? is_bpf_text_address+0x3e/0x110 [ 45.430606][ T505] ? is_bpf_text_address+0x72/0x110 [ 45.430608][ T505] ? kernel_text_address+0x149/0x170 [ 45.430609][ T505] ? __kernel_text_address+0x12/0x30 [ 45.430610][ T505] ? write_profile+0xf0/0xf0 [ 45.430611][ T505] ? unwind_get_return_address+0x67/0xd0 [ 45.430613][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430614][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430616][ T505] ? cap_capable+0x1d7/0x3d0 [ 45.430619][ T505] ? lock_acquire+0x13c/0x160 [ 45.430621][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430623][ T505] ? rtnl_bridge_getlink+0x850/0x850 [ 45.430624][ T505] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 45.430625][ T505] ? rtnl_link_fill+0x920/0x920 [ 45.430627][ T505] ? filter_irq_stacks+0xd0/0xd0 [ 45.430628][ T505] ? stack_depot_save_flags+0x1bc/0x790 [ 45.430630][ T505] netlink_rcv_skb+0x14e/0x3a0 [ 45.430632][ T505] ? rtnl_link_fill+0x920/0x920 [ 45.430633][ T505] ? lock_release+0x184/0x1f0 [ 45.430634][ T505] ? netlink_ack+0xcf0/0xcf0 [ 45.430636][ T505] ? __netlink_lookup+0xb9/0x6b0 [ 45.430638][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430640][ T505] ? lock_release+0x184/0x1f0 [ 45.430642][ T505] netlink_unicast+0x486/0x750 [ 45.430644][ T505] ? netlink_attachskb+0x810/0x810 [ 45.430645][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430647][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430648][ T505] ? lock_acquire+0x13c/0x160 [ 45.430650][ T505] netlink_sendmsg+0x735/0xc60 [ 45.430652][ T505] ? netlink_unicast+0x750/0x750 [ 45.430654][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430655][ T505] ? lock_release+0x184/0x1f0 [ 45.430657][ T505] ____sys_sendmsg+0x415/0x880 [ 45.430659][ T505] ? copy_msghdr_from_user+0x279/0x420 [ 45.430660][ T505] ? get_timestamp.constprop.0+0x390/0x390 [ 45.430662][ T505] ? move_addr_to_kernel+0x40/0x40 [ 45.430663][ T505] ? filter_irq_stacks+0xd0/0xd0 [ 45.430666][ T505] ___sys_sendmsg+0x14e/0x1d0 [ 45.430667][ T505] ? copy_msghdr_from_user+0x420/0x420 [ 45.430672][ T505] __sys_sendmsg+0x12c/0x1d0 [ 45.430674][ T505] ? __sys_sendmsg_sock+0x20/0x20 [ 45.430677][ T505] ? rcu_is_watching+0x16/0xd0 [ 45.430679][ T505] do_syscall_64+0xff/0x530 [ 45.430680][ T505] ? exc_page_fault+0xee/0x100 [ 45.430682][ T505] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 45.430684][ T505] RIP: 0033:0x7f7b4ca7f54e [ 45.430686][ T505] 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 [ 45.430687][ T505] RSP: 002b:00007ffd0e768db0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 45.430691][ T505] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f7b4ca7f54e [ 45.430692][ T505] RDX: 0000000000000000 RSI: 00007ffd0e768e60 RDI: 0000000000000005 [ 45.430693][ T505] RBP: 00007ffd0e768dc0 R08: 0000000000000000 R09: 0000000000000000 [ 45.430694][ T505] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a918abe [ 45.430695][ T505] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd0e769520 [ 45.430697][ T505] [ 45.458138][ T505] ip (505) used greatest stack depth: 23016 bytes left [ 45.474818][ T506] br1: port 2(veth2) entered disabled state [ 45.490066][ T507] veth2: left allmulticast mode [ 45.490237][ T507] veth2: left promiscuous mode [ 45.490438][ T507] br1: port 2(veth2) entered disabled state [ 45.491059][ T507] veth1: left allmulticast mode [ 45.492019][ T507] veth1: left promiscuous mode [ 45.492215][ T507] br1: port 1(veth1) entered disabled state