[ 10.193245][ T203] ip (203) used greatest stack depth: 24056 bytes left [ 10.193266][ T203] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.193269][ T203] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 203, name: ip [ 10.193271][ T203] preempt_count: 2, expected: 0 [ 10.193272][ T203] RCU nest depth: 0, expected: 0 [ 10.193274][ T203] locks held by ip/203: 5, last CPU#3: [ 10.193276][ T203] #0: ffffffff8aa167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.193291][ T203] #1: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.193298][ T203] #2: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.193305][ T203] #3: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.193310][ T203] #4: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.193316][ T203] irq event stamp: 22548 [ 10.193318][ T203] hardirqs last enabled at (22547): [] __down_trylock_console_sem+0x86/0xa0 [ 10.193322][ T203] hardirqs last disabled at (22548): [] console_emit_next_record+0x3d4/0x4c0 [ 10.193325][ T203] softirqs last enabled at (22360): [] handle_softirqs+0x67c/0x900 [ 10.193329][ T203] softirqs last disabled at (22351): [] __irq_exit_rcu+0x145/0x1c0 [ 10.193332][ T203] Preemption disabled at: [ 10.193333][ T203] [<0000000000000000>] 0x0 [ 10.193342][ T203] CPU: 3 UID: 0 PID: 203 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.193347][ T203] Tainted: [W]=WARN [ 10.193348][ T203] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.193351][ T203] Call Trace: [ 10.193352][ T203] [ 10.193355][ T203] dump_stack_lvl+0x6f/0xa0 [ 10.193364][ T203] __might_resched.cold+0x1fe/0x2c1 [ 10.193370][ T203] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.193375][ T203] ? __kmalloc_noprof+0xdb/0x760 [ 10.193382][ T203] __kmalloc_noprof+0x443/0x760 [ 10.193386][ T203] ? alloc_buf.isra.0+0x4b/0x260 [ 10.193396][ T203] ? do_raw_spin_unlock+0x59/0x250 [ 10.193399][ T203] alloc_buf.isra.0+0x4b/0x260 [ 10.193405][ T203] put_chars+0x1e1/0x2f0 [ 10.193409][ T203] ? __send_to_port+0x420/0x420 [ 10.193411][ T203] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.193417][ T203] ? validate_chain+0x38b/0xc20 [ 10.193427][ T203] hvc_console_print+0x292/0x780 [ 10.193439][ T203] ? hvc_write+0x3a0/0x3a0 [ 10.193443][ T203] ? rcu_is_watching+0x16/0xd0 [ 10.193447][ T203] ? lock_acquire+0x13c/0x160 [ 10.193454][ T203] console_emit_next_record+0x22f/0x4c0 [ 10.193461][ T203] ? devkmsg_read+0x4b0/0x4b0 [ 10.193463][ T203] ? console_flush_one_record+0x106/0x710 [ 10.193469][ T203] ? rcu_is_watching+0x16/0xd0 [ 10.193472][ T203] ? lock_acquire+0x13c/0x160 [ 10.193479][ T203] console_flush_one_record+0x46f/0x710 [ 10.193486][ T203] ? console_emit_next_record+0x4c0/0x4c0 [ 10.193489][ T203] ? __lock_acquire+0x518/0xc20 [ 10.193499][ T203] console_unlock+0xee/0x1f0 [ 10.193503][ T203] ? console_flush_one_record+0x710/0x710 [ 10.193506][ T203] ? rcu_is_watching+0x16/0xd0 [ 10.193509][ T203] ? lock_acquire+0xe0/0x160 [ 10.193516][ T203] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.193519][ T203] ? vprintk_emit+0x320/0x3e0 [ 10.193524][ T203] vprintk_emit+0x37c/0x3e0 [ 10.193529][ T203] ? wake_up_klogd_work_func+0x90/0x90 [ 10.193535][ T203] ? __lock_acquire+0x518/0xc20 [ 10.193541][ T203] _printk+0xc7/0x100 [ 10.193547][ T203] ? snapshot_read.cold+0x21/0x21 [ 10.193551][ T203] ? do_raw_spin_lock+0x131/0x280 [ 10.193556][ T203] ? __rwlock_init+0x150/0x150 [ 10.193562][ T203] ? do_raw_spin_lock+0x131/0x280 [ 10.193567][ T203] do_exit.cold+0x82/0x9c [ 10.193572][ T203] ? exit_notify+0x890/0x890 [ 10.193575][ T203] ? __lock_release.isra.0+0x69/0x1a0 [ 10.193579][ T203] ? rcu_is_watching+0x16/0xd0 [ 10.193586][ T203] do_group_exit+0xb8/0x370 [ 10.193591][ T203] __x64_sys_exit_group+0x3c/0x50 [ 10.193594][ T203] x64_sys_call+0x1567/0x1570 [ 10.193597][ T203] do_syscall_64+0xff/0x530 [ 10.193602][ T203] ? exc_page_fault+0xee/0x100 [ 10.193607][ T203] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.193610][ T203] RIP: 0033:0x7f8d819081b8 [ 10.193613][ T203] Code: Unable to access opcode bytes at 0x7f8d8190818e. [ 10.193615][ T203] RSP: 002b:00007fff09ef6a58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.193618][ T203] RAX: ffffffffffffffda RBX: 00007f8d81a38f88 RCX: 00007f8d819081b8 [ 10.193621][ T203] RDX: 00007f8d81652fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.193622][ T203] RBP: 00007fff09ef6ab0 R08: 0000000000000000 R09: 0000000000000050 [ 10.193624][ T203] R10: 00007fff09ef6870 R11: 0000000000000246 R12: 0000000000000001 [ 10.193625][ T203] R13: 0000000000000000 R14: 00007f8d81a37680 R15: 00007f8d81a38fa0 [ 10.193638][ T203] [ 11.744375][ T246] veth-s1: entered promiscuous mode [ 11.744447][ T246] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.744449][ T246] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 246, name: tcpdump [ 11.744451][ T246] preempt_count: 1, expected: 0 [ 11.744452][ T246] RCU nest depth: 0, expected: 0 [ 11.744452][ T246] locks held by tcpdump/246: 5, last CPU#0: [ 11.744455][ T246] #0: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 11.744466][ T246] #1: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.744473][ T246] #2: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.744477][ T246] #3: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.744481][ T246] #4: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.744484][ T246] irq event stamp: 55452 [ 11.744485][ T246] hardirqs last enabled at (55451): [] __down_trylock_console_sem+0x86/0xa0 [ 11.744488][ T246] hardirqs last disabled at (55452): [] console_emit_next_record+0x3d4/0x4c0 [ 11.744491][ T246] softirqs last enabled at (55424): [] packet_do_bind+0x4b2/0xc80 [ 11.744492][ T246] softirqs last disabled at (55422): [] release_sock+0x21/0x240 [ 11.744497][ T246] Preemption disabled at: [ 11.744497][ T246] [] vprintk_emit+0x31b/0x3e0 [ 11.744503][ T246] CPU: 0 UID: 0 PID: 246 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.744507][ T246] Tainted: [W]=WARN [ 11.744507][ T246] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.744509][ T246] Call Trace: [ 11.744511][ T246] [ 11.744512][ T246] dump_stack_lvl+0x6f/0xa0 [ 11.744518][ T246] ? vprintk_emit+0x31b/0x3e0 [ 11.744520][ T246] __might_resched.cold+0x1fe/0x2c1 [ 11.744525][ T246] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.744529][ T246] ? __kmalloc_noprof+0xdb/0x760 [ 11.744534][ T246] __kmalloc_noprof+0x443/0x760 [ 11.744536][ T246] ? alloc_buf.isra.0+0x4b/0x260 [ 11.744543][ T246] ? do_raw_spin_unlock+0x59/0x250 [ 11.744546][ T246] alloc_buf.isra.0+0x4b/0x260 [ 11.744550][ T246] put_chars+0x1e1/0x2f0 [ 11.744552][ T246] ? __send_to_port+0x420/0x420 [ 11.744556][ T246] ? validate_chain+0x34a/0xc20 [ 11.744561][ T246] hvc_console_print+0x292/0x780 [ 11.744565][ T246] ? mark_usage+0x61/0x170 [ 11.744567][ T246] ? __lock_acquire+0x518/0xc20 [ 11.744569][ T246] ? __lock_acquire+0x518/0xc20 [ 11.744573][ T246] ? hvc_write+0x3a0/0x3a0 [ 11.744575][ T246] ? console_emit_next_record+0x1df/0x4c0 [ 11.744579][ T246] ? rcu_is_watching+0x16/0xd0 [ 11.744582][ T246] ? lock_acquire+0x13c/0x160 [ 11.744586][ T246] console_emit_next_record+0x22f/0x4c0 [ 11.744590][ T246] ? devkmsg_read+0x4b0/0x4b0 [ 11.744591][ T246] ? console_flush_one_record+0x106/0x710 [ 11.744595][ T246] ? rcu_is_watching+0x16/0xd0 [ 11.744597][ T246] ? lock_acquire+0x13c/0x160 [ 11.744601][ T246] console_flush_one_record+0x46f/0x710 [ 11.744605][ T246] ? console_emit_next_record+0x4c0/0x4c0 [ 11.744607][ T246] ? __lock_acquire+0x518/0xc20 [ 11.744612][ T246] console_unlock+0xee/0x1f0 [ 11.744615][ T246] ? console_flush_one_record+0x710/0x710 [ 11.744617][ T246] ? rcu_is_watching+0x16/0xd0 [ 11.744619][ T246] ? lock_acquire+0xe0/0x160 [ 11.744623][ T246] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.744625][ T246] ? vprintk_emit+0x320/0x3e0 [ 11.744628][ T246] vprintk_emit+0x37c/0x3e0 [ 11.744631][ T246] ? wake_up_klogd_work_func+0x90/0x90 [ 11.744632][ T246] ? kasan_save_stack+0x3d/0x50 [ 11.744635][ T246] ? kasan_save_track+0x14/0x30 [ 11.744636][ T246] ? __kasan_kmalloc+0x7b/0x90 [ 11.744637][ T246] ? __kmalloc_cache_noprof+0x29a/0x620 [ 11.744638][ T246] ? packet_mc_add+0x13b/0x890 [ 11.744640][ T246] ? packet_setsockopt+0x1953/0x21e0 [ 11.744642][ T246] ? do_sock_setsockopt+0x164/0x3b0 [ 11.744646][ T246] _printk+0xc7/0x100 [ 11.744650][ T246] ? snapshot_read.cold+0x21/0x21 [ 11.744654][ T246] ? netdev_name+0x43/0x60 [ 11.744658][ T246] ? __netdev_printk+0x17f/0x1d0 [ 11.744662][ T246] netdev_info+0xe2/0x116 [ 11.744665][ T246] ? netdev_notice+0x120/0x120 [ 11.744672][ T246] ? mutex_is_locked+0x1c/0x50 [ 11.744675][ T246] __dev_set_promiscuity.cold+0x7a/0x104 [ 11.744679][ T246] netif_set_promiscuity+0x4c/0xc0 [ 11.744684][ T246] dev_set_promiscuity+0xa1/0x230 [ 11.744685][ T246] ? __asan_memset+0x27/0x50 [ 11.744689][ T246] packet_mc_add+0x54e/0x890 [ 11.744691][ T246] ? __might_fault+0x97/0x140 [ 11.744694][ T246] ? __might_fault+0x97/0x140 [ 11.744696][ T246] ? _copy_from_user+0x42/0x90 [ 11.744702][ T246] packet_setsockopt+0x1953/0x21e0 [ 11.744705][ T246] ? packet_bind+0x170/0x170 [ 11.744709][ T246] ? do_sock_getsockopt+0x7bb/0xb50 [ 11.744714][ T246] ? sock_poll+0x6b0/0x6b0 [ 11.744718][ T246] ? rcu_is_watching+0x16/0xd0 [ 11.744719][ T246] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.744725][ T246] do_sock_setsockopt+0x164/0x3b0 [ 11.744728][ T246] ? put_user_ifreq+0x90/0x90 [ 11.744730][ T246] ? __sys_bind+0x19f/0x260 [ 11.744732][ T246] ? __sys_bind_socket+0xa0/0xa0 [ 11.744739][ T246] __sys_setsockopt+0xe4/0x150 [ 11.744744][ T246] __x64_sys_setsockopt+0xbd/0x180 [ 11.744746][ T246] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.744748][ T246] ? lockdep_hardirqs_on+0x91/0x130 [ 11.744751][ T246] ? do_syscall_64+0xa6/0x530 [ 11.744753][ T246] do_syscall_64+0xff/0x530 [ 11.744755][ T246] ? exc_page_fault+0xee/0x100 [ 11.744758][ T246] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.744760][ T246] RIP: 0033:0x7fc1e8f052de [ 11.744764][ T246] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 11.744766][ T246] RSP: 002b:00007fff90d6bf38 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 11.744769][ T246] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fc1e8f052de [ 11.744770][ T246] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 11.744771][ T246] RBP: 00007fff90d6c070 R08: 0000000000000010 R09: 000055c775221530 [ 11.744772][ T246] R10: 00007fff90d6bfb0 R11: 0000000000000246 R12: 0000000000000001 [ 11.744773][ T246] R13: 000055c775221918 R14: 000055c775221690 R15: 0000000000000000 [ 11.744780][ T246] [ 12.754686][ T253] veth-s2: entered promiscuous mode [ 12.754704][ T253] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.754706][ T253] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 253, name: tcpdump [ 12.754708][ T253] preempt_count: 1, expected: 0 [ 12.754709][ T253] RCU nest depth: 0, expected: 0 [ 12.754710][ T253] locks held by tcpdump/253: 5, last CPU#0: [ 12.754712][ T253] #0: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 12.754724][ T253] #1: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.754730][ T253] #2: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.754734][ T253] #3: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.754738][ T253] #4: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.754742][ T253] irq event stamp: 38508 [ 12.754743][ T253] hardirqs last enabled at (38507): [] __down_trylock_console_sem+0x86/0xa0 [ 12.754746][ T253] hardirqs last disabled at (38508): [] console_emit_next_record+0x3d4/0x4c0 [ 12.754748][ T253] softirqs last enabled at (38488): [] packet_do_bind+0x4b2/0xc80 [ 12.754750][ T253] softirqs last disabled at (38486): [] release_sock+0x21/0x240 [ 12.754754][ T253] Preemption disabled at: [ 12.754755][ T253] [] vprintk_emit+0x31b/0x3e0 [ 12.754760][ T253] CPU: 0 UID: 0 PID: 253 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.754763][ T253] Tainted: [W]=WARN [ 12.754764][ T253] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.754766][ T253] Call Trace: [ 12.754767][ T253] [ 12.754769][ T253] dump_stack_lvl+0x6f/0xa0 [ 12.754775][ T253] ? vprintk_emit+0x31b/0x3e0 [ 12.754777][ T253] __might_resched.cold+0x1fe/0x2c1 [ 12.754781][ T253] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.754785][ T253] ? __kmalloc_noprof+0xdb/0x760 [ 12.754790][ T253] __kmalloc_noprof+0x443/0x760 [ 12.754792][ T253] ? alloc_buf.isra.0+0x4b/0x260 [ 12.754798][ T253] ? do_raw_spin_unlock+0x59/0x250 [ 12.754801][ T253] alloc_buf.isra.0+0x4b/0x260 [ 12.754805][ T253] put_chars+0x1e1/0x2f0 [ 12.754806][ T253] ? prb_final_commit+0x50/0x50 [ 12.754809][ T253] ? __send_to_port+0x420/0x420 [ 12.754812][ T253] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.754815][ T253] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.754818][ T253] ? validate_chain+0x38b/0xc20 [ 12.754822][ T253] hvc_console_print+0x292/0x780 [ 12.754826][ T253] ? mark_usage+0x61/0x170 [ 12.754828][ T253] ? __lock_acquire+0x518/0xc20 [ 12.754830][ T253] ? __lock_acquire+0x518/0xc20 [ 12.754834][ T253] ? hvc_write+0x3a0/0x3a0 [ 12.754837][ T253] ? console_emit_next_record+0x1df/0x4c0 [ 12.754840][ T253] ? rcu_is_watching+0x16/0xd0 [ 12.754842][ T253] ? lock_acquire+0x13c/0x160 [ 12.754846][ T253] console_emit_next_record+0x22f/0x4c0 [ 12.754850][ T253] ? devkmsg_read+0x4b0/0x4b0 [ 12.754852][ T253] ? console_flush_one_record+0x106/0x710 [ 12.754855][ T253] ? rcu_is_watching+0x16/0xd0 [ 12.754857][ T253] ? lock_acquire+0x13c/0x160 [ 12.754861][ T253] console_flush_one_record+0x46f/0x710 [ 12.754866][ T253] ? console_emit_next_record+0x4c0/0x4c0 [ 12.754868][ T253] ? __lock_acquire+0x518/0xc20 [ 12.754873][ T253] console_unlock+0xee/0x1f0 [ 12.754876][ T253] ? console_flush_one_record+0x710/0x710 [ 12.754878][ T253] ? rcu_is_watching+0x16/0xd0 [ 12.754880][ T253] ? lock_acquire+0xe0/0x160 [ 12.754883][ T253] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.754885][ T253] ? vprintk_emit+0x320/0x3e0 [ 12.754888][ T253] vprintk_emit+0x37c/0x3e0 [ 12.754891][ T253] ? wake_up_klogd_work_func+0x90/0x90 [ 12.754893][ T253] ? kasan_save_stack+0x3d/0x50 [ 12.754896][ T253] ? kasan_save_track+0x14/0x30 [ 12.754897][ T253] ? __kasan_kmalloc+0x7b/0x90 [ 12.754898][ T253] ? __kmalloc_cache_noprof+0x29a/0x620 [ 12.754899][ T253] ? packet_mc_add+0x13b/0x890 [ 12.754901][ T253] ? packet_setsockopt+0x1953/0x21e0 [ 12.754902][ T253] ? do_sock_setsockopt+0x164/0x3b0 [ 12.754907][ T253] _printk+0xc7/0x100 [ 12.754910][ T253] ? snapshot_read.cold+0x21/0x21 [ 12.754915][ T253] ? netdev_name+0x43/0x60 [ 12.754919][ T253] ? __netdev_printk+0x17f/0x1d0 [ 12.754923][ T253] netdev_info+0xe2/0x116 [ 12.754926][ T253] ? netdev_notice+0x120/0x120 [ 12.754933][ T253] ? mutex_is_locked+0x1c/0x50 [ 12.754936][ T253] __dev_set_promiscuity.cold+0x7a/0x104 [ 12.754940][ T253] netif_set_promiscuity+0x4c/0xc0 [ 12.754944][ T253] dev_set_promiscuity+0xa1/0x230 [ 12.754946][ T253] ? __asan_memset+0x27/0x50 [ 12.754950][ T253] packet_mc_add+0x54e/0x890 [ 12.754952][ T253] ? __might_fault+0x97/0x140 [ 12.754955][ T253] ? __might_fault+0x97/0x140 [ 12.754957][ T253] ? _copy_from_user+0x42/0x90 [ 12.754962][ T253] packet_setsockopt+0x1953/0x21e0 [ 12.754965][ T253] ? packet_bind+0x170/0x170 [ 12.754969][ T253] ? do_sock_getsockopt+0x7bb/0xb50 [ 12.754974][ T253] ? sock_poll+0x6b0/0x6b0 [ 12.754978][ T253] ? rcu_is_watching+0x16/0xd0 [ 12.754980][ T253] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.754985][ T253] do_sock_setsockopt+0x164/0x3b0 [ 12.754988][ T253] ? put_user_ifreq+0x90/0x90 [ 12.754990][ T253] ? __sys_bind+0x19f/0x260 [ 12.754993][ T253] ? __sys_bind_socket+0xa0/0xa0 [ 12.754999][ T253] __sys_setsockopt+0xe4/0x150 [ 12.755004][ T253] __x64_sys_setsockopt+0xbd/0x180 [ 12.755006][ T253] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.755013][ T253] ? lockdep_hardirqs_on+0x91/0x130 [ 12.755016][ T253] ? do_syscall_64+0xa6/0x530 [ 12.755019][ T253] do_syscall_64+0xff/0x530 [ 12.755021][ T253] ? exc_page_fault+0xee/0x100 [ 12.755023][ T253] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.755025][ T253] RIP: 0033:0x7f1f8b6ca2de [ 12.755030][ T253] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 12.755031][ T253] RSP: 002b:00007fff5479b688 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 12.755034][ T253] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f1f8b6ca2de [ 12.755035][ T253] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 12.755039][ T253] RBP: 00007fff5479b7c0 R08: 0000000000000010 R09: 000055a65376b530 [ 12.755040][ T253] R10: 00007fff5479b700 R11: 0000000000000246 R12: 0000000000000001 [ 12.755040][ T253] R13: 000055a65376b918 R14: 000055a65376b690 R15: 0000000000000000 [ 12.755047][ T253] [ 17.766992][ T246] veth-s1: left promiscuous mode [ 17.767066][ T246] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.767069][ T246] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 246, name: tcpdump [ 17.767070][ T246] preempt_count: 1, expected: 0 [ 17.767071][ T246] RCU nest depth: 0, expected: 0 [ 17.767072][ T246] locks held by tcpdump/246: 6, last CPU#1: [ 17.767074][ T246] #0: ff1100000e9908c0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 17.767086][ T246] #1: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 17.767091][ T246] #2: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.767096][ T246] #3: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.767101][ T246] #4: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.767104][ T246] #5: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.767108][ T246] irq event stamp: 473260 [ 17.767109][ T246] hardirqs last enabled at (473259): [] __down_trylock_console_sem+0x86/0xa0 [ 17.767112][ T246] hardirqs last disabled at (473260): [] console_emit_next_record+0x3d4/0x4c0 [ 17.767114][ T246] softirqs last enabled at (473070): [] packet_setsockopt+0xcdf/0x21e0 [ 17.767116][ T246] softirqs last disabled at (473068): [] release_sock+0x21/0x240 [ 17.767120][ T246] Preemption disabled at: [ 17.767120][ T246] [] vprintk_emit+0x31b/0x3e0 [ 17.767125][ T246] CPU: 1 UID: 72 PID: 246 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.767129][ T246] Tainted: [W]=WARN [ 17.767130][ T246] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.767131][ T246] Call Trace: [ 17.767132][ T246] [ 17.767134][ T246] dump_stack_lvl+0x6f/0xa0 [ 17.767140][ T246] ? vprintk_emit+0x31b/0x3e0 [ 17.767142][ T246] __might_resched.cold+0x1fe/0x2c1 [ 17.767146][ T246] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.767150][ T246] ? __kmalloc_noprof+0xdb/0x760 [ 17.767155][ T246] __kmalloc_noprof+0x443/0x760 [ 17.767157][ T246] ? alloc_buf.isra.0+0x4b/0x260 [ 17.767163][ T246] ? do_raw_spin_unlock+0x59/0x250 [ 17.767166][ T246] alloc_buf.isra.0+0x4b/0x260 [ 17.767169][ T246] put_chars+0x1e1/0x2f0 [ 17.767172][ T246] ? __send_to_port+0x420/0x420 [ 17.767173][ T246] ? check_prev_add+0xef/0xe90 [ 17.767178][ T246] ? validate_chain+0x34a/0xc20 [ 17.767182][ T246] hvc_console_print+0x292/0x780 [ 17.767185][ T246] ? mark_usage+0x61/0x170 [ 17.767188][ T246] ? __lock_acquire+0x518/0xc20 [ 17.767189][ T246] ? __lock_acquire+0x518/0xc20 [ 17.767194][ T246] ? hvc_write+0x3a0/0x3a0 [ 17.767195][ T246] ? lock_acquire.part.0+0xd4/0x280 [ 17.767200][ T246] ? lock_acquire+0x13c/0x160 [ 17.767204][ T246] console_emit_next_record+0x22f/0x4c0 [ 17.767208][ T246] ? devkmsg_read+0x4b0/0x4b0 [ 17.767210][ T246] ? console_flush_one_record+0x106/0x710 [ 17.767213][ T246] ? rcu_is_watching+0x16/0xd0 [ 17.767216][ T246] ? lock_acquire+0x13c/0x160 [ 17.767220][ T246] console_flush_one_record+0x46f/0x710 [ 17.767224][ T246] ? console_emit_next_record+0x4c0/0x4c0 [ 17.767226][ T246] ? __lock_acquire+0x518/0xc20 [ 17.767231][ T246] console_unlock+0xee/0x1f0 [ 17.767234][ T246] ? console_flush_one_record+0x710/0x710 [ 17.767236][ T246] ? rcu_is_watching+0x16/0xd0 [ 17.767238][ T246] ? lock_acquire+0xe0/0x160 [ 17.767241][ T246] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.767243][ T246] ? vprintk_emit+0x320/0x3e0 [ 17.767246][ T246] vprintk_emit+0x37c/0x3e0 [ 17.767249][ T246] ? wake_up_klogd_work_func+0x90/0x90 [ 17.767252][ T246] ? __lock_acquire+0x518/0xc20 [ 17.767256][ T246] _printk+0xc7/0x100 [ 17.767259][ T246] ? snapshot_read.cold+0x21/0x21 [ 17.767261][ T246] ? lock_acquire.part.0+0xd4/0x280 [ 17.767264][ T246] ? rcu_is_watching+0x16/0xd0 [ 17.767266][ T246] ? netdev_name+0x43/0x60 [ 17.767270][ T246] ? __netdev_printk+0x17f/0x1d0 [ 17.767274][ T246] netdev_info+0xe2/0x116 [ 17.767276][ T246] ? netdev_notice+0x120/0x120 [ 17.767278][ T246] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 17.767281][ T246] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 17.767285][ T246] ? ww_mutex_lock+0x160/0x160 [ 17.767287][ T246] ? lock_acquire.part.0+0xd4/0x280 [ 17.767289][ T246] ? ref_tracker_alloc+0x430/0x430 [ 17.767292][ T246] ? packet_release+0x363/0xc40 [ 17.767294][ T246] ? __fput+0x36c/0xad0 [ 17.767298][ T246] ? mutex_is_locked+0x1c/0x50 [ 17.767301][ T246] __dev_set_promiscuity.cold+0x7a/0x104 [ 17.767304][ T246] netif_set_promiscuity+0x4c/0xc0 [ 17.767309][ T246] dev_set_promiscuity+0xa1/0x230 [ 17.767312][ T246] packet_release+0x4cb/0xc40 [ 17.767317][ T246] ? packet_set_ring+0x1740/0x1740 [ 17.767320][ T246] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 17.767324][ T246] __sock_release+0xb8/0x280 [ 17.767328][ T246] sock_close+0x18/0x20 [ 17.767330][ T246] __fput+0x36c/0xad0 [ 17.767335][ T246] fput_close_sync+0xde/0x1b0 [ 17.767337][ T246] ? alloc_file_clone+0xe0/0xe0 [ 17.767340][ T246] ? do_raw_spin_unlock+0x59/0x250 [ 17.767344][ T246] __x64_sys_close+0x8b/0xf0 [ 17.767346][ T246] do_syscall_64+0xff/0x530 [ 17.767349][ T246] ? irq_exit_rcu+0x1a/0x30 [ 17.767353][ T246] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.767355][ T246] RIP: 0033:0x7fc1e8e7c54e [ 17.767359][ T246] 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 [ 17.767361][ T246] RSP: 002b:00007fff90d6c0a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 17.767363][ T246] RAX: ffffffffffffffda RBX: 000055c775221690 RCX: 00007fc1e8e7c54e [ 17.767365][ T246] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 17.767365][ T246] RBP: 00007fff90d6c0b0 R08: 0000000000000000 R09: 0000000000000000 [ 17.767366][ T246] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 17.767367][ T246] R13: 00000000fffffffe R14: 000055c76bdf2760 R15: 0000000000000001 [ 17.767374][ T246] [ 18.891181][ T253] veth-s2: left promiscuous mode [ 18.891204][ T253] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.891208][ T253] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 253, name: tcpdump [ 18.891210][ T253] preempt_count: 1, expected: 0 [ 18.891211][ T253] RCU nest depth: 0, expected: 0 [ 18.891213][ T253] locks held by tcpdump/253: 6, last CPU#1: [ 18.891215][ T253] #0: ff1100000e997940 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 18.891232][ T253] #1: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 18.891240][ T253] #2: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.891248][ T253] #3: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.891255][ T253] #4: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.891261][ T253] #5: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.891268][ T253] irq event stamp: 51768 [ 18.891269][ T253] hardirqs last enabled at (51767): [] __down_trylock_console_sem+0x86/0xa0 [ 18.891273][ T253] hardirqs last disabled at (51768): [] console_emit_next_record+0x3d4/0x4c0 [ 18.891276][ T253] softirqs last enabled at (51668): [] handle_softirqs+0x67c/0x900 [ 18.891281][ T253] softirqs last disabled at (51659): [] __irq_exit_rcu+0x145/0x1c0 [ 18.891284][ T253] Preemption disabled at: [ 18.891285][ T253] [] vprintk_emit+0x31b/0x3e0 [ 18.891292][ T253] CPU: 1 UID: 72 PID: 253 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.891296][ T253] Tainted: [W]=WARN [ 18.891298][ T253] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.891300][ T253] Call Trace: [ 18.891302][ T253] [ 18.891305][ T253] dump_stack_lvl+0x6f/0xa0 [ 18.891314][ T253] ? vprintk_emit+0x31b/0x3e0 [ 18.891317][ T253] __might_resched.cold+0x1fe/0x2c1 [ 18.891323][ T253] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.891330][ T253] ? __kmalloc_noprof+0xdb/0x760 [ 18.891337][ T253] __kmalloc_noprof+0x443/0x760 [ 18.891341][ T253] ? alloc_buf.isra.0+0x4b/0x260 [ 18.891351][ T253] ? do_raw_spin_unlock+0x59/0x250 [ 18.891355][ T253] alloc_buf.isra.0+0x4b/0x260 [ 18.891361][ T253] put_chars+0x1e1/0x2f0 [ 18.891365][ T253] ? __send_to_port+0x420/0x420 [ 18.891370][ T253] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.891375][ T253] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.891379][ T253] ? validate_chain+0x38b/0xc20 [ 18.891387][ T253] hvc_console_print+0x292/0x780 [ 18.891393][ T253] ? mark_usage+0x61/0x170 [ 18.891396][ T253] ? __lock_acquire+0x518/0xc20 [ 18.891399][ T253] ? __lock_acquire+0x518/0xc20 [ 18.891407][ T253] ? hvc_write+0x3a0/0x3a0 [ 18.891410][ T253] ? lock_acquire.part.0+0xd4/0x280 [ 18.891418][ T253] ? lock_acquire+0x13c/0x160 [ 18.891426][ T253] console_emit_next_record+0x22f/0x4c0 [ 18.891434][ T253] ? devkmsg_read+0x4b0/0x4b0 [ 18.891437][ T253] ? console_flush_one_record+0x106/0x710 [ 18.891443][ T253] ? rcu_is_watching+0x16/0xd0 [ 18.891447][ T253] ? lock_acquire+0x13c/0x160 [ 18.891455][ T253] console_flush_one_record+0x46f/0x710 [ 18.891463][ T253] ? console_emit_next_record+0x4c0/0x4c0 [ 18.891466][ T253] ? __lock_acquire+0x518/0xc20 [ 18.891476][ T253] console_unlock+0xee/0x1f0 [ 18.891481][ T253] ? console_flush_one_record+0x710/0x710 [ 18.891484][ T253] ? rcu_is_watching+0x16/0xd0 [ 18.891487][ T253] ? lock_acquire+0xe0/0x160 [ 18.891494][ T253] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.891497][ T253] ? vprintk_emit+0x320/0x3e0 [ 18.891502][ T253] vprintk_emit+0x37c/0x3e0 [ 18.891508][ T253] ? wake_up_klogd_work_func+0x90/0x90 [ 18.891514][ T253] ? __lock_acquire+0x518/0xc20 [ 18.891520][ T253] _printk+0xc7/0x100 [ 18.891526][ T253] ? snapshot_read.cold+0x21/0x21 [ 18.891529][ T253] ? lock_acquire.part.0+0xd4/0x280 [ 18.891536][ T253] ? rcu_is_watching+0x16/0xd0 [ 18.891539][ T253] ? netdev_name+0x43/0x60 [ 18.891544][ T253] ? __netdev_printk+0x17f/0x1d0 [ 18.891552][ T253] netdev_info+0xe2/0x116 [ 18.891556][ T253] ? netdev_notice+0x120/0x120 [ 18.891559][ T253] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 18.891563][ T253] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 18.891569][ T253] ? ww_mutex_lock+0x160/0x160 [ 18.891572][ T253] ? lock_acquire.part.0+0xd4/0x280 [ 18.891576][ T253] ? ref_tracker_alloc+0x430/0x430 [ 18.891581][ T253] ? packet_release+0x363/0xc40 [ 18.891587][ T253] ? __fput+0x36c/0xad0 [ 18.891592][ T253] ? mutex_is_locked+0x1c/0x50 [ 18.891597][ T253] __dev_set_promiscuity.cold+0x7a/0x104 [ 18.891603][ T253] netif_set_promiscuity+0x4c/0xc0 [ 18.891611][ T253] dev_set_promiscuity+0xa1/0x230 [ 18.891616][ T253] packet_release+0x4cb/0xc40 [ 18.891625][ T253] ? packet_set_ring+0x1740/0x1740 [ 18.891631][ T253] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 18.891642][ T253] __sock_release+0xb8/0x280 [ 18.891651][ T253] sock_close+0x18/0x20 [ 18.891654][ T253] __fput+0x36c/0xad0 [ 18.891663][ T253] fput_close_sync+0xde/0x1b0 [ 18.891667][ T253] ? alloc_file_clone+0xe0/0xe0 [ 18.891672][ T253] ? do_raw_spin_unlock+0x59/0x250 [ 18.891679][ T253] __x64_sys_close+0x8b/0xf0 [ 18.891683][ T253] do_syscall_64+0xff/0x530 [ 18.891687][ T253] ? exc_page_fault+0xee/0x100 [ 18.891692][ T253] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.891695][ T253] RIP: 0033:0x7f1f8b64154e [ 18.891701][ T253] 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 [ 18.891703][ T253] RSP: 002b:00007fff5479b7f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 18.891708][ T253] RAX: ffffffffffffffda RBX: 000055a65376b690 RCX: 00007f1f8b64154e [ 18.891710][ T253] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 18.891711][ T253] RBP: 00007fff5479b800 R08: 0000000000000000 R09: 0000000000000000 [ 18.891713][ T253] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 18.891715][ T253] R13: 00000000fffffffe R14: 000055a642b6a760 R15: 0000000000000001 [ 18.891729][ T253] [ 25.100244][ T274] ip (274) used greatest stack depth: 24032 bytes left [ 25.100263][ T274] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.100265][ T274] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 274, name: ip [ 25.100267][ T274] preempt_count: 2, expected: 0 [ 25.100269][ T274] RCU nest depth: 0, expected: 0 [ 25.100270][ T274] locks held by ip/274: 5, last CPU#2: [ 25.100272][ T274] #0: ffffffff8aa167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 25.100287][ T274] #1: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.100293][ T274] #2: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.100299][ T274] #3: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.100305][ T274] #4: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 25.100310][ T274] irq event stamp: 30152 [ 25.100311][ T274] hardirqs last enabled at (30151): [] __down_trylock_console_sem+0x86/0xa0 [ 25.100315][ T274] hardirqs last disabled at (30152): [] console_emit_next_record+0x3d4/0x4c0 [ 25.100318][ T274] softirqs last enabled at (29982): [] handle_softirqs+0x67c/0x900 [ 25.100321][ T274] softirqs last disabled at (29977): [] __irq_exit_rcu+0x145/0x1c0 [ 25.100324][ T274] Preemption disabled at: [ 25.100325][ T274] [<0000000000000000>] 0x0 [ 25.100333][ T274] CPU: 2 UID: 0 PID: 274 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.100338][ T274] Tainted: [W]=WARN [ 25.100339][ T274] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.100341][ T274] Call Trace: [ 25.100343][ T274] [ 25.100346][ T274] dump_stack_lvl+0x6f/0xa0 [ 25.100354][ T274] __might_resched.cold+0x1fe/0x2c1 [ 25.100360][ T274] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.100366][ T274] ? __kmalloc_noprof+0xdb/0x760 [ 25.100372][ T274] __kmalloc_noprof+0x443/0x760 [ 25.100375][ T274] ? alloc_buf.isra.0+0x4b/0x260 [ 25.100385][ T274] ? do_raw_spin_unlock+0x59/0x250 [ 25.100388][ T274] alloc_buf.isra.0+0x4b/0x260 [ 25.100394][ T274] put_chars+0x1e1/0x2f0 [ 25.100398][ T274] ? __send_to_port+0x420/0x420 [ 25.100400][ T274] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.100405][ T274] ? validate_chain+0x38b/0xc20 [ 25.100414][ T274] hvc_console_print+0x292/0x780 [ 25.100426][ T274] ? hvc_write+0x3a0/0x3a0 [ 25.100430][ T274] ? rcu_is_watching+0x16/0xd0 [ 25.100433][ T274] ? lock_acquire+0x13c/0x160 [ 25.100439][ T274] console_emit_next_record+0x22f/0x4c0 [ 25.100446][ T274] ? devkmsg_read+0x4b0/0x4b0 [ 25.100448][ T274] ? console_flush_one_record+0x106/0x710 [ 25.100453][ T274] ? rcu_is_watching+0x16/0xd0 [ 25.100456][ T274] ? lock_acquire+0x13c/0x160 [ 25.100463][ T274] console_flush_one_record+0x46f/0x710 [ 25.100469][ T274] ? console_emit_next_record+0x4c0/0x4c0 [ 25.100472][ T274] ? __lock_acquire+0x518/0xc20 [ 25.100481][ T274] console_unlock+0xee/0x1f0 [ 25.100485][ T274] ? console_flush_one_record+0x710/0x710 [ 25.100487][ T274] ? rcu_is_watching+0x16/0xd0 [ 25.100490][ T274] ? lock_acquire+0xe0/0x160 [ 25.100496][ T274] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.100499][ T274] ? vprintk_emit+0x320/0x3e0 [ 25.100504][ T274] vprintk_emit+0x37c/0x3e0 [ 25.100509][ T274] ? wake_up_klogd_work_func+0x90/0x90 [ 25.100514][ T274] ? __lock_acquire+0x518/0xc20 [ 25.100520][ T274] _printk+0xc7/0x100 [ 25.100525][ T274] ? snapshot_read.cold+0x21/0x21 [ 25.100529][ T274] ? do_raw_spin_lock+0x131/0x280 [ 25.100533][ T274] ? __rwlock_init+0x150/0x150 [ 25.100539][ T274] ? do_raw_spin_lock+0x131/0x280 [ 25.100544][ T274] do_exit.cold+0x82/0x9c [ 25.100549][ T274] ? exit_notify+0x890/0x890 [ 25.100551][ T274] ? __lock_release.isra.0+0x69/0x1a0 [ 25.100555][ T274] ? rcu_is_watching+0x16/0xd0 [ 25.100561][ T274] do_group_exit+0xb8/0x370 [ 25.100566][ T274] __x64_sys_exit_group+0x3c/0x50 [ 25.100569][ T274] x64_sys_call+0x1567/0x1570 [ 25.100572][ T274] do_syscall_64+0xff/0x530 [ 25.100577][ T274] ? exc_page_fault+0xee/0x100 [ 25.100582][ T274] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 25.100585][ T274] RIP: 0033:0x7f021f7c11b8 [ 25.100588][ T274] Code: Unable to access opcode bytes at 0x7f021f7c118e. [ 25.100589][ T274] RSP: 002b:00007ffc82bae658 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 25.100592][ T274] RAX: ffffffffffffffda RBX: 00007f021f8f1f88 RCX: 00007f021f7c11b8 [ 25.100594][ T274] RDX: 00007f021f50bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 25.100596][ T274] RBP: 00007ffc82bae6b0 R08: 0000000000000000 R09: 0000000000000050 [ 25.100597][ T274] R10: 00007ffc82bae470 R11: 0000000000000246 R12: 0000000000000001 [ 25.100598][ T274] R13: 0000000000000000 R14: 00007f021f8f0680 R15: 00007f021f8f1fa0 [ 25.100610][ T274] [ 25.208423][ T278] veth-s2: entered promiscuous mode [ 29.206871][ T278] veth-s2: left promiscuous mode [ 29.206888][ T278] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.206891][ T278] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 278, name: tcpdump [ 29.206892][ T278] preempt_count: 1, expected: 0 [ 29.206893][ T278] RCU nest depth: 0, expected: 0 [ 29.206894][ T278] locks held by tcpdump/278: 6, last CPU#1: [ 29.206896][ T278] #0: ff1100000eaac100 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 29.206908][ T278] #1: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 29.206914][ T278] #2: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.206919][ T278] #3: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.206923][ T278] #4: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.206927][ T278] #5: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 29.206931][ T278] irq event stamp: 637970 [ 29.206932][ T278] hardirqs last enabled at (637969): [] __down_trylock_console_sem+0x86/0xa0 [ 29.206935][ T278] hardirqs last disabled at (637970): [] console_emit_next_record+0x3d4/0x4c0 [ 29.206937][ T278] softirqs last enabled at (637786): [] packet_setsockopt+0xcdf/0x21e0 [ 29.206939][ T278] softirqs last disabled at (637784): [] release_sock+0x21/0x240 [ 29.206942][ T278] Preemption disabled at: [ 29.206943][ T278] [] vprintk_emit+0x31b/0x3e0 [ 29.206948][ T278] CPU: 1 UID: 72 PID: 278 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.206951][ T278] Tainted: [W]=WARN [ 29.206952][ T278] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.206954][ T278] Call Trace: [ 29.206955][ T278] [ 29.206957][ T278] dump_stack_lvl+0x6f/0xa0 [ 29.206963][ T278] ? vprintk_emit+0x31b/0x3e0 [ 29.206964][ T278] __might_resched.cold+0x1fe/0x2c1 [ 29.206969][ T278] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.206973][ T278] ? __kmalloc_noprof+0xdb/0x760 [ 29.206977][ T278] __kmalloc_noprof+0x443/0x760 [ 29.206979][ T278] ? alloc_buf.isra.0+0x4b/0x260 [ 29.206986][ T278] ? do_raw_spin_unlock+0x59/0x250 [ 29.206988][ T278] alloc_buf.isra.0+0x4b/0x260 [ 29.206992][ T278] put_chars+0x1e1/0x2f0 [ 29.206994][ T278] ? __send_to_port+0x420/0x420 [ 29.206997][ T278] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 29.207000][ T278] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.207003][ T278] ? validate_chain+0x38b/0xc20 [ 29.207007][ T278] hvc_console_print+0x292/0x780 [ 29.207011][ T278] ? mark_usage+0x61/0x170 [ 29.207013][ T278] ? __lock_acquire+0x518/0xc20 [ 29.207015][ T278] ? __lock_acquire+0x518/0xc20 [ 29.207019][ T278] ? hvc_write+0x3a0/0x3a0 [ 29.207021][ T278] ? lock_acquire.part.0+0xd4/0x280 [ 29.207025][ T278] ? lock_acquire+0x13c/0x160 [ 29.207029][ T278] console_emit_next_record+0x22f/0x4c0 [ 29.207033][ T278] ? devkmsg_read+0x4b0/0x4b0 [ 29.207039][ T278] ? console_flush_one_record+0x106/0x710 [ 29.207043][ T278] ? rcu_is_watching+0x16/0xd0 [ 29.207052][ T278] ? lock_acquire+0x13c/0x160 [ 29.207056][ T278] console_flush_one_record+0x46f/0x710 [ 29.207060][ T278] ? console_emit_next_record+0x4c0/0x4c0 [ 29.207062][ T278] ? __lock_acquire+0x518/0xc20 [ 29.207067][ T278] console_unlock+0xee/0x1f0 [ 29.207070][ T278] ? console_flush_one_record+0x710/0x710 [ 29.207072][ T278] ? rcu_is_watching+0x16/0xd0 [ 29.207074][ T278] ? lock_acquire+0xe0/0x160 [ 29.207078][ T278] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.207079][ T278] ? vprintk_emit+0x320/0x3e0 [ 29.207082][ T278] vprintk_emit+0x37c/0x3e0 [ 29.207085][ T278] ? wake_up_klogd_work_func+0x90/0x90 [ 29.207089][ T278] ? __lock_acquire+0x518/0xc20 [ 29.207092][ T278] _printk+0xc7/0x100 [ 29.207096][ T278] ? snapshot_read.cold+0x21/0x21 [ 29.207097][ T278] ? lock_acquire.part.0+0xd4/0x280 [ 29.207101][ T278] ? rcu_is_watching+0x16/0xd0 [ 29.207102][ T278] ? netdev_name+0x43/0x60 [ 29.207106][ T278] ? __netdev_printk+0x17f/0x1d0 [ 29.207110][ T278] netdev_info+0xe2/0x116 [ 29.207113][ T278] ? netdev_notice+0x120/0x120 [ 29.207115][ T278] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 29.207117][ T278] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 29.207122][ T278] ? ww_mutex_lock+0x160/0x160 [ 29.207124][ T278] ? lock_acquire.part.0+0xd4/0x280 [ 29.207126][ T278] ? ref_tracker_alloc+0x430/0x430 [ 29.207129][ T278] ? packet_release+0x363/0xc40 [ 29.207131][ T278] ? __fput+0x36c/0xad0 [ 29.207134][ T278] ? mutex_is_locked+0x1c/0x50 [ 29.207137][ T278] __dev_set_promiscuity.cold+0x7a/0x104 [ 29.207140][ T278] netif_set_promiscuity+0x4c/0xc0 [ 29.207145][ T278] dev_set_promiscuity+0xa1/0x230 [ 29.207148][ T278] packet_release+0x4cb/0xc40 [ 29.207152][ T278] ? packet_set_ring+0x1740/0x1740 [ 29.207156][ T278] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 29.207160][ T278] __sock_release+0xb8/0x280 [ 29.207163][ T278] sock_close+0x18/0x20 [ 29.207165][ T278] __fput+0x36c/0xad0 [ 29.207170][ T278] fput_close_sync+0xde/0x1b0 [ 29.207173][ T278] ? alloc_file_clone+0xe0/0xe0 [ 29.207175][ T278] ? do_raw_spin_unlock+0x59/0x250 [ 29.207179][ T278] __x64_sys_close+0x8b/0xf0 [ 29.207182][ T278] do_syscall_64+0xff/0x530 [ 29.207184][ T278] ? irq_exit_rcu+0x1a/0x30 [ 29.207189][ T278] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.207191][ T278] RIP: 0033:0x7f539d8f154e [ 29.207195][ T278] 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.207196][ T278] RSP: 002b:00007ffddc657780 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 29.207199][ T278] RAX: ffffffffffffffda RBX: 0000556dd3f02690 RCX: 00007f539d8f154e [ 29.207200][ T278] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 29.207201][ T278] RBP: 00007ffddc657790 R08: 0000000000000000 R09: 0000000000000000 [ 29.207202][ T278] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 29.207203][ T278] R13: 00000000fffffffe R14: 0000556dc0503760 R15: 0000000000000001 [ 29.207209][ T278] [ 38.203184][ T355] veth-s1: entered promiscuous mode [ 38.203202][ T355] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.203204][ T355] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 355, name: tcpdump [ 38.203206][ T355] preempt_count: 1, expected: 0 [ 38.203207][ T355] RCU nest depth: 0, expected: 0 [ 38.203208][ T355] locks held by tcpdump/355: 5, last CPU#3: [ 38.203210][ T355] #0: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 38.203221][ T355] #1: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.203227][ T355] #2: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.203232][ T355] #3: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.203236][ T355] #4: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.203240][ T355] irq event stamp: 42506 [ 38.203241][ T355] hardirqs last enabled at (42505): [] __down_trylock_console_sem+0x86/0xa0 [ 38.203244][ T355] hardirqs last disabled at (42506): [] console_emit_next_record+0x3d4/0x4c0 [ 38.203246][ T355] softirqs last enabled at (42486): [] packet_do_bind+0x4b2/0xc80 [ 38.203249][ T355] softirqs last disabled at (42484): [] release_sock+0x21/0x240 [ 38.203253][ T355] Preemption disabled at: [ 38.203253][ T355] [] vprintk_emit+0x31b/0x3e0 [ 38.203259][ T355] CPU: 3 UID: 0 PID: 355 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.203262][ T355] Tainted: [W]=WARN [ 38.203263][ T355] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.203265][ T355] Call Trace: [ 38.203266][ T355] [ 38.203268][ T355] dump_stack_lvl+0x6f/0xa0 [ 38.203274][ T355] ? vprintk_emit+0x31b/0x3e0 [ 38.203276][ T355] __might_resched.cold+0x1fe/0x2c1 [ 38.203281][ T355] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.203285][ T355] ? __kmalloc_noprof+0xdb/0x760 [ 38.203289][ T355] __kmalloc_noprof+0x443/0x760 [ 38.203291][ T355] ? alloc_buf.isra.0+0x4b/0x260 [ 38.203298][ T355] ? do_raw_spin_unlock+0x59/0x250 [ 38.203300][ T355] alloc_buf.isra.0+0x4b/0x260 [ 38.203304][ T355] put_chars+0x1e1/0x2f0 [ 38.203306][ T355] ? prb_final_commit+0x50/0x50 [ 38.203308][ T355] ? __send_to_port+0x420/0x420 [ 38.203311][ T355] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.203314][ T355] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.203317][ T355] ? validate_chain+0x38b/0xc20 [ 38.203322][ T355] hvc_console_print+0x292/0x780 [ 38.203326][ T355] ? mark_usage+0x61/0x170 [ 38.203328][ T355] ? __lock_acquire+0x518/0xc20 [ 38.203330][ T355] ? __lock_acquire+0x518/0xc20 [ 38.203334][ T355] ? hvc_write+0x3a0/0x3a0 [ 38.203337][ T355] ? console_emit_next_record+0x1df/0x4c0 [ 38.203340][ T355] ? rcu_is_watching+0x16/0xd0 [ 38.203342][ T355] ? lock_acquire+0x13c/0x160 [ 38.203346][ T355] console_emit_next_record+0x22f/0x4c0 [ 38.203350][ T355] ? devkmsg_read+0x4b0/0x4b0 [ 38.203352][ T355] ? console_flush_one_record+0x106/0x710 [ 38.203355][ T355] ? rcu_is_watching+0x16/0xd0 [ 38.203357][ T355] ? lock_acquire+0x13c/0x160 [ 38.203361][ T355] console_flush_one_record+0x46f/0x710 [ 38.203366][ T355] ? console_emit_next_record+0x4c0/0x4c0 [ 38.203368][ T355] ? __lock_acquire+0x518/0xc20 [ 38.203373][ T355] console_unlock+0xee/0x1f0 [ 38.203376][ T355] ? console_flush_one_record+0x710/0x710 [ 38.203378][ T355] ? rcu_is_watching+0x16/0xd0 [ 38.203380][ T355] ? lock_acquire+0xe0/0x160 [ 38.203383][ T355] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.203385][ T355] ? vprintk_emit+0x320/0x3e0 [ 38.203388][ T355] vprintk_emit+0x37c/0x3e0 [ 38.203391][ T355] ? wake_up_klogd_work_func+0x90/0x90 [ 38.203392][ T355] ? kasan_save_stack+0x3d/0x50 [ 38.203395][ T355] ? kasan_save_track+0x14/0x30 [ 38.203396][ T355] ? __kasan_kmalloc+0x7b/0x90 [ 38.203398][ T355] ? __kmalloc_cache_noprof+0x29a/0x620 [ 38.203399][ T355] ? packet_mc_add+0x13b/0x890 [ 38.203400][ T355] ? packet_setsockopt+0x1953/0x21e0 [ 38.203402][ T355] ? do_sock_setsockopt+0x164/0x3b0 [ 38.203407][ T355] _printk+0xc7/0x100 [ 38.203410][ T355] ? snapshot_read.cold+0x21/0x21 [ 38.203415][ T355] ? netdev_name+0x43/0x60 [ 38.203419][ T355] ? __netdev_printk+0x17f/0x1d0 [ 38.203423][ T355] netdev_info+0xe2/0x116 [ 38.203426][ T355] ? netdev_notice+0x120/0x120 [ 38.203433][ T355] ? mutex_is_locked+0x1c/0x50 [ 38.203435][ T355] __dev_set_promiscuity.cold+0x7a/0x104 [ 38.203439][ T355] netif_set_promiscuity+0x4c/0xc0 [ 38.203444][ T355] dev_set_promiscuity+0xa1/0x230 [ 38.203446][ T355] ? __asan_memset+0x27/0x50 [ 38.203449][ T355] packet_mc_add+0x54e/0x890 [ 38.203452][ T355] ? __might_fault+0x97/0x140 [ 38.203454][ T355] ? __might_fault+0x97/0x140 [ 38.203457][ T355] ? _copy_from_user+0x42/0x90 [ 38.203461][ T355] packet_setsockopt+0x1953/0x21e0 [ 38.203465][ T355] ? packet_bind+0x170/0x170 [ 38.203468][ T355] ? do_sock_getsockopt+0x7bb/0xb50 [ 38.203473][ T355] ? sock_poll+0x6b0/0x6b0 [ 38.203477][ T355] ? rcu_is_watching+0x16/0xd0 [ 38.203479][ T355] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.203484][ T355] do_sock_setsockopt+0x164/0x3b0 [ 38.203487][ T355] ? put_user_ifreq+0x90/0x90 [ 38.203489][ T355] ? __sys_bind+0x19f/0x260 [ 38.203492][ T355] ? __sys_bind_socket+0xa0/0xa0 [ 38.203498][ T355] __sys_setsockopt+0xe4/0x150 [ 38.203503][ T355] __x64_sys_setsockopt+0xbd/0x180 [ 38.203505][ T355] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.203507][ T355] ? lockdep_hardirqs_on+0x91/0x130 [ 38.203510][ T355] ? do_syscall_64+0xa6/0x530 [ 38.203512][ T355] do_syscall_64+0xff/0x530 [ 38.203514][ T355] ? exc_page_fault+0xee/0x100 [ 38.203517][ T355] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 38.203519][ T355] RIP: 0033:0x7f2aa609b2de [ 38.203524][ T355] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 38.203525][ T355] RSP: 002b:00007ffec4c5aeb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 38.203528][ T355] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f2aa609b2de [ 38.203529][ T355] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 38.203530][ T355] RBP: 00007ffec4c5aff0 R08: 0000000000000010 R09: 000055d870022530 [ 38.203531][ T355] R10: 00007ffec4c5af30 R11: 0000000000000246 R12: 0000000000000001 [ 38.203532][ T355] R13: 000055d870022918 R14: 000055d870022690 R15: 0000000000000000 [ 38.203539][ T355] [ 39.228881][ T360] veth-s2: entered promiscuous mode [ 39.228900][ T360] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.228902][ T360] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 360, name: tcpdump [ 39.228904][ T360] preempt_count: 1, expected: 0 [ 39.228904][ T360] RCU nest depth: 0, expected: 0 [ 39.228905][ T360] locks held by tcpdump/360: 5, last CPU#1: [ 39.228907][ T360] #0: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 39.228919][ T360] #1: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.228925][ T360] #2: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.228929][ T360] #3: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.228933][ T360] #4: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 39.228937][ T360] irq event stamp: 31164 [ 39.228938][ T360] hardirqs last enabled at (31163): [] __down_trylock_console_sem+0x86/0xa0 [ 39.228941][ T360] hardirqs last disabled at (31164): [] console_emit_next_record+0x3d4/0x4c0 [ 39.228943][ T360] softirqs last enabled at (31144): [] packet_do_bind+0x4b2/0xc80 [ 39.228945][ T360] softirqs last disabled at (31142): [] release_sock+0x21/0x240 [ 39.228949][ T360] Preemption disabled at: [ 39.228950][ T360] [] vprintk_emit+0x31b/0x3e0 [ 39.228955][ T360] CPU: 1 UID: 0 PID: 360 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.228959][ T360] Tainted: [W]=WARN [ 39.228960][ T360] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.228961][ T360] Call Trace: [ 39.228963][ T360] [ 39.228964][ T360] dump_stack_lvl+0x6f/0xa0 [ 39.228971][ T360] ? vprintk_emit+0x31b/0x3e0 [ 39.228972][ T360] __might_resched.cold+0x1fe/0x2c1 [ 39.228977][ T360] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.228981][ T360] ? __kmalloc_noprof+0xdb/0x760 [ 39.228986][ T360] __kmalloc_noprof+0x443/0x760 [ 39.228987][ T360] ? alloc_buf.isra.0+0x4b/0x260 [ 39.228994][ T360] ? do_raw_spin_unlock+0x59/0x250 [ 39.228997][ T360] alloc_buf.isra.0+0x4b/0x260 [ 39.229000][ T360] put_chars+0x1e1/0x2f0 [ 39.229002][ T360] ? prb_final_commit+0x50/0x50 [ 39.229004][ T360] ? __send_to_port+0x420/0x420 [ 39.229007][ T360] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.229010][ T360] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.229013][ T360] ? validate_chain+0x38b/0xc20 [ 39.229017][ T360] hvc_console_print+0x292/0x780 [ 39.229022][ T360] ? mark_usage+0x61/0x170 [ 39.229023][ T360] ? __lock_acquire+0x518/0xc20 [ 39.229025][ T360] ? __lock_acquire+0x518/0xc20 [ 39.229029][ T360] ? hvc_write+0x3a0/0x3a0 [ 39.229032][ T360] ? console_emit_next_record+0x1df/0x4c0 [ 39.229039][ T360] ? rcu_is_watching+0x16/0xd0 [ 39.229041][ T360] ? lock_acquire+0x13c/0x160 [ 39.229045][ T360] console_emit_next_record+0x22f/0x4c0 [ 39.229049][ T360] ? devkmsg_read+0x4b0/0x4b0 [ 39.229051][ T360] ? console_flush_one_record+0x106/0x710 [ 39.229054][ T360] ? rcu_is_watching+0x16/0xd0 [ 39.229056][ T360] ? lock_acquire+0x13c/0x160 [ 39.229060][ T360] console_flush_one_record+0x46f/0x710 [ 39.229064][ T360] ? console_emit_next_record+0x4c0/0x4c0 [ 39.229071][ T360] ? __lock_acquire+0x518/0xc20 [ 39.229076][ T360] console_unlock+0xee/0x1f0 [ 39.229079][ T360] ? console_flush_one_record+0x710/0x710 [ 39.229081][ T360] ? rcu_is_watching+0x16/0xd0 [ 39.229083][ T360] ? lock_acquire+0xe0/0x160 [ 39.229087][ T360] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.229089][ T360] ? vprintk_emit+0x320/0x3e0 [ 39.229091][ T360] vprintk_emit+0x37c/0x3e0 [ 39.229094][ T360] ? wake_up_klogd_work_func+0x90/0x90 [ 39.229096][ T360] ? kasan_save_stack+0x3d/0x50 [ 39.229099][ T360] ? kasan_save_track+0x14/0x30 [ 39.229100][ T360] ? __kasan_kmalloc+0x7b/0x90 [ 39.229101][ T360] ? __kmalloc_cache_noprof+0x29a/0x620 [ 39.229102][ T360] ? packet_mc_add+0x13b/0x890 [ 39.229104][ T360] ? packet_setsockopt+0x1953/0x21e0 [ 39.229105][ T360] ? do_sock_setsockopt+0x164/0x3b0 [ 39.229110][ T360] _printk+0xc7/0x100 [ 39.229113][ T360] ? snapshot_read.cold+0x21/0x21 [ 39.229118][ T360] ? netdev_name+0x43/0x60 [ 39.229122][ T360] ? __netdev_printk+0x17f/0x1d0 [ 39.229125][ T360] netdev_info+0xe2/0x116 [ 39.229128][ T360] ? netdev_notice+0x120/0x120 [ 39.229135][ T360] ? mutex_is_locked+0x1c/0x50 [ 39.229138][ T360] __dev_set_promiscuity.cold+0x7a/0x104 [ 39.229141][ T360] netif_set_promiscuity+0x4c/0xc0 [ 39.229146][ T360] dev_set_promiscuity+0xa1/0x230 [ 39.229148][ T360] ? __asan_memset+0x27/0x50 [ 39.229152][ T360] packet_mc_add+0x54e/0x890 [ 39.229154][ T360] ? __might_fault+0x97/0x140 [ 39.229157][ T360] ? __might_fault+0x97/0x140 [ 39.229159][ T360] ? _copy_from_user+0x42/0x90 [ 39.229164][ T360] packet_setsockopt+0x1953/0x21e0 [ 39.229167][ T360] ? packet_bind+0x170/0x170 [ 39.229170][ T360] ? do_sock_getsockopt+0x7bb/0xb50 [ 39.229175][ T360] ? sock_poll+0x6b0/0x6b0 [ 39.229179][ T360] ? rcu_is_watching+0x16/0xd0 [ 39.229181][ T360] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.229186][ T360] do_sock_setsockopt+0x164/0x3b0 [ 39.229189][ T360] ? put_user_ifreq+0x90/0x90 [ 39.229191][ T360] ? __sys_bind+0x19f/0x260 [ 39.229194][ T360] ? __sys_bind_socket+0xa0/0xa0 [ 39.229200][ T360] __sys_setsockopt+0xe4/0x150 [ 39.229204][ T360] __x64_sys_setsockopt+0xbd/0x180 [ 39.229206][ T360] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.229208][ T360] ? lockdep_hardirqs_on+0x91/0x130 [ 39.229212][ T360] ? do_syscall_64+0xa6/0x530 [ 39.229214][ T360] do_syscall_64+0xff/0x530 [ 39.229216][ T360] ? exc_page_fault+0xee/0x100 [ 39.229219][ T360] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 39.229221][ T360] RIP: 0033:0x7f6380d5b2de [ 39.229225][ T360] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 39.229227][ T360] RSP: 002b:00007ffc96adc258 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 39.229229][ T360] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f6380d5b2de [ 39.229231][ T360] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 39.229232][ T360] RBP: 00007ffc96adc390 R08: 0000000000000010 R09: 0000562252cd3530 [ 39.229233][ T360] R10: 00007ffc96adc2d0 R11: 0000000000000246 R12: 0000000000000001 [ 39.229233][ T360] R13: 0000562252cd3918 R14: 0000562252cd3690 R15: 0000000000000000 [ 39.229240][ T360] [ 44.232829][ T355] veth-s1: left promiscuous mode [ 44.232849][ T355] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.232851][ T355] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 355, name: tcpdump [ 44.232852][ T355] preempt_count: 1, expected: 0 [ 44.232853][ T355] RCU nest depth: 0, expected: 0 [ 44.232854][ T355] locks held by tcpdump/355: 6, last CPU#0: [ 44.232856][ T355] #0: ff1100000ea94d80 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 44.232868][ T355] #1: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 44.232873][ T355] #2: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.232878][ T355] #3: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.232883][ T355] #4: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.232886][ T355] #5: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 44.232891][ T355] irq event stamp: 58870 [ 44.232891][ T355] hardirqs last enabled at (58869): [] __down_trylock_console_sem+0x86/0xa0 [ 44.232895][ T355] hardirqs last disabled at (58870): [] console_emit_next_record+0x3d4/0x4c0 [ 44.232897][ T355] softirqs last enabled at (58712): [] packet_setsockopt+0xcdf/0x21e0 [ 44.232899][ T355] softirqs last disabled at (58710): [] release_sock+0x21/0x240 [ 44.232902][ T355] Preemption disabled at: [ 44.232902][ T355] [] vprintk_emit+0x31b/0x3e0 [ 44.232907][ T355] CPU: 0 UID: 72 PID: 355 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.232911][ T355] Tainted: [W]=WARN [ 44.232912][ T355] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.232913][ T355] Call Trace: [ 44.232915][ T355] [ 44.232917][ T355] dump_stack_lvl+0x6f/0xa0 [ 44.232923][ T355] ? vprintk_emit+0x31b/0x3e0 [ 44.232925][ T355] __might_resched.cold+0x1fe/0x2c1 [ 44.232929][ T355] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.232934][ T355] ? __kmalloc_noprof+0xdb/0x760 [ 44.232938][ T355] __kmalloc_noprof+0x443/0x760 [ 44.232940][ T355] ? alloc_buf.isra.0+0x4b/0x260 [ 44.232947][ T355] ? do_raw_spin_unlock+0x59/0x250 [ 44.232949][ T355] alloc_buf.isra.0+0x4b/0x260 [ 44.232953][ T355] put_chars+0x1e1/0x2f0 [ 44.232956][ T355] ? __send_to_port+0x420/0x420 [ 44.232959][ T355] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.232962][ T355] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.232965][ T355] ? validate_chain+0x38b/0xc20 [ 44.232969][ T355] hvc_console_print+0x292/0x780 [ 44.232973][ T355] ? mark_usage+0x61/0x170 [ 44.232975][ T355] ? __lock_acquire+0x518/0xc20 [ 44.232976][ T355] ? __lock_acquire+0x518/0xc20 [ 44.232981][ T355] ? hvc_write+0x3a0/0x3a0 [ 44.232983][ T355] ? lock_acquire.part.0+0xd4/0x280 [ 44.232987][ T355] ? lock_acquire+0x13c/0x160 [ 44.232991][ T355] console_emit_next_record+0x22f/0x4c0 [ 44.232995][ T355] ? devkmsg_read+0x4b0/0x4b0 [ 44.232997][ T355] ? console_flush_one_record+0x106/0x710 [ 44.233000][ T355] ? rcu_is_watching+0x16/0xd0 [ 44.233002][ T355] ? lock_acquire+0x13c/0x160 [ 44.233007][ T355] console_flush_one_record+0x46f/0x710 [ 44.233011][ T355] ? console_emit_next_record+0x4c0/0x4c0 [ 44.233013][ T355] ? __lock_acquire+0x518/0xc20 [ 44.233018][ T355] console_unlock+0xee/0x1f0 [ 44.233021][ T355] ? console_flush_one_record+0x710/0x710 [ 44.233023][ T355] ? rcu_is_watching+0x16/0xd0 [ 44.233025][ T355] ? lock_acquire+0xe0/0x160 [ 44.233028][ T355] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.233030][ T355] ? vprintk_emit+0x320/0x3e0 [ 44.233033][ T355] vprintk_emit+0x37c/0x3e0 [ 44.233040][ T355] ? wake_up_klogd_work_func+0x90/0x90 [ 44.233043][ T355] ? __lock_acquire+0x518/0xc20 [ 44.233047][ T355] _printk+0xc7/0x100 [ 44.233051][ T355] ? snapshot_read.cold+0x21/0x21 [ 44.233053][ T355] ? lock_acquire.part.0+0xd4/0x280 [ 44.233057][ T355] ? rcu_is_watching+0x16/0xd0 [ 44.233059][ T355] ? netdev_name+0x43/0x60 [ 44.233062][ T355] ? __netdev_printk+0x17f/0x1d0 [ 44.233067][ T355] netdev_info+0xe2/0x116 [ 44.233069][ T355] ? netdev_notice+0x120/0x120 [ 44.233071][ T355] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 44.233074][ T355] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 44.233086][ T355] ? ww_mutex_lock+0x160/0x160 [ 44.233089][ T355] ? lock_acquire.part.0+0xd4/0x280 [ 44.233093][ T355] ? ref_tracker_alloc+0x430/0x430 [ 44.233097][ T355] ? packet_release+0x363/0xc40 [ 44.233099][ T355] ? __fput+0x36c/0xad0 [ 44.233103][ T355] ? mutex_is_locked+0x1c/0x50 [ 44.233106][ T355] __dev_set_promiscuity.cold+0x7a/0x104 [ 44.233110][ T355] netif_set_promiscuity+0x4c/0xc0 [ 44.233115][ T355] dev_set_promiscuity+0xa1/0x230 [ 44.233119][ T355] packet_release+0x4cb/0xc40 [ 44.233123][ T355] ? packet_set_ring+0x1740/0x1740 [ 44.233126][ T355] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 44.233131][ T355] __sock_release+0xb8/0x280 [ 44.233134][ T355] sock_close+0x18/0x20 [ 44.233136][ T355] __fput+0x36c/0xad0 [ 44.233141][ T355] fput_close_sync+0xde/0x1b0 [ 44.233144][ T355] ? alloc_file_clone+0xe0/0xe0 [ 44.233146][ T355] ? do_raw_spin_unlock+0x59/0x250 [ 44.233150][ T355] __x64_sys_close+0x8b/0xf0 [ 44.233153][ T355] do_syscall_64+0xff/0x530 [ 44.233156][ T355] ? irq_exit_rcu+0x1a/0x30 [ 44.233160][ T355] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 44.233162][ T355] RIP: 0033:0x7f2aa601254e [ 44.233166][ T355] 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 [ 44.233168][ T355] RSP: 002b:00007ffec4c5b020 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 44.233170][ T355] RAX: ffffffffffffffda RBX: 000055d870022690 RCX: 00007f2aa601254e [ 44.233172][ T355] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 44.233172][ T355] RBP: 00007ffec4c5b030 R08: 0000000000000000 R09: 0000000000000000 [ 44.233173][ T355] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 44.233174][ T355] R13: 00000000fffffffe R14: 000055d86be39760 R15: 0000000000000001 [ 44.233181][ T355] [ 45.340027][ T360] veth-s2: left promiscuous mode [ 45.340055][ T360] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.340057][ T360] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 360, name: tcpdump [ 45.340059][ T360] preempt_count: 1, expected: 0 [ 45.340060][ T360] RCU nest depth: 0, expected: 0 [ 45.340061][ T360] locks held by tcpdump/360: 6, last CPU#2: [ 45.340063][ T360] #0: ff1100000ea96cc0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 45.340076][ T360] #1: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 45.340086][ T360] #2: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.340091][ T360] #3: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.340095][ T360] #4: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.340099][ T360] #5: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 45.340104][ T360] irq event stamp: 686840 [ 45.340104][ T360] hardirqs last enabled at (686839): [] irqentry_exit+0x21c/0x790 [ 45.340108][ T360] hardirqs last disabled at (686840): [] console_emit_next_record+0x3d4/0x4c0 [ 45.340110][ T360] softirqs last enabled at (686838): [] handle_softirqs+0x67c/0x900 [ 45.340114][ T360] softirqs last disabled at (686831): [] __irq_exit_rcu+0x145/0x1c0 [ 45.340116][ T360] Preemption disabled at: [ 45.340117][ T360] [] vprintk_emit+0x31b/0x3e0 [ 45.340122][ T360] CPU: 2 UID: 72 PID: 360 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.340125][ T360] Tainted: [W]=WARN [ 45.340126][ T360] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.340128][ T360] Call Trace: [ 45.340129][ T360] [ 45.340131][ T360] dump_stack_lvl+0x6f/0xa0 [ 45.340137][ T360] ? vprintk_emit+0x31b/0x3e0 [ 45.340139][ T360] __might_resched.cold+0x1fe/0x2c1 [ 45.340143][ T360] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.340148][ T360] ? __kmalloc_noprof+0xdb/0x760 [ 45.340152][ T360] __kmalloc_noprof+0x443/0x760 [ 45.340154][ T360] ? alloc_buf.isra.0+0x4b/0x260 [ 45.340161][ T360] ? do_raw_spin_unlock+0x59/0x250 [ 45.340164][ T360] alloc_buf.isra.0+0x4b/0x260 [ 45.340168][ T360] put_chars+0x1e1/0x2f0 [ 45.340171][ T360] ? __send_to_port+0x420/0x420 [ 45.340174][ T360] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.340177][ T360] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.340180][ T360] ? validate_chain+0x38b/0xc20 [ 45.340184][ T360] hvc_console_print+0x292/0x780 [ 45.340188][ T360] ? mark_usage+0x61/0x170 [ 45.340190][ T360] ? __lock_acquire+0x518/0xc20 [ 45.340192][ T360] ? __lock_acquire+0x518/0xc20 [ 45.340197][ T360] ? hvc_write+0x3a0/0x3a0 [ 45.340199][ T360] ? lock_acquire.part.0+0xd4/0x280 [ 45.340203][ T360] ? lock_acquire+0x13c/0x160 [ 45.340207][ T360] console_emit_next_record+0x22f/0x4c0 [ 45.340211][ T360] ? devkmsg_read+0x4b0/0x4b0 [ 45.340219][ T360] console_flush_one_record+0x46f/0x710 [ 45.340223][ T360] ? console_emit_next_record+0x4c0/0x4c0 [ 45.340225][ T360] ? __lock_acquire+0x518/0xc20 [ 45.340231][ T360] console_unlock+0xee/0x1f0 [ 45.340234][ T360] ? console_flush_one_record+0x710/0x710 [ 45.340236][ T360] ? rcu_is_watching+0x16/0xd0 [ 45.340237][ T360] ? lock_acquire+0xe0/0x160 [ 45.340241][ T360] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.340244][ T360] ? vprintk_emit+0x320/0x3e0 [ 45.340247][ T360] vprintk_emit+0x37c/0x3e0 [ 45.340250][ T360] ? wake_up_klogd_work_func+0x90/0x90 [ 45.340253][ T360] ? __lock_acquire+0x518/0xc20 [ 45.340257][ T360] _printk+0xc7/0x100 [ 45.340260][ T360] ? snapshot_read.cold+0x21/0x21 [ 45.340262][ T360] ? lock_acquire.part.0+0xd4/0x280 [ 45.340266][ T360] ? rcu_is_watching+0x16/0xd0 [ 45.340268][ T360] ? netdev_name+0x43/0x60 [ 45.340272][ T360] ? __netdev_printk+0x17f/0x1d0 [ 45.340276][ T360] netdev_info+0xe2/0x116 [ 45.340279][ T360] ? netdev_notice+0x120/0x120 [ 45.340281][ T360] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 45.340283][ T360] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 45.340287][ T360] ? ww_mutex_lock+0x160/0x160 [ 45.340289][ T360] ? lock_acquire.part.0+0xd4/0x280 [ 45.340292][ T360] ? ref_tracker_alloc+0x430/0x430 [ 45.340295][ T360] ? packet_release+0x363/0xc40 [ 45.340297][ T360] ? __fput+0x36c/0xad0 [ 45.340301][ T360] ? mutex_is_locked+0x1c/0x50 [ 45.340303][ T360] __dev_set_promiscuity.cold+0x7a/0x104 [ 45.340307][ T360] netif_set_promiscuity+0x4c/0xc0 [ 45.340312][ T360] dev_set_promiscuity+0xa1/0x230 [ 45.340316][ T360] packet_release+0x4cb/0xc40 [ 45.340320][ T360] ? packet_set_ring+0x1740/0x1740 [ 45.340323][ T360] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 45.340328][ T360] __sock_release+0xb8/0x280 [ 45.340332][ T360] sock_close+0x18/0x20 [ 45.340333][ T360] __fput+0x36c/0xad0 [ 45.340340][ T360] fput_close_sync+0xde/0x1b0 [ 45.340343][ T360] ? alloc_file_clone+0xe0/0xe0 [ 45.340345][ T360] ? do_raw_spin_unlock+0x59/0x250 [ 45.340349][ T360] __x64_sys_close+0x8b/0xf0 [ 45.340352][ T360] do_syscall_64+0xff/0x530 [ 45.340355][ T360] ? irq_exit_rcu+0x1a/0x30 [ 45.340358][ T360] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 45.340360][ T360] RIP: 0033:0x7f6380cd254e [ 45.340364][ T360] 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 [ 45.340366][ T360] RSP: 002b:00007ffc96adc3c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 45.340369][ T360] RAX: ffffffffffffffda RBX: 0000562252cd3690 RCX: 00007f6380cd254e [ 45.340370][ T360] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 45.340371][ T360] RBP: 00007ffc96adc3d0 R08: 0000000000000000 R09: 0000000000000000 [ 45.340372][ T360] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 45.340373][ T360] R13: 00000000fffffffe R14: 00005622496a9760 R15: 0000000000000001 [ 45.340380][ T360] [ 54.061666][ T384] veth-s1: entered promiscuous mode [ 54.061684][ T384] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 54.061686][ T384] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 384, name: tcpdump [ 54.061688][ T384] preempt_count: 1, expected: 0 [ 54.061689][ T384] RCU nest depth: 0, expected: 0 [ 54.061690][ T384] locks held by tcpdump/384: 5, last CPU#3: [ 54.061692][ T384] #0: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 54.061704][ T384] #1: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 54.061710][ T384] #2: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 54.061715][ T384] #3: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 54.061718][ T384] #4: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 54.061723][ T384] irq event stamp: 29070 [ 54.061723][ T384] hardirqs last enabled at (29069): [] __down_trylock_console_sem+0x86/0xa0 [ 54.061727][ T384] hardirqs last disabled at (29070): [] console_emit_next_record+0x3d4/0x4c0 [ 54.061729][ T384] softirqs last enabled at (29050): [] packet_do_bind+0x4b2/0xc80 [ 54.061731][ T384] softirqs last disabled at (29048): [] release_sock+0x21/0x240 [ 54.061735][ T384] Preemption disabled at: [ 54.061736][ T384] [] vprintk_emit+0x31b/0x3e0 [ 54.061741][ T384] CPU: 3 UID: 0 PID: 384 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 54.061744][ T384] Tainted: [W]=WARN [ 54.061745][ T384] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 54.061747][ T384] Call Trace: [ 54.061749][ T384] [ 54.061750][ T384] dump_stack_lvl+0x6f/0xa0 [ 54.061756][ T384] ? vprintk_emit+0x31b/0x3e0 [ 54.061758][ T384] __might_resched.cold+0x1fe/0x2c1 [ 54.061762][ T384] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 54.061767][ T384] ? __kmalloc_noprof+0xdb/0x760 [ 54.061771][ T384] __kmalloc_noprof+0x443/0x760 [ 54.061773][ T384] ? alloc_buf.isra.0+0x4b/0x260 [ 54.061780][ T384] ? do_raw_spin_unlock+0x59/0x250 [ 54.061783][ T384] alloc_buf.isra.0+0x4b/0x260 [ 54.061786][ T384] put_chars+0x1e1/0x2f0 [ 54.061788][ T384] ? prb_final_commit+0x50/0x50 [ 54.061791][ T384] ? __send_to_port+0x420/0x420 [ 54.061794][ T384] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 54.061797][ T384] ? rcu_read_lock_any_held+0x3c/0x90 [ 54.061800][ T384] ? validate_chain+0x38b/0xc20 [ 54.061804][ T384] hvc_console_print+0x292/0x780 [ 54.061808][ T384] ? mark_usage+0x61/0x170 [ 54.061810][ T384] ? __lock_acquire+0x518/0xc20 [ 54.061812][ T384] ? __lock_acquire+0x518/0xc20 [ 54.061816][ T384] ? hvc_write+0x3a0/0x3a0 [ 54.061818][ T384] ? console_emit_next_record+0x1df/0x4c0 [ 54.061822][ T384] ? rcu_is_watching+0x16/0xd0 [ 54.061824][ T384] ? lock_acquire+0x13c/0x160 [ 54.061828][ T384] console_emit_next_record+0x22f/0x4c0 [ 54.061832][ T384] ? devkmsg_read+0x4b0/0x4b0 [ 54.061834][ T384] ? console_flush_one_record+0x106/0x710 [ 54.061837][ T384] ? rcu_is_watching+0x16/0xd0 [ 54.061839][ T384] ? lock_acquire+0x13c/0x160 [ 54.061843][ T384] console_flush_one_record+0x46f/0x710 [ 54.061847][ T384] ? console_emit_next_record+0x4c0/0x4c0 [ 54.061849][ T384] ? __lock_acquire+0x518/0xc20 [ 54.061854][ T384] console_unlock+0xee/0x1f0 [ 54.061857][ T384] ? console_flush_one_record+0x710/0x710 [ 54.061859][ T384] ? rcu_is_watching+0x16/0xd0 [ 54.061861][ T384] ? lock_acquire+0xe0/0x160 [ 54.061865][ T384] ? __down_trylock_console_sem+0x5e/0xa0 [ 54.061867][ T384] ? vprintk_emit+0x320/0x3e0 [ 54.061869][ T384] vprintk_emit+0x37c/0x3e0 [ 54.061872][ T384] ? wake_up_klogd_work_func+0x90/0x90 [ 54.061874][ T384] ? kasan_save_stack+0x3d/0x50 [ 54.061877][ T384] ? kasan_save_track+0x14/0x30 [ 54.061878][ T384] ? __kasan_kmalloc+0x7b/0x90 [ 54.061879][ T384] ? __kmalloc_cache_noprof+0x29a/0x620 [ 54.061881][ T384] ? packet_mc_add+0x13b/0x890 [ 54.061882][ T384] ? packet_setsockopt+0x1953/0x21e0 [ 54.061884][ T384] ? do_sock_setsockopt+0x164/0x3b0 [ 54.061888][ T384] _printk+0xc7/0x100 [ 54.061892][ T384] ? snapshot_read.cold+0x21/0x21 [ 54.061896][ T384] ? netdev_name+0x43/0x60 [ 54.061900][ T384] ? __netdev_printk+0x17f/0x1d0 [ 54.061904][ T384] netdev_info+0xe2/0x116 [ 54.061907][ T384] ? netdev_notice+0x120/0x120 [ 54.061914][ T384] ? mutex_is_locked+0x1c/0x50 [ 54.061917][ T384] __dev_set_promiscuity.cold+0x7a/0x104 [ 54.061920][ T384] netif_set_promiscuity+0x4c/0xc0 [ 54.061925][ T384] dev_set_promiscuity+0xa1/0x230 [ 54.061927][ T384] ? __asan_memset+0x27/0x50 [ 54.061931][ T384] packet_mc_add+0x54e/0x890 [ 54.061933][ T384] ? __might_fault+0x97/0x140 [ 54.061936][ T384] ? __might_fault+0x97/0x140 [ 54.061938][ T384] ? _copy_from_user+0x42/0x90 [ 54.061942][ T384] packet_setsockopt+0x1953/0x21e0 [ 54.061946][ T384] ? packet_bind+0x170/0x170 [ 54.061949][ T384] ? do_sock_getsockopt+0x7bb/0xb50 [ 54.061954][ T384] ? sock_poll+0x6b0/0x6b0 [ 54.061958][ T384] ? rcu_is_watching+0x16/0xd0 [ 54.061960][ T384] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 54.061965][ T384] do_sock_setsockopt+0x164/0x3b0 [ 54.061968][ T384] ? put_user_ifreq+0x90/0x90 [ 54.061970][ T384] ? __sys_bind+0x19f/0x260 [ 54.061973][ T384] ? __sys_bind_socket+0xa0/0xa0 [ 54.061979][ T384] __sys_setsockopt+0xe4/0x150 [ 54.061984][ T384] __x64_sys_setsockopt+0xbd/0x180 [ 54.061986][ T384] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 54.061988][ T384] ? lockdep_hardirqs_on+0x91/0x130 [ 54.061991][ T384] ? do_syscall_64+0xa6/0x530 [ 54.061994][ T384] do_syscall_64+0xff/0x530 [ 54.061995][ T384] ? exc_page_fault+0xee/0x100 [ 54.061998][ T384] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 54.062000][ T384] RIP: 0033:0x7f689b7532de [ 54.062004][ T384] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 54.062006][ T384] RSP: 002b:00007ffe58d90eb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 54.062009][ T384] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f689b7532de [ 54.062010][ T384] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 54.062011][ T384] RBP: 00007ffe58d90ff0 R08: 0000000000000010 R09: 0000564ab96da530 [ 54.062012][ T384] R10: 00007ffe58d90f30 R11: 0000000000000246 R12: 0000000000000001 [ 54.062013][ T384] R13: 0000564ab96da918 R14: 0000564ab96da690 R15: 0000000000000000 [ 54.062020][ T384] [ 58.042499][ T384] veth-s1: left promiscuous mode [ 58.042519][ T384] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 58.042521][ T384] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 384, name: tcpdump [ 58.042522][ T384] preempt_count: 1, expected: 0 [ 58.042523][ T384] RCU nest depth: 0, expected: 0 [ 58.042524][ T384] locks held by tcpdump/384: 6, last CPU#3: [ 58.042526][ T384] #0: ff1100000d775a00 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 58.042539][ T384] #1: ffffffff8b31b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 58.042546][ T384] #2: ffffffff8ab7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 58.042551][ T384] #3: ffffffff8ab7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 58.042555][ T384] #4: ffffffff8aa9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 58.042559][ T384] #5: ffffffff8aa9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 58.042563][ T384] irq event stamp: 645280 [ 58.042564][ T384] hardirqs last enabled at (645279): [] __down_trylock_console_sem+0x86/0xa0 [ 58.042567][ T384] hardirqs last disabled at (645280): [] console_emit_next_record+0x3d4/0x4c0 [ 58.042570][ T384] softirqs last enabled at (645130): [] handle_softirqs+0x67c/0x900 [ 58.042573][ T384] softirqs last disabled at (644493): [] __irq_exit_rcu+0x145/0x1c0 [ 58.042576][ T384] Preemption disabled at: [ 58.042576][ T384] [] vprintk_emit+0x31b/0x3e0 [ 58.042581][ T384] CPU: 3 UID: 72 PID: 384 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 58.042585][ T384] Tainted: [W]=WARN [ 58.042586][ T384] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 58.042588][ T384] Call Trace: [ 58.042589][ T384] [ 58.042591][ T384] dump_stack_lvl+0x6f/0xa0 [ 58.042598][ T384] ? vprintk_emit+0x31b/0x3e0 [ 58.042600][ T384] __might_resched.cold+0x1fe/0x2c1 [ 58.042604][ T384] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 58.042609][ T384] ? __kmalloc_noprof+0xdb/0x760 [ 58.042613][ T384] __kmalloc_noprof+0x443/0x760 [ 58.042615][ T384] ? alloc_buf.isra.0+0x4b/0x260 [ 58.042623][ T384] ? do_raw_spin_unlock+0x59/0x250 [ 58.042626][ T384] alloc_buf.isra.0+0x4b/0x260 [ 58.042630][ T384] put_chars+0x1e1/0x2f0 [ 58.042632][ T384] ? __send_to_port+0x420/0x420 [ 58.042635][ T384] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 58.042638][ T384] ? rcu_read_lock_any_held+0x3c/0x90 [ 58.042642][ T384] ? validate_chain+0x38b/0xc20 [ 58.042648][ T384] hvc_console_print+0x292/0x780 [ 58.042653][ T384] ? mark_usage+0x61/0x170 [ 58.042655][ T384] ? __lock_acquire+0x518/0xc20 [ 58.042657][ T384] ? __lock_acquire+0x518/0xc20 [ 58.042661][ T384] ? hvc_write+0x3a0/0x3a0 [ 58.042663][ T384] ? lock_acquire.part.0+0xd4/0x280 [ 58.042668][ T384] ? lock_acquire+0x13c/0x160 [ 58.042673][ T384] console_emit_next_record+0x22f/0x4c0 [ 58.042677][ T384] ? devkmsg_read+0x4b0/0x4b0 [ 58.042679][ T384] ? console_flush_one_record+0x106/0x710 [ 58.042683][ T384] ? rcu_is_watching+0x16/0xd0 [ 58.042685][ T384] ? lock_acquire+0x13c/0x160 [ 58.042689][ T384] console_flush_one_record+0x46f/0x710 [ 58.042694][ T384] ? console_emit_next_record+0x4c0/0x4c0 [ 58.042696][ T384] ? __lock_acquire+0x518/0xc20 [ 58.042702][ T384] console_unlock+0xee/0x1f0 [ 58.042705][ T384] ? console_flush_one_record+0x710/0x710 [ 58.042707][ T384] ? rcu_is_watching+0x16/0xd0 [ 58.042709][ T384] ? lock_acquire+0xe0/0x160 [ 58.042713][ T384] ? __down_trylock_console_sem+0x5e/0xa0 [ 58.042714][ T384] ? vprintk_emit+0x320/0x3e0 [ 58.042717][ T384] vprintk_emit+0x37c/0x3e0 [ 58.042721][ T384] ? wake_up_klogd_work_func+0x90/0x90 [ 58.042724][ T384] ? __lock_acquire+0x518/0xc20 [ 58.042728][ T384] _printk+0xc7/0x100 [ 58.042731][ T384] ? snapshot_read.cold+0x21/0x21 [ 58.042733][ T384] ? lock_acquire.part.0+0xd4/0x280 [ 58.042737][ T384] ? rcu_is_watching+0x16/0xd0 [ 58.042739][ T384] ? netdev_name+0x43/0x60 [ 58.042743][ T384] ? __netdev_printk+0x17f/0x1d0 [ 58.042746][ T384] netdev_info+0xe2/0x116 [ 58.042749][ T384] ? netdev_notice+0x120/0x120 [ 58.042751][ T384] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 58.042754][ T384] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 58.042759][ T384] ? ww_mutex_lock+0x160/0x160 [ 58.042761][ T384] ? lock_acquire.part.0+0xd4/0x280 [ 58.042763][ T384] ? ref_tracker_alloc+0x430/0x430 [ 58.042766][ T384] ? packet_release+0x363/0xc40 [ 58.042768][ T384] ? __fput+0x36c/0xad0 [ 58.042772][ T384] ? mutex_is_locked+0x1c/0x50 [ 58.042775][ T384] __dev_set_promiscuity.cold+0x7a/0x104 [ 58.042779][ T384] netif_set_promiscuity+0x4c/0xc0 [ 58.042784][ T384] dev_set_promiscuity+0xa1/0x230 [ 58.042787][ T384] packet_release+0x4cb/0xc40 [ 58.042791][ T384] ? packet_set_ring+0x1740/0x1740 [ 58.042795][ T384] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 58.042800][ T384] __sock_release+0xb8/0x280 [ 58.042803][ T384] sock_close+0x18/0x20 [ 58.042805][ T384] __fput+0x36c/0xad0 [ 58.042811][ T384] fput_close_sync+0xde/0x1b0 [ 58.042814][ T384] ? alloc_file_clone+0xe0/0xe0 [ 58.042816][ T384] ? do_raw_spin_unlock+0x59/0x250 [ 58.042820][ T384] __x64_sys_close+0x8b/0xf0 [ 58.042823][ T384] do_syscall_64+0xff/0x530 [ 58.042826][ T384] ? irq_exit_rcu+0x1a/0x30 [ 58.042829][ T384] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 58.042831][ T384] RIP: 0033:0x7f689b6ca54e [ 58.042836][ T384] 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 [ 58.042838][ T384] RSP: 002b:00007ffe58d91020 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 58.042840][ T384] RAX: ffffffffffffffda RBX: 0000564ab96da690 RCX: 00007f689b6ca54e [ 58.042842][ T384] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 58.042843][ T384] RBP: 00007ffe58d91030 R08: 0000000000000000 R09: 0000000000000000 [ 58.042843][ T384] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 58.042844][ T384] R13: 00000000fffffffe R14: 0000564aa4b7e760 R15: 0000000000000001 [ 58.042852][ T384]