[ 10.370968][ T209] ip (209) used greatest stack depth: 23392 bytes left [ 10.370986][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.370988][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: ip [ 10.370990][ T209] preempt_count: 2, expected: 0 [ 10.370991][ T209] RCU nest depth: 0, expected: 0 [ 10.370992][ T209] locks held by ip/209: 5, last CPU#3: [ 10.370994][ T209] #0: ffffffff8da167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.371006][ T209] #1: ffffffff8db7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.371011][ T209] #2: ffffffff8db7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.371019][ T209] #3: ffffffff8da9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.371022][ T209] #4: ffffffff8da9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.371026][ T209] irq event stamp: 26164 [ 10.371027][ T209] hardirqs last enabled at (26163): [] __down_trylock_console_sem+0x86/0xa0 [ 10.371030][ T209] hardirqs last disabled at (26164): [] console_emit_next_record+0x3d4/0x4c0 [ 10.371033][ T209] softirqs last enabled at (24580): [] netlink_release+0x17b/0xcf0 [ 10.371037][ T209] softirqs last disabled at (24578): [] netlink_release+0xd2/0xcf0 [ 10.371039][ T209] Preemption disabled at: [ 10.371040][ T209] [<0000000000000000>] 0x0 [ 10.371046][ T209] CPU: 3 UID: 0 PID: 209 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.371050][ T209] Tainted: [W]=WARN [ 10.371051][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.371052][ T209] Call Trace: [ 10.371054][ T209] [ 10.371056][ T209] dump_stack_lvl+0x6f/0xa0 [ 10.371062][ T209] __might_resched.cold+0x1fe/0x2c1 [ 10.371066][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.371070][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 10.371074][ T209] __kmalloc_noprof+0x443/0x760 [ 10.371076][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 10.371085][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 10.371087][ T209] alloc_buf.isra.0+0x4b/0x260 [ 10.371091][ T209] put_chars+0x1e1/0x2f0 [ 10.371094][ T209] ? __send_to_port+0x420/0x420 [ 10.371095][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.371098][ T209] ? validate_chain+0x38b/0xc20 [ 10.371104][ T209] hvc_console_print+0x292/0x780 [ 10.371112][ T209] ? hvc_write+0x3a0/0x3a0 [ 10.371114][ T209] ? rcu_is_watching+0x16/0xd0 [ 10.371116][ T209] ? lock_acquire+0x13c/0x160 [ 10.371120][ T209] console_emit_next_record+0x22f/0x4c0 [ 10.371124][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 10.371126][ T209] ? console_flush_one_record+0x106/0x710 [ 10.371129][ T209] ? rcu_is_watching+0x16/0xd0 [ 10.371130][ T209] ? lock_acquire+0x13c/0x160 [ 10.371134][ T209] console_flush_one_record+0x46f/0x710 [ 10.371138][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 10.371140][ T209] ? __lock_acquire+0x518/0xc20 [ 10.371145][ T209] console_unlock+0xee/0x1f0 [ 10.371148][ T209] ? console_flush_one_record+0x710/0x710 [ 10.371150][ T209] ? rcu_is_watching+0x16/0xd0 [ 10.371151][ T209] ? lock_acquire+0xe0/0x160 [ 10.371155][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.371157][ T209] ? vprintk_emit+0x320/0x3e0 [ 10.371159][ T209] vprintk_emit+0x37c/0x3e0 [ 10.371162][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 10.371165][ T209] ? __lock_acquire+0x518/0xc20 [ 10.371169][ T209] _printk+0xc7/0x100 [ 10.371172][ T209] ? snapshot_read.cold+0x21/0x21 [ 10.371175][ T209] ? do_raw_spin_lock+0x131/0x280 [ 10.371177][ T209] ? __rwlock_init+0x150/0x150 [ 10.371181][ T209] ? do_raw_spin_lock+0x131/0x280 [ 10.371184][ T209] do_exit.cold+0x82/0x9c [ 10.371188][ T209] ? exit_notify+0x890/0x890 [ 10.371189][ T209] ? __lock_release.isra.0+0x69/0x1a0 [ 10.371192][ T209] ? rcu_is_watching+0x16/0xd0 [ 10.371195][ T209] do_group_exit+0xb8/0x370 [ 10.371198][ T209] __x64_sys_exit_group+0x3c/0x50 [ 10.371199][ T209] x64_sys_call+0x1567/0x1570 [ 10.371202][ T209] do_syscall_64+0xff/0x530 [ 10.371206][ T209] ? exc_page_fault+0xee/0x100 [ 10.371209][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.371211][ T209] RIP: 0033:0x7f13785d91b8 [ 10.371213][ T209] Code: Unable to access opcode bytes at 0x7f13785d918e. [ 10.371214][ T209] RSP: 002b:00007ffd67d841e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.371217][ T209] RAX: ffffffffffffffda RBX: 00007f1378709f88 RCX: 00007f13785d91b8 [ 10.371218][ T209] RDX: 00007f1378323fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.371219][ T209] RBP: 00007ffd67d84240 R08: 0000000000000000 R09: 0000000000000050 [ 10.371220][ T209] R10: 00007ffd67d84000 R11: 0000000000000246 R12: 0000000000000001 [ 10.371220][ T209] R13: 0000000000000000 R14: 00007f1378708680 R15: 00007f1378709fa0 [ 10.371227][ T209] [ 11.805998][ T290] br0: port 1(gw_l) entered blocking state [ 11.806122][ T290] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.806124][ T290] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 290, name: ip [ 11.806125][ T290] preempt_count: 1, expected: 0 [ 11.806126][ T290] RCU nest depth: 0, expected: 0 [ 11.806127][ T290] locks held by ip/290: 5, last CPU#1: [ 11.806129][ T290] #0: ffffffff8e31b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.806141][ T290] #1: ffffffff8db7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.806147][ T290] #2: ffffffff8db7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.806151][ T290] #3: ffffffff8da9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.806154][ T290] #4: ffffffff8da9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.806158][ T290] irq event stamp: 41706 [ 11.806159][ T290] hardirqs last enabled at (41705): [] __down_trylock_console_sem+0x86/0xa0 [ 11.806162][ T290] hardirqs last disabled at (41706): [] console_emit_next_record+0x3d4/0x4c0 [ 11.806164][ T290] softirqs last enabled at (41616): [] __alloc_skb+0x4c2/0x5f0 [ 11.806168][ T290] softirqs last disabled at (41614): [] __alloc_skb+0x4c2/0x5f0 [ 11.806170][ T290] Preemption disabled at: [ 11.806171][ T290] [] vprintk_emit+0x31b/0x3e0 [ 11.806176][ T290] CPU: 1 UID: 0 PID: 290 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.806179][ T290] Tainted: [W]=WARN [ 11.806180][ T290] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.806182][ T290] Call Trace: [ 11.806183][ T290] [ 11.806185][ T290] dump_stack_lvl+0x6f/0xa0 [ 11.806190][ T290] ? vprintk_emit+0x31b/0x3e0 [ 11.806192][ T290] __might_resched.cold+0x1fe/0x2c1 [ 11.806196][ T290] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.806200][ T290] ? __kmalloc_noprof+0xdb/0x760 [ 11.806204][ T290] __kmalloc_noprof+0x443/0x760 [ 11.806206][ T290] ? alloc_buf.isra.0+0x4b/0x260 [ 11.806212][ T290] ? do_raw_spin_unlock+0x59/0x250 [ 11.806215][ T290] alloc_buf.isra.0+0x4b/0x260 [ 11.806219][ T290] put_chars+0x1e1/0x2f0 [ 11.806221][ T290] ? __send_to_port+0x420/0x420 [ 11.806224][ T290] ? validate_chain+0x34a/0xc20 [ 11.806229][ T290] hvc_console_print+0x292/0x780 [ 11.806237][ T290] ? hvc_write+0x3a0/0x3a0 [ 11.806239][ T290] ? rcu_is_watching+0x16/0xd0 [ 11.806242][ T290] ? lock_acquire+0x13c/0x160 [ 11.806246][ T290] console_emit_next_record+0x22f/0x4c0 [ 11.806249][ T290] ? devkmsg_read+0x4b0/0x4b0 [ 11.806251][ T290] ? console_flush_one_record+0x106/0x710 [ 11.806254][ T290] ? rcu_is_watching+0x16/0xd0 [ 11.806256][ T290] ? lock_acquire+0x13c/0x160 [ 11.806260][ T290] console_flush_one_record+0x46f/0x710 [ 11.806264][ T290] ? console_emit_next_record+0x4c0/0x4c0 [ 11.806266][ T290] ? __lock_acquire+0x518/0xc20 [ 11.806271][ T290] console_unlock+0xee/0x1f0 [ 11.806274][ T290] ? console_flush_one_record+0x710/0x710 [ 11.806275][ T290] ? rcu_is_watching+0x16/0xd0 [ 11.806277][ T290] ? lock_acquire+0xe0/0x160 [ 11.806281][ T290] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.806282][ T290] ? vprintk_emit+0x320/0x3e0 [ 11.806285][ T290] vprintk_emit+0x37c/0x3e0 [ 11.806288][ T290] ? wake_up_klogd_work_func+0x90/0x90 [ 11.806290][ T290] ? __lock_release.isra.0+0x69/0x1a0 [ 11.806291][ T290] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 11.806296][ T290] ? mark_held_locks+0x40/0x70 [ 11.806299][ T290] _printk+0xc7/0x100 [ 11.806302][ T290] ? snapshot_read.cold+0x21/0x21 [ 11.806305][ T290] ? br_multicast_flood+0x960/0x960 [ 11.806309][ T290] ? do_setlink.isra.0+0x9ec/0x2a60 [ 11.806310][ T290] ? rtnl_newlink+0x9f1/0x11b0 [ 11.806311][ T290] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.806316][ T290] br_set_state+0x22f/0x430 [ 11.806319][ T290] br_init_port+0xc4/0x200 [ 11.806322][ T290] new_nbp+0x3a0/0x650 [ 11.806325][ T290] br_add_if+0x212/0x1320 [ 11.806328][ T290] ? is_bpf_text_address+0x72/0x110 [ 11.806331][ T290] ? kernel_text_address+0x149/0x170 [ 11.806337][ T290] do_set_master+0x3b2/0x780 [ 11.806340][ T290] do_setlink.isra.0+0x9ec/0x2a60 [ 11.806343][ T290] ? stack_trace_save+0x93/0xc0 [ 11.806347][ T290] ? rtnl_link_get_size+0x350/0x350 [ 11.806348][ T290] ? rcu_read_lock_any_held+0x66/0x90 [ 11.806351][ T290] ? stack_depot_save_flags+0x38e/0x790 [ 11.806354][ T290] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.806356][ T290] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.806358][ T290] ? validate_chain+0x38b/0xc20 [ 11.806360][ T290] ? kasan_save_stack+0x3d/0x50 [ 11.806362][ T290] ? kasan_save_stack+0x2f/0x50 [ 11.806364][ T290] ? kasan_save_track+0x14/0x30 [ 11.806365][ T290] ? __kasan_kmalloc+0x7b/0x90 [ 11.806367][ T290] ? __lock_acquire+0x518/0xc20 [ 11.806369][ T290] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 11.806372][ T290] ? ___sys_sendmsg+0xd0/0x1d0 [ 11.806376][ T290] ? lock_acquire.part.0+0xd4/0x280 [ 11.806378][ T290] ? rtnl_newlink+0x9a8/0x11b0 [ 11.806380][ T290] ? rcu_is_watching+0x16/0xd0 [ 11.806382][ T290] ? lock_acquire+0x13c/0x160 [ 11.806383][ T290] ? rcu_is_watching+0x16/0xd0 [ 11.806384][ T290] ? rcu_is_watching+0x16/0xd0 [ 11.806386][ T290] ? trace_contention_end+0xb3/0x180 [ 11.806388][ T290] ? __mutex_lock+0x1db/0x1ea0 [ 11.806390][ T290] ? __mutex_lock+0x9a3/0x1ea0 [ 11.806391][ T290] ? rtnl_newlink+0x9a8/0x11b0 [ 11.806395][ T290] ? ww_mutex_lock+0x160/0x160 [ 11.806396][ T290] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.806401][ T290] ? rcu_is_watching+0x16/0xd0 [ 11.806403][ T290] ? __rtnl_newlink+0x3fa/0xa50 [ 11.806408][ T290] rtnl_newlink+0x9f1/0x11b0 [ 11.806413][ T290] ? rtnl_bridge_getlink+0x850/0x850 [ 11.806415][ T290] ? __lock_acquire+0x518/0xc20 [ 11.806419][ T290] ? lock_acquire.part.0+0xd4/0x280 [ 11.806421][ T290] ? find_held_lock+0x2b/0x80 [ 11.806423][ T290] ? rtnl_bridge_getlink+0x850/0x850 [ 11.806425][ T290] ? __lock_release.isra.0+0x69/0x1a0 [ 11.806429][ T290] ? rtnl_bridge_getlink+0x850/0x850 [ 11.806431][ T290] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.806434][ T290] ? rtnl_link_fill+0x920/0x920 [ 11.806435][ T290] ? __lock_acquire+0x518/0xc20 [ 11.806439][ T290] ? lock_acquire.part.0+0xd4/0x280 [ 11.806441][ T290] ? find_held_lock+0x2b/0x80 [ 11.806445][ T290] netlink_rcv_skb+0x14e/0x3a0 [ 11.806448][ T290] ? rtnl_link_fill+0x920/0x920 [ 11.806450][ T290] ? netlink_ack+0xcf0/0xcf0 [ 11.806457][ T290] ? netlink_deliver_tap+0xc5/0x330 [ 11.806459][ T290] ? netlink_deliver_tap+0x13c/0x330 [ 11.806463][ T290] netlink_unicast+0x486/0x750 [ 11.806467][ T290] ? netlink_attachskb+0x810/0x810 [ 11.806469][ T290] ? find_held_lock+0x2b/0x80 [ 11.806473][ T290] netlink_sendmsg+0x75b/0xc90 [ 11.806477][ T290] ? netlink_unicast+0x750/0x750 [ 11.806481][ T290] ? __lock_release.isra.0+0x69/0x1a0 [ 11.806482][ T290] ? __import_iovec+0x36c/0x620 [ 11.806488][ T290] __sock_sendmsg+0xce/0x190 [ 11.806490][ T290] ____sys_sendmsg+0x61a/0x860 [ 11.806493][ T290] ? copy_msghdr_from_user+0x279/0x420 [ 11.806495][ T290] ? sock_write_iter+0x400/0x400 [ 11.806496][ T290] ? move_addr_to_kernel+0x40/0x40 [ 11.806503][ T290] ___sys_sendmsg+0x14e/0x1d0 [ 11.806506][ T290] ? copy_msghdr_from_user+0x420/0x420 [ 11.806522][ T290] __sys_sendmsg+0x12c/0x1d0 [ 11.806524][ T290] ? __sys_sendmsg_sock+0x20/0x20 [ 11.806530][ T290] ? rcu_is_watching+0x16/0xd0 [ 11.806533][ T290] do_syscall_64+0xff/0x530 [ 11.806536][ T290] ? exc_page_fault+0xee/0x100 [ 11.806539][ T290] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.806541][ T290] RIP: 0033:0x7f0852d1754e [ 11.806545][ T290] 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.806546][ T290] RSP: 002b:00007ffcab79bf20 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.806549][ T290] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f0852d1754e [ 11.806550][ T290] RDX: 0000000000000000 RSI: 00007ffcab79bfd0 RDI: 0000000000000005 [ 11.806551][ T290] RBP: 00007ffcab79bf30 R08: 0000000000000000 R09: 0000000000000000 [ 11.806552][ T290] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916819 [ 11.806553][ T290] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffcab79c690 [ 11.806559][ T290] [ 11.840612][ T290] br0: port 1(gw_l) entered disabled state [ 11.840916][ T290] gw_l: entered allmulticast mode [ 11.841998][ T290] gw_l: entered promiscuous mode [ 11.842952][ T290] br0: port 1(gw_l) entered blocking state [ 11.843381][ T290] br0: port 1(gw_l) entered forwarding state [ 11.852355][ T290] ip (290) used greatest stack depth: 23336 bytes left [ 12.007772][ T292] br0: port 2(amtg) entered blocking state [ 12.008284][ T292] br0: port 2(amtg) entered disabled state [ 12.008618][ T292] amtg: entered allmulticast mode [ 12.009711][ T292] amtg: entered promiscuous mode [ 12.571835][ T303] br0: port 2(amtg) entered blocking state [ 12.572255][ T303] br0: port 2(amtg) entered forwarding state [ 12.899309][ T310] amtr: entered allmulticast mode [ 12.899326][ T310] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.899328][ T310] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 310, name: smcrouted [ 12.899330][ T310] preempt_count: 1, expected: 0 [ 12.899331][ T310] RCU nest depth: 0, expected: 0 [ 12.899332][ T310] locks held by smcrouted/310: 5, last CPU#0: [ 12.899333][ T310] #0: ffffffff8e31b740 (rtnl_mutex){+.+.}-{4:4}, at: ip_mroute_setsockopt+0x15c/0x1010 [ 12.899345][ T310] #1: ffffffff8db7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.899351][ T310] #2: ffffffff8db7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.899355][ T310] #3: ffffffff8da9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.899358][ T310] #4: ffffffff8da9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.899363][ T310] irq event stamp: 5270 [ 12.899363][ T310] hardirqs last enabled at (5269): [] __down_trylock_console_sem+0x86/0xa0 [ 12.899367][ T310] hardirqs last disabled at (5270): [] console_emit_next_record+0x3d4/0x4c0 [ 12.899369][ T310] softirqs last enabled at (5184): [] __alloc_skb+0x4c2/0x5f0 [ 12.899372][ T310] softirqs last disabled at (5182): [] __alloc_skb+0x4c2/0x5f0 [ 12.899375][ T310] Preemption disabled at: [ 12.899375][ T310] [] vprintk_emit+0x31b/0x3e0 [ 12.899380][ T310] CPU: 0 UID: 0 PID: 310 Comm: smcrouted Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.899383][ T310] Tainted: [W]=WARN [ 12.899384][ T310] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.899386][ T310] Call Trace: [ 12.899387][ T310] [ 12.899389][ T310] dump_stack_lvl+0x6f/0xa0 [ 12.899396][ T310] ? vprintk_emit+0x31b/0x3e0 [ 12.899397][ T310] __might_resched.cold+0x1fe/0x2c1 [ 12.899401][ T310] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.899406][ T310] ? __kmalloc_noprof+0xdb/0x760 [ 12.899410][ T310] __kmalloc_noprof+0x443/0x760 [ 12.899412][ T310] ? alloc_buf.isra.0+0x4b/0x260 [ 12.899418][ T310] ? do_raw_spin_unlock+0x59/0x250 [ 12.899421][ T310] alloc_buf.isra.0+0x4b/0x260 [ 12.899425][ T310] put_chars+0x1e1/0x2f0 [ 12.899427][ T310] ? __send_to_port+0x420/0x420 [ 12.899431][ T310] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.899434][ T310] ? validate_chain+0x38b/0xc20 [ 12.899438][ T310] hvc_console_print+0x292/0x780 [ 12.899443][ T310] ? __lock_acquire+0x518/0xc20 [ 12.899444][ T310] ? __lock_acquire+0x518/0xc20 [ 12.899449][ T310] ? hvc_write+0x3a0/0x3a0 [ 12.899452][ T310] ? rcu_is_watching+0x16/0xd0 [ 12.899455][ T310] ? lock_acquire+0x13c/0x160 [ 12.899459][ T310] console_emit_next_record+0x22f/0x4c0 [ 12.899463][ T310] ? devkmsg_read+0x4b0/0x4b0 [ 12.899464][ T310] ? console_flush_one_record+0x106/0x710 [ 12.899468][ T310] ? rcu_is_watching+0x16/0xd0 [ 12.899469][ T310] ? lock_acquire+0x13c/0x160 [ 12.899473][ T310] console_flush_one_record+0x46f/0x710 [ 12.899477][ T310] ? console_emit_next_record+0x4c0/0x4c0 [ 12.899479][ T310] ? __lock_acquire+0x518/0xc20 [ 12.899484][ T310] console_unlock+0xee/0x1f0 [ 12.899487][ T310] ? console_flush_one_record+0x710/0x710 [ 12.899489][ T310] ? rcu_is_watching+0x16/0xd0 [ 12.899491][ T310] ? lock_acquire+0xe0/0x160 [ 12.899494][ T310] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.899496][ T310] ? vprintk_emit+0x320/0x3e0 [ 12.899499][ T310] vprintk_emit+0x37c/0x3e0 [ 12.899502][ T310] ? wake_up_klogd_work_func+0x90/0x90 [ 12.899505][ T310] ? netlink_broadcast_filtered+0x29c/0x3c0 [ 12.899508][ T310] ? kasan_save_stack+0x3d/0x50 [ 12.899510][ T310] ? kasan_save_stack+0x2f/0x50 [ 12.899513][ T310] _printk+0xc7/0x100 [ 12.899517][ T310] ? snapshot_read.cold+0x21/0x21 [ 12.899518][ T310] ? __sys_setsockopt+0xe4/0x150 [ 12.899524][ T310] ? netdev_name+0x43/0x60 [ 12.899527][ T310] ? __netdev_printk+0x17f/0x1d0 [ 12.899531][ T310] netdev_info+0xe2/0x116 [ 12.899534][ T310] ? netdev_notice+0x120/0x120 [ 12.899535][ T310] ? mark_usage+0x61/0x170 [ 12.899541][ T310] ? find_held_lock+0x2b/0x80 [ 12.899544][ T310] ? mutex_is_locked+0x1c/0x50 [ 12.899546][ T310] netif_set_allmulti.cold+0x7c/0x166 [ 12.899550][ T310] dev_set_allmulti+0xa6/0x240 [ 12.899554][ T310] vif_add+0x9da/0xdc0 [ 12.899556][ T310] ? __mutex_lock+0x1db/0x1ea0 [ 12.899559][ T310] ? __mutex_lock+0x9a3/0x1ea0 [ 12.899562][ T310] ? ip_mr_output_finish.isra.0+0x630/0x630 [ 12.899566][ T310] ? lock_acquire.part.0+0xd4/0x280 [ 12.899567][ T310] ? __might_fault+0x97/0x140 [ 12.899572][ T310] ? __lock_release.isra.0+0x69/0x1a0 [ 12.899575][ T310] ? __might_fault+0x97/0x140 [ 12.899579][ T310] ip_mroute_setsockopt+0xd02/0x1010 [ 12.899583][ T310] ? ipmr_rtm_route+0x250/0x250 [ 12.899588][ T310] ? __might_fault+0x97/0x140 [ 12.899589][ T310] ? find_held_lock+0x2b/0x80 [ 12.899594][ T310] ? __might_fault+0x97/0x140 [ 12.899595][ T310] ? __might_fault+0x97/0x140 [ 12.899599][ T310] do_ip_setsockopt+0x27c/0x25f0 [ 12.899602][ T310] ? ip_sock_set_tos+0x40/0x40 [ 12.899605][ T310] ? find_held_lock+0x2b/0x80 [ 12.899608][ T310] ? __lock_release.isra.0+0x69/0x1a0 [ 12.899609][ T310] ? do_syscall_64+0xff/0x530 [ 12.899613][ T310] ? rcu_is_watching+0x16/0xd0 [ 12.899615][ T310] ? do_raw_spin_unlock+0x59/0x250 [ 12.899617][ T310] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 12.899618][ T310] ? lockdep_hardirqs_on+0x91/0x130 [ 12.899620][ T310] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 12.899622][ T310] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 12.899625][ T310] ip_setsockopt+0x2f/0x90 [ 12.899629][ T310] raw_setsockopt+0x8c/0x1f0 [ 12.899631][ T310] ? rcu_is_watching+0x16/0xd0 [ 12.899634][ T310] ? raw_bind+0x5b0/0x5b0 [ 12.899638][ T310] do_sock_setsockopt+0x164/0x3b0 [ 12.899641][ T310] ? put_user_ifreq+0x90/0x90 [ 12.899643][ T310] ? __lock_release.isra.0+0x69/0x1a0 [ 12.899646][ T310] ? fd_install+0x18c/0x3d0 [ 12.899651][ T310] ? fd_install+0x19b/0x3d0 [ 12.899655][ T310] __sys_setsockopt+0xe4/0x150 [ 12.899659][ T310] __x64_sys_setsockopt+0xbd/0x180 [ 12.899661][ T310] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.899665][ T310] ? lockdep_hardirqs_on+0x91/0x130 [ 12.899666][ T310] ? do_syscall_64+0xa6/0x530 [ 12.899668][ T310] do_syscall_64+0xff/0x530 [ 12.899670][ T310] ? exc_page_fault+0xee/0x100 [ 12.899672][ T310] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.899674][ T310] RIP: 0033:0x7f2cfc9aa2de [ 12.899678][ T310] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 12.899680][ T310] RSP: 002b:00007ffef7a744c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 12.899682][ T310] RAX: ffffffffffffffda RBX: 000055677fe912c0 RCX: 00007f2cfc9aa2de [ 12.899684][ T310] RDX: 00000000000000ca RSI: 0000000000000000 RDI: 0000000000000007 [ 12.899684][ T310] RBP: 00007ffef7a74580 R08: 0000000000000010 R09: 0000000000000001 [ 12.899685][ T310] R10: 00007ffef7a74500 R11: 0000000000000246 R12: 000055678cadc0c4 [ 12.899686][ T310] R13: 00007ffef7a745d0 R14: 000055678cadc0b0 R15: 0000000000000000 [ 12.899693][ T310] [ 12.932583][ T310] relay_gw: entered allmulticast mode [ 12.932853][ T310] relay_src: entered allmulticast mode [ 27.077150][ C0] [ 27.077167][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.077169][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 27.077171][ C0] preempt_count: 104, expected: 0 [ 27.077172][ C0] RCU nest depth: 0, expected: 0 [ 27.077173][ C0] INFO: lockdep is turned off. [ 27.077174][ C0] irq event stamp: 662102 [ 27.077175][ C0] hardirqs last enabled at (662102): [] _raw_spin_unlock_irq+0x28/0x50 [ 27.077183][ C0] hardirqs last disabled at (662101): [] _raw_spin_lock_irq+0x4a/0x50 [ 27.077185][ C0] softirqs last enabled at (662090): [] handle_softirqs+0x67c/0x900 [ 27.077189][ C0] softirqs last disabled at (662099): [] __irq_exit_rcu+0x145/0x1c0 [ 27.077191][ C0] Preemption disabled at: [ 27.077192][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 27.077199][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.077202][ C0] Tainted: [W]=WARN [ 27.077203][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.077205][ C0] Call Trace: [ 27.077207][ C0] [ 27.077208][ C0] dump_stack_lvl+0x6f/0xa0 [ 27.077213][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 27.077215][ C0] __might_resched.cold+0x1fe/0x2c1 [ 27.077219][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.077222][ C0] ? __asan_memcpy+0x3c/0x60 [ 27.077226][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.077228][ C0] __kmalloc_noprof+0x443/0x760 [ 27.077231][ C0] ? __rwlock_init+0x150/0x150 [ 27.077234][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 27.077238][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 27.077240][ C0] alloc_buf.isra.0+0x4b/0x260 [ 27.077242][ C0] put_chars+0x1e1/0x2f0 [ 27.077244][ C0] ? __send_to_port+0x420/0x420 [ 27.077245][ C0] ? console_prepend_replay+0x20/0x20 [ 27.077248][ C0] hvc_console_print+0x292/0x780 [ 27.077253][ C0] ? hvc_write+0x3a0/0x3a0 [ 27.077255][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.077256][ C0] ? lock_acquire+0x13c/0x160 [ 27.077258][ C0] console_emit_next_record+0x22f/0x4c0 [ 27.077261][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 27.077263][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.077264][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.077265][ C0] ? lock_acquire+0x13c/0x160 [ 27.077267][ C0] ? console_flush_one_record+0x111/0x710 [ 27.077269][ C0] console_flush_one_record+0x46f/0x710 [ 27.077271][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 27.077274][ C0] console_unlock+0xee/0x1f0 [ 27.077275][ C0] ? lock_acquire+0x13c/0x160 [ 27.077277][ C0] ? console_flush_one_record+0x710/0x710 [ 27.077278][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.077279][ C0] ? lock_release+0x184/0x1f0 [ 27.077281][ C0] ? lock_acquire+0xe0/0x160 [ 27.077282][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.077284][ C0] ? vprintk_emit+0x320/0x3e0 [ 27.077286][ C0] vprintk_emit+0x37c/0x3e0 [ 27.077288][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 27.077289][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.077290][ C0] ? lock_release+0x184/0x1f0 [ 27.077291][ C0] ? x86_64_start_kernel+0xd0/0x130 [ 27.077296][ C0] _printk+0xc7/0x100 [ 27.077298][ C0] ? snapshot_read.cold+0x21/0x21 [ 27.077300][ C0] ? arch_stack_walk+0xd7/0x130 [ 27.077303][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.077304][ C0] ? nbcon_cpu_emergency_enter+0x28/0x80 [ 27.077306][ C0] print_irq_inversion_bug.part.0+0x32/0xc0 [ 27.077308][ C0] mark_lock_irq+0x989/0x9c0 [ 27.077311][ C0] mark_lock+0x1d7/0xa00 [ 27.077313][ C0] mark_usage+0x42/0x170 [ 27.077315][ C0] __lock_acquire+0x388/0xc20 [ 27.077317][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.077319][ C0] ? br_forward_delay_timer_expired+0x44/0x5d0 [ 27.077322][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.077323][ C0] ? lock_acquire+0x13c/0x160 [ 27.077324][ C0] ? br_message_age_timer_expired+0x70/0x70 [ 27.077326][ C0] _raw_spin_lock+0x33/0x40 [ 27.077327][ C0] ? br_forward_delay_timer_expired+0x44/0x5d0 [ 27.077328][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [ 27.077330][ C0] ? br_message_age_timer_expired+0x70/0x70 [ 27.077331][ C0] call_timer_fn+0x160/0x4d0 [ 27.077334][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 27.077336][ C0] ? debug_object_active_state+0x430/0x430 [ 27.077339][ C0] ? find_held_lock+0x2b/0x80 [ 27.077341][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 27.077343][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.077344][ C0] __run_timers+0x68f/0xaa0 [ 27.077346][ C0] ? br_message_age_timer_expired+0x70/0x70 [ 27.077348][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 27.077349][ C0] ? __lock_acquire+0x518/0xc20 [ 27.077352][ C0] ? __rwlock_init+0x150/0x150 [ 27.077354][ C0] run_timer_softirq+0xf0/0x160 [ 27.077356][ C0] ? __run_timers+0xaa0/0xaa0 [ 27.077358][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 27.077361][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.077362][ C0] handle_softirqs+0x1d3/0x900 [ 27.077364][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 27.077366][ C0] ? _local_bh_enable+0xc0/0xc0 [ 27.077368][ C0] __irq_exit_rcu+0x145/0x1c0 [ 27.077369][ C0] irq_exit_rcu+0xe/0x30 [ 27.077371][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 27.077373][ C0] [ 27.077373][ C0] [ 27.077374][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 27.077376][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 27.077378][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 27.077380][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 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.077382][ C0] RSP: 0018:ffffffff8d807cf8 EFLAGS: 00000296 [ 27.077385][ C0] RAX: 00000000000a1a51 RBX: ffffffff8d830600 RCX: ffffffff89f06247 [ 27.077386][ C0] RDX: ffffffff8d830600 RSI: ffffffff8d111027 RDI: ffffffff8ca949e0 [ 27.077387][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 27.077388][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff1b00fa2 [ 27.077388][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 27.077390][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 27.077393][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 27.077395][ C0] default_idle+0x9/0x10 [ 27.077396][ C0] default_idle_call+0x6e/0xb0 [ 27.077398][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 27.077399][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 27.077401][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 27.077403][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.077405][ C0] do_idle+0xd8/0x190 [ 27.077406][ C0] cpu_startup_entry+0x53/0x70 [ 27.077408][ C0] rest_init+0x279/0x280 [ 27.077410][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 27.077412][ C0] ? rest_init+0x280/0x280 [ 27.077414][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 27.077417][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 27.077419][ C0] ? acpi_enable+0x1e4/0x330 [ 27.077421][ C0] start_kernel+0x3b9/0x3c0 [ 27.077424][ C0] x86_64_start_reservations+0x24/0x30 [ 27.077425][ C0] x86_64_start_kernel+0x12b/0x130 [ 27.077427][ C0] common_startup_64+0x13e/0x148 [ 27.077431][ C0] [ 27.106741][ C0] ======================================================== [ 27.106958][ C0] WARNING: possible irq lock inversion dependency detected [ 27.107228][ C0] 7.2.0-virtme #1 Tainted: G W [ 27.107468][ C0] -------------------------------------------------------- [ 27.107679][ C0] swapper/0/0 just changed the state of lock: [ 27.107907][ C0] ff1100001011ae98 (&br->lock){+.-.}-{3:3}, at: br_forward_delay_timer_expired+0x44/0x5d0 [ 27.108218][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 27.108485][ C0] (fs_reclaim){+.+.}-{0:0} [ 27.108487][ C0] [ 27.108487][ C0] [ 27.108487][ C0] and interrupts could create inverse lock ordering between them. [ 27.108487][ C0] [ 27.109124][ C0] [ 27.109124][ C0] other info that might help us debug this: [ 27.109334][ C0] Chain exists of: [ 27.109334][ C0] &br->lock --> console_owner --> fs_reclaim [ 27.109334][ C0] [ 27.109705][ C0] Possible interrupt unsafe locking scenario: [ 27.109705][ C0] [ 27.109975][ C0] CPU0 CPU1 [ 27.110174][ C0] ---- ---- [ 27.110319][ C0] lock(fs_reclaim); [ 27.110482][ C0] local_irq_disable(); [ 27.110665][ C0] lock(&br->lock); [ 27.110893][ C0] lock(console_owner); [ 27.111075][ C0] [ 27.111188][ C0] lock(&br->lock); [ 27.111301][ C0] [ 27.111301][ C0] *** DEADLOCK *** [ 27.111301][ C0] [ 27.111562][ C0] locks held by swapper/0/0: 1, last CPU#0: [ 27.111799][ C0] #0: ffa0000000007c90 ((&p->forward_delay_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 27.112145][ C0] [ 27.112145][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 27.112398][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 27.112599][ C0] HARDIRQ-ON-W at: [ 27.112712][ C0] __lock_acquire+0x388/0xc20 [ 27.112945][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.113182][ C0] fs_reclaim_acquire+0xd5/0x120 [ 27.113362][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 27.113630][ C0] kthread_create_worker_on_node+0xea/0x210 [ 27.113916][ C0] workqueue_init+0x2a/0x680 [ 27.114103][ C0] kernel_init_freeable+0x2fe/0x630 [ 27.114368][ C0] kernel_init+0x21/0x150 [ 27.114600][ C0] ret_from_fork+0x474/0x6b0 [ 27.114782][ C0] ret_from_fork_asm+0x11/0x20 [ 27.115014][ C0] SOFTIRQ-ON-W at: [ 27.115128][ C0] __lock_acquire+0x388/0xc20 [ 27.115357][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.115588][ C0] fs_reclaim_acquire+0xd5/0x120 [ 27.115769][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 27.116035][ C0] kthread_create_worker_on_node+0xea/0x210 [ 27.116310][ C0] workqueue_init+0x2a/0x680 [ 27.116488][ C0] kernel_init_freeable+0x2fe/0x630 [ 27.116757][ C0] kernel_init+0x21/0x150 [ 27.116990][ C0] ret_from_fork+0x474/0x6b0 [ 27.117174][ C0] ret_from_fork_asm+0x11/0x20 [ 27.117406][ C0] INITIAL USE at: [ 27.117511][ C0] __lock_acquire+0x388/0xc20 [ 27.117744][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.117978][ C0] fs_reclaim_acquire+0xd5/0x120 [ 27.118163][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 27.118431][ C0] kthread_create_worker_on_node+0xea/0x210 [ 27.118695][ C0] workqueue_init+0x2a/0x680 [ 27.118874][ C0] kernel_init_freeable+0x2fe/0x630 [ 27.119113][ C0] kernel_init+0x21/0x150 [ 27.119347][ C0] ret_from_fork+0x474/0x6b0 [ 27.119526][ C0] ret_from_fork_asm+0x11/0x20 [ 27.119756][ C0] } [ 27.119831][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 27.120107][ C0] ... acquired at: [ 27.120216][ C0] __lock_acquire+0x518/0xc20 [ 27.120416][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.120560][ C0] fs_reclaim_acquire+0xd5/0x120 [ 27.120752][ C0] __kmalloc_noprof+0xd3/0x760 [ 27.120893][ C0] alloc_buf.isra.0+0x4b/0x260 [ 27.121094][ C0] put_chars+0x1e1/0x2f0 [ 27.121237][ C0] hvc_console_print+0x292/0x780 [ 27.121430][ C0] console_emit_next_record+0x22f/0x4c0 [ 27.121575][ C0] console_flush_one_record+0x46f/0x710 [ 27.121768][ C0] console_unlock+0xee/0x1f0 [ 27.121913][ C0] vprintk_emit+0x37c/0x3e0 [ 27.122111][ C0] _printk+0xc7/0x100 [ 27.122224][ C0] tun_init+0x24/0xb0 [ 27.122332][ C0] do_one_initcall+0x124/0x4f0 [ 27.122528][ C0] kernel_init_freeable+0x596/0x630 [ 27.122671][ C0] kernel_init+0x21/0x150 [ 27.122867][ C0] ret_from_fork+0x474/0x6b0 [ 27.123010][ C0] ret_from_fork_asm+0x11/0x20 [ 27.123210][ C0] [ 27.123284][ C0] -> (console_owner){....}-{0:0} { [ 27.123479][ C0] INITIAL USE at: [ 27.123586][ C0] } [ 27.123657][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 27.123923][ C0] ... acquired at: [ 27.124031][ C0] __lock_acquire+0x518/0xc20 [ 27.124229][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.124371][ C0] console_lock_spinning_enable+0x5c/0x60 [ 27.124604][ C0] console_emit_next_record+0x1d1/0x4c0 [ 27.124794][ C0] console_flush_one_record+0x46f/0x710 [ 27.124938][ C0] console_unlock+0xee/0x1f0 [ 27.125133][ C0] vprintk_emit+0x37c/0x3e0 [ 27.125279][ C0] _printk+0xc7/0x100 [ 27.125387][ C0] br_set_state+0x22f/0x430 [ 27.125583][ C0] br_init_port+0xc4/0x200 [ 27.125726][ C0] br_stp_enable_port+0x12/0x50 [ 27.125921][ C0] br_add_if+0xde2/0x1320 [ 27.126067][ C0] do_set_master+0x3b2/0x780 [ 27.126212][ C0] do_setlink.isra.0+0x9ec/0x2a60 [ 27.126353][ C0] rtnl_newlink+0x9f1/0x11b0 [ 27.126549][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 27.126691][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 27.126886][ C0] netlink_unicast+0x486/0x750 [ 27.127033][ C0] netlink_sendmsg+0x75b/0xc90 [ 27.127229][ C0] __sock_sendmsg+0xce/0x190 [ 27.127371][ C0] ____sys_sendmsg+0x61a/0x860 [ 27.127563][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 27.127706][ C0] __sys_sendmsg+0x12c/0x1d0 [ 27.127898][ C0] do_syscall_64+0xff/0x530 [ 27.128045][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.128276][ C0] [ 27.128347][ C0] -> (&br->lock){+.-.}-{3:3} { [ 27.128542][ C0] HARDIRQ-ON-W at: [ 27.128652][ C0] __lock_acquire+0x388/0xc20 [ 27.128881][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.129063][ C0] _raw_spin_lock_bh+0x38/0x50 [ 27.129247][ C0] br_stp_enable_bridge+0x23/0x340 [ 27.129478][ C0] br_dev_open+0x94/0x120 [ 27.129655][ C0] __dev_open+0x322/0x7a0 [ 27.129889][ C0] __dev_change_flags+0x4a4/0x6d0 [ 27.130124][ C0] netif_change_flags+0x87/0x190 [ 27.130302][ C0] do_setlink.isra.0+0x1d25/0x2a60 [ 27.130530][ C0] rtnl_newlink+0x9f1/0x11b0 [ 27.130709][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 27.130940][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 27.131174][ C0] netlink_unicast+0x486/0x750 [ 27.131353][ C0] netlink_sendmsg+0x75b/0xc90 [ 27.131584][ C0] __sock_sendmsg+0xce/0x190 [ 27.131813][ C0] ____sys_sendmsg+0x61a/0x860 [ 27.131992][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 27.132176][ C0] __sys_sendmsg+0x12c/0x1d0 [ 27.132356][ C0] do_syscall_64+0xff/0x530 [ 27.132587][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.132852][ C0] IN-SOFTIRQ-W at: [ 27.132958][ C0] __lock_acquire+0x388/0xc20 [ 27.133195][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.133376][ C0] _raw_spin_lock+0x33/0x40 [ 27.133604][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [ 27.133867][ C0] call_timer_fn+0x160/0x4d0 [ 27.134054][ C0] __run_timers+0x68f/0xaa0 [ 27.134286][ C0] run_timer_softirq+0xf0/0x160 [ 27.134514][ C0] handle_softirqs+0x1d3/0x900 [ 27.134696][ C0] __irq_exit_rcu+0x145/0x1c0 [ 27.134921][ C0] irq_exit_rcu+0xe/0x30 [ 27.135105][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 27.135321][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 27.135585][ C0] pv_native_safe_halt+0xf/0x10 [ 27.135814][ C0] default_idle+0x9/0x10 [ 27.135993][ C0] default_idle_call+0x6e/0xb0 [ 27.136226][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 27.136493][ C0] do_idle+0xd8/0x190 [ 27.136638][ C0] cpu_startup_entry+0x53/0x70 [ 27.136868][ C0] rest_init+0x279/0x280 [ 27.137049][ C0] start_kernel+0x3b9/0x3c0 [ 27.137279][ C0] x86_64_start_reservations+0x24/0x30 [ 27.137507][ C0] x86_64_start_kernel+0x12b/0x130 [ 27.137685][ C0] common_startup_64+0x13e/0x148 [ 27.137915][ C0] INITIAL USE at: [ 27.138020][ C0] __lock_acquire+0x388/0xc20 [ 27.138202][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.138432][ C0] _raw_spin_lock_bh+0x38/0x50 [ 27.138611][ C0] br_stp_enable_bridge+0x23/0x340 [ 27.138840][ C0] br_dev_open+0x94/0x120 [ 27.139017][ C0] __dev_open+0x322/0x7a0 [ 27.139253][ C0] __dev_change_flags+0x4a4/0x6d0 [ 27.139483][ C0] netif_change_flags+0x87/0x190 [ 27.139663][ C0] do_setlink.isra.0+0x1d25/0x2a60 [ 27.139893][ C0] rtnl_newlink+0x9f1/0x11b0 [ 27.140129][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 27.140308][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 27.140539][ C0] netlink_unicast+0x486/0x750 [ 27.140718][ C0] netlink_sendmsg+0x75b/0xc90 [ 27.140947][ C0] __sock_sendmsg+0xce/0x190 [ 27.141132][ C0] ____sys_sendmsg+0x61a/0x860 [ 27.141310][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 27.141541][ C0] __sys_sendmsg+0x12c/0x1d0 [ 27.141770][ C0] do_syscall_64+0xff/0x530 [ 27.141950][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.142216][ C0] } [ 27.142287][ C0] ... key at: [] __key.7+0x0/0x40 [ 27.142516][ C0] ... acquired at: [ 27.142623][ C0] mark_lock+0x1d7/0xa00 [ 27.142812][ C0] mark_usage+0x42/0x170 [ 27.142953][ C0] __lock_acquire+0x388/0xc20 [ 27.143151][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.143295][ C0] _raw_spin_lock+0x33/0x40 [ 27.143484][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [ 27.143666][ C0] call_timer_fn+0x160/0x4d0 [ 27.143859][ C0] __run_timers+0x68f/0xaa0 [ 27.144002][ C0] run_timer_softirq+0xf0/0x160 [ 27.144201][ C0] handle_softirqs+0x1d3/0x900 [ 27.144344][ C0] __irq_exit_rcu+0x145/0x1c0 [ 27.144538][ C0] irq_exit_rcu+0xe/0x30 [ 27.144683][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 27.144907][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 27.145139][ C0] pv_native_safe_halt+0xf/0x10 [ 27.145285][ C0] default_idle+0x9/0x10 [ 27.145477][ C0] default_idle_call+0x6e/0xb0 [ 27.145620][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 27.145846][ C0] do_idle+0xd8/0x190 [ 27.145953][ C0] cpu_startup_entry+0x53/0x70 [ 27.146099][ C0] rest_init+0x279/0x280 [ 27.146243][ C0] start_kernel+0x3b9/0x3c0 [ 27.146436][ C0] x86_64_start_reservations+0x24/0x30 [ 27.146580][ C0] x86_64_start_kernel+0x12b/0x130 [ 27.146773][ C0] common_startup_64+0x13e/0x148 [ 27.146915][ C0] [ 27.146987][ C0] [ 27.146987][ C0] stack backtrace: [ 27.147220][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.147224][ C0] Tainted: [W]=WARN [ 27.147225][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.147226][ C0] Call Trace: [ 27.147227][ C0] [ 27.147228][ C0] dump_stack_lvl+0x6f/0xa0 [ 27.147232][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 27.147235][ C0] mark_lock_irq+0x989/0x9c0 [ 27.147238][ C0] mark_lock+0x1d7/0xa00 [ 27.147240][ C0] mark_usage+0x42/0x170 [ 27.147241][ C0] __lock_acquire+0x388/0xc20 [ 27.147244][ C0] lock_acquire.part.0+0xd4/0x280 [ 27.147245][ C0] ? br_forward_delay_timer_expired+0x44/0x5d0 [ 27.147247][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.147249][ C0] ? lock_acquire+0x13c/0x160 [ 27.147251][ C0] ? br_message_age_timer_expired+0x70/0x70 [ 27.147252][ C0] _raw_spin_lock+0x33/0x40 [ 27.147254][ C0] ? br_forward_delay_timer_expired+0x44/0x5d0 [ 27.147255][ C0] br_forward_delay_timer_expired+0x44/0x5d0 [ 27.147256][ C0] ? br_message_age_timer_expired+0x70/0x70 [ 27.147258][ C0] call_timer_fn+0x160/0x4d0 [ 27.147260][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 27.147261][ C0] ? debug_object_active_state+0x430/0x430 [ 27.147264][ C0] ? find_held_lock+0x2b/0x80 [ 27.147266][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 27.147268][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.147269][ C0] __run_timers+0x68f/0xaa0 [ 27.147271][ C0] ? br_message_age_timer_expired+0x70/0x70 [ 27.147273][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 27.147275][ C0] ? __lock_acquire+0x518/0xc20 [ 27.147277][ C0] ? __rwlock_init+0x150/0x150 [ 27.147280][ C0] run_timer_softirq+0xf0/0x160 [ 27.147282][ C0] ? __run_timers+0xaa0/0xaa0 [ 27.147284][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 27.147286][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.147288][ C0] handle_softirqs+0x1d3/0x900 [ 27.147289][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 27.147291][ C0] ? _local_bh_enable+0xc0/0xc0 [ 27.147293][ C0] __irq_exit_rcu+0x145/0x1c0 [ 27.147295][ C0] irq_exit_rcu+0xe/0x30 [ 27.147296][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 27.147298][ C0] [ 27.147298][ C0] [ 27.147299][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 27.147300][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 27.147302][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 27.147304][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 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.147306][ C0] RSP: 0018:ffffffff8d807cf8 EFLAGS: 00000296 [ 27.147307][ C0] RAX: 00000000000a1a51 RBX: ffffffff8d830600 RCX: ffffffff89f06247 [ 27.147309][ C0] RDX: ffffffff8d830600 RSI: ffffffff8d111027 RDI: ffffffff8ca949e0 [ 27.147309][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 27.147310][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff1b00fa2 [ 27.147311][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 27.147313][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 27.147315][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 27.147316][ C0] default_idle+0x9/0x10 [ 27.147318][ C0] default_idle_call+0x6e/0xb0 [ 27.147319][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 27.147321][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 27.147322][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 27.147325][ C0] ? rcu_is_watching+0x16/0xd0 [ 27.147326][ C0] do_idle+0xd8/0x190 [ 27.147328][ C0] cpu_startup_entry+0x53/0x70 [ 27.147329][ C0] rest_init+0x279/0x280 [ 27.147331][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 27.147334][ C0] ? rest_init+0x280/0x280 [ 27.147335][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 27.147338][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 27.147340][ C0] ? acpi_enable+0x1e4/0x330 [ 27.147342][ C0] start_kernel+0x3b9/0x3c0 [ 27.147344][ C0] x86_64_start_reservations+0x24/0x30 [ 27.147345][ C0] x86_64_start_kernel+0x12b/0x130 [ 27.147347][ C0] common_startup_64+0x13e/0x148 [ 27.147350][ C0] [ 482.346587][ T12] br0: port 1(gw_l) entered disabled state [ 482.346605][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 482.346607][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 482.346609][ T12] preempt_count: 202, expected: 0 [ 482.346610][ T12] RCU nest depth: 0, expected: 0 [ 482.346611][ T12] INFO: lockdep is turned off. [ 482.346612][ T12] irq event stamp: 9816 [ 482.346612][ T12] hardirqs last enabled at (9815): [] _raw_spin_unlock_irq+0x28/0x50 [ 482.346621][ T12] hardirqs last disabled at (9816): [] __schedule+0x1246/0x20e0 [ 482.346624][ T12] softirqs last enabled at (9812): [] __fib6_clean_all+0xff/0x290 [ 482.346628][ T12] softirqs last disabled at (9806): [] __fib6_clean_all+0xd9/0x290 [ 482.346630][ T12] Preemption disabled at: [ 482.346630][ T12] [<0000000000000000>] 0x0 [ 482.346637][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 482.346640][ T12] Tainted: [W]=WARN [ 482.346641][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 482.346643][ T12] Workqueue: netns cleanup_net [ 482.346649][ T12] Call Trace: [ 482.346651][ T12] [ 482.346652][ T12] dump_stack_lvl+0x6f/0xa0 [ 482.346658][ T12] __might_resched.cold+0x1fe/0x2c1 [ 482.346662][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 482.346666][ T12] ? rcu_is_watching+0x16/0xd0 [ 482.346669][ T12] __kmalloc_noprof+0x443/0x760 [ 482.346672][ T12] ? __rwlock_init+0x150/0x150 [ 482.346675][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 482.346679][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 482.346681][ T12] alloc_buf.isra.0+0x4b/0x260 [ 482.346684][ T12] put_chars+0x1e1/0x2f0 [ 482.346685][ T12] ? __send_to_port+0x420/0x420 [ 482.346686][ T12] ? printk_get_next_message+0x240/0x650 [ 482.346689][ T12] ? console_prepend_replay+0x20/0x20 [ 482.346692][ T12] hvc_console_print+0x292/0x780 [ 482.346697][ T12] ? hvc_write+0x3a0/0x3a0 [ 482.346698][ T12] ? __rwlock_init+0x150/0x150 [ 482.346700][ T12] ? lock_acquire+0x13c/0x160 [ 482.346702][ T12] console_emit_next_record+0x22f/0x4c0 [ 482.346705][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 482.346707][ T12] ? rcu_is_watching+0x16/0xd0 [ 482.346708][ T12] ? rcu_is_watching+0x16/0xd0 [ 482.346709][ T12] ? rcu_is_watching+0x16/0xd0 [ 482.346710][ T12] ? lock_acquire+0x13c/0x160 [ 482.346711][ T12] ? console_flush_one_record+0x111/0x710 [ 482.346713][ T12] console_flush_one_record+0x46f/0x710 [ 482.346716][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 482.346718][ T12] console_unlock+0xee/0x1f0 [ 482.346720][ T12] ? lock_acquire+0x13c/0x160 [ 482.346721][ T12] ? console_flush_one_record+0x710/0x710 [ 482.346723][ T12] ? rcu_is_watching+0x16/0xd0 [ 482.346724][ T12] ? lock_release+0x184/0x1f0 [ 482.346725][ T12] ? lock_acquire+0xe0/0x160 [ 482.346727][ T12] ? __rcu_read_lock+0x70/0x70 [ 482.346728][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 482.346730][ T12] ? vprintk_emit+0x320/0x3e0 [ 482.346732][ T12] vprintk_emit+0x37c/0x3e0 [ 482.346733][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 482.346734][ T12] ? rcu_is_watching+0x16/0xd0 [ 482.346735][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 482.346738][ T12] ? trace_hardirqs_on+0x36/0x40 [ 482.346740][ T12] _printk+0xc7/0x100 [ 482.346743][ T12] ? snapshot_read.cold+0x21/0x21 [ 482.346745][ T12] ? ipv6_mc_down+0x17e/0x2d0 [ 482.346748][ T12] br_set_state+0x22f/0x430 [ 482.346752][ T12] br_stp_disable_port+0x11f/0x390 [ 482.346754][ T12] br_device_event+0x7b5/0x8f0 [ 482.346756][ T12] ? packet_sendmsg_spkt+0x1360/0x1360 [ 482.346758][ T12] ? addrconf_notify+0x2c8/0xf30 [ 482.346761][ T12] notifier_call_chain+0xae/0x300 [ 482.346764][ T12] netif_close_many+0x366/0x770 [ 482.346767][ T12] ? __dev_close_many+0x680/0x680 [ 482.346769][ T12] ? netif_close_many_and_unlock+0x22/0x2c0 [ 482.346771][ T12] unregister_netdevice_many_notify+0x71a/0x1b40 [ 482.346773][ T12] ? ops_undo_list+0x2ce/0x8f0 [ 482.346774][ T12] ? worker_thread+0x4f1/0xd60 [ 482.346777][ T12] ? kthread+0x367/0x460 [ 482.346779][ T12] ? ret_from_fork+0x474/0x6b0 [ 482.346782][ T12] ? ret_from_fork_asm+0x11/0x20 [ 482.346784][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 482.346785][ T12] ? get_rps_cpu+0x980/0x980 [ 482.346788][ T12] default_device_exit_batch+0x38b/0x600 [ 482.346789][ T12] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 482.346790][ T12] ? lock_acquire+0x13c/0x160 [ 482.346792][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 482.346793][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 482.346795][ T12] ? fou_exit_net+0x30/0x110 [ 482.346798][ T12] ops_undo_list+0x2ce/0x8f0 [ 482.346800][ T12] ? netns_install+0x2a0/0x2a0 [ 482.346801][ T12] ? idr_destroy+0x121/0x250 [ 482.346805][ T12] cleanup_net+0x431/0x940 [ 482.346806][ T12] ? net_passive_dec+0x230/0x230 [ 482.346808][ T12] ? lock_acquire+0x13c/0x160 [ 482.346810][ T12] ? rcu_is_watching+0x16/0xd0 [ 482.346811][ T12] process_one_work+0xe3e/0x1560 [ 482.346814][ T12] ? __queue_delayed_work+0x470/0x470 [ 482.346816][ T12] ? find_held_lock+0x2b/0x80 [ 482.346818][ T12] ? __rwlock_init+0x150/0x150 [ 482.346820][ T12] worker_thread+0x4f1/0xd60 [ 482.346823][ T12] ? rescuer_thread+0x1340/0x1340 [ 482.346824][ T12] kthread+0x367/0x460 [ 482.346826][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 482.346827][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 482.346829][ T12] ret_from_fork+0x474/0x6b0 [ 482.346831][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 482.346833][ T12] ? __switch_to+0x5a3/0xe00 [ 482.346836][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 482.346837][ T12] ret_from_fork_asm+0x11/0x20 [ 482.346840][ T12] [ 482.367183][ T12] gw_l (unregistering): left allmulticast mode [ 482.367379][ T12] gw_l (unregistering): left promiscuous mode [ 482.367541][ T12] br0: port 1(gw_l) entered disabled state [ 482.392773][ T12] amtg: left allmulticast mode [ 482.392926][ T12] amtg: left promiscuous mode [ 482.393191][ T12] br0: port 2(amtg) entered disabled state [ 482.402078][ T310] amtr: left allmulticast mode [ 482.402279][ T310] relay_gw: left allmulticast mode [ 482.402433][ T310] relay_src: left allmulticast mode