[ 9.568623][ T206] ip (206) used greatest stack depth: 24160 bytes left [ 9.568638][ T206] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.568640][ T206] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 206, name: ip [ 9.568641][ T206] preempt_count: 2, expected: 0 [ 9.568642][ T206] RCU nest depth: 0, expected: 0 [ 9.568643][ T206] locks held by ip/206: 5, last CPU#0: [ 9.568645][ T206] #0: ffffffff882167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.568656][ T206] #1: ffffffff8837ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.568661][ T206] #2: ffffffff8837de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.568665][ T206] #3: ffffffff8829d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.568668][ T206] #4: ffffffff8829d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.568672][ T206] irq event stamp: 36994 [ 9.568673][ T206] hardirqs last enabled at (36993): [] __down_trylock_console_sem+0x86/0xa0 [ 9.568676][ T206] hardirqs last disabled at (36994): [] console_emit_next_record+0x3d4/0x4c0 [ 9.568678][ T206] softirqs last enabled at (36658): [] handle_softirqs+0x67c/0x900 [ 9.568680][ T206] softirqs last disabled at (36653): [] __irq_exit_rcu+0x145/0x1c0 [ 9.568683][ T206] Preemption disabled at: [ 9.568683][ T206] [<0000000000000000>] 0x0 [ 9.568690][ T206] CPU: 0 UID: 0 PID: 206 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.568693][ T206] Tainted: [W]=WARN [ 9.568694][ T206] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.568695][ T206] Call Trace: [ 9.568697][ T206] [ 9.568699][ T206] dump_stack_lvl+0x6f/0xa0 [ 9.568705][ T206] __might_resched.cold+0x1fe/0x2c1 [ 9.568710][ T206] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.568714][ T206] ? __kmalloc_noprof+0xdb/0x760 [ 9.568718][ T206] __kmalloc_noprof+0x443/0x760 [ 9.568720][ T206] ? alloc_buf.isra.0+0x4b/0x260 [ 9.568726][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 9.568729][ T206] alloc_buf.isra.0+0x4b/0x260 [ 9.568733][ T206] put_chars+0x1e1/0x2f0 [ 9.568735][ T206] ? __send_to_port+0x420/0x420 [ 9.568736][ T206] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.568740][ T206] ? validate_chain+0x38b/0xc20 [ 9.568745][ T206] hvc_console_print+0x292/0x780 [ 9.568752][ T206] ? hvc_write+0x3a0/0x3a0 [ 9.568755][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.568757][ T206] ? lock_acquire+0x13c/0x160 [ 9.568761][ T206] console_emit_next_record+0x22f/0x4c0 [ 9.568765][ T206] ? devkmsg_read+0x4b0/0x4b0 [ 9.568766][ T206] ? console_flush_one_record+0x106/0x710 [ 9.568770][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.568771][ T206] ? lock_acquire+0x13c/0x160 [ 9.568775][ T206] console_flush_one_record+0x46f/0x710 [ 9.568780][ T206] ? console_emit_next_record+0x4c0/0x4c0 [ 9.568782][ T206] ? __lock_acquire+0x518/0xc20 [ 9.568787][ T206] console_unlock+0xee/0x1f0 [ 9.568789][ T206] ? console_flush_one_record+0x710/0x710 [ 9.568791][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.568793][ T206] ? lock_acquire+0xe0/0x160 [ 9.568797][ T206] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.568798][ T206] ? vprintk_emit+0x320/0x3e0 [ 9.568801][ T206] vprintk_emit+0x37c/0x3e0 [ 9.568804][ T206] ? wake_up_klogd_work_func+0x90/0x90 [ 9.568807][ T206] ? __lock_acquire+0x518/0xc20 [ 9.568810][ T206] _printk+0xc7/0x100 [ 9.568814][ T206] ? snapshot_read.cold+0x21/0x21 [ 9.568817][ T206] ? do_raw_spin_lock+0x131/0x280 [ 9.568819][ T206] ? __rwlock_init+0x150/0x150 [ 9.568823][ T206] ? do_raw_spin_lock+0x131/0x280 [ 9.568826][ T206] do_exit.cold+0x82/0x9c [ 9.568829][ T206] ? exit_notify+0x890/0x890 [ 9.568831][ T206] ? __lock_release.isra.0+0x69/0x1a0 [ 9.568833][ T206] ? rcu_is_watching+0x16/0xd0 [ 9.568837][ T206] do_group_exit+0xb8/0x370 [ 9.568839][ T206] __x64_sys_exit_group+0x3c/0x50 [ 9.568841][ T206] x64_sys_call+0x1567/0x1570 [ 9.568844][ T206] do_syscall_64+0xff/0x530 [ 9.568847][ T206] ? exc_page_fault+0xee/0x100 [ 9.568850][ T206] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.568852][ T206] RIP: 0033:0x7fb111bf21b8 [ 9.568854][ T206] Code: Unable to access opcode bytes at 0x7fb111bf218e. [ 9.568855][ T206] RSP: 002b:00007fffb6274a28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.568858][ T206] RAX: ffffffffffffffda RBX: 00007fb111d22f88 RCX: 00007fb111bf21b8 [ 9.568859][ T206] RDX: 00007fb11193cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.568860][ T206] RBP: 00007fffb6274a80 R08: 0000000000000000 R09: 0000000000000000 [ 9.568861][ T206] R10: 00007fffb6274840 R11: 0000000000000246 R12: 0000000000000001 [ 9.568861][ T206] R13: 0000000000000000 R14: 00007fb111d21680 R15: 00007fb111d22fa0 [ 9.568868][ T206] [ 9.871905][ T217] link0: entered promiscuous mode [ 10.874754][ T217] link0: left promiscuous mode [ 10.874811][ T217] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.874813][ T217] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 217, name: tcpdump [ 10.874815][ T217] preempt_count: 1, expected: 0 [ 10.874816][ T217] RCU nest depth: 0, expected: 0 [ 10.874817][ T217] locks held by tcpdump/217: 6, last CPU#0: [ 10.874819][ T217] #0: ff1100000f582800 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 10.874832][ T217] #1: ffffffff88b1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 10.874838][ T217] #2: ffffffff8837ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.874843][ T217] #3: ffffffff8837de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.874847][ T217] #4: ffffffff8829d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.874851][ T217] #5: ffffffff8829d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.874855][ T217] irq event stamp: 59952 [ 10.874856][ T217] hardirqs last enabled at (59951): [] __down_trylock_console_sem+0x86/0xa0 [ 10.874859][ T217] hardirqs last disabled at (59952): [] console_emit_next_record+0x3d4/0x4c0 [ 10.874861][ T217] softirqs last enabled at (59726): [] packet_setsockopt+0xcdf/0x21e0 [ 10.874863][ T217] softirqs last disabled at (59724): [] release_sock+0x21/0x240 [ 10.874866][ T217] Preemption disabled at: [ 10.874866][ T217] [] vprintk_emit+0x31b/0x3e0 [ 10.874872][ T217] CPU: 0 UID: 0 PID: 217 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.874875][ T217] Tainted: [W]=WARN [ 10.874876][ T217] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.874878][ T217] Call Trace: [ 10.874880][ T217] [ 10.874881][ T217] dump_stack_lvl+0x6f/0xa0 [ 10.874888][ T217] ? vprintk_emit+0x31b/0x3e0 [ 10.874890][ T217] __might_resched.cold+0x1fe/0x2c1 [ 10.874894][ T217] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.874899][ T217] ? __kmalloc_noprof+0xdb/0x760 [ 10.874903][ T217] __kmalloc_noprof+0x443/0x760 [ 10.874905][ T217] ? alloc_buf.isra.0+0x4b/0x260 [ 10.874912][ T217] ? do_raw_spin_unlock+0x59/0x250 [ 10.874915][ T217] alloc_buf.isra.0+0x4b/0x260 [ 10.874919][ T217] put_chars+0x1e1/0x2f0 [ 10.874921][ T217] ? __send_to_port+0x420/0x420 [ 10.874923][ T217] ? check_prev_add+0xef/0xe90 [ 10.874927][ T217] ? validate_chain+0x34a/0xc20 [ 10.874931][ T217] hvc_console_print+0x292/0x780 [ 10.874935][ T217] ? mark_usage+0x61/0x170 [ 10.874937][ T217] ? __lock_acquire+0x518/0xc20 [ 10.874939][ T217] ? __lock_acquire+0x518/0xc20 [ 10.874943][ T217] ? hvc_write+0x3a0/0x3a0 [ 10.874945][ T217] ? lock_acquire.part.0+0xd4/0x280 [ 10.874950][ T217] ? lock_acquire+0x13c/0x160 [ 10.874954][ T217] console_emit_next_record+0x22f/0x4c0 [ 10.874958][ T217] ? devkmsg_read+0x4b0/0x4b0 [ 10.874960][ T217] ? console_flush_one_record+0x106/0x710 [ 10.874963][ T217] ? rcu_is_watching+0x16/0xd0 [ 10.874966][ T217] ? lock_acquire+0x13c/0x160 [ 10.874970][ T217] console_flush_one_record+0x46f/0x710 [ 10.874974][ T217] ? console_emit_next_record+0x4c0/0x4c0 [ 10.874976][ T217] ? __lock_acquire+0x518/0xc20 [ 10.874982][ T217] console_unlock+0xee/0x1f0 [ 10.874985][ T217] ? console_flush_one_record+0x710/0x710 [ 10.874987][ T217] ? rcu_is_watching+0x16/0xd0 [ 10.874988][ T217] ? lock_acquire+0xe0/0x160 [ 10.874992][ T217] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.874994][ T217] ? vprintk_emit+0x320/0x3e0 [ 10.874997][ T217] vprintk_emit+0x37c/0x3e0 [ 10.875000][ T217] ? wake_up_klogd_work_func+0x90/0x90 [ 10.875003][ T217] ? __lock_acquire+0x518/0xc20 [ 10.875007][ T217] _printk+0xc7/0x100 [ 10.875011][ T217] ? snapshot_read.cold+0x21/0x21 [ 10.875012][ T217] ? lock_acquire.part.0+0xd4/0x280 [ 10.875016][ T217] ? rcu_is_watching+0x16/0xd0 [ 10.875017][ T217] ? netdev_name+0x43/0x60 [ 10.875021][ T217] ? __netdev_printk+0x17f/0x1d0 [ 10.875025][ T217] netdev_info+0xe2/0x116 [ 10.875028][ T217] ? netdev_notice+0x120/0x120 [ 10.875030][ T217] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 10.875032][ T217] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 10.875037][ T217] ? ww_mutex_lock+0x160/0x160 [ 10.875038][ T217] ? lock_acquire.part.0+0xd4/0x280 [ 10.875041][ T217] ? ref_tracker_alloc+0x430/0x430 [ 10.875044][ T217] ? packet_release+0x363/0xc40 [ 10.875046][ T217] ? __fput+0x36c/0xad0 [ 10.875049][ T217] ? mutex_is_locked+0x1c/0x50 [ 10.875052][ T217] __dev_set_promiscuity.cold+0x7a/0x104 [ 10.875055][ T217] netif_set_promiscuity+0x4c/0xc0 [ 10.875060][ T217] dev_set_promiscuity+0xa1/0x230 [ 10.875064][ T217] packet_release+0x4cb/0xc40 [ 10.875068][ T217] ? packet_set_ring+0x1740/0x1740 [ 10.875071][ T217] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 10.875076][ T217] __sock_release+0xb8/0x280 [ 10.875079][ T217] sock_close+0x18/0x20 [ 10.875081][ T217] __fput+0x36c/0xad0 [ 10.875086][ T217] fput_close_sync+0xde/0x1b0 [ 10.875089][ T217] ? alloc_file_clone+0xe0/0xe0 [ 10.875091][ T217] ? do_raw_spin_unlock+0x59/0x250 [ 10.875096][ T217] __x64_sys_close+0x8b/0xf0 [ 10.875098][ T217] do_syscall_64+0xff/0x530 [ 10.875101][ T217] ? exc_page_fault+0xee/0x100 [ 10.875104][ T217] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.875107][ T217] RIP: 0033:0x7f2a7312d54e [ 10.875111][ T217] 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 [ 10.875113][ T217] RSP: 002b:00007ffea0fe2b80 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 10.875115][ T217] RAX: ffffffffffffffda RBX: 000055bed1e46690 RCX: 00007f2a7312d54e [ 10.875117][ T217] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 10.875118][ T217] RBP: 00007ffea0fe2b90 R08: 0000000000000000 R09: 0000000000000000 [ 10.875118][ T217] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 10.875119][ T217] R13: 0000000000000000 R14: 000055bea1b2d760 R15: 0000000000000001 [ 10.875126][ T217]