[ 12.196154][ T243] br1: port 1(veth1) entered blocking state [ 12.196329][ T243] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.196331][ T243] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 243, name: ip [ 12.196333][ T243] preempt_count: 1, expected: 0 [ 12.196334][ T243] RCU nest depth: 0, expected: 0 [ 12.196335][ T243] locks held by ip/243: 5, last CPU#2: [ 12.196337][ T243] #0: ffffffffb90d2c40 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 12.196350][ T243] #1: ffffffffb8969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.196357][ T243] #2: ffffffffb8969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.196361][ T243] #3: ffffffffb8889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.196365][ T243] #4: ffffffffb8889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.196368][ T243] irq event stamp: 12222 [ 12.196369][ T243] hardirqs last enabled at (12221): [] __down_trylock_console_sem+0x86/0xa0 [ 12.196372][ T243] hardirqs last disabled at (12222): [] console_emit_next_record+0x3d4/0x4c0 [ 12.196374][ T243] softirqs last enabled at (12132): [] __alloc_skb+0x4c2/0x5f0 [ 12.196378][ T243] softirqs last disabled at (12130): [] __alloc_skb+0x4c2/0x5f0 [ 12.196380][ T243] Preemption disabled at: [ 12.196381][ T243] [] vprintk_emit+0x31b/0x3e0 [ 12.196387][ T243] CPU: 2 UID: 0 PID: 243 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.196391][ T243] Tainted: [W]=WARN [ 12.196392][ T243] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.196394][ T243] Call Trace: [ 12.196395][ T243] [ 12.196397][ T243] dump_stack_lvl+0x6f/0xa0 [ 12.196403][ T243] ? vprintk_emit+0x31b/0x3e0 [ 12.196406][ T243] __might_resched.cold+0x1fe/0x2c1 [ 12.196410][ T243] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.196414][ T243] ? __kmalloc_noprof+0xdb/0x760 [ 12.196420][ T243] __kmalloc_noprof+0x443/0x760 [ 12.196422][ T243] ? alloc_buf.isra.0+0x4b/0x260 [ 12.196428][ T243] ? do_raw_spin_unlock+0x59/0x250 [ 12.196430][ T243] alloc_buf.isra.0+0x4b/0x260 [ 12.196434][ T243] put_chars+0x1e1/0x2f0 [ 12.196437][ T243] ? __send_to_port+0x420/0x420 [ 12.196441][ T243] ? validate_chain+0x34a/0xc20 [ 12.196445][ T243] hvc_console_print+0x292/0x780 [ 12.196448][ T243] ? mark_usage+0x61/0x170 [ 12.196450][ T243] ? __lock_acquire+0x518/0xc20 [ 12.196451][ T243] ? __lock_acquire+0x518/0xc20 [ 12.196456][ T243] ? hvc_write+0x3a0/0x3a0 [ 12.196458][ T243] ? console_emit_next_record+0x1df/0x4c0 [ 12.196461][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.196465][ T243] ? lock_acquire+0x13c/0x160 [ 12.196469][ T243] console_emit_next_record+0x22f/0x4c0 [ 12.196473][ T243] ? devkmsg_read+0x4b0/0x4b0 [ 12.196474][ T243] ? console_flush_one_record+0x106/0x710 [ 12.196478][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.196480][ T243] ? lock_acquire+0x13c/0x160 [ 12.196484][ T243] console_flush_one_record+0x46f/0x710 [ 12.196488][ T243] ? console_emit_next_record+0x4c0/0x4c0 [ 12.196490][ T243] ? __lock_acquire+0x518/0xc20 [ 12.196496][ T243] console_unlock+0xee/0x1f0 [ 12.196499][ T243] ? console_flush_one_record+0x710/0x710 [ 12.196500][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.196503][ T243] ? lock_acquire+0x60/0x160 [ 12.196506][ T243] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.196508][ T243] ? vprintk_emit+0x320/0x3e0 [ 12.196512][ T243] vprintk_emit+0x37c/0x3e0 [ 12.196516][ T243] ? wake_up_klogd_work_func+0x90/0x90 [ 12.196518][ T243] ? __lock_release.isra.0+0x69/0x1a0 [ 12.196520][ T243] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 12.196524][ T243] ? mark_held_locks+0x40/0x70 [ 12.196528][ T243] _printk+0xc7/0x100 [ 12.196532][ T243] ? snapshot_read.cold+0x21/0x21 [ 12.196536][ T243] ? br_multicast_flood+0xab0/0xab0 [bridge] [ 12.196549][ T243] ? do_setlink.isra.0+0xa31/0x2750 [ 12.196550][ T243] ? rtnl_newlink+0x9f1/0x11c0 [ 12.196551][ T243] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.196556][ T243] br_set_state+0x22f/0x430 [bridge] [ 12.196569][ T243] br_init_port+0xc4/0x200 [bridge] [ 12.196579][ T243] new_nbp+0x39c/0x580 [bridge] [ 12.196589][ T243] br_add_if+0x212/0x1320 [bridge] [ 12.196596][ T243] ? is_bpf_text_address+0x72/0x110 [ 12.196600][ T243] ? kernel_text_address+0x149/0x170 [ 12.196603][ T243] ? __kernel_text_address+0x12/0x30 [ 12.196607][ T243] do_set_master+0x357/0x580 [ 12.196612][ T243] do_setlink.isra.0+0xa31/0x2750 [ 12.196615][ T243] ? stack_trace_save+0x93/0xc0 [ 12.196618][ T243] ? rtnl_link_get_size+0x350/0x350 [ 12.196619][ T243] ? rcu_read_lock_any_held+0x66/0x90 [ 12.196622][ T243] ? stack_depot_save_flags+0x38e/0x790 [ 12.196625][ T243] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.196628][ T243] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.196630][ T243] ? validate_chain+0x38b/0xc20 [ 12.196633][ T243] ? kasan_save_stack+0x3d/0x50 [ 12.196636][ T243] ? kasan_save_stack+0x2f/0x50 [ 12.196638][ T243] ? kasan_save_track+0x14/0x30 [ 12.196640][ T243] ? __lock_acquire+0x518/0xc20 [ 12.196642][ T243] ? netlink_seq_next+0x4e/0x60 [ 12.196645][ T243] ? ___sys_sendmsg+0xb0/0x1d0 [ 12.196650][ T243] ? lock_acquire.part.0+0xd4/0x280 [ 12.196652][ T243] ? rtnl_newlink+0x9a8/0x11c0 [ 12.196655][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.196657][ T243] ? lock_acquire+0x13c/0x160 [ 12.196659][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.196660][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.196663][ T243] ? trace_contention_end+0xb3/0x180 [ 12.196667][ T243] ? __mutex_lock+0x1db/0x1ea0 [ 12.196668][ T243] ? __mutex_lock+0x9a3/0x1ea0 [ 12.196670][ T243] ? rtnl_newlink+0x9a8/0x11c0 [ 12.196674][ T243] ? ww_mutex_lock+0x160/0x160 [ 12.196676][ T243] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.196681][ T243] ? __rtnl_newlink+0x3fa/0xa50 [ 12.196686][ T243] rtnl_newlink+0x9f1/0x11c0 [ 12.196691][ T243] ? rtnl_bridge_getlink+0x850/0x850 [ 12.196693][ T243] ? __lock_acquire+0x518/0xc20 [ 12.196698][ T243] ? lock_acquire.part.0+0xd4/0x280 [ 12.196700][ T243] ? find_held_lock+0x2b/0x80 [ 12.196702][ T243] ? rtnl_bridge_getlink+0x850/0x850 [ 12.196704][ T243] ? __lock_release.isra.0+0x69/0x1a0 [ 12.196708][ T243] ? rtnl_bridge_getlink+0x850/0x850 [ 12.196710][ T243] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.196713][ T243] ? rtnl_link_fill+0x920/0x920 [ 12.196714][ T243] ? __lock_acquire+0x518/0xc20 [ 12.196719][ T243] ? lock_acquire.part.0+0xd4/0x280 [ 12.196721][ T243] ? find_held_lock+0x2b/0x80 [ 12.196724][ T243] netlink_rcv_skb+0x14e/0x3a0 [ 12.196726][ T243] ? rtnl_link_fill+0x920/0x920 [ 12.196729][ T243] ? netlink_ack+0xcf0/0xcf0 [ 12.196735][ T243] ? netlink_deliver_tap+0xc5/0x330 [ 12.196737][ T243] ? netlink_deliver_tap+0x13c/0x330 [ 12.196741][ T243] netlink_unicast+0x486/0x750 [ 12.196745][ T243] ? netlink_attachskb+0x810/0x810 [ 12.196748][ T243] ? __lock_acquire+0x518/0xc20 [ 12.196752][ T243] netlink_sendmsg+0x735/0xc60 [ 12.196756][ T243] ? netlink_unicast+0x750/0x750 [ 12.196760][ T243] ? __might_fault+0x97/0x140 [ 12.196765][ T243] ____sys_sendmsg+0x415/0x880 [ 12.196768][ T243] ? copy_msghdr_from_user+0x279/0x420 [ 12.196770][ T243] ? get_timestamp.constprop.0+0x390/0x390 [ 12.196772][ T243] ? move_addr_to_kernel+0x40/0x40 [ 12.196779][ T243] ___sys_sendmsg+0x14e/0x1d0 [ 12.196782][ T243] ? copy_msghdr_from_user+0x420/0x420 [ 12.196799][ T243] __sys_sendmsg+0x12c/0x1d0 [ 12.196802][ T243] ? __sys_sendmsg_sock+0x20/0x20 [ 12.196808][ T243] ? rcu_is_watching+0x16/0xd0 [ 12.196812][ T243] do_syscall_64+0xff/0x530 [ 12.196814][ T243] ? exc_page_fault+0xee/0x100 [ 12.196818][ T243] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.196820][ T243] RIP: 0033:0x7fc54211354e [ 12.196823][ T243] 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 [ 12.196825][ T243] RSP: 002b:00007fff813fd9e0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 12.196828][ T243] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fc54211354e [ 12.196830][ T243] RDX: 0000000000000000 RSI: 00007fff813fda90 RDI: 0000000000000005 [ 12.196830][ T243] RBP: 00007fff813fd9f0 R08: 0000000000000000 R09: 0000000000000000 [ 12.196831][ T243] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a913a0d [ 12.196832][ T243] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff813fe150 [ 12.196839][ T243] [ 12.255922][ T243] br1: port 1(veth1) entered disabled state [ 12.256578][ T243] veth1: entered allmulticast mode [ 12.258853][ T243] veth1: entered promiscuous mode [ 12.275791][ T243] ip (243) used greatest stack depth: 23336 bytes left [ 12.298589][ T36] br1: port 1(veth1) entered blocking state [ 12.299028][ T36] br1: port 1(veth1) entered forwarding state [ 12.330852][ T246] br1: port 2(veth2) entered blocking state [ 12.331519][ T246] br1: port 2(veth2) entered disabled state [ 12.331835][ T246] veth2: entered allmulticast mode [ 12.333471][ T246] veth2: entered promiscuous mode [ 12.360529][ T36] br1: port 2(veth2) entered blocking state [ 12.360856][ T36] br1: port 2(veth2) entered forwarding state [ 20.007454][ T300] GACT probability NOT on [ 20.007473][ T300] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.007476][ T300] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 300, name: modprobe [ 20.007478][ T300] preempt_count: 1, expected: 0 [ 20.007479][ T300] RCU nest depth: 0, expected: 0 [ 20.007480][ T300] locks held by modprobe/300: 4, last CPU#2: [ 20.007482][ T300] #0: ffffffffb8969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.007495][ T300] #1: ffffffffb8969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.007499][ T300] #2: ffffffffb8889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.007504][ T300] #3: ffffffffb8889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.007508][ T300] irq event stamp: 24392 [ 20.007509][ T300] hardirqs last enabled at (24391): [] __down_trylock_console_sem+0x86/0xa0 [ 20.007512][ T300] hardirqs last disabled at (24392): [] console_emit_next_record+0x3d4/0x4c0 [ 20.007514][ T300] softirqs last enabled at (23580): [] handle_softirqs+0x67c/0x900 [ 20.007517][ T300] softirqs last disabled at (23555): [] __irq_exit_rcu+0x145/0x1c0 [ 20.007519][ T300] Preemption disabled at: [ 20.007520][ T300] [] vprintk_emit+0x31b/0x3e0 [ 20.007526][ T300] CPU: 2 UID: 0 PID: 300 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.007530][ T300] Tainted: [W]=WARN [ 20.007530][ T300] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.007532][ T300] Call Trace: [ 20.007534][ T300] [ 20.007535][ T300] dump_stack_lvl+0x6f/0xa0 [ 20.007541][ T300] ? vprintk_emit+0x31b/0x3e0 [ 20.007543][ T300] __might_resched.cold+0x1fe/0x2c1 [ 20.007548][ T300] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.007552][ T300] ? __kmalloc_noprof+0xdb/0x760 [ 20.007557][ T300] __kmalloc_noprof+0x443/0x760 [ 20.007559][ T300] ? alloc_buf.isra.0+0x4b/0x260 [ 20.007565][ T300] ? do_raw_spin_unlock+0x59/0x250 [ 20.007568][ T300] alloc_buf.isra.0+0x4b/0x260 [ 20.007571][ T300] put_chars+0x1e1/0x2f0 [ 20.007573][ T300] ? desc_read_finalized_seq+0x79/0x120 [ 20.007575][ T300] ? __send_to_port+0x420/0x420 [ 20.007578][ T300] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.007582][ T300] ? validate_chain+0x38b/0xc20 [ 20.007586][ T300] hvc_console_print+0x292/0x780 [ 20.007589][ T300] ? __lock_acquire+0x518/0xc20 [ 20.007591][ T300] ? __lock_acquire+0x518/0xc20 [ 20.007595][ T300] ? hvc_write+0x3a0/0x3a0 [ 20.007597][ T300] ? console_emit_next_record+0x1df/0x4c0 [ 20.007600][ T300] ? rcu_is_watching+0x16/0xd0 [ 20.007603][ T300] ? lock_acquire+0x13c/0x160 [ 20.007607][ T300] console_emit_next_record+0x22f/0x4c0 [ 20.007611][ T300] ? devkmsg_read+0x4b0/0x4b0 [ 20.007612][ T300] ? console_flush_one_record+0x106/0x710 [ 20.007616][ T300] ? rcu_is_watching+0x16/0xd0 [ 20.007618][ T300] ? lock_acquire+0x13c/0x160 [ 20.007622][ T300] console_flush_one_record+0x46f/0x710 [ 20.007626][ T300] ? console_emit_next_record+0x4c0/0x4c0 [ 20.007628][ T300] ? __lock_acquire+0x518/0xc20 [ 20.007633][ T300] console_unlock+0xee/0x1f0 [ 20.007636][ T300] ? console_flush_one_record+0x710/0x710 [ 20.007638][ T300] ? rcu_is_watching+0x16/0xd0 [ 20.007640][ T300] ? lock_acquire+0x60/0x160 [ 20.007644][ T300] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.007646][ T300] ? vprintk_emit+0x320/0x3e0 [ 20.007649][ T300] vprintk_emit+0x37c/0x3e0 [ 20.007653][ T300] ? wake_up_klogd_work_func+0x90/0x90 [ 20.007659][ T300] ? llc_exit+0x3e0/0x3e0 [llc] [ 20.007662][ T300] _printk+0xc7/0x100 [ 20.007666][ T300] ? snapshot_read.cold+0x21/0x21 [ 20.007672][ T300] ? do_one_initcall+0x113/0x4f0 [ 20.007675][ T300] gact_init_module+0x15/0x1000 [act_gact] [ 20.007678][ T300] do_one_initcall+0x124/0x4f0 [ 20.007681][ T300] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 20.007685][ T300] ? do_init_module+0xae/0x8a0 [ 20.007688][ T300] ? kasan_unpoison+0x44/0x70 [ 20.007693][ T300] do_init_module+0x2ad/0x8a0 [ 20.007697][ T300] ? lockdep_hardirqs_on+0x91/0x130 [ 20.007701][ T300] ? free_module+0x470/0x470 [ 20.007704][ T300] ? kfree+0x123/0x590 [ 20.007709][ T300] load_module+0x1424/0x1bb0 [ 20.007716][ T300] ? layout_and_allocate.isra.0+0x680/0x680 [ 20.007720][ T300] ? __ia32_sys_fsconfig+0x180/0x180 [ 20.007723][ T300] ? ovl_real_file+0x172/0x1e0 [ 20.007727][ T300] ? backing_file_read_iter+0x541/0x790 [ 20.007730][ T300] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.007734][ T300] init_module_from_file+0x11f/0x1a0 [ 20.007737][ T300] ? __do_sys_init_module+0x220/0x220 [ 20.007745][ T300] ? __rwlock_init+0x150/0x150 [ 20.007749][ T300] ? do_raw_spin_unlock+0x59/0x250 [ 20.007752][ T300] idempotent_init_module+0x37b/0x7c0 [ 20.007755][ T300] ? init_module_from_file+0x1a0/0x1a0 [ 20.007762][ T300] ? rcu_is_watching+0x16/0xd0 [ 20.007764][ T300] ? cap_capable+0x1d7/0x3d0 [ 20.007770][ T300] __x64_sys_finit_module+0xdf/0x190 [ 20.007772][ T300] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.007776][ T300] do_syscall_64+0xff/0x530 [ 20.007778][ T300] ? exc_page_fault+0xee/0x100 [ 20.007781][ T300] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.007784][ T300] RIP: 0033:0x7fae2daff37d [ 20.007787][ T300] 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 [ 20.007789][ T300] RSP: 002b:00007ffd32db87a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 20.007792][ T300] RAX: ffffffffffffffda RBX: 000055fb3114b810 RCX: 00007fae2daff37d [ 20.007793][ T300] RDX: 0000000000000000 RSI: 000055fb300c3ffd RDI: 0000000000000000 [ 20.007794][ T300] RBP: 00007ffd32db8840 R08: 0000000000000000 R09: 0000000000000000 [ 20.007795][ T300] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fb300c3ffd [ 20.007796][ T300] R13: 000055fb3114b960 R14: 0000000000040000 R15: 0000000000000000 [ 20.007803][ T300] [ 23.960269][ C0] tc action pedit offset 42 out of bounds [ 23.960312][ C0] [ 23.960313][ C0] ======================================================== [ 23.960314][ C0] WARNING: possible irq lock inversion dependency detected [ 23.960317][ C0] 7.2.0-virtme #1 Tainted: G W [ 23.960318][ C0] -------------------------------------------------------- [ 23.960319][ C0] jq/446 just changed the state of lock: [ 23.960320][ C0] ffffffffb8889660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.960333][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 23.960334][ C0] (fs_reclaim){+.+.}-{0:0} [ 23.960336][ C0] [ 23.960336][ C0] [ 23.960336][ C0] and interrupts could create inverse lock ordering between them. [ 23.960336][ C0] [ 23.960337][ C0] [ 23.960337][ C0] other info that might help us debug this: [ 23.960337][ C0] Possible interrupt unsafe locking scenario: [ 23.960337][ C0] [ 23.960338][ C0] CPU0 CPU1 [ 23.960338][ C0] ---- ---- [ 23.960339][ C0] lock(fs_reclaim); [ 23.960340][ C0] local_irq_disable(); [ 23.960341][ C0] lock(console_owner); [ 23.960342][ C0] lock(fs_reclaim); [ 23.960343][ C0] [ 23.960343][ C0] lock(console_owner); [ 23.960344][ C0] [ 23.960344][ C0] *** DEADLOCK *** [ 23.960344][ C0] [ 23.960344][ C0] locks held by jq/446: 5, last CPU#0: [ 23.960346][ C0] #0: ff110000010736f8 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x2fc/0x960 [ 23.960351][ C0] #1: ffffffffb8980b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 23.960357][ C0] #2: ffffffffb8980aa0 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x1fc/0x1b80 [ 23.960360][ C0] #3: ffffffffb8969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.960364][ C0] #4: ffffffffb8969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.960367][ C0] [ 23.960367][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 23.960373][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 23.960376][ C0] HARDIRQ-ON-W at: [ 23.960378][ C0] __lock_acquire+0x388/0xc20 [ 23.960380][ C0] lock_acquire.part.0+0xd4/0x280 [ 23.960382][ C0] fs_reclaim_acquire+0xd5/0x120 [ 23.960384][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 23.960387][ C0] kthread_create_worker_on_node+0xea/0x210 [ 23.960390][ C0] workqueue_init+0x2a/0x680 [ 23.960393][ C0] kernel_init_freeable+0x2fe/0x630 [ 23.960395][ C0] kernel_init+0x21/0x150 [ 23.960399][ C0] ret_from_fork+0x474/0x6b0 [ 23.960402][ C0] ret_from_fork_asm+0x11/0x20 [ 23.960405][ C0] SOFTIRQ-ON-W at: [ 23.960406][ C0] __lock_acquire+0x388/0xc20 [ 23.960408][ C0] lock_acquire.part.0+0xd4/0x280 [ 23.960409][ C0] fs_reclaim_acquire+0xd5/0x120 [ 23.960410][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 23.960411][ C0] kthread_create_worker_on_node+0xea/0x210 [ 23.960413][ C0] workqueue_init+0x2a/0x680 [ 23.960414][ C0] kernel_init_freeable+0x2fe/0x630 [ 23.960415][ C0] kernel_init+0x21/0x150 [ 23.960416][ C0] ret_from_fork+0x474/0x6b0 [ 23.960417][ C0] ret_from_fork_asm+0x11/0x20 [ 23.960419][ C0] INITIAL USE at: [ 23.960420][ C0] __lock_acquire+0x388/0xc20 [ 23.960421][ C0] lock_acquire.part.0+0xd4/0x280 [ 23.960422][ C0] fs_reclaim_acquire+0xd5/0x120 [ 23.960424][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 23.960425][ C0] kthread_create_worker_on_node+0xea/0x210 [ 23.960427][ C0] workqueue_init+0x2a/0x680 [ 23.960428][ C0] kernel_init_freeable+0x2fe/0x630 [ 23.960429][ C0] kernel_init+0x21/0x150 [ 23.960430][ C0] ret_from_fork+0x474/0x6b0 [ 23.960431][ C0] ret_from_fork_asm+0x11/0x20 [ 23.960433][ C0] } [ 23.960433][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 23.960438][ C0] ... acquired at: [ 23.960439][ C0] __lock_acquire+0x518/0xc20 [ 23.960440][ C0] lock_acquire.part.0+0xd4/0x280 [ 23.960442][ C0] fs_reclaim_acquire+0xd5/0x120 [ 23.960443][ C0] __kmalloc_noprof+0xd3/0x760 [ 23.960444][ C0] alloc_buf.isra.0+0x4b/0x260 [ 23.960447][ C0] put_chars+0x1e1/0x2f0 [ 23.960448][ C0] hvc_console_print+0x292/0x780 [ 23.960450][ C0] console_emit_next_record+0x22f/0x4c0 [ 23.960452][ C0] console_flush_one_record+0x46f/0x710 [ 23.960453][ C0] console_unlock+0xee/0x1f0 [ 23.960455][ C0] vprintk_emit+0x37c/0x3e0 [ 23.960457][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 23.960460][ C0] dev_printk_emit+0xb9/0xee [ 23.960462][ C0] _dev_info+0xe2/0x116 [ 23.960464][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 23.960467][ C0] cmos_do_probe+0x73b/0x98a [ 23.960468][ C0] platform_probe+0xfe/0x1f0 [ 23.960471][ C0] call_driver_probe+0x61/0x1c0 [ 23.960473][ C0] really_probe+0x199/0x760 [ 23.960474][ C0] __driver_probe_device+0x24f/0x440 [ 23.960476][ C0] driver_probe_device+0x4a/0xf0 [ 23.960477][ C0] __driver_attach+0x1b8/0x540 [ 23.960479][ C0] bus_for_each_dev+0x130/0x1e0 [ 23.960480][ C0] bus_add_driver+0x2c8/0x530 [ 23.960481][ C0] driver_register+0x1a3/0x390 [ 23.960483][ C0] __platform_driver_probe+0x13f/0x270 [ 23.960484][ C0] cmos_init+0x31/0x40 [ 23.960487][ C0] do_one_initcall+0x124/0x4f0 [ 23.960489][ C0] kernel_init_freeable+0x596/0x630 [ 23.960490][ C0] kernel_init+0x21/0x150 [ 23.960491][ C0] ret_from_fork+0x474/0x6b0 [ 23.960492][ C0] ret_from_fork_asm+0x11/0x20 [ 23.960494][ C0] [ 23.960494][ C0] -> (console_owner){..-.}-{0:0} { [ 23.960496][ C0] IN-SOFTIRQ-W at: [ 23.960497][ C0] __lock_acquire+0x388/0xc20 [ 23.960498][ C0] lock_acquire.part.0+0xd4/0x280 [ 23.960500][ C0] console_lock_spinning_enable+0x5c/0x60 [ 23.960501][ C0] console_emit_next_record+0x1d1/0x4c0 [ 23.960503][ C0] console_flush_one_record+0x46f/0x710 [ 23.960505][ C0] console_unlock+0xee/0x1f0 [ 23.960506][ C0] vprintk_emit+0x37c/0x3e0 [ 23.960508][ C0] _printk+0xc7/0x100 [ 23.960511][ C0] tcf_pedit_act.cold+0x6e/0xe4 [act_pedit] [ 23.960514][ C0] tcf_action_exec.part.0+0xca/0x3c0 [ 23.960517][ C0] fl_classify+0x52e/0x700 [cls_flower] [ 23.960520][ C0] __tcf_classify+0x35e/0x780 [ 23.960522][ C0] tcf_classify+0x3f7/0xa20 [ 23.960523][ C0] tc_run+0x3d0/0x7e0 [ 23.960525][ C0] __dev_queue_xmit+0x6f7/0x1b80 [ 23.960526][ C0] br_dev_queue_push_xmit+0xd4/0x2b0 [bridge] [ 23.960537][ C0] br_handle_frame_finish+0xd50/0x1d20 [bridge] [ 23.960544][ C0] br_handle_frame+0x74d/0xf50 [bridge] [ 23.960550][ C0] __netif_receive_skb_core.constprop.0+0x536/0x2bb0 [ 23.960552][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 23.960554][ C0] process_backlog+0x431/0x14c0 [ 23.960556][ C0] __napi_poll+0xa7/0x3b0 [ 23.960557][ C0] net_rx_action+0x513/0xf50 [ 23.960559][ C0] handle_softirqs+0x1d3/0x900 [ 23.960561][ C0] __irq_exit_rcu+0x145/0x1c0 [ 23.960562][ C0] irq_exit_rcu+0xe/0x30 [ 23.960564][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 23.960566][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 23.960568][ C0] _raw_spin_unlock_irqrestore+0x36/0x80 [ 23.960570][ C0] debug_object_active_state+0x2f5/0x430 [ 23.960574][ C0] __call_rcu_common.constprop.0+0x56/0xa20 [ 23.960577][ C0] kmem_cache_free+0x2e5/0x550 [ 23.960579][ C0] unlink_anon_vmas+0x47f/0x8d0 [ 23.960580][ C0] free_pgtables+0x32a/0x960 [ 23.960584][ C0] exit_mmap+0x45f/0x960 [ 23.960585][ C0] mmput+0xa9/0x450 [ 23.960587][ C0] exit_mm+0x134/0x200 [ 23.960589][ C0] do_exit+0x548/0xdc0 [ 23.960591][ C0] do_group_exit+0xb8/0x370 [ 23.960592][ C0] __x64_sys_exit_group+0x3c/0x50 [ 23.960593][ C0] x64_sys_call+0x1567/0x1570 [ 23.960595][ C0] do_syscall_64+0xff/0x530 [ 23.960596][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.960597][ C0] INITIAL USE at: [ 23.960599][ C0] } [ 23.960599][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 23.960602][ C0] ... acquired at: [ 23.960603][ C0] mark_lock+0x1d7/0xa00 [ 23.960604][ C0] mark_usage+0x42/0x170 [ 23.960605][ C0] __lock_acquire+0x388/0xc20 [ 23.960607][ C0] lock_acquire.part.0+0xd4/0x280 [ 23.960608][ C0] console_lock_spinning_enable+0x5c/0x60 [ 23.960610][ C0] console_emit_next_record+0x1d1/0x4c0 [ 23.960611][ C0] console_flush_one_record+0x46f/0x710 [ 23.960613][ C0] console_unlock+0xee/0x1f0 [ 23.960614][ C0] vprintk_emit+0x37c/0x3e0 [ 23.960616][ C0] _printk+0xc7/0x100 [ 23.960617][ C0] tcf_pedit_act.cold+0x6e/0xe4 [act_pedit] [ 23.960619][ C0] tcf_action_exec.part.0+0xca/0x3c0 [ 23.960621][ C0] fl_classify+0x52e/0x700 [cls_flower] [ 23.960622][ C0] __tcf_classify+0x35e/0x780 [ 23.960624][ C0] tcf_classify+0x3f7/0xa20 [ 23.960625][ C0] tc_run+0x3d0/0x7e0 [ 23.960626][ C0] __dev_queue_xmit+0x6f7/0x1b80 [ 23.960627][ C0] br_dev_queue_push_xmit+0xd4/0x2b0 [bridge] [ 23.960634][ C0] br_handle_frame_finish+0xd50/0x1d20 [bridge] [ 23.960640][ C0] br_handle_frame+0x74d/0xf50 [bridge] [ 23.960646][ C0] __netif_receive_skb_core.constprop.0+0x536/0x2bb0 [ 23.960647][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 23.960649][ C0] process_backlog+0x431/0x14c0 [ 23.960650][ C0] __napi_poll+0xa7/0x3b0 [ 23.960652][ C0] net_rx_action+0x513/0xf50 [ 23.960653][ C0] handle_softirqs+0x1d3/0x900 [ 23.960655][ C0] __irq_exit_rcu+0x145/0x1c0 [ 23.960656][ C0] irq_exit_rcu+0xe/0x30 [ 23.960657][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 23.960658][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 23.960660][ C0] _raw_spin_unlock_irqrestore+0x36/0x80 [ 23.960661][ C0] debug_object_active_state+0x2f5/0x430 [ 23.960663][ C0] __call_rcu_common.constprop.0+0x56/0xa20 [ 23.960664][ C0] kmem_cache_free+0x2e5/0x550 [ 23.960665][ C0] unlink_anon_vmas+0x47f/0x8d0 [ 23.960666][ C0] free_pgtables+0x32a/0x960 [ 23.960668][ C0] exit_mmap+0x45f/0x960 [ 23.960669][ C0] mmput+0xa9/0x450 [ 23.960670][ C0] exit_mm+0x134/0x200 [ 23.960672][ C0] do_exit+0x548/0xdc0 [ 23.960674][ C0] do_group_exit+0xb8/0x370 [ 23.960675][ C0] __x64_sys_exit_group+0x3c/0x50 [ 23.960676][ C0] x64_sys_call+0x1567/0x1570 [ 23.960677][ C0] do_syscall_64+0xff/0x530 [ 23.960678][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.960679][ C0] [ 23.960680][ C0] [ 23.960680][ C0] stack backtrace: [ 23.960682][ C0] CPU: 0 UID: 0 PID: 446 Comm: jq Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.960686][ C0] Tainted: [W]=WARN [ 23.960687][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.960689][ C0] Call Trace: [ 23.960690][ C0] [ 23.960691][ C0] dump_stack_lvl+0x6f/0xa0 [ 23.960695][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 23.960697][ C0] mark_lock_irq+0x989/0x9c0 [ 23.960700][ C0] mark_lock+0x1d7/0xa00 [ 23.960702][ C0] mark_usage+0x42/0x170 [ 23.960704][ C0] __lock_acquire+0x388/0xc20 [ 23.960706][ C0] lock_acquire.part.0+0xd4/0x280 [ 23.960708][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 23.960710][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.960713][ C0] ? lock_acquire+0x13c/0x160 [ 23.960715][ C0] console_lock_spinning_enable+0x5c/0x60 [ 23.960717][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 23.960718][ C0] console_emit_next_record+0x1d1/0x4c0 [ 23.960721][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 23.960722][ C0] ? console_flush_one_record+0x106/0x710 [ 23.960724][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.960726][ C0] ? lock_acquire+0x13c/0x160 [ 23.960728][ C0] console_flush_one_record+0x46f/0x710 [ 23.960730][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 23.960732][ C0] ? __lock_acquire+0x518/0xc20 [ 23.960735][ C0] console_unlock+0xee/0x1f0 [ 23.960737][ C0] ? console_flush_one_record+0x710/0x710 [ 23.960738][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.960740][ C0] ? lock_acquire+0x60/0x160 [ 23.960742][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.960744][ C0] ? vprintk_emit+0x320/0x3e0 [ 23.960746][ C0] vprintk_emit+0x37c/0x3e0 [ 23.960748][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 23.960750][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 23.960753][ C0] _printk+0xc7/0x100 [ 23.960754][ C0] ? snapshot_read.cold+0x21/0x21 [ 23.960756][ C0] ? ___ratelimit+0x4e7/0xa00 [ 23.960759][ C0] ? idr_get_free+0x830/0x830 [ 23.960762][ C0] tcf_pedit_act.cold+0x6e/0xe4 [act_pedit] [ 23.960765][ C0] ? tcf_pedit_keys_ex_parse+0x880/0x880 [act_pedit] [ 23.960767][ C0] tcf_action_exec.part.0+0xca/0x3c0 [ 23.960770][ C0] fl_classify+0x52e/0x700 [cls_flower] [ 23.960773][ C0] ? fl_mask_lookup+0x330/0x330 [cls_flower] [ 23.960779][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 23.960781][ C0] ? mark_usage+0x61/0x170 [ 23.960782][ C0] ? is_bpf_text_address+0x68/0x110 [ 23.960786][ C0] ? mark_usage+0x61/0x170 [ 23.960787][ C0] ? __lock_acquire+0x518/0xc20 [ 23.960790][ C0] __tcf_classify+0x35e/0x780 [ 23.960792][ C0] ? __lock_acquire+0x518/0xc20 [ 23.960793][ C0] tcf_classify+0x3f7/0xa20 [ 23.960796][ C0] ? __tcf_classify+0x780/0x780 [ 23.960797][ C0] ? find_held_lock+0x2b/0x80 [ 23.960799][ C0] ? mark_usage+0x61/0x170 [ 23.960800][ C0] ? __lock_acquire+0x518/0xc20 [ 23.960802][ C0] ? __lock_acquire+0x518/0xc20 [ 23.960804][ C0] tc_run+0x3d0/0x7e0 [ 23.960805][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 23.960807][ C0] ? netdev_offload_xstats_push_delta+0x430/0x430 [ 23.960809][ C0] ? lock_acquire+0x13c/0x160 [ 23.960811][ C0] __dev_queue_xmit+0x6f7/0x1b80 [ 23.960813][ C0] ? find_held_lock+0x2b/0x80 [ 23.960815][ C0] ? br_vlan_lookup+0x268/0x5f0 [bridge] [ 23.960824][ C0] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 23.960826][ C0] ? __lock_acquire+0x518/0xc20 [ 23.960829][ C0] ? __br_forward+0x17d/0x570 [bridge] [ 23.960837][ C0] br_dev_queue_push_xmit+0xd4/0x2b0 [bridge] [ 23.960845][ C0] br_handle_frame_finish+0xd50/0x1d20 [bridge] [ 23.960852][ C0] ? _raw_spin_unlock_irqrestore+0x36/0x80 [ 23.960854][ C0] ? br_handle_local_finish+0x20/0x20 [bridge] [ 23.960860][ C0] ? unlink_anon_vmas+0x47f/0x8d0 [ 23.960862][ C0] ? free_pgtables+0x283/0x960 [ 23.960863][ C0] ? exit_mmap+0x45f/0x960 [ 23.960865][ C0] ? bpf_jit_supports_stack_args+0x1/0x10 [ 23.960867][ C0] ? exit_mm+0x134/0x200 [ 23.960869][ C0] ? do_group_exit+0xb8/0x370 [ 23.960870][ C0] ? __x64_sys_exit_group+0x3c/0x50 [ 23.960871][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 23.960873][ C0] ? rcu_read_lock_bh_held+0x27/0x50 [ 23.960875][ C0] ? nf_hook_egress+0x430/0x430 [ 23.960878][ C0] br_handle_frame+0x74d/0xf50 [bridge] [ 23.960884][ C0] ? br_handle_frame_finish+0x1d20/0x1d20 [bridge] [ 23.960891][ C0] __netif_receive_skb_core.constprop.0+0x536/0x2bb0 [ 23.960894][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 23.960896][ C0] ? kasan_quarantine_put+0x13e/0x2b0 [ 23.960899][ C0] ? do_xdp_generic+0x4a0/0x4a0 [ 23.960902][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 23.960905][ C0] ? mark_usage+0x61/0x170 [ 23.960906][ C0] ? __lock_acquire+0x518/0xc20 [ 23.960908][ C0] ? process_backlog+0x3f1/0x14c0 [ 23.960910][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 23.960912][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 23.960913][ C0] ? process_backlog+0x3f1/0x14c0 [ 23.960915][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 23.960917][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.960920][ C0] process_backlog+0x431/0x14c0 [ 23.960922][ C0] __napi_poll+0xa7/0x3b0 [ 23.960924][ C0] net_rx_action+0x513/0xf50 [ 23.960927][ C0] ? __napi_poll+0x3b0/0x3b0 [ 23.960929][ C0] ? __print_lock_name+0x80/0x80 [ 23.960932][ C0] ? _raw_spin_unlock_irq+0x33/0x50 [ 23.960934][ C0] ? mark_held_locks+0x40/0x70 [ 23.960936][ C0] handle_softirqs+0x1d3/0x900 [ 23.960938][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 23.960939][ C0] ? _local_bh_enable+0xc0/0xc0 [ 23.960942][ C0] __irq_exit_rcu+0x145/0x1c0 [ 23.960943][ C0] irq_exit_rcu+0xe/0x30 [ 23.960944][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 23.960946][ C0] [ 23.960947][ C0] [ 23.960948][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 23.960950][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0x36/0x80 [ 23.960952][ C0] Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 c1 af ba fd 48 89 df e8 c9 05 bb fd f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 70 cf ac fd 65 48 83 3d af 0b f3 01 00 74 12 5b [ 23.960954][ C0] RSP: 0018:ffa0000001d8f858 EFLAGS: 00000246 [ 23.960956][ C0] RAX: 0000000000000096 RBX: ffffffffbb676b38 RCX: ffffffffb7ba8483 [ 23.960957][ C0] RDX: ff1100000d48c6c0 RSI: ffffffffb8438b01 RDI: ffffffffb7e8d8e0 [ 23.960958][ C0] RBP: 0000000000000216 R08: 0000000000000000 R09: 0000000000000000 [ 23.960959][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 [ 23.960960][ C0] R13: 0000000000026187 R14: ffffffffbb676b30 R15: 0000000000000000 [ 23.960962][ C0] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 23.960964][ C0] debug_object_active_state+0x2f5/0x430 [ 23.960966][ C0] ? debug_object_activate+0x345/0x4a0 [ 23.960969][ C0] ? __debug_check_no_obj_freed+0x5a0/0x5a0 [ 23.960971][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 23.960973][ C0] ? __remove_object+0x90/0x90 [ 23.960975][ C0] ? unlink_anon_vmas+0x47f/0x8d0 [ 23.960976][ C0] __call_rcu_common.constprop.0+0x56/0xa20 [ 23.960978][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 23.960980][ C0] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 23.960981][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 23.960983][ C0] kmem_cache_free+0x2e5/0x550 [ 23.960985][ C0] unlink_anon_vmas+0x47f/0x8d0 [ 23.960987][ C0] free_pgtables+0x32a/0x960 [ 23.960990][ C0] ? free_pgd_range+0x2e0/0x2e0 [ 23.960991][ C0] ? lock_acquire+0x13c/0x160 [ 23.960994][ C0] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 23.961003][ C0] exit_mmap+0x45f/0x960 [ 23.961005][ C0] ? vm_brk_flags+0x4d0/0x4d0 [ 23.961007][ C0] ? lock_acquire+0x13c/0x160 [ 23.961008][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.961010][ C0] ? uprobe_clear_state+0x49/0x1e0 [ 23.961013][ C0] ? __lock_acquire+0x518/0xc20 [ 23.961018][ C0] mmput+0xa9/0x450 [ 23.961019][ C0] exit_mm+0x134/0x200 [ 23.961022][ C0] do_exit+0x548/0xdc0 [ 23.961024][ C0] ? exit_notify+0x890/0x890 [ 23.961026][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 23.961027][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.961032][ C0] do_group_exit+0xb8/0x370 [ 23.961034][ C0] __x64_sys_exit_group+0x3c/0x50 [ 23.961035][ C0] x64_sys_call+0x1567/0x1570 [ 23.961037][ C0] do_syscall_64+0xff/0x530 [ 23.961038][ C0] ? exc_page_fault+0xee/0x100 [ 23.961040][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.961041][ C0] RIP: 0033:0x7f8fb93821b8 [ 23.961044][ C0] Code: Unable to access opcode bytes at 0x7f8fb938218e. [ 23.961045][ C0] RSP: 002b:00007fffa9990418 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 23.961047][ C0] RAX: ffffffffffffffda RBX: 00007f8fb94b2f88 RCX: 00007f8fb93821b8 [ 23.961048][ C0] RDX: 00007f8fb91a6a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 23.961049][ C0] RBP: 00007fffa9990470 R08: 00000000ffffffff R09: 0000000000000020 [ 23.961050][ C0] R10: 00007fffa9990290 R11: 0000000000000246 R12: 0000000000000004 [ 23.961051][ C0] R13: 0000000000000000 R14: 00007f8fb94b1680 R15: 00007f8fb94b2fa0 [ 23.961053][ C0] [ 23.961057][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.961059][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 446, name: jq [ 23.961060][ C0] preempt_count: 302, expected: 0 [ 23.961061][ C0] RCU nest depth: 1, expected: 0 [ 23.961062][ C0] INFO: lockdep is turned off. [ 23.961063][ C0] irq event stamp: 10487 [ 23.961063][ C0] hardirqs last enabled at (10486): [] __down_trylock_console_sem+0x86/0xa0 [ 23.961066][ C0] hardirqs last disabled at (10487): [] console_emit_next_record+0x3d4/0x4c0 [ 23.961068][ C0] softirqs last enabled at (7730): [] handle_softirqs+0x67c/0x900 [ 23.961069][ C0] softirqs last disabled at (10381): [] __irq_exit_rcu+0x145/0x1c0 [ 23.961071][ C0] Preemption disabled at: [ 23.961072][ C0] [<0000000000000000>] 0x0 [ 23.961074][ C0] CPU: 0 UID: 0 PID: 446 Comm: jq Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.961076][ C0] Tainted: [W]=WARN [ 23.961076][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.961077][ C0] Call Trace: [ 23.961077][ C0] [ 23.961078][ C0] dump_stack_lvl+0x6f/0xa0 [ 23.961080][ C0] __might_resched.cold+0x1fe/0x2c1 [ 23.961083][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.961086][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.961089][ C0] __kmalloc_noprof+0x443/0x760 [ 23.961090][ C0] ? __rwlock_init+0x150/0x150 [ 23.961092][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 23.961094][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 23.961096][ C0] alloc_buf.isra.0+0x4b/0x260 [ 23.961098][ C0] put_chars+0x1e1/0x2f0 [ 23.961100][ C0] ? __send_to_port+0x420/0x420 [ 23.961102][ C0] ? mark_lock+0x1d7/0xa00 [ 23.961104][ C0] hvc_console_print+0x292/0x780 [ 23.961106][ C0] ? __lock_acquire+0x388/0xc20 [ 23.961108][ C0] ? hvc_write+0x3a0/0x3a0 [ 23.961109][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.961111][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.961113][ C0] ? lock_acquire+0x13c/0x160 [ 23.961115][ C0] console_emit_next_record+0x22f/0x4c0 [ 23.961117][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 23.961119][ C0] ? console_flush_one_record+0x106/0x710 [ 23.961121][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.961123][ C0] ? lock_acquire+0x13c/0x160 [ 23.961125][ C0] console_flush_one_record+0x46f/0x710 [ 23.961127][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 23.961129][ C0] ? __lock_acquire+0x518/0xc20 [ 23.961131][ C0] console_unlock+0xee/0x1f0 [ 23.961133][ C0] ? console_flush_one_record+0x710/0x710 [ 23.961135][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.961137][ C0] ? lock_acquire+0x60/0x160 [ 23.961139][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.961141][ C0] ? vprintk_emit+0x320/0x3e0 [ 23.961143][ C0] vprintk_emit+0x37c/0x3e0 [ 23.961145][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 23.961147][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 23.961149][ C0] _printk+0xc7/0x100 [ 23.961151][ C0] ? snapshot_read.cold+0x21/0x21 [ 23.961153][ C0] ? ___ratelimit+0x4e7/0xa00 [ 23.961155][ C0] ? idr_get_free+0x830/0x830 [ 23.961158][ C0] tcf_pedit_act.cold+0x6e/0xe4 [act_pedit] [ 23.961160][ C0] ? tcf_pedit_keys_ex_parse+0x880/0x880 [act_pedit] [ 23.961163][ C0] tcf_action_exec.part.0+0xca/0x3c0 [ 23.961166][ C0] fl_classify+0x52e/0x700 [cls_flower] [ 23.961169][ C0] ? fl_mask_lookup+0x330/0x330 [cls_flower] [ 23.961175][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 23.961177][ C0] ? mark_usage+0x61/0x170 [ 23.961178][ C0] ? is_bpf_text_address+0x68/0x110 [ 23.961180][ C0] ? mark_usage+0x61/0x170 [ 23.961182][ C0] ? __lock_acquire+0x518/0xc20 [ 23.961184][ C0] __tcf_classify+0x35e/0x780 [ 23.961186][ C0] ? __lock_acquire+0x518/0xc20 [ 23.961188][ C0] tcf_classify+0x3f7/0xa20 [ 23.961190][ C0] ? __tcf_classify+0x780/0x780 [ 23.961192][ C0] ? find_held_lock+0x2b/0x80 [ 23.961193][ C0] ? mark_usage+0x61/0x170 [ 23.961195][ C0] ? __lock_acquire+0x518/0xc20 [ 23.961196][ C0] ? __lock_acquire+0x518/0xc20 [ 23.961198][ C0] tc_run+0x3d0/0x7e0 [ 23.961200][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 23.961201][ C0] ? netdev_offload_xstats_push_delta+0x430/0x430 [ 23.961203][ C0] ? lock_acquire+0x13c/0x160 [ 23.961205][ C0] __dev_queue_xmit+0x6f7/0x1b80 [ 23.961207][ C0] ? find_held_lock+0x2b/0x80 [ 23.961209][ C0] ? br_vlan_lookup+0x268/0x5f0 [bridge] [ 23.961216][ C0] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 23.961218][ C0] ? __lock_acquire+0x518/0xc20 [ 23.961221][ C0] ? __br_forward+0x17d/0x570 [bridge] [ 23.961227][ C0] br_dev_queue_push_xmit+0xd4/0x2b0 [bridge] [ 23.961234][ C0] br_handle_frame_finish+0xd50/0x1d20 [bridge] [ 23.961241][ C0] ? _raw_spin_unlock_irqrestore+0x36/0x80 [ 23.961243][ C0] ? br_handle_local_finish+0x20/0x20 [bridge] [ 23.961249][ C0] ? unlink_anon_vmas+0x47f/0x8d0 [ 23.961250][ C0] ? free_pgtables+0x283/0x960 [ 23.961252][ C0] ? exit_mmap+0x45f/0x960 [ 23.961253][ C0] ? bpf_jit_supports_stack_args+0x1/0x10 [ 23.961255][ C0] ? exit_mm+0x134/0x200 [ 23.961257][ C0] ? do_group_exit+0xb8/0x370 [ 23.961258][ C0] ? __x64_sys_exit_group+0x3c/0x50 [ 23.961259][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 23.961261][ C0] ? rcu_read_lock_bh_held+0x27/0x50 [ 23.961263][ C0] ? nf_hook_egress+0x430/0x430 [ 23.961265][ C0] br_handle_frame+0x74d/0xf50 [bridge] [ 23.961272][ C0] ? br_handle_frame_finish+0x1d20/0x1d20 [bridge] [ 23.961278][ C0] __netif_receive_skb_core.constprop.0+0x536/0x2bb0 [ 23.961281][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 23.961282][ C0] ? kasan_quarantine_put+0x13e/0x2b0 [ 23.961285][ C0] ? do_xdp_generic+0x4a0/0x4a0 [ 23.961287][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 23.961290][ C0] ? mark_usage+0x61/0x170 [ 23.961292][ C0] ? __lock_acquire+0x518/0xc20 [ 23.961294][ C0] ? process_backlog+0x3f1/0x14c0 [ 23.961295][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 23.961297][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 23.961299][ C0] ? process_backlog+0x3f1/0x14c0 [ 23.961301][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 23.961302][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.961305][ C0] process_backlog+0x431/0x14c0 [ 23.961308][ C0] __napi_poll+0xa7/0x3b0 [ 23.961310][ C0] net_rx_action+0x513/0xf50 [ 23.961313][ C0] ? __napi_poll+0x3b0/0x3b0 [ 23.961314][ C0] ? __print_lock_name+0x80/0x80 [ 23.961317][ C0] ? _raw_spin_unlock_irq+0x33/0x50 [ 23.961319][ C0] ? mark_held_locks+0x40/0x70 [ 23.961321][ C0] handle_softirqs+0x1d3/0x900 [ 23.961323][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 23.961325][ C0] ? _local_bh_enable+0xc0/0xc0 [ 23.961327][ C0] __irq_exit_rcu+0x145/0x1c0 [ 23.961328][ C0] irq_exit_rcu+0xe/0x30 [ 23.961330][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 23.961331][ C0] [ 23.961332][ C0] [ 23.961333][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 23.961334][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0x36/0x80 [ 23.961336][ C0] Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 c1 af ba fd 48 89 df e8 c9 05 bb fd f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 70 cf ac fd 65 48 83 3d af 0b f3 01 00 74 12 5b [ 23.961337][ C0] RSP: 0018:ffa0000001d8f858 EFLAGS: 00000246 [ 23.961338][ C0] RAX: 0000000000000096 RBX: ffffffffbb676b38 RCX: ffffffffb7ba8483 [ 23.961339][ C0] RDX: ff1100000d48c6c0 RSI: ffffffffb8438b01 RDI: ffffffffb7e8d8e0 [ 23.961340][ C0] RBP: 0000000000000216 R08: 0000000000000000 R09: 0000000000000000 [ 23.961341][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 [ 23.961341][ C0] R13: 0000000000026187 R14: ffffffffbb676b30 R15: 0000000000000000 [ 23.961343][ C0] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 23.961345][ C0] debug_object_active_state+0x2f5/0x430 [ 23.961348][ C0] ? debug_object_activate+0x345/0x4a0 [ 23.961350][ C0] ? __debug_check_no_obj_freed+0x5a0/0x5a0 [ 23.961352][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 23.961354][ C0] ? __remove_object+0x90/0x90 [ 23.961356][ C0] ? unlink_anon_vmas+0x47f/0x8d0 [ 23.961357][ C0] __call_rcu_common.constprop.0+0x56/0xa20 [ 23.961359][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 23.961360][ C0] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 23.961362][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 23.961363][ C0] kmem_cache_free+0x2e5/0x550 [ 23.961366][ C0] unlink_anon_vmas+0x47f/0x8d0 [ 23.961368][ C0] free_pgtables+0x32a/0x960 [ 23.961370][ C0] ? free_pgd_range+0x2e0/0x2e0 [ 23.961372][ C0] ? lock_acquire+0x13c/0x160 [ 23.961374][ C0] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 23.961377][ C0] exit_mmap+0x45f/0x960 [ 23.961378][ C0] ? vm_brk_flags+0x4d0/0x4d0 [ 23.961380][ C0] ? lock_acquire+0x13c/0x160 [ 23.961381][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.961384][ C0] ? uprobe_clear_state+0x49/0x1e0 [ 23.961385][ C0] ? __lock_acquire+0x518/0xc20 [ 23.961390][ C0] mmput+0xa9/0x450 [ 23.961392][ C0] exit_mm+0x134/0x200 [ 23.961394][ C0] do_exit+0x548/0xdc0 [ 23.961396][ C0] ? exit_notify+0x890/0x890 [ 23.961398][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 23.961400][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.961402][ C0] do_group_exit+0xb8/0x370 [ 23.961403][ C0] __x64_sys_exit_group+0x3c/0x50 [ 23.961405][ C0] x64_sys_call+0x1567/0x1570 [ 23.961406][ C0] do_syscall_64+0xff/0x530 [ 23.961408][ C0] ? exc_page_fault+0xee/0x100 [ 23.961409][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.961411][ C0] RIP: 0033:0x7f8fb93821b8 [ 23.961412][ C0] Code: Unable to access opcode bytes at 0x7f8fb938218e. [ 23.961413][ C0] RSP: 002b:00007fffa9990418 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 23.961414][ C0] RAX: ffffffffffffffda RBX: 00007f8fb94b2f88 RCX: 00007f8fb93821b8 [ 23.961415][ C0] RDX: 00007f8fb91a6a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 23.961415][ C0] RBP: 00007fffa9990470 R08: 00000000ffffffff R09: 0000000000000020 [ 23.961416][ C0] R10: 00007fffa9990290 R11: 0000000000000246 R12: 0000000000000004 [ 23.961417][ C0] R13: 0000000000000000 R14: 00007f8fb94b1680 R15: 00007f8fb94b2fa0 [ 23.961419][ C0] [ 24.240928][ T461] br1: port 2(veth2) entered disabled state [ 24.266725][ T462] veth2: left allmulticast mode [ 24.266924][ T462] veth2: left promiscuous mode [ 24.267180][ T462] br1: port 2(veth2) entered disabled state [ 24.288843][ T463] br1: port 1(veth1) entered disabled state [ 24.306520][ T464] veth1: left allmulticast mode [ 24.306725][ T464] veth1: left promiscuous mode [ 24.306949][ T464] br1: port 1(veth1) entered disabled state