[ 10.103935][ T204] ip (204) used greatest stack depth: 24072 bytes left [ 10.103953][ T204] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.103955][ T204] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 204, name: ip [ 10.103956][ T204] preempt_count: 2, expected: 0 [ 10.103957][ T204] RCU nest depth: 0, expected: 0 [ 10.103958][ T204] locks held by ip/204: 5, last CPU#2: [ 10.103960][ T204] #0: ffffffffb2e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.103972][ T204] #1: ffffffffb2f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.103977][ T204] #2: ffffffffb2f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.103982][ T204] #3: ffffffffb2e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.103985][ T204] #4: ffffffffb2e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.103990][ T204] irq event stamp: 33728 [ 10.103990][ T204] hardirqs last enabled at (33727): [] __down_trylock_console_sem+0x86/0xa0 [ 10.103994][ T204] hardirqs last disabled at (33728): [] console_emit_next_record+0x3d4/0x4c0 [ 10.103996][ T204] softirqs last enabled at (32552): [] handle_softirqs+0x67c/0x900 [ 10.103998][ T204] softirqs last disabled at (31769): [] __irq_exit_rcu+0x145/0x1c0 [ 10.104001][ T204] Preemption disabled at: [ 10.104001][ T204] [<0000000000000000>] 0x0 [ 10.104008][ T204] CPU: 2 UID: 0 PID: 204 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.104011][ T204] Tainted: [W]=WARN [ 10.104013][ T204] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.104014][ T204] Call Trace: [ 10.104016][ T204] [ 10.104017][ T204] dump_stack_lvl+0x6f/0xa0 [ 10.104024][ T204] __might_resched.cold+0x1fe/0x2c1 [ 10.104028][ T204] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.104032][ T204] ? __kmalloc_noprof+0xdb/0x760 [ 10.104037][ T204] __kmalloc_noprof+0x443/0x760 [ 10.104039][ T204] ? alloc_buf.isra.0+0x4b/0x260 [ 10.104045][ T204] ? do_raw_spin_unlock+0x59/0x250 [ 10.104048][ T204] alloc_buf.isra.0+0x4b/0x260 [ 10.104052][ T204] put_chars+0x1e1/0x2f0 [ 10.104054][ T204] ? __send_to_port+0x420/0x420 [ 10.104056][ T204] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.104059][ T204] ? validate_chain+0x38b/0xc20 [ 10.104064][ T204] hvc_console_print+0x292/0x780 [ 10.104072][ T204] ? hvc_write+0x3a0/0x3a0 [ 10.104074][ T204] ? rcu_is_watching+0x16/0xd0 [ 10.104076][ T204] ? lock_acquire+0x13c/0x160 [ 10.104080][ T204] console_emit_next_record+0x22f/0x4c0 [ 10.104084][ T204] ? devkmsg_read+0x4b0/0x4b0 [ 10.104086][ T204] ? console_flush_one_record+0x106/0x710 [ 10.104089][ T204] ? rcu_is_watching+0x16/0xd0 [ 10.104091][ T204] ? lock_acquire+0x13c/0x160 [ 10.104095][ T204] console_flush_one_record+0x46f/0x710 [ 10.104099][ T204] ? console_emit_next_record+0x4c0/0x4c0 [ 10.104101][ T204] ? __lock_acquire+0x518/0xc20 [ 10.104106][ T204] console_unlock+0xee/0x1f0 [ 10.104109][ T204] ? console_flush_one_record+0x710/0x710 [ 10.104110][ T204] ? rcu_is_watching+0x16/0xd0 [ 10.104112][ T204] ? lock_acquire+0xe0/0x160 [ 10.104116][ T204] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.104117][ T204] ? vprintk_emit+0x320/0x3e0 [ 10.104120][ T204] vprintk_emit+0x37c/0x3e0 [ 10.104123][ T204] ? wake_up_klogd_work_func+0x90/0x90 [ 10.104126][ T204] ? __lock_acquire+0x518/0xc20 [ 10.104129][ T204] _printk+0xc7/0x100 [ 10.104133][ T204] ? snapshot_read.cold+0x21/0x21 [ 10.104136][ T204] ? do_raw_spin_lock+0x131/0x280 [ 10.104139][ T204] ? __rwlock_init+0x150/0x150 [ 10.104142][ T204] ? do_raw_spin_lock+0x131/0x280 [ 10.104145][ T204] do_exit.cold+0x82/0x9c [ 10.104149][ T204] ? exit_notify+0x890/0x890 [ 10.104150][ T204] ? __lock_release.isra.0+0x69/0x1a0 [ 10.104153][ T204] ? rcu_is_watching+0x16/0xd0 [ 10.104156][ T204] do_group_exit+0xb8/0x370 [ 10.104159][ T204] __x64_sys_exit_group+0x3c/0x50 [ 10.104161][ T204] x64_sys_call+0x1567/0x1570 [ 10.104163][ T204] do_syscall_64+0xff/0x530 [ 10.104167][ T204] ? exc_page_fault+0xee/0x100 [ 10.104170][ T204] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.104172][ T204] RIP: 0033:0x7f96adf181b8 [ 10.104174][ T204] Code: Unable to access opcode bytes at 0x7f96adf1818e. [ 10.104175][ T204] RSP: 002b:00007ffcb687f338 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.104178][ T204] RAX: ffffffffffffffda RBX: 00007f96ae048f88 RCX: 00007f96adf181b8 [ 10.104179][ T204] RDX: 00007f96adc62fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.104180][ T204] RBP: 00007ffcb687f390 R08: 0000000000000000 R09: 0000000000000050 [ 10.104181][ T204] R10: 00007ffcb687f150 R11: 0000000000000246 R12: 0000000000000001 [ 10.104182][ T204] R13: 0000000000000000 R14: 00007f96ae047680 R15: 00007f96ae048fa0 [ 10.104189][ T204] [ 10.481640][ T214] veth_dst: entered promiscuous mode [ 10.555615][ T216] macvlan0: entered allmulticast mode [ 10.556226][ T216] veth_dst: entered allmulticast mode [ 10.620551][ C3] IPv6: macvlan0: IPv6 duplicate address fe80::200:5eff:fe00:101 used by 00:00:5e:00:01:01 detected! [ 10.620583][ C3] [ 10.620585][ C3] ======================================================== [ 10.620585][ C3] WARNING: possible irq lock inversion dependency detected [ 10.620587][ C3] 7.2.0-virtme #1 Tainted: G W [ 10.620589][ C3] -------------------------------------------------------- [ 10.620589][ C3] kworker/u20:1/72 just changed the state of lock: [ 10.620590][ C3] ffffffffb2e9d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.620604][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 10.620605][ C3] (fs_reclaim){+.+.}-{0:0} [ 10.620607][ C3] [ 10.620607][ C3] [ 10.620607][ C3] and interrupts could create inverse lock ordering between them. [ 10.620607][ C3] [ 10.620607][ C3] [ 10.620607][ C3] other info that might help us debug this: [ 10.620608][ C3] Possible interrupt unsafe locking scenario: [ 10.620608][ C3] [ 10.620608][ C3] CPU0 CPU1 [ 10.620609][ C3] ---- ---- [ 10.620609][ C3] lock(fs_reclaim); [ 10.620610][ C3] local_irq_disable(); [ 10.620611][ C3] lock(console_owner); [ 10.620612][ C3] lock(fs_reclaim); [ 10.620613][ C3] [ 10.620613][ C3] lock(console_owner); [ 10.620614][ C3] [ 10.620614][ C3] *** DEADLOCK *** [ 10.620614][ C3] [ 10.620614][ C3] locks held by kworker/u20:1/72: 8, last CPU#3: [ 10.620615][ C3] #0: ff1100000115a940 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 10.620621][ C3] #1: ffa00000004d7d10 ((work_completion)(&port->bc_work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 10.620624][ C3] #2: ffffffffb2f94c00 (rcu_read_lock){....}-{1:3}, at: macvlan_process_broadcast+0x377/0x5c0 [ 10.620631][ C3] #3: ffffffffb2f94c00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 10.620636][ C3] #4: ffffffffb2f94c00 (rcu_read_lock){....}-{1:3}, at: ip6_input+0xa1/0x570 [ 10.620641][ C3] #5: ff1100000918d640 (&ifa->lock){+.-.}-{3:3}, at: addrconf_dad_failure+0x103/0x820 [ 10.620644][ C3] #6: ffffffffb2f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.620653][ C3] #7: ffffffffb2f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.620657][ C3] [ 10.620657][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 10.620661][ C3] -> (fs_reclaim){+.+.}-{0:0} { [ 10.620663][ C3] HARDIRQ-ON-W at: [ 10.620665][ C3] __lock_acquire+0x388/0xc20 [ 10.620668][ C3] lock_acquire.part.0+0xd4/0x280 [ 10.620670][ C3] fs_reclaim_acquire+0xd5/0x120 [ 10.620673][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 10.620675][ C3] kthread_create_worker_on_node+0xea/0x210 [ 10.620677][ C3] workqueue_init+0x2a/0x680 [ 10.620681][ C3] kernel_init_freeable+0x2fe/0x630 [ 10.620685][ C3] kernel_init+0x21/0x150 [ 10.620688][ C3] ret_from_fork+0x474/0x6b0 [ 10.620691][ C3] ret_from_fork_asm+0x11/0x20 [ 10.620695][ C3] SOFTIRQ-ON-W at: [ 10.620696][ C3] __lock_acquire+0x388/0xc20 [ 10.620697][ C3] lock_acquire.part.0+0xd4/0x280 [ 10.620699][ C3] fs_reclaim_acquire+0xd5/0x120 [ 10.620700][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 10.620701][ C3] kthread_create_worker_on_node+0xea/0x210 [ 10.620702][ C3] workqueue_init+0x2a/0x680 [ 10.620704][ C3] kernel_init_freeable+0x2fe/0x630 [ 10.620705][ C3] kernel_init+0x21/0x150 [ 10.620707][ C3] ret_from_fork+0x474/0x6b0 [ 10.620708][ C3] ret_from_fork_asm+0x11/0x20 [ 10.620709][ C3] INITIAL USE at: [ 10.620710][ C3] __lock_acquire+0x388/0xc20 [ 10.620712][ C3] lock_acquire.part.0+0xd4/0x280 [ 10.620713][ C3] fs_reclaim_acquire+0xd5/0x120 [ 10.620715][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 10.620716][ C3] kthread_create_worker_on_node+0xea/0x210 [ 10.620717][ C3] workqueue_init+0x2a/0x680 [ 10.620719][ C3] kernel_init_freeable+0x2fe/0x630 [ 10.620720][ C3] kernel_init+0x21/0x150 [ 10.620722][ C3] ret_from_fork+0x474/0x6b0 [ 10.620723][ C3] ret_from_fork_asm+0x11/0x20 [ 10.620724][ C3] } [ 10.620725][ C3] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 10.620729][ C3] ... acquired at: [ 10.620730][ C3] __lock_acquire+0x518/0xc20 [ 10.620731][ C3] lock_acquire.part.0+0xd4/0x280 [ 10.620733][ C3] fs_reclaim_acquire+0xd5/0x120 [ 10.620734][ C3] __kmalloc_noprof+0xd3/0x760 [ 10.620735][ C3] alloc_buf.isra.0+0x4b/0x260 [ 10.620739][ C3] put_chars+0x1e1/0x2f0 [ 10.620739][ C3] hvc_console_print+0x292/0x780 [ 10.620743][ C3] console_emit_next_record+0x22f/0x4c0 [ 10.620744][ C3] console_flush_one_record+0x46f/0x710 [ 10.620746][ C3] console_unlock+0xee/0x1f0 [ 10.620748][ C3] vprintk_emit+0x37c/0x3e0 [ 10.620748][ C3] _printk+0xc7/0x100 [ 10.620752][ C3] tun_init+0x24/0xb0 [ 10.620754][ C3] do_one_initcall+0x124/0x4f0 [ 10.620756][ C3] kernel_init_freeable+0x596/0x630 [ 10.620757][ C3] kernel_init+0x21/0x150 [ 10.620758][ C3] ret_from_fork+0x474/0x6b0 [ 10.620760][ C3] ret_from_fork_asm+0x11/0x20 [ 10.620761][ C3] [ 10.620761][ C3] -> (console_owner){..-.}-{0:0} { [ 10.620763][ C3] IN-SOFTIRQ-W at: [ 10.620764][ C3] __lock_acquire+0x388/0xc20 [ 10.620765][ C3] lock_acquire.part.0+0xd4/0x280 [ 10.620766][ C3] console_lock_spinning_enable+0x5c/0x60 [ 10.620768][ C3] console_emit_next_record+0x1d1/0x4c0 [ 10.620770][ C3] console_flush_one_record+0x46f/0x710 [ 10.620772][ C3] console_unlock+0xee/0x1f0 [ 10.620773][ C3] vprintk_emit+0x37c/0x3e0 [ 10.620774][ C3] _printk+0xc7/0x100 [ 10.620775][ C3] addrconf_dad_failure.cold+0xfa/0x186 [ 10.620778][ C3] ndisc_recv_ns+0x71c/0x1370 [ 10.620781][ C3] icmpv6_rcv+0x12c3/0x17d0 [ 10.620782][ C3] ip6_protocol_deliver_rcu+0x15c/0x1480 [ 10.620784][ C3] ip6_input_finish+0x196/0x590 [ 10.620785][ C3] ip6_input+0x130/0x570 [ 10.620787][ C3] ip6_mc_input+0x429/0xcd0 [ 10.620789][ C3] ipv6_rcv+0x3c1/0x5a0 [ 10.620790][ C3] __netif_receive_skb_one_core+0xfc/0x180 [ 10.620792][ C3] process_backlog+0x431/0x14c0 [ 10.620794][ C3] __napi_poll+0xa7/0x3b0 [ 10.620797][ C3] net_rx_action+0x513/0xf50 [ 10.620799][ C3] handle_softirqs+0x1d3/0x900 [ 10.620802][ C3] do_softirq+0xac/0xe0 [ 10.620805][ C3] __local_bh_enable_ip+0x118/0x150 [ 10.620807][ C3] netif_rx+0x7b/0x90 [ 10.620809][ C3] macvlan_broadcast+0x47b/0x680 [ 10.620811][ C3] macvlan_process_broadcast+0x3a3/0x5c0 [ 10.620813][ C3] process_one_work+0xe3e/0x1560 [ 10.620815][ C3] worker_thread+0x4f1/0xd60 [ 10.620816][ C3] kthread+0x367/0x460 [ 10.620818][ C3] ret_from_fork+0x474/0x6b0 [ 10.620819][ C3] ret_from_fork_asm+0x11/0x20 [ 10.620821][ C3] INITIAL USE at: [ 10.620822][ C3] } [ 10.620822][ C3] ... key at: [] console_owner_dep_map+0x0/0x60 [ 10.620824][ C3] ... acquired at: [ 10.620825][ C3] mark_lock+0x1d7/0xa00 [ 10.620826][ C3] mark_usage+0x42/0x170 [ 10.620828][ C3] __lock_acquire+0x388/0xc20 [ 10.620829][ C3] lock_acquire.part.0+0xd4/0x280 [ 10.620830][ C3] console_lock_spinning_enable+0x5c/0x60 [ 10.620832][ C3] console_emit_next_record+0x1d1/0x4c0 [ 10.620834][ C3] console_flush_one_record+0x46f/0x710 [ 10.620835][ C3] console_unlock+0xee/0x1f0 [ 10.620837][ C3] vprintk_emit+0x37c/0x3e0 [ 10.620838][ C3] _printk+0xc7/0x100 [ 10.620839][ C3] addrconf_dad_failure.cold+0xfa/0x186 [ 10.620840][ C3] ndisc_recv_ns+0x71c/0x1370 [ 10.620842][ C3] icmpv6_rcv+0x12c3/0x17d0 [ 10.620843][ C3] ip6_protocol_deliver_rcu+0x15c/0x1480 [ 10.620844][ C3] ip6_input_finish+0x196/0x590 [ 10.620846][ C3] ip6_input+0x130/0x570 [ 10.620847][ C3] ip6_mc_input+0x429/0xcd0 [ 10.620849][ C3] ipv6_rcv+0x3c1/0x5a0 [ 10.620850][ C3] __netif_receive_skb_one_core+0xfc/0x180 [ 10.620852][ C3] process_backlog+0x431/0x14c0 [ 10.620853][ C3] __napi_poll+0xa7/0x3b0 [ 10.620855][ C3] net_rx_action+0x513/0xf50 [ 10.620856][ C3] handle_softirqs+0x1d3/0x900 [ 10.620858][ C3] do_softirq+0xac/0xe0 [ 10.620859][ C3] __local_bh_enable_ip+0x118/0x150 [ 10.620860][ C3] netif_rx+0x7b/0x90 [ 10.620861][ C3] macvlan_broadcast+0x47b/0x680 [ 10.620863][ C3] macvlan_process_broadcast+0x3a3/0x5c0 [ 10.620865][ C3] process_one_work+0xe3e/0x1560 [ 10.620866][ C3] worker_thread+0x4f1/0xd60 [ 10.620868][ C3] kthread+0x367/0x460 [ 10.620869][ C3] ret_from_fork+0x474/0x6b0 [ 10.620870][ C3] ret_from_fork_asm+0x11/0x20 [ 10.620871][ C3] [ 10.620872][ C3] [ 10.620872][ C3] stack backtrace: [ 10.620875][ C3] CPU: 3 UID: 0 PID: 72 Comm: kworker/u20:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.620878][ C3] Tainted: [W]=WARN [ 10.620879][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.620881][ C3] Workqueue: events_unbound macvlan_process_broadcast [ 10.620884][ C3] Call Trace: [ 10.620885][ C3] [ 10.620887][ C3] dump_stack_lvl+0x6f/0xa0 [ 10.620891][ C3] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 10.620894][ C3] mark_lock_irq+0x989/0x9c0 [ 10.620895][ C3] ? add_lock_to_list+0x2c/0x1a0 [ 10.620898][ C3] mark_lock+0x1d7/0xa00 [ 10.620902][ C3] mark_usage+0x42/0x170 [ 10.620904][ C3] __lock_acquire+0x388/0xc20 [ 10.620907][ C3] lock_acquire.part.0+0xd4/0x280 [ 10.620908][ C3] ? console_lock_spinning_enable+0x40/0x60 [ 10.620911][ C3] ? rcu_is_watching+0x16/0xd0 [ 10.620913][ C3] ? lock_acquire+0x13c/0x160 [ 10.620915][ C3] console_lock_spinning_enable+0x5c/0x60 [ 10.620917][ C3] ? console_lock_spinning_enable+0x40/0x60 [ 10.620918][ C3] console_emit_next_record+0x1d1/0x4c0 [ 10.620920][ C3] ? devkmsg_read+0x4b0/0x4b0 [ 10.620922][ C3] ? console_flush_one_record+0x106/0x710 [ 10.620924][ C3] ? rcu_is_watching+0x16/0xd0 [ 10.620925][ C3] ? lock_acquire+0x13c/0x160 [ 10.620927][ C3] console_flush_one_record+0x46f/0x710 [ 10.620930][ C3] ? console_emit_next_record+0x4c0/0x4c0 [ 10.620931][ C3] ? __lock_acquire+0x518/0xc20 [ 10.620934][ C3] console_unlock+0xee/0x1f0 [ 10.620935][ C3] ? console_flush_one_record+0x710/0x710 [ 10.620937][ C3] ? rcu_is_watching+0x16/0xd0 [ 10.620938][ C3] ? lock_acquire+0xe0/0x160 [ 10.620940][ C3] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.620942][ C3] ? vprintk_emit+0x320/0x3e0 [ 10.620943][ C3] vprintk_emit+0x37c/0x3e0 [ 10.620945][ C3] ? wake_up_klogd_work_func+0x90/0x90 [ 10.620946][ C3] ? __lock_release.isra.0+0x69/0x1a0 [ 10.620948][ C3] _printk+0xc7/0x100 [ 10.620950][ C3] ? snapshot_read.cold+0x21/0x21 [ 10.620952][ C3] ? ___ratelimit+0x4e7/0xa00 [ 10.620955][ C3] ? idr_get_free+0x830/0x830 [ 10.620957][ C3] addrconf_dad_failure.cold+0xfa/0x186 [ 10.620959][ C3] ? __lock_release.isra.0+0x69/0x1a0 [ 10.620961][ C3] ? inet6_rtm_newaddr+0xa10/0xa10 [ 10.620963][ C3] ? ipv6_get_ifaddr+0x2b5/0x570 [ 10.620965][ C3] ? addrconf_dad_work+0x930/0x930 [ 10.620966][ C3] ? __asan_memset+0x27/0x50 [ 10.620969][ C3] ? ndisc_parse_options.part.0+0x38/0x690 [ 10.620971][ C3] ? find_held_lock+0x2b/0x80 [ 10.620973][ C3] ndisc_recv_ns+0x71c/0x1370 [ 10.620975][ C3] ? ndisc_netdev_event+0x460/0x460 [ 10.620978][ C3] ? __asan_memset+0x27/0x50 [ 10.620980][ C3] ? ndisc_rcv+0x4e3/0x700 [ 10.620982][ C3] icmpv6_rcv+0x12c3/0x17d0 [ 10.620984][ C3] ip6_protocol_deliver_rcu+0x15c/0x1480 [ 10.620988][ C3] ip6_input_finish+0x196/0x590 [ 10.620990][ C3] ip6_input+0x130/0x570 [ 10.620991][ C3] ? ip6_input_finish+0x590/0x590 [ 10.620994][ C3] ? ipv6_chk_mcast_addr+0x213/0x7d0 [ 10.620995][ C3] ? ipv6_chk_mcast_addr+0x21d/0x7d0 [ 10.620997][ C3] ip6_mc_input+0x429/0xcd0 [ 10.620999][ C3] ? ip6_input+0x570/0x570 [ 10.621001][ C3] ? ip6_rcv_core+0xded/0x1be0 [ 10.621004][ C3] ipv6_rcv+0x3c1/0x5a0 [ 10.621006][ C3] ? ip6_rcv_core+0x1be0/0x1be0 [ 10.621008][ C3] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.621010][ C3] ? mark_usage+0x61/0x170 [ 10.621012][ C3] ? __lock_acquire+0x518/0xc20 [ 10.621014][ C3] ? process_backlog+0x3f1/0x14c0 [ 10.621016][ C3] __netif_receive_skb_one_core+0xfc/0x180 [ 10.621017][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 10.621019][ C3] ? process_backlog+0x3f1/0x14c0 [ 10.621021][ C3] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 10.621023][ C3] ? rcu_is_watching+0x16/0xd0 [ 10.621024][ C3] process_backlog+0x431/0x14c0 [ 10.621027][ C3] __napi_poll+0xa7/0x3b0 [ 10.621029][ C3] net_rx_action+0x513/0xf50 [ 10.621031][ C3] ? wakeup_preempt_fair+0x6cf/0x15d0 [ 10.621034][ C3] ? __napi_poll+0x3b0/0x3b0 [ 10.621036][ C3] ? find_held_lock+0x2b/0x80 [ 10.621039][ C3] ? mark_held_locks+0x40/0x70 [ 10.621041][ C3] handle_softirqs+0x1d3/0x900 [ 10.621043][ C3] ? _local_bh_enable+0xc0/0xc0 [ 10.621045][ C3] ? rcu_is_watching+0x16/0xd0 [ 10.621046][ C3] ? trace_csd_function_exit+0xb3/0x180 [ 10.621049][ C3] do_softirq+0xac/0xe0 [ 10.621051][ C3] [ 10.621051][ C3] [ 10.621052][ C3] __local_bh_enable_ip+0x118/0x150 [ 10.621054][ C3] netif_rx+0x7b/0x90 [ 10.621055][ C3] ? netif_rx+0x43/0x90 [ 10.621057][ C3] macvlan_broadcast+0x47b/0x680 [ 10.621059][ C3] macvlan_process_broadcast+0x3a3/0x5c0 [ 10.621062][ C3] ? __lock_acquire+0x518/0xc20 [ 10.621063][ C3] ? macvlan_handle_frame+0xf80/0xf80 [ 10.621066][ C3] ? rcu_is_watching+0x16/0xd0 [ 10.621067][ C3] ? rcu_is_watching+0x16/0xd0 [ 10.621068][ C3] ? lock_acquire+0x13c/0x160 [ 10.621070][ C3] ? process_one_work+0xe3e/0x1560 [ 10.621072][ C3] process_one_work+0xe3e/0x1560 [ 10.621075][ C3] ? __queue_delayed_work+0x470/0x470 [ 10.621077][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 10.621080][ C3] worker_thread+0x4f1/0xd60 [ 10.621082][ C3] ? rescuer_thread+0x1340/0x1340 [ 10.621084][ C3] ? __kthread_parkme+0xbd/0x210 [ 10.621085][ C3] ? rescuer_thread+0x1340/0x1340 [ 10.621087][ C3] ? rescuer_thread+0x1340/0x1340 [ 10.621089][ C3] kthread+0x367/0x460 [ 10.621091][ C3] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.621094][ C3] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.621096][ C3] ret_from_fork+0x474/0x6b0 [ 10.621097][ C3] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 10.621099][ C3] ? __switch_to+0x5a3/0xe00 [ 10.621103][ C3] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.621104][ C3] ret_from_fork_asm+0x11/0x20 [ 10.621107][ C3] [ 10.723431][ T222] macvlan0: entered promiscuous mode [ 11.725612][ T222] macvlan0: left promiscuous mode [ 11.725623][ T222] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.725626][ T222] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 222, name: tcpdump [ 11.725627][ T222] preempt_count: 1, expected: 0 [ 11.725628][ T222] RCU nest depth: 0, expected: 0 [ 11.725629][ T222] INFO: lockdep is turned off. [ 11.725630][ T222] irq event stamp: 9576 [ 11.725631][ T222] hardirqs last enabled at (9575): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 11.725639][ T222] hardirqs last disabled at (9576): [] __schedule+0x1246/0x20e0 [ 11.725642][ T222] softirqs last enabled at (9346): [] handle_softirqs+0x67c/0x900 [ 11.725646][ T222] softirqs last disabled at (7709): [] __irq_exit_rcu+0x145/0x1c0 [ 11.725648][ T222] Preemption disabled at: [ 11.725649][ T222] [] vprintk_emit+0x31b/0x3e0 [ 11.725663][ T222] CPU: 2 UID: 72 PID: 222 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.725667][ T222] Tainted: [W]=WARN [ 11.725668][ T222] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.725669][ T222] Call Trace: [ 11.725670][ T222] [ 11.725672][ T222] dump_stack_lvl+0x6f/0xa0 [ 11.725677][ T222] ? vprintk_emit+0x31b/0x3e0 [ 11.725679][ T222] __might_resched.cold+0x1fe/0x2c1 [ 11.725682][ T222] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.725686][ T222] ? rcu_is_watching+0x16/0xd0 [ 11.725688][ T222] __kmalloc_noprof+0x443/0x760 [ 11.725691][ T222] ? __rwlock_init+0x150/0x150 [ 11.725694][ T222] ? alloc_buf.isra.0+0x4b/0x260 [ 11.725698][ T222] ? do_raw_spin_unlock+0x59/0x250 [ 11.725700][ T222] alloc_buf.isra.0+0x4b/0x260 [ 11.725702][ T222] put_chars+0x1e1/0x2f0 [ 11.725704][ T222] ? __send_to_port+0x420/0x420 [ 11.725705][ T222] ? printk_get_next_message+0x240/0x650 [ 11.725708][ T222] hvc_console_print+0x292/0x780 [ 11.725713][ T222] ? hvc_write+0x3a0/0x3a0 [ 11.725715][ T222] ? __rwlock_init+0x150/0x150 [ 11.725717][ T222] ? rcu_is_watching+0x16/0xd0 [ 11.725718][ T222] ? lock_acquire+0x13c/0x160 [ 11.725720][ T222] console_emit_next_record+0x22f/0x4c0 [ 11.725723][ T222] ? devkmsg_read+0x4b0/0x4b0 [ 11.725725][ T222] ? rcu_is_watching+0x16/0xd0 [ 11.725726][ T222] ? rcu_is_watching+0x16/0xd0 [ 11.725727][ T222] ? rcu_is_watching+0x16/0xd0 [ 11.725728][ T222] ? lock_acquire+0x13c/0x160 [ 11.725730][ T222] ? console_flush_one_record+0x111/0x710 [ 11.725731][ T222] console_flush_one_record+0x46f/0x710 [ 11.725734][ T222] ? console_emit_next_record+0x4c0/0x4c0 [ 11.725736][ T222] console_unlock+0xee/0x1f0 [ 11.725738][ T222] ? lock_acquire+0x13c/0x160 [ 11.725740][ T222] ? console_flush_one_record+0x710/0x710 [ 11.725741][ T222] ? rcu_is_watching+0x16/0xd0 [ 11.725742][ T222] ? lock_release+0x184/0x1f0 [ 11.725744][ T222] ? lock_acquire+0xe0/0x160 [ 11.725745][ T222] ? __rcu_read_lock+0x70/0x70 [ 11.725746][ T222] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.725748][ T222] ? vprintk_emit+0x320/0x3e0 [ 11.725750][ T222] vprintk_emit+0x37c/0x3e0 [ 11.725751][ T222] ? wake_up_klogd_work_func+0x90/0x90 [ 11.725752][ T222] ? is_bpf_text_address+0x3e/0x110 [ 11.725755][ T222] ? kernel_text_address+0x149/0x170 [ 11.725758][ T222] ? __kernel_text_address+0x12/0x30 [ 11.725759][ T222] _printk+0xc7/0x100 [ 11.725763][ T222] ? snapshot_read.cold+0x21/0x21 [ 11.725765][ T222] ? rcu_is_watching+0x16/0xd0 [ 11.725766][ T222] ? netdev_name+0x43/0x60 [ 11.725769][ T222] ? __netdev_printk+0x17f/0x1d0 [ 11.725771][ T222] netdev_info+0xe2/0x116 [ 11.725773][ T222] ? netdev_notice+0x120/0x120 [ 11.725775][ T222] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 11.725777][ T222] ? ww_mutex_lock+0x160/0x160 [ 11.725779][ T222] ? ref_tracker_alloc+0x430/0x430 [ 11.725781][ T222] ? packet_release+0x363/0xc40 [ 11.725785][ T222] ? __fput+0x36c/0xad0 [ 11.725788][ T222] ? mutex_is_locked+0x1c/0x50 [ 11.725789][ T222] __dev_set_promiscuity.cold+0x7a/0x104 [ 11.725791][ T222] netif_set_promiscuity+0x4c/0xc0 [ 11.725796][ T222] dev_set_promiscuity+0xa1/0x230 [ 11.725799][ T222] packet_release+0x4cb/0xc40 [ 11.725802][ T222] ? packet_set_ring+0x1740/0x1740 [ 11.725805][ T222] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 11.725808][ T222] __sock_release+0xb8/0x280 [ 11.725812][ T222] sock_close+0x18/0x20 [ 11.725813][ T222] __fput+0x36c/0xad0 [ 11.725816][ T222] fput_close_sync+0xde/0x1b0 [ 11.725817][ T222] ? alloc_file_clone+0xe0/0xe0 [ 11.725819][ T222] ? lock_release+0x184/0x1f0 [ 11.725821][ T222] ? do_raw_spin_unlock+0x59/0x250 [ 11.725823][ T222] __x64_sys_close+0x8b/0xf0 [ 11.725825][ T222] do_syscall_64+0xff/0x530 [ 11.725827][ T222] ? exc_page_fault+0xee/0x100 [ 11.725829][ T222] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.725831][ T222] RIP: 0033:0x7fe1ee61554e [ 11.725833][ T222] 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.725835][ T222] RSP: 002b:00007fff947bf340 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 11.725839][ T222] RAX: ffffffffffffffda RBX: 000055fbc3754690 RCX: 00007fe1ee61554e [ 11.725841][ T222] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 11.725842][ T222] RBP: 00007fff947bf350 R08: 0000000000000000 R09: 0000000000000000 [ 11.725842][ T222] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 11.725843][ T222] R13: 0000000000000000 R14: 000055fbaf900760 R15: 0000000000000001 [ 11.725845][ T222] [ 13.119742][ T12] veth_dst (unregistering): left allmulticast mode [ 13.119758][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.119761][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 13.119762][ T12] preempt_count: 1, expected: 0 [ 13.119763][ T12] RCU nest depth: 0, expected: 0 [ 13.119764][ T12] INFO: lockdep is turned off. [ 13.119765][ T12] irq event stamp: 560 [ 13.119766][ T12] hardirqs last enabled at (559): [] _raw_spin_unlock_irq+0x28/0x50 [ 13.119775][ T12] hardirqs last disabled at (560): [] __schedule+0x1246/0x20e0 [ 13.119778][ T12] softirqs last enabled at (556): [] handle_softirqs+0x67c/0x900 [ 13.119783][ T12] softirqs last disabled at (513): [] do_softirq+0xac/0xe0 [ 13.119785][ T12] Preemption disabled at: [ 13.119786][ T12] [] vprintk_emit+0x31b/0x3e0 [ 13.119793][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.119798][ T12] Tainted: [W]=WARN [ 13.119799][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.119802][ T12] Workqueue: netns cleanup_net [ 13.119809][ T12] Call Trace: [ 13.119811][ T12] [ 13.119812][ T12] dump_stack_lvl+0x6f/0xa0 [ 13.119819][ T12] ? vprintk_emit+0x31b/0x3e0 [ 13.119820][ T12] __might_resched.cold+0x1fe/0x2c1 [ 13.119824][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.119827][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.119830][ T12] __kmalloc_noprof+0x443/0x760 [ 13.119833][ T12] ? __rwlock_init+0x150/0x150 [ 13.119836][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 13.119840][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 13.119842][ T12] alloc_buf.isra.0+0x4b/0x260 [ 13.119844][ T12] put_chars+0x1e1/0x2f0 [ 13.119846][ T12] ? __send_to_port+0x420/0x420 [ 13.119848][ T12] ? printk_get_next_message+0x240/0x650 [ 13.119850][ T12] hvc_console_print+0x292/0x780 [ 13.119855][ T12] ? hvc_write+0x3a0/0x3a0 [ 13.119857][ T12] ? __rwlock_init+0x150/0x150 [ 13.119859][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.119860][ T12] ? lock_acquire+0x13c/0x160 [ 13.119862][ T12] console_emit_next_record+0x22f/0x4c0 [ 13.119865][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 13.119867][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.119868][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.119869][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.119870][ T12] ? lock_acquire+0x13c/0x160 [ 13.119872][ T12] ? console_flush_one_record+0x111/0x710 [ 13.119874][ T12] console_flush_one_record+0x46f/0x710 [ 13.119876][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 13.119879][ T12] console_unlock+0xee/0x1f0 [ 13.119880][ T12] ? lock_acquire+0x13c/0x160 [ 13.119882][ T12] ? console_flush_one_record+0x710/0x710 [ 13.119884][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.119885][ T12] ? lock_release+0x184/0x1f0 [ 13.119886][ T12] ? lock_acquire+0xe0/0x160 [ 13.119888][ T12] ? __rcu_read_lock+0x70/0x70 [ 13.119889][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.119892][ T12] ? vprintk_emit+0x320/0x3e0 [ 13.119893][ T12] vprintk_emit+0x37c/0x3e0 [ 13.119895][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 13.119896][ T12] ? notifier_call_chain+0xae/0x300 [ 13.119898][ T12] ? default_device_exit_batch+0x38b/0x600 [ 13.119903][ T12] ? ops_undo_list+0x2ce/0x8f0 [ 13.119904][ T12] ? cleanup_net+0x431/0x940 [ 13.119905][ T12] ? process_one_work+0xe3e/0x1560 [ 13.119908][ T12] ? worker_thread+0x4f1/0xd60 [ 13.119910][ T12] ? kthread+0x367/0x460 [ 13.119912][ T12] _printk+0xc7/0x100 [ 13.119915][ T12] ? snapshot_read.cold+0x21/0x21 [ 13.119918][ T12] ? netdev_name+0x43/0x60 [ 13.119921][ T12] ? __netdev_printk+0x17f/0x1d0 [ 13.119923][ T12] netdev_info+0xe2/0x116 [ 13.119926][ T12] ? netdev_notice+0x120/0x120 [ 13.119927][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.119929][ T12] ? trace_hardirqs_on+0x36/0x40 [ 13.119932][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 13.119933][ T12] ? kvfree_call_rcu+0x23b/0x2e0 [ 13.119937][ T12] ? mutex_is_locked+0x1c/0x50 [ 13.119939][ T12] netif_set_allmulti.cold+0x7c/0x166 [ 13.119940][ T12] ? _raw_spin_unlock+0x2d/0x50 [ 13.119942][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.119943][ T12] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 13.119945][ T12] dev_set_allmulti+0xa6/0x240 [ 13.119946][ T12] ? trace_hardirqs_on+0x36/0x40 [ 13.119948][ T12] macvlan_stop+0x2e5/0x450 [ 13.119951][ T12] __dev_close_many+0x1d4/0x680 [ 13.119954][ T12] ? netif_open+0x120/0x120 [ 13.119956][ T12] ? netif_close_many+0x1ff/0x770 [ 13.119958][ T12] netif_close_many+0x1ff/0x770 [ 13.119959][ T12] ? notifier_call_chain+0xae/0x300 [ 13.119961][ T12] ? __dev_close_many+0x680/0x680 [ 13.119963][ T12] ? netif_close_many_and_unlock+0x22/0x2c0 [ 13.119965][ T12] unregister_netdevice_many_notify+0x71a/0x1b40 [ 13.119967][ T12] ? unregister_netdevice_queue+0x6a/0x470 [ 13.119968][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 13.119969][ T12] ? unregister_netdevice_many+0x20/0x20 [ 13.119971][ T12] ? netdev_upper_dev_unlink+0x79/0xa0 [ 13.119972][ T12] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 13.119975][ T12] macvlan_device_event+0x53a/0xa50 [ 13.119977][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.119978][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.119979][ T12] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 13.119981][ T12] ? macvlan_set_mac_address+0x3f0/0x3f0 [ 13.119982][ T12] ? __ipmr_get_table.isra.0+0x3a/0xd0 [ 13.119986][ T12] ? ipmr_device_event+0x96/0x1a0 [ 13.119988][ T12] notifier_call_chain+0xae/0x300 [ 13.119990][ T12] unregister_netdevice_many_notify+0xc5a/0x1b40 [ 13.119992][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 13.119994][ T12] ? get_rps_cpu+0x980/0x980 [ 13.119996][ T12] default_device_exit_batch+0x38b/0x600 [ 13.119997][ T12] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 13.119999][ T12] ? lock_acquire+0x13c/0x160 [ 13.120001][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 13.120002][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.120004][ T12] ? fou_exit_net+0x30/0x110 [ 13.120006][ T12] ops_undo_list+0x2ce/0x8f0 [ 13.120008][ T12] ? netns_install+0x2a0/0x2a0 [ 13.120010][ T12] ? idr_destroy+0x121/0x250 [ 13.120013][ T12] cleanup_net+0x431/0x940 [ 13.120015][ T12] ? net_passive_dec+0x230/0x230 [ 13.120017][ T12] ? lock_acquire+0x13c/0x160 [ 13.120018][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.120020][ T12] process_one_work+0xe3e/0x1560 [ 13.120023][ T12] ? __queue_delayed_work+0x470/0x470 [ 13.120025][ T12] ? find_held_lock+0x2b/0x80 [ 13.120027][ T12] ? __rwlock_init+0x150/0x150 [ 13.120029][ T12] worker_thread+0x4f1/0xd60 [ 13.120032][ T12] ? rescuer_thread+0x1340/0x1340 [ 13.120034][ T12] kthread+0x367/0x460 [ 13.120036][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.120037][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 13.120039][ T12] ret_from_fork+0x474/0x6b0 [ 13.120042][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 13.120044][ T12] ? __switch_to+0x5a3/0xe00 [ 13.120047][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 13.120049][ T12] ret_from_fork_asm+0x11/0x20 [ 13.120053][ T12]