[ 10.293107][ T199] ip (199) used greatest stack depth: 24096 bytes left [ 10.293126][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.293128][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: ip [ 10.293130][ T199] preempt_count: 2, expected: 0 [ 10.293130][ T199] RCU nest depth: 0, expected: 0 [ 10.293131][ T199] locks held by ip/199: 5, last CPU#0: [ 10.293133][ T199] #0: ffffffffa1e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.293144][ T199] #1: ffffffffa1f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.293149][ T199] #2: ffffffffa1f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.293154][ T199] #3: ffffffffa1e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.293157][ T199] #4: ffffffffa1e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.293161][ T199] irq event stamp: 23404 [ 10.293162][ T199] hardirqs last enabled at (23403): [] __down_trylock_console_sem+0x86/0xa0 [ 10.293165][ T199] hardirqs last disabled at (23404): [] console_emit_next_record+0x3d4/0x4c0 [ 10.293167][ T199] softirqs last enabled at (22084): [] handle_softirqs+0x67c/0x900 [ 10.293170][ T199] softirqs last disabled at (21989): [] __irq_exit_rcu+0x145/0x1c0 [ 10.293172][ T199] Preemption disabled at: [ 10.293173][ T199] [<0000000000000000>] 0x0 [ 10.293180][ T199] CPU: 0 UID: 0 PID: 199 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.293184][ T199] Tainted: [W]=WARN [ 10.293185][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.293186][ T199] Call Trace: [ 10.293188][ T199] [ 10.293189][ T199] dump_stack_lvl+0x6f/0xa0 [ 10.293196][ T199] __might_resched.cold+0x1fe/0x2c1 [ 10.293200][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.293205][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 10.293209][ T199] __kmalloc_noprof+0x443/0x760 [ 10.293211][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 10.293217][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 10.293220][ T199] alloc_buf.isra.0+0x4b/0x260 [ 10.293224][ T199] put_chars+0x1e1/0x2f0 [ 10.293226][ T199] ? __send_to_port+0x420/0x420 [ 10.293228][ T199] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.293231][ T199] ? validate_chain+0x38b/0xc20 [ 10.293236][ T199] hvc_console_print+0x292/0x780 [ 10.293244][ T199] ? hvc_write+0x3a0/0x3a0 [ 10.293247][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.293249][ T199] ? lock_acquire+0x13c/0x160 [ 10.293253][ T199] console_emit_next_record+0x22f/0x4c0 [ 10.293256][ T199] ? devkmsg_read+0x4b0/0x4b0 [ 10.293258][ T199] ? console_flush_one_record+0x106/0x710 [ 10.293262][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.293263][ T199] ? lock_acquire+0x13c/0x160 [ 10.293267][ T199] console_flush_one_record+0x46f/0x710 [ 10.293271][ T199] ? console_emit_next_record+0x4c0/0x4c0 [ 10.293273][ T199] ? __lock_acquire+0x518/0xc20 [ 10.293279][ T199] console_unlock+0xee/0x1f0 [ 10.293281][ T199] ? console_flush_one_record+0x710/0x710 [ 10.293283][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.293285][ T199] ? lock_acquire+0xe0/0x160 [ 10.293289][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.293291][ T199] ? vprintk_emit+0x320/0x3e0 [ 10.293293][ T199] vprintk_emit+0x37c/0x3e0 [ 10.293296][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 10.293299][ T199] ? __lock_acquire+0x518/0xc20 [ 10.293303][ T199] _printk+0xc7/0x100 [ 10.293307][ T199] ? snapshot_read.cold+0x21/0x21 [ 10.293310][ T199] ? do_raw_spin_lock+0x131/0x280 [ 10.293312][ T199] ? __rwlock_init+0x150/0x150 [ 10.293316][ T199] ? do_raw_spin_lock+0x131/0x280 [ 10.293319][ T199] do_exit.cold+0x82/0x9c [ 10.293323][ T199] ? exit_notify+0x890/0x890 [ 10.293324][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 10.293327][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.293330][ T199] do_group_exit+0xb8/0x370 [ 10.293333][ T199] __x64_sys_exit_group+0x3c/0x50 [ 10.293335][ T199] x64_sys_call+0x1567/0x1570 [ 10.293337][ T199] do_syscall_64+0xff/0x530 [ 10.293341][ T199] ? exc_page_fault+0xee/0x100 [ 10.293344][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.293347][ T199] RIP: 0033:0x7fd20b0481b8 [ 10.293349][ T199] Code: Unable to access opcode bytes at 0x7fd20b04818e. [ 10.293350][ T199] RSP: 002b:00007ffdb0168518 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.293352][ T199] RAX: ffffffffffffffda RBX: 00007fd20b178f88 RCX: 00007fd20b0481b8 [ 10.293354][ T199] RDX: 00007fd20ad92fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.293355][ T199] RBP: 00007ffdb0168570 R08: 0000000000000000 R09: 0000000000000050 [ 10.293355][ T199] R10: 00007ffdb0168330 R11: 0000000000000246 R12: 0000000000000001 [ 10.293356][ T199] R13: 0000000000000000 R14: 00007fd20b177680 R15: 00007fd20b178fa0 [ 10.293363][ T199] [ 10.539525][ T204] ip (204) used greatest stack depth: 23736 bytes left [ 11.031367][ T220] link0: entered promiscuous mode [ 12.034510][ T220] link0: left promiscuous mode [ 12.034612][ T220] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.034614][ T220] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 220, name: tcpdump [ 12.034616][ T220] preempt_count: 1, expected: 0 [ 12.034617][ T220] RCU nest depth: 0, expected: 0 [ 12.034618][ T220] locks held by tcpdump/220: 6, last CPU#1: [ 12.034620][ T220] #0: ff110000152a88c0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 12.034632][ T220] #1: ffffffffa271b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 12.034638][ T220] #2: ffffffffa1f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.034643][ T220] #3: ffffffffa1f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.034648][ T220] #4: ffffffffa1e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.034651][ T220] #5: ffffffffa1e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.034655][ T220] irq event stamp: 54260 [ 12.034656][ T220] hardirqs last enabled at (54259): [] __down_trylock_console_sem+0x86/0xa0 [ 12.034659][ T220] hardirqs last disabled at (54260): [] console_emit_next_record+0x3d4/0x4c0 [ 12.034661][ T220] softirqs last enabled at (54034): [] packet_setsockopt+0xcdf/0x21e0 [ 12.034663][ T220] softirqs last disabled at (54032): [] release_sock+0x21/0x240 [ 12.034666][ T220] Preemption disabled at: [ 12.034667][ T220] [] vprintk_emit+0x31b/0x3e0 [ 12.034673][ T220] CPU: 1 UID: 0 PID: 220 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.034676][ T220] Tainted: [W]=WARN [ 12.034677][ T220] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.034679][ T220] Call Trace: [ 12.034680][ T220] [ 12.034682][ T220] dump_stack_lvl+0x6f/0xa0 [ 12.034689][ T220] ? vprintk_emit+0x31b/0x3e0 [ 12.034691][ T220] __might_resched.cold+0x1fe/0x2c1 [ 12.034695][ T220] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.034699][ T220] ? __kmalloc_noprof+0xdb/0x760 [ 12.034704][ T220] __kmalloc_noprof+0x443/0x760 [ 12.034706][ T220] ? alloc_buf.isra.0+0x4b/0x260 [ 12.034713][ T220] ? do_raw_spin_unlock+0x59/0x250 [ 12.034715][ T220] alloc_buf.isra.0+0x4b/0x260 [ 12.034720][ T220] put_chars+0x1e1/0x2f0 [ 12.034722][ T220] ? __send_to_port+0x420/0x420 [ 12.034723][ T220] ? check_prev_add+0xef/0xe90 [ 12.034728][ T220] ? validate_chain+0x34a/0xc20 [ 12.034732][ T220] hvc_console_print+0x292/0x780 [ 12.034736][ T220] ? mark_usage+0x61/0x170 [ 12.034738][ T220] ? __lock_acquire+0x518/0xc20 [ 12.034740][ T220] ? __lock_acquire+0x518/0xc20 [ 12.034744][ T220] ? hvc_write+0x3a0/0x3a0 [ 12.034746][ T220] ? lock_acquire.part.0+0xd4/0x280 [ 12.034751][ T220] ? lock_acquire+0x13c/0x160 [ 12.034755][ T220] console_emit_next_record+0x22f/0x4c0 [ 12.034759][ T220] ? devkmsg_read+0x4b0/0x4b0 [ 12.034761][ T220] ? console_flush_one_record+0x106/0x710 [ 12.034765][ T220] ? rcu_is_watching+0x16/0xd0 [ 12.034767][ T220] ? lock_acquire+0x13c/0x160 [ 12.034772][ T220] console_flush_one_record+0x46f/0x710 [ 12.034776][ T220] ? console_emit_next_record+0x4c0/0x4c0 [ 12.034778][ T220] ? __lock_acquire+0x518/0xc20 [ 12.034784][ T220] console_unlock+0xee/0x1f0 [ 12.034787][ T220] ? console_flush_one_record+0x710/0x710 [ 12.034789][ T220] ? rcu_is_watching+0x16/0xd0 [ 12.034791][ T220] ? lock_acquire+0xe0/0x160 [ 12.034794][ T220] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.034796][ T220] ? vprintk_emit+0x320/0x3e0 [ 12.034799][ T220] vprintk_emit+0x37c/0x3e0 [ 12.034802][ T220] ? wake_up_klogd_work_func+0x90/0x90 [ 12.034806][ T220] ? __lock_acquire+0x518/0xc20 [ 12.034809][ T220] _printk+0xc7/0x100 [ 12.034813][ T220] ? snapshot_read.cold+0x21/0x21 [ 12.034815][ T220] ? lock_acquire.part.0+0xd4/0x280 [ 12.034819][ T220] ? rcu_is_watching+0x16/0xd0 [ 12.034820][ T220] ? netdev_name+0x43/0x60 [ 12.034824][ T220] ? __netdev_printk+0x17f/0x1d0 [ 12.034828][ T220] netdev_info+0xe2/0x116 [ 12.034831][ T220] ? netdev_notice+0x120/0x120 [ 12.034833][ T220] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 12.034835][ T220] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 12.034840][ T220] ? ww_mutex_lock+0x160/0x160 [ 12.034842][ T220] ? lock_acquire.part.0+0xd4/0x280 [ 12.034844][ T220] ? ref_tracker_alloc+0x430/0x430 [ 12.034847][ T220] ? packet_release+0x363/0xc40 [ 12.034849][ T220] ? __fput+0x36c/0xad0 [ 12.034853][ T220] ? mutex_is_locked+0x1c/0x50 [ 12.034856][ T220] __dev_set_promiscuity.cold+0x7a/0x104 [ 12.034859][ T220] netif_set_promiscuity+0x4c/0xc0 [ 12.034864][ T220] dev_set_promiscuity+0xa1/0x230 [ 12.034868][ T220] packet_release+0x4cb/0xc40 [ 12.034872][ T220] ? packet_set_ring+0x1740/0x1740 [ 12.034875][ T220] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 12.034880][ T220] __sock_release+0xb8/0x280 [ 12.034884][ T220] sock_close+0x18/0x20 [ 12.034885][ T220] __fput+0x36c/0xad0 [ 12.034891][ T220] fput_close_sync+0xde/0x1b0 [ 12.034893][ T220] ? alloc_file_clone+0xe0/0xe0 [ 12.034896][ T220] ? do_raw_spin_unlock+0x59/0x250 [ 12.034900][ T220] __x64_sys_close+0x8b/0xf0 [ 12.034903][ T220] do_syscall_64+0xff/0x530 [ 12.034906][ T220] ? exc_page_fault+0xee/0x100 [ 12.034909][ T220] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.034911][ T220] RIP: 0033:0x7fc4a516c54e [ 12.034915][ T220] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 12.034917][ T220] RSP: 002b:00007fffcb97dfb0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 12.034920][ T220] RAX: ffffffffffffffda RBX: 00005634f0d9b690 RCX: 00007fc4a516c54e [ 12.034921][ T220] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 12.034922][ T220] RBP: 00007fffcb97dfc0 R08: 0000000000000000 R09: 0000000000000000 [ 12.034923][ T220] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 12.034923][ T220] R13: 0000000000000000 R14: 00005634cd5b0760 R15: 0000000000000001 [ 12.034930][ T220]