[ 11.529383][ T241] br1: port 1(veth1) entered blocking state [ 11.529454][ T241] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.529457][ T241] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 241, name: ip [ 11.529458][ T241] preempt_count: 1, expected: 0 [ 11.529459][ T241] RCU nest depth: 0, expected: 0 [ 11.529460][ T241] locks held by ip/241: 5, last CPU#1: [ 11.529462][ T241] #0: ffffffffb0ad2c40 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 11.529473][ T241] #1: ffffffffb0369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.529480][ T241] #2: ffffffffb0369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.529483][ T241] #3: ffffffffb0289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.529487][ T241] #4: ffffffffb0289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.529491][ T241] irq event stamp: 17446 [ 11.529491][ T241] hardirqs last enabled at (17445): [] __down_trylock_console_sem+0x86/0xa0 [ 11.529494][ T241] hardirqs last disabled at (17446): [] console_emit_next_record+0x3d4/0x4c0 [ 11.529496][ T241] softirqs last enabled at (17356): [] __alloc_skb+0x4c2/0x5f0 [ 11.529499][ T241] softirqs last disabled at (17354): [] __alloc_skb+0x4c2/0x5f0 [ 11.529502][ T241] Preemption disabled at: [ 11.529502][ T241] [] vprintk_emit+0x31b/0x3e0 [ 11.529508][ T241] CPU: 1 UID: 0 PID: 241 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.529511][ T241] Tainted: [W]=WARN [ 11.529512][ T241] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.529514][ T241] Call Trace: [ 11.529516][ T241] [ 11.529517][ T241] dump_stack_lvl+0x6f/0xa0 [ 11.529523][ T241] ? vprintk_emit+0x31b/0x3e0 [ 11.529525][ T241] __might_resched.cold+0x1fe/0x2c1 [ 11.529530][ T241] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.529534][ T241] ? __kmalloc_noprof+0xdb/0x760 [ 11.529539][ T241] __kmalloc_noprof+0x443/0x760 [ 11.529541][ T241] ? alloc_buf.isra.0+0x4b/0x260 [ 11.529547][ T241] ? do_raw_spin_unlock+0x59/0x250 [ 11.529550][ T241] alloc_buf.isra.0+0x4b/0x260 [ 11.529553][ T241] put_chars+0x1e1/0x2f0 [ 11.529555][ T241] ? __send_to_port+0x420/0x420 [ 11.529560][ T241] ? validate_chain+0x34a/0xc20 [ 11.529563][ T241] hvc_console_print+0x292/0x780 [ 11.529566][ T241] ? mark_usage+0x61/0x170 [ 11.529568][ T241] ? __lock_acquire+0x518/0xc20 [ 11.529570][ T241] ? __lock_acquire+0x518/0xc20 [ 11.529573][ T241] ? hvc_write+0x3a0/0x3a0 [ 11.529575][ T241] ? console_emit_next_record+0x1df/0x4c0 [ 11.529579][ T241] ? rcu_is_watching+0x16/0xd0 [ 11.529583][ T241] ? lock_acquire+0x13c/0x160 [ 11.529587][ T241] console_emit_next_record+0x22f/0x4c0 [ 11.529590][ T241] ? devkmsg_read+0x4b0/0x4b0 [ 11.529592][ T241] ? console_flush_one_record+0x106/0x710 [ 11.529595][ T241] ? rcu_is_watching+0x16/0xd0 [ 11.529597][ T241] ? lock_acquire+0x13c/0x160 [ 11.529601][ T241] console_flush_one_record+0x46f/0x710 [ 11.529605][ T241] ? console_emit_next_record+0x4c0/0x4c0 [ 11.529607][ T241] ? __lock_acquire+0x518/0xc20 [ 11.529612][ T241] console_unlock+0xee/0x1f0 [ 11.529615][ T241] ? console_flush_one_record+0x710/0x710 [ 11.529617][ T241] ? rcu_is_watching+0x16/0xd0 [ 11.529619][ T241] ? lock_acquire+0x60/0x160 [ 11.529623][ T241] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.529624][ T241] ? vprintk_emit+0x320/0x3e0 [ 11.529628][ T241] vprintk_emit+0x37c/0x3e0 [ 11.529631][ T241] ? wake_up_klogd_work_func+0x90/0x90 [ 11.529634][ T241] ? __lock_release.isra.0+0x69/0x1a0 [ 11.529635][ T241] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 11.529640][ T241] ? mark_held_locks+0x40/0x70 [ 11.529643][ T241] _printk+0xc7/0x100 [ 11.529647][ T241] ? snapshot_read.cold+0x21/0x21 [ 11.529651][ T241] ? br_multicast_flood+0xab0/0xab0 [bridge] [ 11.529663][ T241] ? do_setlink.isra.0+0xa31/0x2750 [ 11.529664][ T241] ? rtnl_newlink+0x9f1/0x11c0 [ 11.529665][ T241] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.529670][ T241] br_set_state+0x22f/0x430 [bridge] [ 11.529680][ T241] br_init_port+0xc4/0x200 [bridge] [ 11.529688][ T241] new_nbp+0x39c/0x580 [bridge] [ 11.529697][ T241] br_add_if+0x212/0x1320 [bridge] [ 11.529704][ T241] ? is_bpf_text_address+0x72/0x110 [ 11.529708][ T241] ? kernel_text_address+0x149/0x170 [ 11.529711][ T241] ? __kernel_text_address+0x12/0x30 [ 11.529714][ T241] do_set_master+0x357/0x580 [ 11.529719][ T241] do_setlink.isra.0+0xa31/0x2750 [ 11.529722][ T241] ? stack_trace_save+0x93/0xc0 [ 11.529725][ T241] ? rtnl_link_get_size+0x350/0x350 [ 11.529726][ T241] ? rcu_read_lock_any_held+0x66/0x90 [ 11.529729][ T241] ? stack_depot_save_flags+0x38e/0x790 [ 11.529732][ T241] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.529735][ T241] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.529737][ T241] ? validate_chain+0x38b/0xc20 [ 11.529739][ T241] ? kasan_save_stack+0x3d/0x50 [ 11.529742][ T241] ? kasan_save_stack+0x2f/0x50 [ 11.529744][ T241] ? kasan_save_track+0x14/0x30 [ 11.529747][ T241] ? __lock_acquire+0x518/0xc20 [ 11.529748][ T241] ? netlink_seq_next+0xe/0x60 [ 11.529751][ T241] ? ___sys_sendmsg+0xb0/0x1d0 [ 11.529756][ T241] ? lock_acquire.part.0+0xd4/0x280 [ 11.529758][ T241] ? rtnl_newlink+0x9a8/0x11c0 [ 11.529760][ T241] ? rcu_is_watching+0x16/0xd0 [ 11.529763][ T241] ? lock_acquire+0x13c/0x160 [ 11.529764][ T241] ? rcu_is_watching+0x16/0xd0 [ 11.529766][ T241] ? rcu_is_watching+0x16/0xd0 [ 11.529768][ T241] ? trace_contention_end+0xb3/0x180 [ 11.529778][ T241] ? __mutex_lock+0x1db/0x1ea0 [ 11.529780][ T241] ? __mutex_lock+0x9a3/0x1ea0 [ 11.529782][ T241] ? rtnl_newlink+0x9a8/0x11c0 [ 11.529785][ T241] ? ww_mutex_lock+0x160/0x160 [ 11.529787][ T241] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.529792][ T241] ? __rtnl_newlink+0x3fa/0xa50 [ 11.529797][ T241] rtnl_newlink+0x9f1/0x11c0 [ 11.529802][ T241] ? rtnl_bridge_getlink+0x850/0x850 [ 11.529804][ T241] ? __lock_acquire+0x518/0xc20 [ 11.529808][ T241] ? lock_acquire.part.0+0xd4/0x280 [ 11.529810][ T241] ? find_held_lock+0x2b/0x80 [ 11.529812][ T241] ? rtnl_bridge_getlink+0x850/0x850 [ 11.529813][ T241] ? __lock_release.isra.0+0x69/0x1a0 [ 11.529817][ T241] ? rtnl_bridge_getlink+0x850/0x850 [ 11.529819][ T241] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.529822][ T241] ? rtnl_link_fill+0x920/0x920 [ 11.529823][ T241] ? __lock_acquire+0x518/0xc20 [ 11.529827][ T241] ? lock_acquire.part.0+0xd4/0x280 [ 11.529829][ T241] ? find_held_lock+0x2b/0x80 [ 11.529832][ T241] netlink_rcv_skb+0x14e/0x3a0 [ 11.529834][ T241] ? rtnl_link_fill+0x920/0x920 [ 11.529837][ T241] ? netlink_ack+0xcf0/0xcf0 [ 11.529843][ T241] ? netlink_deliver_tap+0xc5/0x330 [ 11.529844][ T241] ? netlink_deliver_tap+0x13c/0x330 [ 11.529848][ T241] netlink_unicast+0x486/0x750 [ 11.529852][ T241] ? netlink_attachskb+0x810/0x810 [ 11.529854][ T241] ? __lock_acquire+0x518/0xc20 [ 11.529858][ T241] netlink_sendmsg+0x735/0xc60 [ 11.529862][ T241] ? netlink_unicast+0x750/0x750 [ 11.529866][ T241] ? __might_fault+0x97/0x140 [ 11.529871][ T241] ____sys_sendmsg+0x415/0x880 [ 11.529873][ T241] ? copy_msghdr_from_user+0x279/0x420 [ 11.529875][ T241] ? get_timestamp.constprop.0+0x390/0x390 [ 11.529877][ T241] ? move_addr_to_kernel+0x40/0x40 [ 11.529884][ T241] ___sys_sendmsg+0x14e/0x1d0 [ 11.529887][ T241] ? copy_msghdr_from_user+0x420/0x420 [ 11.529902][ T241] __sys_sendmsg+0x12c/0x1d0 [ 11.529904][ T241] ? __sys_sendmsg_sock+0x20/0x20 [ 11.529910][ T241] ? rcu_is_watching+0x16/0xd0 [ 11.529914][ T241] do_syscall_64+0xff/0x530 [ 11.529916][ T241] ? exc_page_fault+0xee/0x100 [ 11.529919][ T241] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.529921][ T241] RIP: 0033:0x7f7c3912e54e [ 11.529925][ T241] 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.529927][ T241] RSP: 002b:00007fffd2686640 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.529929][ T241] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f7c3912e54e [ 11.529931][ T241] RDX: 0000000000000000 RSI: 00007fffd26866f0 RDI: 0000000000000005 [ 11.529932][ T241] RBP: 00007fffd2686650 R08: 0000000000000000 R09: 0000000000000000 [ 11.529932][ T241] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b7cf [ 11.529933][ T241] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffd2686db0 [ 11.529940][ T241] [ 11.567349][ T241] br1: port 1(veth1) entered disabled state [ 11.567679][ T241] veth1: entered allmulticast mode [ 11.570079][ T241] veth1: entered promiscuous mode [ 11.585368][ T241] ip (241) used greatest stack depth: 23336 bytes left [ 11.609727][ T93] br1: port 1(veth1) entered blocking state [ 11.610336][ T93] br1: port 1(veth1) entered forwarding state [ 11.638595][ T244] br1: port 2(veth2) entered blocking state [ 11.638944][ T244] br1: port 2(veth2) entered disabled state [ 11.639762][ T244] veth2: entered allmulticast mode [ 11.641502][ T244] veth2: entered promiscuous mode [ 11.682013][ T38] br1: port 2(veth2) entered blocking state [ 11.682393][ T38] br1: port 2(veth2) entered forwarding state [ 18.243866][ T285] GACT probability NOT on [ 18.243883][ T285] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.243886][ T285] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 285, name: modprobe [ 18.243888][ T285] preempt_count: 1, expected: 0 [ 18.243889][ T285] RCU nest depth: 0, expected: 0 [ 18.243890][ T285] locks held by modprobe/285: 4, last CPU#0: [ 18.243892][ T285] #0: ffffffffb0369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.243904][ T285] #1: ffffffffb0369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.243908][ T285] #2: ffffffffb0289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.243912][ T285] #3: ffffffffb0289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.243916][ T285] irq event stamp: 23820 [ 18.243917][ T285] hardirqs last enabled at (23819): [] __down_trylock_console_sem+0x86/0xa0 [ 18.243920][ T285] hardirqs last disabled at (23820): [] console_emit_next_record+0x3d4/0x4c0 [ 18.243922][ T285] softirqs last enabled at (22658): [] handle_softirqs+0x67c/0x900 [ 18.243925][ T285] softirqs last disabled at (21585): [] __irq_exit_rcu+0x145/0x1c0 [ 18.243928][ T285] Preemption disabled at: [ 18.243928][ T285] [] vprintk_emit+0x31b/0x3e0 [ 18.243934][ T285] CPU: 0 UID: 0 PID: 285 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.243938][ T285] Tainted: [W]=WARN [ 18.243939][ T285] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.243941][ T285] Call Trace: [ 18.243943][ T285] [ 18.243944][ T285] dump_stack_lvl+0x6f/0xa0 [ 18.243950][ T285] ? vprintk_emit+0x31b/0x3e0 [ 18.243952][ T285] __might_resched.cold+0x1fe/0x2c1 [ 18.243957][ T285] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.243961][ T285] ? __kmalloc_noprof+0xdb/0x760 [ 18.243967][ T285] __kmalloc_noprof+0x443/0x760 [ 18.243969][ T285] ? alloc_buf.isra.0+0x4b/0x260 [ 18.243975][ T285] ? do_raw_spin_unlock+0x59/0x250 [ 18.243977][ T285] alloc_buf.isra.0+0x4b/0x260 [ 18.243980][ T285] put_chars+0x1e1/0x2f0 [ 18.243982][ T285] ? desc_read_finalized_seq+0x79/0x120 [ 18.243985][ T285] ? __send_to_port+0x420/0x420 [ 18.243988][ T285] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.243991][ T285] ? validate_chain+0x38b/0xc20 [ 18.243996][ T285] hvc_console_print+0x292/0x780 [ 18.243999][ T285] ? __lock_acquire+0x518/0xc20 [ 18.244000][ T285] ? __lock_acquire+0x518/0xc20 [ 18.244005][ T285] ? hvc_write+0x3a0/0x3a0 [ 18.244007][ T285] ? console_emit_next_record+0x1df/0x4c0 [ 18.244010][ T285] ? rcu_is_watching+0x16/0xd0 [ 18.244013][ T285] ? lock_acquire+0x13c/0x160 [ 18.244017][ T285] console_emit_next_record+0x22f/0x4c0 [ 18.244021][ T285] ? devkmsg_read+0x4b0/0x4b0 [ 18.244023][ T285] ? console_flush_one_record+0x106/0x710 [ 18.244026][ T285] ? rcu_is_watching+0x16/0xd0 [ 18.244028][ T285] ? lock_acquire+0x13c/0x160 [ 18.244032][ T285] console_flush_one_record+0x46f/0x710 [ 18.244037][ T285] ? console_emit_next_record+0x4c0/0x4c0 [ 18.244039][ T285] ? __lock_acquire+0x518/0xc20 [ 18.244044][ T285] console_unlock+0xee/0x1f0 [ 18.244047][ T285] ? console_flush_one_record+0x710/0x710 [ 18.244049][ T285] ? rcu_is_watching+0x16/0xd0 [ 18.244051][ T285] ? lock_acquire+0x60/0x160 [ 18.244055][ T285] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.244057][ T285] ? vprintk_emit+0x320/0x3e0 [ 18.244060][ T285] vprintk_emit+0x37c/0x3e0 [ 18.244065][ T285] ? wake_up_klogd_work_func+0x90/0x90 [ 18.244071][ T285] ? llc_exit+0x3e0/0x3e0 [llc] [ 18.244074][ T285] _printk+0xc7/0x100 [ 18.244078][ T285] ? snapshot_read.cold+0x21/0x21 [ 18.244084][ T285] ? do_one_initcall+0x113/0x4f0 [ 18.244087][ T285] gact_init_module+0x15/0x1000 [act_gact] [ 18.244090][ T285] do_one_initcall+0x124/0x4f0 [ 18.244093][ T285] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 18.244098][ T285] ? do_init_module+0xae/0x8a0 [ 18.244101][ T285] ? kasan_unpoison+0x44/0x70 [ 18.244106][ T285] do_init_module+0x2ad/0x8a0 [ 18.244110][ T285] ? lockdep_hardirqs_on+0x91/0x130 [ 18.244114][ T285] ? free_module+0x470/0x470 [ 18.244117][ T285] ? kfree+0x123/0x590 [ 18.244121][ T285] load_module+0x1424/0x1bb0 [ 18.244128][ T285] ? layout_and_allocate.isra.0+0x680/0x680 [ 18.244132][ T285] ? __ia32_sys_fsconfig+0x180/0x180 [ 18.244136][ T285] ? find_held_lock+0x2b/0x80 [ 18.244138][ T285] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.244142][ T285] init_module_from_file+0x11f/0x1a0 [ 18.244146][ T285] ? __do_sys_init_module+0x220/0x220 [ 18.244156][ T285] ? __rwlock_init+0x150/0x150 [ 18.244160][ T285] ? do_raw_spin_unlock+0x59/0x250 [ 18.244163][ T285] idempotent_init_module+0x37b/0x7c0 [ 18.244166][ T285] ? init_module_from_file+0x1a0/0x1a0 [ 18.244173][ T285] ? rcu_is_watching+0x16/0xd0 [ 18.244175][ T285] ? cap_capable+0x1d7/0x3d0 [ 18.244182][ T285] __x64_sys_finit_module+0xdf/0x190 [ 18.244184][ T285] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.244187][ T285] do_syscall_64+0xff/0x530 [ 18.244189][ T285] ? exc_page_fault+0xee/0x100 [ 18.244192][ T285] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.244194][ T285] RIP: 0033:0x7f4d7e59a37d [ 18.244198][ T285] 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.244200][ T285] RSP: 002b:00007fff69cc90c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 18.244203][ T285] RAX: ffffffffffffffda RBX: 000055ca6bfdf810 RCX: 00007f4d7e59a37d [ 18.244204][ T285] RDX: 0000000000000000 RSI: 000055ca56041ffd RDI: 0000000000000000 [ 18.244205][ T285] RBP: 00007fff69cc9160 R08: 0000000000000000 R09: 0000000000000000 [ 18.244206][ T285] R10: 0000000000000000 R11: 0000000000000246 R12: 000055ca56041ffd [ 18.244207][ T285] R13: 000055ca6bfdf960 R14: 0000000000040000 R15: 0000000000000000 [ 18.244213][ T285] [ 22.391644][ C2] tc action pedit unable to extract header offset for header type (0x5) [ 22.391675][ C2] [ 22.391676][ C2] ======================================================== [ 22.391677][ C2] WARNING: possible irq lock inversion dependency detected [ 22.391680][ C2] 7.2.0-virtme #1 Tainted: G W [ 22.391681][ C2] -------------------------------------------------------- [ 22.391682][ C2] pedit_l4port.sh/412 just changed the state of lock: [ 22.391683][ C2] ffffffffb0289660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.391695][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 22.391696][ C2] (fs_reclaim){+.+.}-{0:0} [ 22.391698][ C2] [ 22.391698][ C2] [ 22.391698][ C2] and interrupts could create inverse lock ordering between them. [ 22.391698][ C2] [ 22.391699][ C2] [ 22.391699][ C2] other info that might help us debug this: [ 22.391699][ C2] Possible interrupt unsafe locking scenario: [ 22.391699][ C2] [ 22.391700][ C2] CPU0 CPU1 [ 22.391700][ C2] ---- ---- [ 22.391701][ C2] lock(fs_reclaim); [ 22.391702][ C2] local_irq_disable(); [ 22.391702][ C2] lock(console_owner); [ 22.391703][ C2] lock(fs_reclaim); [ 22.391704][ C2] [ 22.391704][ C2] lock(console_owner); [ 22.391705][ C2] [ 22.391705][ C2] *** DEADLOCK *** [ 22.391705][ C2] [ 22.391705][ C2] locks held by pedit_l4port.sh/412: 5, last CPU#2: [ 22.391707][ C2] #0: ff1100000c2890b8 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x2fc/0x960 [ 22.391712][ C2] #1: ffffffffb0380b00 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x17e/0x1ea0 [ 22.391717][ C2] #2: ffffffffb0380b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 22.391722][ C2] #3: ffffffffb0369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.391725][ C2] #4: ffffffffb0369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.391728][ C2] [ 22.391728][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 22.391734][ C2] -> (fs_reclaim){+.+.}-{0:0} { [ 22.391736][ C2] HARDIRQ-ON-W at: [ 22.391738][ C2] __lock_acquire+0x388/0xc20 [ 22.391741][ C2] lock_acquire.part.0+0xd4/0x280 [ 22.391742][ C2] fs_reclaim_acquire+0xd5/0x120 [ 22.391744][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 22.391747][ C2] kthread_create_worker_on_node+0xea/0x210 [ 22.391749][ C2] workqueue_init+0x2a/0x680 [ 22.391753][ C2] kernel_init_freeable+0x2fe/0x630 [ 22.391755][ C2] kernel_init+0x21/0x150 [ 22.391758][ C2] ret_from_fork+0x474/0x6b0 [ 22.391761][ C2] ret_from_fork_asm+0x11/0x20 [ 22.391764][ C2] SOFTIRQ-ON-W at: [ 22.391764][ C2] __lock_acquire+0x388/0xc20 [ 22.391766][ C2] lock_acquire.part.0+0xd4/0x280 [ 22.391767][ C2] fs_reclaim_acquire+0xd5/0x120 [ 22.391768][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 22.391769][ C2] kthread_create_worker_on_node+0xea/0x210 [ 22.391771][ C2] workqueue_init+0x2a/0x680 [ 22.391772][ C2] kernel_init_freeable+0x2fe/0x630 [ 22.391773][ C2] kernel_init+0x21/0x150 [ 22.391774][ C2] ret_from_fork+0x474/0x6b0 [ 22.391775][ C2] ret_from_fork_asm+0x11/0x20 [ 22.391776][ C2] INITIAL USE at: [ 22.391777][ C2] __lock_acquire+0x388/0xc20 [ 22.391779][ C2] lock_acquire.part.0+0xd4/0x280 [ 22.391780][ C2] fs_reclaim_acquire+0xd5/0x120 [ 22.391781][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 22.391782][ C2] kthread_create_worker_on_node+0xea/0x210 [ 22.391784][ C2] workqueue_init+0x2a/0x680 [ 22.391785][ C2] kernel_init_freeable+0x2fe/0x630 [ 22.391786][ C2] kernel_init+0x21/0x150 [ 22.391787][ C2] ret_from_fork+0x474/0x6b0 [ 22.391788][ C2] ret_from_fork_asm+0x11/0x20 [ 22.391789][ C2] } [ 22.391790][ C2] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 22.391794][ C2] ... acquired at: [ 22.391795][ C2] __lock_acquire+0x518/0xc20 [ 22.391796][ C2] lock_acquire.part.0+0xd4/0x280 [ 22.391797][ C2] fs_reclaim_acquire+0xd5/0x120 [ 22.391798][ C2] __kmalloc_noprof+0xd3/0x760 [ 22.391800][ C2] alloc_buf.isra.0+0x4b/0x260 [ 22.391803][ C2] put_chars+0x1e1/0x2f0 [ 22.391804][ C2] hvc_console_print+0x292/0x780 [ 22.391806][ C2] console_emit_next_record+0x22f/0x4c0 [ 22.391807][ C2] console_flush_one_record+0x46f/0x710 [ 22.391814][ C2] console_unlock+0xee/0x1f0 [ 22.391815][ C2] vprintk_emit+0x37c/0x3e0 [ 22.391817][ C2] dev_vprintk_emit+0x27f/0x2c0 [ 22.391820][ C2] dev_printk_emit+0xb9/0xee [ 22.391821][ C2] _dev_info+0xe2/0x116 [ 22.391823][ C2] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 22.391826][ C2] cmos_do_probe+0x73b/0x98a [ 22.391827][ C2] platform_probe+0xfe/0x1f0 [ 22.391830][ C2] call_driver_probe+0x61/0x1c0 [ 22.391832][ C2] really_probe+0x199/0x760 [ 22.391834][ C2] __driver_probe_device+0x24f/0x440 [ 22.391835][ C2] driver_probe_device+0x4a/0xf0 [ 22.391836][ C2] __driver_attach+0x1b8/0x540 [ 22.391837][ C2] bus_for_each_dev+0x130/0x1e0 [ 22.391839][ C2] bus_add_driver+0x2c8/0x530 [ 22.391840][ C2] driver_register+0x1a3/0x390 [ 22.391841][ C2] __platform_driver_probe+0x13f/0x270 [ 22.391843][ C2] cmos_init+0x31/0x40 [ 22.391846][ C2] do_one_initcall+0x124/0x4f0 [ 22.391847][ C2] kernel_init_freeable+0x596/0x630 [ 22.391848][ C2] kernel_init+0x21/0x150 [ 22.391849][ C2] ret_from_fork+0x474/0x6b0 [ 22.391851][ C2] ret_from_fork_asm+0x11/0x20 [ 22.391852][ C2] [ 22.391852][ C2] -> (console_owner){..-.}-{0:0} { [ 22.391854][ C2] IN-SOFTIRQ-W at: [ 22.391855][ C2] __lock_acquire+0x388/0xc20 [ 22.391856][ C2] lock_acquire.part.0+0xd4/0x280 [ 22.391857][ C2] console_lock_spinning_enable+0x5c/0x60 [ 22.391859][ C2] console_emit_next_record+0x1d1/0x4c0 [ 22.391860][ C2] console_flush_one_record+0x46f/0x710 [ 22.391862][ C2] console_unlock+0xee/0x1f0 [ 22.391864][ C2] vprintk_emit+0x37c/0x3e0 [ 22.391865][ C2] _printk+0xc7/0x100 [ 22.391868][ C2] tcf_pedit_act.cold+0x4a/0xe4 [act_pedit] [ 22.391871][ C2] tcf_action_exec.part.0+0xca/0x3c0 [ 22.391874][ C2] fl_classify+0x52e/0x700 [cls_flower] [ 22.391877][ C2] __tcf_classify+0x35e/0x780 [ 22.391878][ C2] tcf_classify+0x3f7/0xa20 [ 22.391880][ C2] tc_run+0x3d0/0x7e0 [ 22.391881][ C2] __netif_receive_skb_core.constprop.0+0xdb7/0x2bb0 [ 22.391883][ C2] __netif_receive_skb_one_core+0xa2/0x180 [ 22.391884][ C2] process_backlog+0x431/0x14c0 [ 22.391886][ C2] __napi_poll+0xa7/0x3b0 [ 22.391887][ C2] net_rx_action+0x513/0xf50 [ 22.391889][ C2] handle_softirqs+0x1d3/0x900 [ 22.391891][ C2] __irq_exit_rcu+0x145/0x1c0 [ 22.391892][ C2] irq_exit_rcu+0xe/0x30 [ 22.391893][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 22.391895][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 22.391897][ C2] lock_release+0x186/0x1f0 [ 22.391898][ C2] unwind_next_frame+0x696/0x1ea0 [ 22.391899][ C2] arch_stack_walk+0xd7/0x130 [ 22.391901][ C2] stack_trace_save+0x93/0xc0 [ 22.391904][ C2] set_track_prepare+0x6b/0xa0 [ 22.391907][ C2] __alloc_object+0xf9/0x260 [ 22.391908][ C2] __create_object+0x30/0x110 [ 22.391910][ C2] __kmalloc_cache_noprof+0x4a9/0x620 [ 22.391911][ C2] kmem_cache_free+0x365/0x550 [ 22.391912][ C2] tear_down_vmas+0x175/0x520 [ 22.391913][ C2] exit_mmap+0x486/0x960 [ 22.391914][ C2] mmput+0xa9/0x450 [ 22.391916][ C2] exit_mm+0x134/0x200 [ 22.391918][ C2] do_exit+0x548/0xdc0 [ 22.391920][ C2] do_group_exit+0xb8/0x370 [ 22.391921][ C2] __x64_sys_exit_group+0x3c/0x50 [ 22.391922][ C2] x64_sys_call+0x1567/0x1570 [ 22.391923][ C2] do_syscall_64+0xff/0x530 [ 22.391925][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.391926][ C2] INITIAL USE at: [ 22.391927][ C2] } [ 22.391927][ C2] ... key at: [] console_owner_dep_map+0x0/0x60 [ 22.391930][ C2] ... acquired at: [ 22.391931][ C2] mark_lock+0x1d7/0xa00 [ 22.391932][ C2] mark_usage+0x42/0x170 [ 22.391934][ C2] __lock_acquire+0x388/0xc20 [ 22.391935][ C2] lock_acquire.part.0+0xd4/0x280 [ 22.391936][ C2] console_lock_spinning_enable+0x5c/0x60 [ 22.391937][ C2] console_emit_next_record+0x1d1/0x4c0 [ 22.391939][ C2] console_flush_one_record+0x46f/0x710 [ 22.391941][ C2] console_unlock+0xee/0x1f0 [ 22.391942][ C2] vprintk_emit+0x37c/0x3e0 [ 22.391943][ C2] _printk+0xc7/0x100 [ 22.391945][ C2] tcf_pedit_act.cold+0x4a/0xe4 [act_pedit] [ 22.391946][ C2] tcf_action_exec.part.0+0xca/0x3c0 [ 22.391948][ C2] fl_classify+0x52e/0x700 [cls_flower] [ 22.391949][ C2] __tcf_classify+0x35e/0x780 [ 22.391951][ C2] tcf_classify+0x3f7/0xa20 [ 22.391952][ C2] tc_run+0x3d0/0x7e0 [ 22.391953][ C2] __netif_receive_skb_core.constprop.0+0xdb7/0x2bb0 [ 22.391954][ C2] __netif_receive_skb_one_core+0xa2/0x180 [ 22.391956][ C2] process_backlog+0x431/0x14c0 [ 22.391957][ C2] __napi_poll+0xa7/0x3b0 [ 22.391959][ C2] net_rx_action+0x513/0xf50 [ 22.391960][ C2] handle_softirqs+0x1d3/0x900 [ 22.391961][ C2] __irq_exit_rcu+0x145/0x1c0 [ 22.391962][ C2] irq_exit_rcu+0xe/0x30 [ 22.391963][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 22.391965][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 22.391966][ C2] lock_release+0x186/0x1f0 [ 22.391967][ C2] unwind_next_frame+0x696/0x1ea0 [ 22.391968][ C2] arch_stack_walk+0xd7/0x130 [ 22.391969][ C2] stack_trace_save+0x93/0xc0 [ 22.391970][ C2] set_track_prepare+0x6b/0xa0 [ 22.391972][ C2] __alloc_object+0xf9/0x260 [ 22.391973][ C2] __create_object+0x30/0x110 [ 22.391975][ C2] __kmalloc_cache_noprof+0x4a9/0x620 [ 22.391976][ C2] kmem_cache_free+0x365/0x550 [ 22.391977][ C2] tear_down_vmas+0x175/0x520 [ 22.391978][ C2] exit_mmap+0x486/0x960 [ 22.391979][ C2] mmput+0xa9/0x450 [ 22.391980][ C2] exit_mm+0x134/0x200 [ 22.391982][ C2] do_exit+0x548/0xdc0 [ 22.391983][ C2] do_group_exit+0xb8/0x370 [ 22.391984][ C2] __x64_sys_exit_group+0x3c/0x50 [ 22.391985][ C2] x64_sys_call+0x1567/0x1570 [ 22.391986][ C2] do_syscall_64+0xff/0x530 [ 22.391987][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.391988][ C2] [ 22.391988][ C2] [ 22.391988][ C2] stack backtrace: [ 22.391991][ C2] CPU: 2 UID: 0 PID: 412 Comm: pedit_l4port.sh Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.391995][ C2] Tainted: [W]=WARN [ 22.391996][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.391997][ C2] Call Trace: [ 22.391999][ C2] [ 22.392000][ C2] dump_stack_lvl+0x6f/0xa0 [ 22.392004][ C2] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 22.392006][ C2] mark_lock_irq+0x989/0x9c0 [ 22.392009][ C2] mark_lock+0x1d7/0xa00 [ 22.392010][ C2] mark_usage+0x42/0x170 [ 22.392012][ C2] __lock_acquire+0x388/0xc20 [ 22.392014][ C2] lock_acquire.part.0+0xd4/0x280 [ 22.392016][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 22.392018][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392021][ C2] ? lock_acquire+0x13c/0x160 [ 22.392023][ C2] console_lock_spinning_enable+0x5c/0x60 [ 22.392024][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 22.392026][ C2] console_emit_next_record+0x1d1/0x4c0 [ 22.392028][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 22.392029][ C2] ? console_flush_one_record+0x106/0x710 [ 22.392031][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392033][ C2] ? lock_acquire+0x13c/0x160 [ 22.392035][ C2] console_flush_one_record+0x46f/0x710 [ 22.392037][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 22.392039][ C2] ? __lock_acquire+0x518/0xc20 [ 22.392041][ C2] console_unlock+0xee/0x1f0 [ 22.392043][ C2] ? console_flush_one_record+0x710/0x710 [ 22.392044][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392046][ C2] ? lock_acquire+0x60/0x160 [ 22.392048][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.392050][ C2] ? vprintk_emit+0x320/0x3e0 [ 22.392051][ C2] vprintk_emit+0x37c/0x3e0 [ 22.392054][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 22.392056][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 22.392058][ C2] _printk+0xc7/0x100 [ 22.392059][ C2] ? snapshot_read.cold+0x21/0x21 [ 22.392061][ C2] ? ___ratelimit+0x4e7/0xa00 [ 22.392064][ C2] ? tcf_pedit_cleanup+0x60/0x60 [act_pedit] [ 22.392066][ C2] ? idr_get_free+0x830/0x830 [ 22.392068][ C2] tcf_pedit_act.cold+0x4a/0xe4 [act_pedit] [ 22.392070][ C2] ? tcf_pedit_keys_ex_parse+0x880/0x880 [act_pedit] [ 22.392072][ C2] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.392074][ C2] ? validate_chain+0x38b/0xc20 [ 22.392076][ C2] ? mark_usage+0x61/0x170 [ 22.392078][ C2] tcf_action_exec.part.0+0xca/0x3c0 [ 22.392080][ C2] fl_classify+0x52e/0x700 [cls_flower] [ 22.392083][ C2] ? fl_mask_lookup+0x330/0x330 [cls_flower] [ 22.392084][ C2] ? __lock_acquire+0x518/0xc20 [ 22.392090][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 22.392091][ C2] ? find_held_lock+0x2b/0x80 [ 22.392093][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 22.392094][ C2] ? mark_held_locks+0x40/0x70 [ 22.392096][ C2] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 22.392098][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 22.392100][ C2] __tcf_classify+0x35e/0x780 [ 22.392101][ C2] ? arp_process+0x8ee/0x24b0 [ 22.392105][ C2] ? __kasan_slab_free+0x43/0x70 [ 22.392108][ C2] tcf_classify+0x3f7/0xa20 [ 22.392109][ C2] ? net_rx_action+0x513/0xf50 [ 22.392111][ C2] ? handle_softirqs+0x1d3/0x900 [ 22.392112][ C2] ? __irq_exit_rcu+0x145/0x1c0 [ 22.392113][ C2] ? irq_exit_rcu+0xe/0x30 [ 22.392114][ C2] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 22.392116][ C2] ? __tcf_classify+0x780/0x780 [ 22.392117][ C2] ? arch_stack_walk+0xd7/0x130 [ 22.392119][ C2] ? set_track_prepare+0x6b/0xa0 [ 22.392120][ C2] ? __alloc_object+0xf9/0x260 [ 22.392122][ C2] ? __create_object+0x30/0x110 [ 22.392123][ C2] ? __kmalloc_cache_noprof+0x4a9/0x620 [ 22.392125][ C2] ? kmem_cache_free+0x365/0x550 [ 22.392126][ C2] ? tear_down_vmas+0x175/0x520 [ 22.392127][ C2] tc_run+0x3d0/0x7e0 [ 22.392129][ C2] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.392130][ C2] ? netdev_offload_xstats_push_delta+0x430/0x430 [ 22.392133][ C2] __netif_receive_skb_core.constprop.0+0xdb7/0x2bb0 [ 22.392135][ C2] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 22.392136][ C2] ? kasan_quarantine_put+0x13e/0x2b0 [ 22.392139][ C2] ? do_xdp_generic+0x4a0/0x4a0 [ 22.392141][ C2] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.392144][ C2] ? mark_usage+0x61/0x170 [ 22.392149][ C2] ? __lock_acquire+0x518/0xc20 [ 22.392151][ C2] ? process_backlog+0x3f1/0x14c0 [ 22.392152][ C2] __netif_receive_skb_one_core+0xa2/0x180 [ 22.392154][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 22.392155][ C2] ? process_backlog+0x3f1/0x14c0 [ 22.392157][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 22.392159][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392161][ C2] process_backlog+0x431/0x14c0 [ 22.392164][ C2] __napi_poll+0xa7/0x3b0 [ 22.392166][ C2] net_rx_action+0x513/0xf50 [ 22.392168][ C2] ? __napi_poll+0x3b0/0x3b0 [ 22.392170][ C2] ? reacquire_held_locks+0x1d0/0x240 [ 22.392171][ C2] ? mark_held_locks+0x40/0x70 [ 22.392173][ C2] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 22.392175][ C2] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 22.392178][ C2] ? _raw_spin_unlock_irq+0x33/0x50 [ 22.392179][ C2] ? mark_held_locks+0x40/0x70 [ 22.392181][ C2] handle_softirqs+0x1d3/0x900 [ 22.392183][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 22.392184][ C2] ? _local_bh_enable+0xc0/0xc0 [ 22.392186][ C2] __irq_exit_rcu+0x145/0x1c0 [ 22.392188][ C2] irq_exit_rcu+0xe/0x30 [ 22.392189][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 22.392191][ C2] [ 22.392191][ C2] [ 22.392192][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 22.392194][ C2] RIP: 0010:lock_release+0x186/0x1f0 [ 22.392196][ C2] Code: 00 48 8b 0c 24 65 48 ff 41 08 65 8b 05 bb 5a 38 04 83 f8 3f 0f 86 b7 fe ff ff 90 0f 0b 90 e9 ae fe ff ff e8 ac 8f 08 00 84 c0 <0f> 85 af fe ff ff 48 8d 3d 8d ae b4 03 67 48 0f b9 3a e9 9e fe ff [ 22.392198][ C2] RSP: 0018:ffa0000000507740 EFLAGS: 00000202 [ 22.392200][ C2] RAX: 0000000000000001 RBX: ffffffffb0380b00 RCX: 0000000000000000 [ 22.392201][ C2] RDX: 0000000000000003 RSI: ffffffffaf88d860 RDI: ffffffffafed8990 [ 22.392202][ C2] RBP: ffa0000000507a50 R08: ffa00000005078c8 R09: ffa00000005077f0 [ 22.392203][ C2] R10: 0000000000000002 R11: 0000000000000000 R12: ffffffffb0fe8401 [ 22.392203][ C2] R13: ffa0000000507868 R14: ffffffffacf56bb1 R15: 0000000000000001 [ 22.392204][ C2] ? unwind_next_frame+0x691/0x1ea0 [ 22.392207][ C2] unwind_next_frame+0x696/0x1ea0 [ 22.392209][ C2] ? __alloc_object+0xf9/0x260 [ 22.392210][ C2] ? __kmalloc_cache_noprof+0x4a9/0x620 [ 22.392212][ C2] ? stack_access_ok+0x1e0/0x1e0 [ 22.392213][ C2] ? mmput+0xa9/0x450 [ 22.392215][ C2] ? __unwind_start+0x42e/0x900 [ 22.392216][ C2] ? write_profile+0xf0/0xf0 [ 22.392218][ C2] arch_stack_walk+0xd7/0x130 [ 22.392220][ C2] ? __create_object+0x30/0x110 [ 22.392222][ C2] stack_trace_save+0x93/0xc0 [ 22.392224][ C2] ? filter_irq_stacks+0xd0/0xd0 [ 22.392225][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392227][ C2] set_track_prepare+0x6b/0xa0 [ 22.392230][ C2] __alloc_object+0xf9/0x260 [ 22.392231][ C2] __create_object+0x30/0x110 [ 22.392233][ C2] __kmalloc_cache_noprof+0x4a9/0x620 [ 22.392235][ C2] ? kmem_cache_free+0x365/0x550 [ 22.392237][ C2] ? tear_down_vmas+0x175/0x520 [ 22.392238][ C2] kmem_cache_free+0x365/0x550 [ 22.392240][ C2] ? fput+0x1f/0xa0 [ 22.392243][ C2] tear_down_vmas+0x175/0x520 [ 22.392245][ C2] exit_mmap+0x486/0x960 [ 22.392246][ C2] ? vm_brk_flags+0x4d0/0x4d0 [ 22.392248][ C2] ? lock_acquire+0x13c/0x160 [ 22.392249][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392251][ C2] ? uprobe_clear_state+0x49/0x1e0 [ 22.392255][ C2] ? __lock_acquire+0x518/0xc20 [ 22.392259][ C2] mmput+0xa9/0x450 [ 22.392260][ C2] exit_mm+0x134/0x200 [ 22.392262][ C2] do_exit+0x548/0xdc0 [ 22.392264][ C2] ? exit_notify+0x890/0x890 [ 22.392266][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 22.392267][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392270][ C2] do_group_exit+0xb8/0x370 [ 22.392271][ C2] __x64_sys_exit_group+0x3c/0x50 [ 22.392272][ C2] x64_sys_call+0x1567/0x1570 [ 22.392274][ C2] do_syscall_64+0xff/0x530 [ 22.392275][ C2] ? exc_page_fault+0xee/0x100 [ 22.392277][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.392278][ C2] RIP: 0033:0x7f579c8ab1b8 [ 22.392280][ C2] Code: Unable to access opcode bytes at 0x7f579c8ab18e. [ 22.392281][ C2] RSP: 002b:00007ffd8065b4a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 22.392283][ C2] RAX: ffffffffffffffda RBX: 00007f579c9dbf88 RCX: 00007f579c8ab1b8 [ 22.392284][ C2] RDX: 00007f579c7e9e88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 22.392285][ C2] RBP: 00007ffd8065b500 R08: 0000000000000000 R09: 0000000000000030 [ 22.392286][ C2] R10: 00007ffd8065b340 R11: 0000000000000246 R12: 0000000000000001 [ 22.392287][ C2] R13: 0000000000000000 R14: 00007f579c9da680 R15: 00007f579c9dbfa0 [ 22.392289][ C2] [ 22.392292][ C2] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.392294][ C2] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 412, name: pedit_l4port.sh [ 22.392295][ C2] preempt_count: 101, expected: 0 [ 22.392296][ C2] RCU nest depth: 2, expected: 0 [ 22.392296][ C2] INFO: lockdep is turned off. [ 22.392297][ C2] irq event stamp: 4455 [ 22.392298][ C2] hardirqs last enabled at (4454): [] __down_trylock_console_sem+0x86/0xa0 [ 22.392300][ C2] hardirqs last disabled at (4455): [] console_emit_next_record+0x3d4/0x4c0 [ 22.392302][ C2] softirqs last enabled at (2738): [] handle_softirqs+0x67c/0x900 [ 22.392303][ C2] softirqs last disabled at (4243): [] __irq_exit_rcu+0x145/0x1c0 [ 22.392304][ C2] Preemption disabled at: [ 22.392305][ C2] [] handle_softirqs+0xf6/0x900 [ 22.392307][ C2] CPU: 2 UID: 0 PID: 412 Comm: pedit_l4port.sh Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.392309][ C2] Tainted: [W]=WARN [ 22.392310][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.392310][ C2] Call Trace: [ 22.392311][ C2] [ 22.392311][ C2] dump_stack_lvl+0x6f/0xa0 [ 22.392313][ C2] ? handle_softirqs+0xf6/0x900 [ 22.392315][ C2] __might_resched.cold+0x1fe/0x2c1 [ 22.392318][ C2] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.392321][ C2] ? nbcon_get_cpu_emergency_nesting+0xa/0x30 [ 22.392323][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392325][ C2] __kmalloc_noprof+0x443/0x760 [ 22.392326][ C2] ? __rwlock_init+0x150/0x150 [ 22.392328][ C2] ? alloc_buf.isra.0+0x4b/0x260 [ 22.392330][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 22.392331][ C2] alloc_buf.isra.0+0x4b/0x260 [ 22.392333][ C2] put_chars+0x1e1/0x2f0 [ 22.392335][ C2] ? __send_to_port+0x420/0x420 [ 22.392337][ C2] ? mark_lock+0x1d7/0xa00 [ 22.392339][ C2] hvc_console_print+0x292/0x780 [ 22.392341][ C2] ? hvc_write+0x3a0/0x3a0 [ 22.392342][ C2] ? lock_acquire+0x13c/0x160 [ 22.392344][ C2] console_emit_next_record+0x22f/0x4c0 [ 22.392346][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 22.392348][ C2] ? console_flush_one_record+0x106/0x710 [ 22.392350][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392351][ C2] ? lock_acquire+0x13c/0x160 [ 22.392353][ C2] console_flush_one_record+0x46f/0x710 [ 22.392355][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 22.392357][ C2] ? __lock_acquire+0x518/0xc20 [ 22.392359][ C2] console_unlock+0xee/0x1f0 [ 22.392361][ C2] ? console_flush_one_record+0x710/0x710 [ 22.392363][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392364][ C2] ? lock_acquire+0x60/0x160 [ 22.392366][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.392368][ C2] ? vprintk_emit+0x320/0x3e0 [ 22.392369][ C2] vprintk_emit+0x37c/0x3e0 [ 22.392372][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 22.392373][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 22.392376][ C2] _printk+0xc7/0x100 [ 22.392377][ C2] ? snapshot_read.cold+0x21/0x21 [ 22.392379][ C2] ? ___ratelimit+0x4e7/0xa00 [ 22.392381][ C2] ? tcf_pedit_cleanup+0x60/0x60 [act_pedit] [ 22.392383][ C2] ? idr_get_free+0x830/0x830 [ 22.392385][ C2] tcf_pedit_act.cold+0x4a/0xe4 [act_pedit] [ 22.392387][ C2] ? tcf_pedit_keys_ex_parse+0x880/0x880 [act_pedit] [ 22.392389][ C2] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.392391][ C2] ? validate_chain+0x38b/0xc20 [ 22.392392][ C2] ? mark_usage+0x61/0x170 [ 22.392394][ C2] tcf_action_exec.part.0+0xca/0x3c0 [ 22.392396][ C2] fl_classify+0x52e/0x700 [cls_flower] [ 22.392399][ C2] ? fl_mask_lookup+0x330/0x330 [cls_flower] [ 22.392401][ C2] ? __lock_acquire+0x518/0xc20 [ 22.392406][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 22.392407][ C2] ? find_held_lock+0x2b/0x80 [ 22.392409][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 22.392410][ C2] ? mark_held_locks+0x40/0x70 [ 22.392412][ C2] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 22.392413][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 22.392415][ C2] __tcf_classify+0x35e/0x780 [ 22.392417][ C2] ? arp_process+0x8ee/0x24b0 [ 22.392419][ C2] ? __kasan_slab_free+0x43/0x70 [ 22.392421][ C2] tcf_classify+0x3f7/0xa20 [ 22.392422][ C2] ? net_rx_action+0x513/0xf50 [ 22.392424][ C2] ? handle_softirqs+0x1d3/0x900 [ 22.392425][ C2] ? __irq_exit_rcu+0x145/0x1c0 [ 22.392426][ C2] ? irq_exit_rcu+0xe/0x30 [ 22.392427][ C2] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 22.392429][ C2] ? __tcf_classify+0x780/0x780 [ 22.392430][ C2] ? arch_stack_walk+0xd7/0x130 [ 22.392432][ C2] ? set_track_prepare+0x6b/0xa0 [ 22.392433][ C2] ? __alloc_object+0xf9/0x260 [ 22.392435][ C2] ? __create_object+0x30/0x110 [ 22.392436][ C2] ? __kmalloc_cache_noprof+0x4a9/0x620 [ 22.392437][ C2] ? kmem_cache_free+0x365/0x550 [ 22.392439][ C2] ? tear_down_vmas+0x175/0x520 [ 22.392440][ C2] tc_run+0x3d0/0x7e0 [ 22.392441][ C2] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.392443][ C2] ? netdev_offload_xstats_push_delta+0x430/0x430 [ 22.392445][ C2] __netif_receive_skb_core.constprop.0+0xdb7/0x2bb0 [ 22.392447][ C2] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 22.392449][ C2] ? kasan_quarantine_put+0x13e/0x2b0 [ 22.392451][ C2] ? do_xdp_generic+0x4a0/0x4a0 [ 22.392453][ C2] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.392456][ C2] ? mark_usage+0x61/0x170 [ 22.392457][ C2] ? __lock_acquire+0x518/0xc20 [ 22.392459][ C2] ? process_backlog+0x3f1/0x14c0 [ 22.392461][ C2] __netif_receive_skb_one_core+0xa2/0x180 [ 22.392463][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 22.392464][ C2] ? process_backlog+0x3f1/0x14c0 [ 22.392466][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 22.392467][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392470][ C2] process_backlog+0x431/0x14c0 [ 22.392472][ C2] __napi_poll+0xa7/0x3b0 [ 22.392474][ C2] net_rx_action+0x513/0xf50 [ 22.392477][ C2] ? __napi_poll+0x3b0/0x3b0 [ 22.392478][ C2] ? reacquire_held_locks+0x1d0/0x240 [ 22.392480][ C2] ? mark_held_locks+0x40/0x70 [ 22.392482][ C2] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 22.392483][ C2] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 22.392485][ C2] ? _raw_spin_unlock_irq+0x33/0x50 [ 22.392487][ C2] ? mark_held_locks+0x40/0x70 [ 22.392489][ C2] handle_softirqs+0x1d3/0x900 [ 22.392490][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 22.392492][ C2] ? _local_bh_enable+0xc0/0xc0 [ 22.392494][ C2] __irq_exit_rcu+0x145/0x1c0 [ 22.392495][ C2] irq_exit_rcu+0xe/0x30 [ 22.392496][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 22.392498][ C2] [ 22.392498][ C2] [ 22.392499][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 22.392500][ C2] RIP: 0010:lock_release+0x186/0x1f0 [ 22.392502][ C2] Code: 00 48 8b 0c 24 65 48 ff 41 08 65 8b 05 bb 5a 38 04 83 f8 3f 0f 86 b7 fe ff ff 90 0f 0b 90 e9 ae fe ff ff e8 ac 8f 08 00 84 c0 <0f> 85 af fe ff ff 48 8d 3d 8d ae b4 03 67 48 0f b9 3a e9 9e fe ff [ 22.392503][ C2] RSP: 0018:ffa0000000507740 EFLAGS: 00000202 [ 22.392504][ C2] RAX: 0000000000000001 RBX: ffffffffb0380b00 RCX: 0000000000000000 [ 22.392505][ C2] RDX: 0000000000000003 RSI: ffffffffaf88d860 RDI: ffffffffafed8990 [ 22.392506][ C2] RBP: ffa0000000507a50 R08: ffa00000005078c8 R09: ffa00000005077f0 [ 22.392506][ C2] R10: 0000000000000002 R11: 0000000000000000 R12: ffffffffb0fe8401 [ 22.392507][ C2] R13: ffa0000000507868 R14: ffffffffacf56bb1 R15: 0000000000000001 [ 22.392508][ C2] ? unwind_next_frame+0x691/0x1ea0 [ 22.392511][ C2] unwind_next_frame+0x696/0x1ea0 [ 22.392512][ C2] ? __alloc_object+0xf9/0x260 [ 22.392514][ C2] ? __kmalloc_cache_noprof+0x4a9/0x620 [ 22.392516][ C2] ? stack_access_ok+0x1e0/0x1e0 [ 22.392517][ C2] ? mmput+0xa9/0x450 [ 22.392518][ C2] ? __unwind_start+0x42e/0x900 [ 22.392519][ C2] ? write_profile+0xf0/0xf0 [ 22.392521][ C2] arch_stack_walk+0xd7/0x130 [ 22.392523][ C2] ? __create_object+0x30/0x110 [ 22.392525][ C2] stack_trace_save+0x93/0xc0 [ 22.392527][ C2] ? filter_irq_stacks+0xd0/0xd0 [ 22.392529][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392530][ C2] set_track_prepare+0x6b/0xa0 [ 22.392533][ C2] __alloc_object+0xf9/0x260 [ 22.392535][ C2] __create_object+0x30/0x110 [ 22.392537][ C2] __kmalloc_cache_noprof+0x4a9/0x620 [ 22.392539][ C2] ? kmem_cache_free+0x365/0x550 [ 22.392540][ C2] ? tear_down_vmas+0x175/0x520 [ 22.392542][ C2] kmem_cache_free+0x365/0x550 [ 22.392543][ C2] ? fput+0x1f/0xa0 [ 22.392545][ C2] tear_down_vmas+0x175/0x520 [ 22.392547][ C2] exit_mmap+0x486/0x960 [ 22.392549][ C2] ? vm_brk_flags+0x4d0/0x4d0 [ 22.392550][ C2] ? lock_acquire+0x13c/0x160 [ 22.392552][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392554][ C2] ? uprobe_clear_state+0x49/0x1e0 [ 22.392556][ C2] ? __lock_acquire+0x518/0xc20 [ 22.392560][ C2] mmput+0xa9/0x450 [ 22.392561][ C2] exit_mm+0x134/0x200 [ 22.392563][ C2] do_exit+0x548/0xdc0 [ 22.392565][ C2] ? exit_notify+0x890/0x890 [ 22.392567][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 22.392569][ C2] ? rcu_is_watching+0x16/0xd0 [ 22.392571][ C2] do_group_exit+0xb8/0x370 [ 22.392572][ C2] __x64_sys_exit_group+0x3c/0x50 [ 22.392574][ C2] x64_sys_call+0x1567/0x1570 [ 22.392575][ C2] do_syscall_64+0xff/0x530 [ 22.392576][ C2] ? exc_page_fault+0xee/0x100 [ 22.392578][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.392579][ C2] RIP: 0033:0x7f579c8ab1b8 [ 22.392580][ C2] Code: Unable to access opcode bytes at 0x7f579c8ab18e. [ 22.392581][ C2] RSP: 002b:00007ffd8065b4a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 22.392582][ C2] RAX: ffffffffffffffda RBX: 00007f579c9dbf88 RCX: 00007f579c8ab1b8 [ 22.392583][ C2] RDX: 00007f579c7e9e88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 22.392584][ C2] RBP: 00007ffd8065b500 R08: 0000000000000000 R09: 0000000000000030 [ 22.392584][ C2] R10: 00007ffd8065b340 R11: 0000000000000246 R12: 0000000000000001 [ 22.392585][ C2] R13: 0000000000000000 R14: 00007f579c9da680 R15: 00007f579c9dbfa0 [ 22.392587][ C2] [ 23.926302][ C0] tc action pedit unable to extract header offset for header type (0x5) [ 23.926320][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.926324][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 23.926325][ C0] preempt_count: 302, expected: 0 [ 23.926326][ C0] RCU nest depth: 1, expected: 0 [ 23.926327][ C0] INFO: lockdep is turned off. [ 23.926328][ C0] irq event stamp: 702674 [ 23.926329][ C0] hardirqs last enabled at (702674): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 23.926338][ C0] hardirqs last disabled at (702673): [] _raw_spin_lock_irqsave+0x50/0x60 [ 23.926340][ C0] softirqs last enabled at (702066): [] handle_softirqs+0x67c/0x900 [ 23.926344][ C0] softirqs last disabled at (702073): [] __irq_exit_rcu+0x145/0x1c0 [ 23.926346][ C0] Preemption disabled at: [ 23.926347][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 23.926354][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.926357][ C0] Tainted: [W]=WARN [ 23.926358][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.926360][ C0] Call Trace: [ 23.926362][ C0] [ 23.926364][ C0] dump_stack_lvl+0x6f/0xa0 [ 23.926369][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 23.926371][ C0] __might_resched.cold+0x1fe/0x2c1 [ 23.926374][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.926378][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926382][ C0] __kmalloc_noprof+0x443/0x760 [ 23.926385][ C0] ? __rwlock_init+0x150/0x150 [ 23.926388][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 23.926392][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 23.926394][ C0] alloc_buf.isra.0+0x4b/0x260 [ 23.926396][ C0] put_chars+0x1e1/0x2f0 [ 23.926397][ C0] ? desc_read_finalized_seq+0x79/0x120 [ 23.926400][ C0] ? __send_to_port+0x420/0x420 [ 23.926401][ C0] ? console_prepend_replay+0x20/0x20 [ 23.926404][ C0] hvc_console_print+0x292/0x780 [ 23.926408][ C0] ? hvc_write+0x3a0/0x3a0 [ 23.926409][ C0] ? do_raw_spin_lock+0x131/0x280 [ 23.926411][ C0] ? __rwlock_init+0x150/0x150 [ 23.926412][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926414][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926415][ C0] ? lock_acquire+0x13c/0x160 [ 23.926417][ C0] console_emit_next_record+0x22f/0x4c0 [ 23.926420][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 23.926422][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926423][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926425][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926427][ C0] ? lock_acquire+0x13c/0x160 [ 23.926428][ C0] ? console_flush_one_record+0x111/0x710 [ 23.926430][ C0] console_flush_one_record+0x46f/0x710 [ 23.926432][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 23.926435][ C0] console_unlock+0xee/0x1f0 [ 23.926436][ C0] ? lock_acquire+0x13c/0x160 [ 23.926438][ C0] ? console_flush_one_record+0x710/0x710 [ 23.926439][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926441][ C0] ? lock_release+0x184/0x1f0 [ 23.926442][ C0] ? lock_acquire+0x60/0x160 [ 23.926444][ C0] ? __rcu_read_lock+0x30/0x70 [ 23.926446][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.926448][ C0] ? vprintk_emit+0x320/0x3e0 [ 23.926450][ C0] vprintk_emit+0x37c/0x3e0 [ 23.926452][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 23.926454][ C0] ? do_raw_spin_trylock+0xb6/0x180 [ 23.926456][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926458][ C0] ? lock_acquire+0x13c/0x160 [ 23.926459][ C0] _printk+0xc7/0x100 [ 23.926463][ C0] ? snapshot_read.cold+0x21/0x21 [ 23.926464][ C0] ? ___ratelimit+0x4e7/0xa00 [ 23.926468][ C0] ? tcf_pedit_cleanup+0x60/0x60 [act_pedit] [ 23.926471][ C0] ? idr_get_free+0x830/0x830 [ 23.926473][ C0] ? trace_irq_enable.constprop.0+0x30/0x160 [ 23.926476][ C0] tcf_pedit_act.cold+0x4a/0xe4 [act_pedit] [ 23.926479][ C0] ? tcf_pedit_keys_ex_parse+0x880/0x880 [act_pedit] [ 23.926481][ C0] ? kernel_text_address+0x149/0x170 [ 23.926483][ C0] ? write_profile+0xf0/0xf0 [ 23.926486][ C0] tcf_action_exec.part.0+0xca/0x3c0 [ 23.926491][ C0] fl_classify+0x52e/0x700 [cls_flower] [ 23.926494][ C0] ? __rcu_read_lock+0x37/0x70 [ 23.926496][ C0] ? fl_mask_lookup+0x330/0x330 [cls_flower] [ 23.926502][ C0] ? lock_acquire+0x13c/0x160 [ 23.926504][ C0] ? br_handle_frame+0x74c/0xf50 [bridge] [ 23.926515][ C0] ? get_stack_info_noinstr+0x1a/0x120 [ 23.926517][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926519][ C0] ? lock_acquire+0x13c/0x160 [ 23.926520][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926522][ C0] ? lock_release+0x184/0x1f0 [ 23.926524][ C0] __tcf_classify+0x35e/0x780 [ 23.926526][ C0] ? stack_access_ok+0x1e0/0x1e0 [ 23.926529][ C0] ? br_handle_frame+0x74d/0xf50 [bridge] [ 23.926535][ C0] tcf_classify+0x3f7/0xa20 [ 23.926537][ C0] ? kernel_text_address+0x97/0x170 [ 23.926538][ C0] ? pv_native_safe_halt+0xf/0x10 [ 23.926540][ C0] ? write_profile+0xf0/0xf0 [ 23.926541][ C0] ? __kernel_text_address+0x12/0x30 [ 23.926542][ C0] ? write_profile+0xf0/0xf0 [ 23.926543][ C0] ? __tcf_classify+0x780/0x780 [ 23.926545][ C0] ? arch_stack_walk+0xc7/0x130 [ 23.926549][ C0] tc_run+0x3d0/0x7e0 [ 23.926552][ C0] ? netdev_offload_xstats_push_delta+0x430/0x430 [ 23.926554][ C0] ? lock_acquire+0x13c/0x160 [ 23.926556][ C0] __dev_queue_xmit+0x6f7/0x1b80 [ 23.926558][ C0] ? __rwlock_init+0x150/0x150 [ 23.926560][ C0] ? br_handle_frame+0x74d/0xf50 [bridge] [ 23.926566][ C0] ? __netif_receive_skb_one_core+0xa2/0x180 [ 23.926568][ C0] ? lock_acquire+0x13c/0x160 [ 23.926569][ C0] ? lock_acquire+0x13c/0x160 [ 23.926571][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926572][ C0] ? lock_release+0x184/0x1f0 [ 23.926574][ C0] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 23.926575][ C0] ? br_vlan_lookup+0x9c/0x5f0 [bridge] [ 23.926584][ C0] ? br_vlan_lookup+0x272/0x5f0 [bridge] [ 23.926591][ C0] ? lock_acquire+0x13c/0x160 [ 23.926592][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926595][ C0] br_dev_queue_push_xmit+0xd4/0x2b0 [bridge] [ 23.926602][ C0] br_handle_frame_finish+0xe08/0x1d20 [bridge] [ 23.926609][ C0] ? br_handle_local_finish+0x20/0x20 [bridge] [ 23.926615][ C0] ? __asan_memcpy+0x3c/0x60 [ 23.926618][ C0] ? lock_acquire+0x13c/0x160 [ 23.926619][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926621][ C0] ? nf_hook_egress+0x430/0x430 [ 23.926623][ C0] ? sock_def_readable+0x7d/0x480 [ 23.926625][ C0] ? sock_def_readable+0x156/0x480 [ 23.926626][ C0] br_handle_frame+0x74d/0xf50 [bridge] [ 23.926633][ C0] ? br_handle_frame_finish+0x1d20/0x1d20 [bridge] [ 23.926639][ C0] __netif_receive_skb_core.constprop.0+0x536/0x2bb0 [ 23.926641][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926643][ C0] ? lock_acquire+0x13c/0x160 [ 23.926645][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926646][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 23.926647][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 23.926649][ C0] ? trace_hardirqs_on+0x36/0x40 [ 23.926650][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 23.926652][ C0] ? __mod_timer+0x3ad/0xc60 [ 23.926654][ C0] ? do_xdp_generic+0x4a0/0x4a0 [ 23.926656][ C0] ? trace_hardirqs_on+0x36/0x40 [ 23.926659][ C0] ? process_backlog+0x3f1/0x14c0 [ 23.926661][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 23.926663][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 23.926665][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926667][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926669][ C0] process_backlog+0x431/0x14c0 [ 23.926671][ C0] __napi_poll+0xa7/0x3b0 [ 23.926673][ C0] net_rx_action+0x513/0xf50 [ 23.926676][ C0] ? __napi_poll+0x3b0/0x3b0 [ 23.926678][ C0] ? do_raw_spin_lock+0x131/0x280 [ 23.926680][ C0] ? _raw_spin_unlock_irq+0x33/0x50 [ 23.926682][ C0] ? run_timer_softirq+0xf8/0x160 [ 23.926684][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926686][ C0] handle_softirqs+0x1d3/0x900 [ 23.926688][ C0] ? _local_bh_enable+0xc0/0xc0 [ 23.926690][ C0] ? lock_release+0x184/0x1f0 [ 23.926691][ C0] __irq_exit_rcu+0x145/0x1c0 [ 23.926693][ C0] irq_exit_rcu+0xe/0x30 [ 23.926694][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 23.926696][ C0] [ 23.926697][ C0] [ 23.926697][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 23.926700][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 23.926703][ 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 [ 23.926705][ C0] RSP: 0018:ffffffffb0007cf8 EFLAGS: 00000246 [ 23.926708][ C0] RAX: 0000000000000000 RBX: ffffffffb001c600 RCX: 0000000000000001 [ 23.926710][ C0] RDX: 0000000000000000 RSI: ffffffffaf88d860 RDI: ffffffffad0f0307 [ 23.926710][ C0] RBP: 0000000000000000 R08: ffffffffaf581421 R09: 1fe2200006a463a2 [ 23.926711][ C0] R10: 0000000000000000 R11: 0000000000000000 R12: 1ffffffff6000fa2 [ 23.926712][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 23.926713][ C0] ? ct_kernel_exit.constprop.0+0x101/0x160 [ 23.926715][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 23.926718][ C0] default_idle+0x9/0x10 [ 23.926720][ C0] default_idle_call+0x6e/0xb0 [ 23.926722][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 23.926723][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 23.926725][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 23.926727][ C0] ? rcu_is_watching+0x16/0xd0 [ 23.926729][ C0] do_idle+0xd8/0x190 [ 23.926731][ C0] cpu_startup_entry+0x53/0x70 [ 23.926732][ C0] rest_init+0x279/0x280 [ 23.926734][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 23.926737][ C0] ? rest_init+0x280/0x280 [ 23.926739][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 23.926742][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 23.926745][ C0] ? acpi_enable+0x1e4/0x330 [ 23.926747][ C0] start_kernel+0x3af/0x3b0 [ 23.926751][ C0] x86_64_start_reservations+0x24/0x30 [ 23.926754][ C0] x86_64_start_kernel+0x12b/0x130 [ 23.926756][ C0] common_startup_64+0x13e/0x148 [ 23.926760][ C0] [ 29.134756][ T702] br1: port 2(veth2) entered disabled state [ 29.134771][ T702] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.134774][ T702] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 702, name: ip [ 29.134776][ T702] preempt_count: 202, expected: 0 [ 29.134776][ T702] RCU nest depth: 0, expected: 0 [ 29.134777][ T702] INFO: lockdep is turned off. [ 29.134778][ T702] irq event stamp: 0 [ 29.134779][ T702] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 29.134784][ T702] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 29.134790][ T702] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 29.134792][ T702] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 29.134794][ T702] Preemption disabled at: [ 29.134794][ T702] [<0000000000000000>] 0x0 [ 29.134799][ T702] CPU: 2 UID: 0 PID: 702 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.134803][ T702] Tainted: [W]=WARN [ 29.134804][ T702] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.134806][ T702] Call Trace: [ 29.134807][ T702] [ 29.134808][ T702] dump_stack_lvl+0x6f/0xa0 [ 29.134814][ T702] __might_resched.cold+0x1fe/0x2c1 [ 29.134818][ T702] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.134822][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.134826][ T702] __kmalloc_noprof+0x443/0x760 [ 29.134829][ T702] ? __rwlock_init+0x150/0x150 [ 29.134837][ T702] ? alloc_buf.isra.0+0x4b/0x260 [ 29.134841][ T702] ? do_raw_spin_unlock+0x59/0x250 [ 29.134842][ T702] alloc_buf.isra.0+0x4b/0x260 [ 29.134844][ T702] put_chars+0x1e1/0x2f0 [ 29.134846][ T702] ? __send_to_port+0x420/0x420 [ 29.134848][ T702] ? printk_get_next_message+0x240/0x650 [ 29.134851][ T702] hvc_console_print+0x292/0x780 [ 29.134855][ T702] ? hvc_write+0x3a0/0x3a0 [ 29.134857][ T702] ? __rwlock_init+0x150/0x150 [ 29.134858][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.134860][ T702] ? lock_acquire+0x13c/0x160 [ 29.134862][ T702] console_emit_next_record+0x22f/0x4c0 [ 29.134865][ T702] ? devkmsg_read+0x4b0/0x4b0 [ 29.134866][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.134868][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.134870][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.134871][ T702] ? lock_acquire+0x13c/0x160 [ 29.134873][ T702] ? console_flush_one_record+0x111/0x710 [ 29.134875][ T702] console_flush_one_record+0x46f/0x710 [ 29.134877][ T702] ? console_emit_next_record+0x4c0/0x4c0 [ 29.134879][ T702] console_unlock+0xee/0x1f0 [ 29.134881][ T702] ? lock_acquire+0x13c/0x160 [ 29.134883][ T702] ? console_flush_one_record+0x710/0x710 [ 29.134884][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.134886][ T702] ? lock_release+0x184/0x1f0 [ 29.134887][ T702] ? lock_acquire+0x60/0x160 [ 29.134888][ T702] ? __rcu_read_lock+0x30/0x70 [ 29.134890][ T702] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.134892][ T702] ? vprintk_emit+0x320/0x3e0 [ 29.134894][ T702] vprintk_emit+0x37c/0x3e0 [ 29.134897][ T702] ? wake_up_klogd_work_func+0x90/0x90 [ 29.134898][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.134900][ T702] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 29.134903][ T702] ? trace_hardirqs_on+0x36/0x40 [ 29.134904][ T702] _printk+0xc7/0x100 [ 29.134907][ T702] ? snapshot_read.cold+0x21/0x21 [ 29.134909][ T702] ? ipv6_mc_down+0x17e/0x2d0 [ 29.134914][ T702] br_set_state+0x22f/0x430 [bridge] [ 29.134927][ T702] br_stp_disable_port+0x11f/0x390 [bridge] [ 29.134934][ T702] br_device_event+0x7b5/0x8f0 [bridge] [ 29.134943][ T702] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 29.134946][ T702] ? _sub_I_65535_1+0x4d0/0x4d0 [stp] [ 29.134948][ T702] ? addrconf_notify+0x2c8/0xf30 [ 29.134952][ T702] notifier_call_chain+0xae/0x300 [ 29.134955][ T702] __dev_notify_flags+0x23c/0x3c0 [ 29.134958][ T702] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 29.134960][ T702] ? netif_change_name+0x8c0/0x8c0 [ 29.134962][ T702] ? netif_set_allmulti+0x250/0x250 [ 29.134964][ T702] ? __kernel_text_address+0x12/0x30 [ 29.134966][ T702] ? write_profile+0xf0/0xf0 [ 29.134968][ T702] ? unwind_get_return_address+0x67/0xd0 [ 29.134971][ T702] netif_change_flags+0xfe/0x190 [ 29.134973][ T702] do_setlink.isra.0+0x1cc3/0x2750 [ 29.134976][ T702] ? stack_trace_save+0x93/0xc0 [ 29.134977][ T702] ? rtnl_link_get_size+0x350/0x350 [ 29.134979][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.134980][ T702] ? stack_depot_save_flags+0x1bc/0x790 [ 29.134984][ T702] ? kasan_save_stack+0x3d/0x50 [ 29.134987][ T702] ? kasan_save_stack+0x2f/0x50 [ 29.134988][ T702] ? kasan_save_track+0x14/0x30 [ 29.134990][ T702] ? __kasan_kmalloc+0x7b/0x90 [ 29.134991][ T702] ? __kmalloc_cache_noprof+0x29a/0x620 [ 29.134993][ T702] ? rtnl_newlink+0x124/0x11c0 [ 29.134994][ T702] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 29.134995][ T702] ? netlink_rcv_skb+0x14e/0x3a0 [ 29.134997][ T702] ? netlink_unicast+0x486/0x750 [ 29.134999][ T702] ? netlink_sendmsg+0x735/0xc60 [ 29.135000][ T702] ? ____sys_sendmsg+0x415/0x880 [ 29.135002][ T702] ? ___sys_sendmsg+0x14e/0x1d0 [ 29.135004][ T702] ? __sys_sendmsg+0x12c/0x1d0 [ 29.135005][ T702] ? do_syscall_64+0xff/0x530 [ 29.135007][ T702] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.135010][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135012][ T702] ? lock_acquire+0x13c/0x160 [ 29.135013][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135015][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135016][ T702] ? trace_contention_end+0xb3/0x180 [ 29.135019][ T702] ? __mutex_lock+0x1db/0x1ea0 [ 29.135021][ T702] ? __mutex_lock+0x9a3/0x1ea0 [ 29.135022][ T702] ? rtnl_newlink+0x9a8/0x11c0 [ 29.135024][ T702] ? ww_mutex_lock+0x160/0x160 [ 29.135026][ T702] ? __rtnl_newlink+0x3fa/0xa50 [ 29.135028][ T702] rtnl_newlink+0x9f1/0x11c0 [ 29.135030][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135031][ T702] ? rtnl_bridge_getlink+0x850/0x850 [ 29.135032][ T702] ? lock_acquire+0x13c/0x160 [ 29.135034][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135036][ T702] ? is_bpf_text_address+0x3e/0x110 [ 29.135039][ T702] ? is_bpf_text_address+0x72/0x110 [ 29.135040][ T702] ? kernel_text_address+0x149/0x170 [ 29.135042][ T702] ? __kernel_text_address+0x12/0x30 [ 29.135043][ T702] ? write_profile+0xf0/0xf0 [ 29.135044][ T702] ? unwind_get_return_address+0x67/0xd0 [ 29.135045][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135047][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135048][ T702] ? cap_capable+0x1d7/0x3d0 [ 29.135052][ T702] ? lock_acquire+0x13c/0x160 [ 29.135053][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135055][ T702] ? rtnl_bridge_getlink+0x850/0x850 [ 29.135056][ T702] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 29.135058][ T702] ? rtnl_link_fill+0x920/0x920 [ 29.135059][ T702] ? filter_irq_stacks+0xd0/0xd0 [ 29.135061][ T702] ? stack_depot_save_flags+0x1bc/0x790 [ 29.135063][ T702] netlink_rcv_skb+0x14e/0x3a0 [ 29.135065][ T702] ? rtnl_link_fill+0x920/0x920 [ 29.135066][ T702] ? lock_release+0x184/0x1f0 [ 29.135067][ T702] ? netlink_ack+0xcf0/0xcf0 [ 29.135069][ T702] ? __netlink_lookup+0xb9/0x6b0 [ 29.135071][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135073][ T702] ? lock_release+0x184/0x1f0 [ 29.135075][ T702] netlink_unicast+0x486/0x750 [ 29.135077][ T702] ? netlink_attachskb+0x810/0x810 [ 29.135078][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135080][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135082][ T702] ? lock_acquire+0x13c/0x160 [ 29.135083][ T702] netlink_sendmsg+0x735/0xc60 [ 29.135085][ T702] ? netlink_unicast+0x750/0x750 [ 29.135087][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135089][ T702] ? lock_release+0x184/0x1f0 [ 29.135090][ T702] ____sys_sendmsg+0x415/0x880 [ 29.135092][ T702] ? copy_msghdr_from_user+0x279/0x420 [ 29.135094][ T702] ? get_timestamp.constprop.0+0x390/0x390 [ 29.135095][ T702] ? move_addr_to_kernel+0x40/0x40 [ 29.135096][ T702] ? filter_irq_stacks+0xd0/0xd0 [ 29.135099][ T702] ___sys_sendmsg+0x14e/0x1d0 [ 29.135101][ T702] ? copy_msghdr_from_user+0x420/0x420 [ 29.135105][ T702] __sys_sendmsg+0x12c/0x1d0 [ 29.135107][ T702] ? __sys_sendmsg_sock+0x20/0x20 [ 29.135110][ T702] ? rcu_is_watching+0x16/0xd0 [ 29.135112][ T702] do_syscall_64+0xff/0x530 [ 29.135113][ T702] ? exc_page_fault+0xee/0x100 [ 29.135115][ T702] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.135117][ T702] RIP: 0033:0x7f69b851654e [ 29.135118][ T702] 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 [ 29.135120][ T702] RSP: 002b:00007ffe2cbcd100 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 29.135124][ T702] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f69b851654e [ 29.135125][ T702] RDX: 0000000000000000 RSI: 00007ffe2cbcd1b0 RDI: 0000000000000005 [ 29.135126][ T702] RBP: 00007ffe2cbcd110 R08: 0000000000000000 R09: 0000000000000000 [ 29.135127][ T702] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b7e1 [ 29.135128][ T702] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe2cbcd870 [ 29.135130][ T702] [ 29.180467][ T702] ip (702) used greatest stack depth: 23016 bytes left [ 29.195580][ T703] veth2: left allmulticast mode [ 29.195742][ T703] veth2: left promiscuous mode [ 29.195964][ T703] br1: port 2(veth2) entered disabled state [ 29.220113][ T704] br1: port 1(veth1) entered disabled state [ 29.241531][ T705] veth1: left allmulticast mode [ 29.241686][ T705] veth1: left promiscuous mode [ 29.241888][ T705] br1: port 1(veth1) entered disabled state