[ 9.637942][ T208] ip (208) used greatest stack depth: 24064 bytes left [ 9.637958][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.637959][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: ip [ 9.637961][ T208] preempt_count: 2, expected: 0 [ 9.637962][ T208] RCU nest depth: 0, expected: 0 [ 9.637963][ T208] locks held by ip/208: 5, last CPU#3: [ 9.637965][ T208] #0: ffffffff930167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.637975][ T208] #1: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.637980][ T208] #2: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.637984][ T208] #3: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.637988][ T208] #4: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.637992][ T208] irq event stamp: 22160 [ 9.637992][ T208] hardirqs last enabled at (22159): [] __down_trylock_console_sem+0x86/0xa0 [ 9.637996][ T208] hardirqs last disabled at (22160): [] console_emit_next_record+0x3d4/0x4c0 [ 9.637997][ T208] softirqs last enabled at (21692): [] handle_softirqs+0x67c/0x900 [ 9.638000][ T208] softirqs last disabled at (21687): [] __irq_exit_rcu+0x145/0x1c0 [ 9.638002][ T208] Preemption disabled at: [ 9.638002][ T208] [<0000000000000000>] 0x0 [ 9.638009][ T208] CPU: 3 UID: 0 PID: 208 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.638012][ T208] Tainted: [W]=WARN [ 9.638013][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.638015][ T208] Call Trace: [ 9.638017][ T208] [ 9.638018][ T208] dump_stack_lvl+0x6f/0xa0 [ 9.638024][ T208] __might_resched.cold+0x1fe/0x2c1 [ 9.638029][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.638033][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 9.638038][ T208] __kmalloc_noprof+0x443/0x760 [ 9.638039][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 9.638046][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 9.638049][ T208] alloc_buf.isra.0+0x4b/0x260 [ 9.638053][ T208] put_chars+0x1e1/0x2f0 [ 9.638055][ T208] ? __send_to_port+0x420/0x420 [ 9.638056][ T208] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.638060][ T208] ? validate_chain+0x38b/0xc20 [ 9.638065][ T208] hvc_console_print+0x292/0x780 [ 9.638072][ T208] ? hvc_write+0x3a0/0x3a0 [ 9.638075][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.638077][ T208] ? lock_acquire+0x13c/0x160 [ 9.638080][ T208] console_emit_next_record+0x22f/0x4c0 [ 9.638084][ T208] ? devkmsg_read+0x4b0/0x4b0 [ 9.638086][ T208] ? console_flush_one_record+0x106/0x710 [ 9.638089][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.638091][ T208] ? lock_acquire+0x13c/0x160 [ 9.638095][ T208] console_flush_one_record+0x46f/0x710 [ 9.638099][ T208] ? console_emit_next_record+0x4c0/0x4c0 [ 9.638101][ T208] ? __lock_acquire+0x518/0xc20 [ 9.638106][ T208] console_unlock+0xee/0x1f0 [ 9.638109][ T208] ? console_flush_one_record+0x710/0x710 [ 9.638111][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.638112][ T208] ? lock_acquire+0xe0/0x160 [ 9.638116][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.638118][ T208] ? vprintk_emit+0x320/0x3e0 [ 9.638120][ T208] vprintk_emit+0x37c/0x3e0 [ 9.638123][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 9.638126][ T208] ? __lock_acquire+0x518/0xc20 [ 9.638130][ T208] _printk+0xc7/0x100 [ 9.638134][ T208] ? snapshot_read.cold+0x21/0x21 [ 9.638136][ T208] ? do_raw_spin_lock+0x131/0x280 [ 9.638139][ T208] ? __rwlock_init+0x150/0x150 [ 9.638143][ T208] ? do_raw_spin_lock+0x131/0x280 [ 9.638145][ T208] do_exit.cold+0x82/0x9c [ 9.638149][ T208] ? exit_notify+0x890/0x890 [ 9.638150][ T208] ? __lock_release.isra.0+0x69/0x1a0 [ 9.638153][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.638156][ T208] do_group_exit+0xb8/0x370 [ 9.638159][ T208] __x64_sys_exit_group+0x3c/0x50 [ 9.638161][ T208] x64_sys_call+0x1567/0x1570 [ 9.638163][ T208] do_syscall_64+0xff/0x530 [ 9.638167][ T208] ? exc_page_fault+0xee/0x100 [ 9.638170][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.638172][ T208] RIP: 0033:0x7fa6691621b8 [ 9.638174][ T208] Code: Unable to access opcode bytes at 0x7fa66916218e. [ 9.638175][ T208] RSP: 002b:00007fff466ac108 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.638178][ T208] RAX: ffffffffffffffda RBX: 00007fa669292f88 RCX: 00007fa6691621b8 [ 9.638179][ T208] RDX: 00007fa668eacfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.638180][ T208] RBP: 00007fff466ac160 R08: 0000000000000000 R09: 0000000000000050 [ 9.638180][ T208] R10: 00007fff466abf20 R11: 0000000000000246 R12: 0000000000000001 [ 9.638181][ T208] R13: 0000000000000000 R14: 00007fa669291680 R15: 00007fa669292fa0 [ 9.638188][ T208] [ 10.493233][ T236] ip (236) used greatest stack depth: 23712 bytes left [ 10.811927][ T245] veth-s1: entered promiscuous mode [ 10.811986][ T245] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.811988][ T245] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 245, name: tcpdump [ 10.811989][ T245] preempt_count: 1, expected: 0 [ 10.811990][ T245] RCU nest depth: 0, expected: 0 [ 10.811991][ T245] locks held by tcpdump/245: 5, last CPU#0: [ 10.811993][ T245] #0: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 10.812005][ T245] #1: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.812010][ T245] #2: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.812015][ T245] #3: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.812018][ T245] #4: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.812022][ T245] irq event stamp: 55036 [ 10.812023][ T245] hardirqs last enabled at (55035): [] __down_trylock_console_sem+0x86/0xa0 [ 10.812026][ T245] hardirqs last disabled at (55036): [] console_emit_next_record+0x3d4/0x4c0 [ 10.812028][ T245] softirqs last enabled at (55008): [] packet_do_bind+0x4b2/0xc80 [ 10.812030][ T245] softirqs last disabled at (55006): [] release_sock+0x21/0x240 [ 10.812034][ T245] Preemption disabled at: [ 10.812034][ T245] [] vprintk_emit+0x31b/0x3e0 [ 10.812039][ T245] CPU: 0 UID: 0 PID: 245 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.812042][ T245] Tainted: [W]=WARN [ 10.812043][ T245] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.812045][ T245] Call Trace: [ 10.812046][ T245] [ 10.812048][ T245] dump_stack_lvl+0x6f/0xa0 [ 10.812054][ T245] ? vprintk_emit+0x31b/0x3e0 [ 10.812056][ T245] __might_resched.cold+0x1fe/0x2c1 [ 10.812061][ T245] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.812065][ T245] ? __kmalloc_noprof+0xdb/0x760 [ 10.812069][ T245] __kmalloc_noprof+0x443/0x760 [ 10.812071][ T245] ? alloc_buf.isra.0+0x4b/0x260 [ 10.812078][ T245] ? do_raw_spin_unlock+0x59/0x250 [ 10.812081][ T245] alloc_buf.isra.0+0x4b/0x260 [ 10.812085][ T245] put_chars+0x1e1/0x2f0 [ 10.812087][ T245] ? __send_to_port+0x420/0x420 [ 10.812091][ T245] ? validate_chain+0x34a/0xc20 [ 10.812095][ T245] hvc_console_print+0x292/0x780 [ 10.812099][ T245] ? mark_usage+0x61/0x170 [ 10.812101][ T245] ? __lock_acquire+0x518/0xc20 [ 10.812103][ T245] ? __lock_acquire+0x518/0xc20 [ 10.812107][ T245] ? hvc_write+0x3a0/0x3a0 [ 10.812109][ T245] ? console_emit_next_record+0x1df/0x4c0 [ 10.812112][ T245] ? rcu_is_watching+0x16/0xd0 [ 10.812115][ T245] ? lock_acquire+0x13c/0x160 [ 10.812119][ T245] console_emit_next_record+0x22f/0x4c0 [ 10.812122][ T245] ? devkmsg_read+0x4b0/0x4b0 [ 10.812124][ T245] ? console_flush_one_record+0x106/0x710 [ 10.812127][ T245] ? rcu_is_watching+0x16/0xd0 [ 10.812129][ T245] ? lock_acquire+0x13c/0x160 [ 10.812133][ T245] console_flush_one_record+0x46f/0x710 [ 10.812137][ T245] ? console_emit_next_record+0x4c0/0x4c0 [ 10.812139][ T245] ? __lock_acquire+0x518/0xc20 [ 10.812144][ T245] console_unlock+0xee/0x1f0 [ 10.812147][ T245] ? console_flush_one_record+0x710/0x710 [ 10.812149][ T245] ? rcu_is_watching+0x16/0xd0 [ 10.812150][ T245] ? lock_acquire+0xe0/0x160 [ 10.812154][ T245] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.812156][ T245] ? vprintk_emit+0x320/0x3e0 [ 10.812158][ T245] vprintk_emit+0x37c/0x3e0 [ 10.812161][ T245] ? wake_up_klogd_work_func+0x90/0x90 [ 10.812162][ T245] ? kasan_save_stack+0x3d/0x50 [ 10.812165][ T245] ? kasan_save_track+0x14/0x30 [ 10.812166][ T245] ? __kasan_kmalloc+0x7b/0x90 [ 10.812168][ T245] ? __kmalloc_cache_noprof+0x29a/0x620 [ 10.812169][ T245] ? packet_mc_add+0x13b/0x890 [ 10.812170][ T245] ? packet_setsockopt+0x1953/0x21e0 [ 10.812172][ T245] ? do_sock_setsockopt+0x164/0x3b0 [ 10.812176][ T245] _printk+0xc7/0x100 [ 10.812180][ T245] ? snapshot_read.cold+0x21/0x21 [ 10.812184][ T245] ? netdev_name+0x43/0x60 [ 10.812188][ T245] ? __netdev_printk+0x17f/0x1d0 [ 10.812192][ T245] netdev_info+0xe2/0x116 [ 10.812194][ T245] ? netdev_notice+0x120/0x120 [ 10.812202][ T245] ? mutex_is_locked+0x1c/0x50 [ 10.812204][ T245] __dev_set_promiscuity.cold+0x7a/0x104 [ 10.812207][ T245] netif_set_promiscuity+0x4c/0xc0 [ 10.812212][ T245] dev_set_promiscuity+0xa1/0x230 [ 10.812213][ T245] ? __asan_memset+0x27/0x50 [ 10.812217][ T245] packet_mc_add+0x54e/0x890 [ 10.812219][ T245] ? __might_fault+0x97/0x140 [ 10.812222][ T245] ? __might_fault+0x97/0x140 [ 10.812224][ T245] ? _copy_from_user+0x42/0x90 [ 10.812228][ T245] packet_setsockopt+0x1953/0x21e0 [ 10.812231][ T245] ? packet_bind+0x170/0x170 [ 10.812235][ T245] ? do_sock_getsockopt+0x7bb/0xb50 [ 10.812240][ T245] ? sock_poll+0x6b0/0x6b0 [ 10.812244][ T245] ? rcu_is_watching+0x16/0xd0 [ 10.812245][ T245] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.812251][ T245] do_sock_setsockopt+0x164/0x3b0 [ 10.812253][ T245] ? put_user_ifreq+0x90/0x90 [ 10.812255][ T245] ? __sys_bind+0x19f/0x260 [ 10.812258][ T245] ? __sys_bind_socket+0xa0/0xa0 [ 10.812264][ T245] __sys_setsockopt+0xe4/0x150 [ 10.812269][ T245] __x64_sys_setsockopt+0xbd/0x180 [ 10.812271][ T245] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.812273][ T245] ? lockdep_hardirqs_on+0x91/0x130 [ 10.812276][ T245] ? do_syscall_64+0xa6/0x530 [ 10.812278][ T245] do_syscall_64+0xff/0x530 [ 10.812280][ T245] ? exc_page_fault+0xee/0x100 [ 10.812283][ T245] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.812285][ T245] RIP: 0033:0x7fd2c82602de [ 10.812288][ T245] 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 [ 10.812290][ T245] RSP: 002b:00007ffd31fa7938 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 10.812296][ T245] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fd2c82602de [ 10.812297][ T245] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 10.812298][ T245] RBP: 00007ffd31fa7a70 R08: 0000000000000010 R09: 00005624b33ea530 [ 10.812299][ T245] R10: 00007ffd31fa79b0 R11: 0000000000000246 R12: 0000000000000001 [ 10.812300][ T245] R13: 00005624b33ea918 R14: 00005624b33ea690 R15: 0000000000000000 [ 10.812306][ T245] [ 11.852437][ T250] veth-s2: entered promiscuous mode [ 11.852461][ T250] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.852463][ T250] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 250, name: tcpdump [ 11.852464][ T250] preempt_count: 1, expected: 0 [ 11.852465][ T250] RCU nest depth: 0, expected: 0 [ 11.852466][ T250] locks held by tcpdump/250: 5, last CPU#0: [ 11.852468][ T250] #0: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 11.852480][ T250] #1: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.852485][ T250] #2: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.852489][ T250] #3: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.852493][ T250] #4: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.852497][ T250] irq event stamp: 33336 [ 11.852498][ T250] hardirqs last enabled at (33335): [] irqentry_exit+0x21c/0x790 [ 11.852502][ T250] hardirqs last disabled at (33336): [] console_emit_next_record+0x3d4/0x4c0 [ 11.852504][ T250] softirqs last enabled at (33314): [] packet_do_bind+0x4b2/0xc80 [ 11.852505][ T250] softirqs last disabled at (33312): [] release_sock+0x21/0x240 [ 11.852509][ T250] Preemption disabled at: [ 11.852510][ T250] [] vprintk_emit+0x31b/0x3e0 [ 11.852515][ T250] CPU: 0 UID: 0 PID: 250 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.852518][ T250] Tainted: [W]=WARN [ 11.852519][ T250] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.852521][ T250] Call Trace: [ 11.852522][ T250] [ 11.852524][ T250] dump_stack_lvl+0x6f/0xa0 [ 11.852529][ T250] ? vprintk_emit+0x31b/0x3e0 [ 11.852531][ T250] __might_resched.cold+0x1fe/0x2c1 [ 11.852535][ T250] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.852539][ T250] ? __kmalloc_noprof+0xdb/0x760 [ 11.852544][ T250] __kmalloc_noprof+0x443/0x760 [ 11.852545][ T250] ? alloc_buf.isra.0+0x4b/0x260 [ 11.852552][ T250] ? do_raw_spin_unlock+0x59/0x250 [ 11.852555][ T250] alloc_buf.isra.0+0x4b/0x260 [ 11.852558][ T250] put_chars+0x1e1/0x2f0 [ 11.852560][ T250] ? desc_read+0x219/0x2f0 [ 11.852562][ T250] ? __send_to_port+0x420/0x420 [ 11.852565][ T250] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.852568][ T250] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.852571][ T250] ? validate_chain+0x38b/0xc20 [ 11.852575][ T250] hvc_console_print+0x292/0x780 [ 11.852579][ T250] ? mark_usage+0x61/0x170 [ 11.852581][ T250] ? __lock_acquire+0x518/0xc20 [ 11.852583][ T250] ? __lock_acquire+0x518/0xc20 [ 11.852586][ T250] ? hvc_write+0x3a0/0x3a0 [ 11.852589][ T250] ? console_emit_next_record+0x1df/0x4c0 [ 11.852592][ T250] ? rcu_is_watching+0x16/0xd0 [ 11.852594][ T250] ? lock_acquire+0x13c/0x160 [ 11.852598][ T250] console_emit_next_record+0x22f/0x4c0 [ 11.852605][ T250] ? devkmsg_read+0x4b0/0x4b0 [ 11.852607][ T250] ? console_flush_one_record+0x106/0x710 [ 11.852611][ T250] ? rcu_is_watching+0x16/0xd0 [ 11.852612][ T250] ? lock_acquire+0x13c/0x160 [ 11.852616][ T250] console_flush_one_record+0x46f/0x710 [ 11.852620][ T250] ? console_emit_next_record+0x4c0/0x4c0 [ 11.852622][ T250] ? __lock_acquire+0x518/0xc20 [ 11.852627][ T250] console_unlock+0xee/0x1f0 [ 11.852630][ T250] ? console_flush_one_record+0x710/0x710 [ 11.852632][ T250] ? rcu_is_watching+0x16/0xd0 [ 11.852633][ T250] ? lock_acquire+0xe0/0x160 [ 11.852637][ T250] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.852639][ T250] ? vprintk_emit+0x320/0x3e0 [ 11.852642][ T250] vprintk_emit+0x37c/0x3e0 [ 11.852645][ T250] ? wake_up_klogd_work_func+0x90/0x90 [ 11.852646][ T250] ? kasan_save_stack+0x3d/0x50 [ 11.852648][ T250] ? kasan_save_track+0x14/0x30 [ 11.852650][ T250] ? __kasan_kmalloc+0x7b/0x90 [ 11.852651][ T250] ? __kmalloc_cache_noprof+0x29a/0x620 [ 11.852652][ T250] ? packet_mc_add+0x13b/0x890 [ 11.852653][ T250] ? packet_setsockopt+0x1953/0x21e0 [ 11.852655][ T250] ? do_sock_setsockopt+0x164/0x3b0 [ 11.852659][ T250] _printk+0xc7/0x100 [ 11.852662][ T250] ? snapshot_read.cold+0x21/0x21 [ 11.852667][ T250] ? netdev_name+0x43/0x60 [ 11.852670][ T250] ? __netdev_printk+0x17f/0x1d0 [ 11.852674][ T250] netdev_info+0xe2/0x116 [ 11.852677][ T250] ? netdev_notice+0x120/0x120 [ 11.852684][ T250] ? mutex_is_locked+0x1c/0x50 [ 11.852686][ T250] __dev_set_promiscuity.cold+0x7a/0x104 [ 11.852690][ T250] netif_set_promiscuity+0x4c/0xc0 [ 11.852694][ T250] dev_set_promiscuity+0xa1/0x230 [ 11.852696][ T250] ? __asan_memset+0x27/0x50 [ 11.852700][ T250] packet_mc_add+0x54e/0x890 [ 11.852702][ T250] ? __might_fault+0x97/0x140 [ 11.852705][ T250] ? __might_fault+0x97/0x140 [ 11.852706][ T250] ? _copy_from_user+0x42/0x90 [ 11.852711][ T250] packet_setsockopt+0x1953/0x21e0 [ 11.852714][ T250] ? packet_bind+0x170/0x170 [ 11.852718][ T250] ? do_sock_getsockopt+0x7bb/0xb50 [ 11.852722][ T250] ? sock_poll+0x6b0/0x6b0 [ 11.852726][ T250] ? rcu_is_watching+0x16/0xd0 [ 11.852727][ T250] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.852732][ T250] do_sock_setsockopt+0x164/0x3b0 [ 11.852735][ T250] ? put_user_ifreq+0x90/0x90 [ 11.852737][ T250] ? __sys_bind+0x19f/0x260 [ 11.852740][ T250] ? __sys_bind_socket+0xa0/0xa0 [ 11.852746][ T250] __sys_setsockopt+0xe4/0x150 [ 11.852750][ T250] __x64_sys_setsockopt+0xbd/0x180 [ 11.852752][ T250] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.852754][ T250] ? lockdep_hardirqs_on+0x91/0x130 [ 11.852756][ T250] ? do_syscall_64+0xa6/0x530 [ 11.852758][ T250] do_syscall_64+0xff/0x530 [ 11.852760][ T250] ? exc_page_fault+0xee/0x100 [ 11.852763][ T250] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.852765][ T250] RIP: 0033:0x7fa85a8182de [ 11.852768][ T250] 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.852770][ T250] RSP: 002b:00007fff3739a448 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 11.852773][ T250] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fa85a8182de [ 11.852774][ T250] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 11.852775][ T250] RBP: 00007fff3739a580 R08: 0000000000000010 R09: 0000559de05ed530 [ 11.852776][ T250] R10: 00007fff3739a4c0 R11: 0000000000000246 R12: 0000000000000001 [ 11.852776][ T250] R13: 0000559de05ed918 R14: 0000559de05ed690 R15: 0000000000000000 [ 11.852783][ T250] [ 16.861777][ T245] veth-s1: left promiscuous mode [ 16.861836][ T245] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.861839][ T245] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 245, name: tcpdump [ 16.861841][ T245] preempt_count: 1, expected: 0 [ 16.861842][ T245] RCU nest depth: 0, expected: 0 [ 16.861843][ T245] locks held by tcpdump/245: 6, last CPU#1: [ 16.861844][ T245] #0: ff1100000de99b80 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 16.861857][ T245] #1: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 16.861862][ T245] #2: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.861867][ T245] #3: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.861871][ T245] #4: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.861875][ T245] #5: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.861879][ T245] irq event stamp: 644148 [ 16.861879][ T245] hardirqs last enabled at (644147): [] __down_trylock_console_sem+0x86/0xa0 [ 16.861882][ T245] hardirqs last disabled at (644148): [] console_emit_next_record+0x3d4/0x4c0 [ 16.861884][ T245] softirqs last enabled at (643952): [] packet_setsockopt+0xcdf/0x21e0 [ 16.861886][ T245] softirqs last disabled at (643950): [] release_sock+0x21/0x240 [ 16.861889][ T245] Preemption disabled at: [ 16.861890][ T245] [] vprintk_emit+0x31b/0x3e0 [ 16.861895][ T245] CPU: 1 UID: 72 PID: 245 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.861898][ T245] Tainted: [W]=WARN [ 16.861899][ T245] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.861901][ T245] Call Trace: [ 16.861902][ T245] [ 16.861904][ T245] dump_stack_lvl+0x6f/0xa0 [ 16.861910][ T245] ? vprintk_emit+0x31b/0x3e0 [ 16.861911][ T245] __might_resched.cold+0x1fe/0x2c1 [ 16.861916][ T245] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.861920][ T245] ? __kmalloc_noprof+0xdb/0x760 [ 16.861924][ T245] __kmalloc_noprof+0x443/0x760 [ 16.861926][ T245] ? alloc_buf.isra.0+0x4b/0x260 [ 16.861933][ T245] ? do_raw_spin_unlock+0x59/0x250 [ 16.861936][ T245] alloc_buf.isra.0+0x4b/0x260 [ 16.861940][ T245] put_chars+0x1e1/0x2f0 [ 16.861942][ T245] ? __send_to_port+0x420/0x420 [ 16.861943][ T245] ? check_prev_add+0xef/0xe90 [ 16.861948][ T245] ? validate_chain+0x34a/0xc20 [ 16.861952][ T245] hvc_console_print+0x292/0x780 [ 16.861956][ T245] ? mark_usage+0x61/0x170 [ 16.861958][ T245] ? __lock_acquire+0x518/0xc20 [ 16.861959][ T245] ? __lock_acquire+0x518/0xc20 [ 16.861964][ T245] ? hvc_write+0x3a0/0x3a0 [ 16.861965][ T245] ? lock_acquire.part.0+0xd4/0x280 [ 16.861970][ T245] ? lock_acquire+0x13c/0x160 [ 16.861974][ T245] console_emit_next_record+0x22f/0x4c0 [ 16.861978][ T245] ? devkmsg_read+0x4b0/0x4b0 [ 16.861980][ T245] ? console_flush_one_record+0x106/0x710 [ 16.861983][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.861986][ T245] ? lock_acquire+0x13c/0x160 [ 16.861990][ T245] console_flush_one_record+0x46f/0x710 [ 16.861994][ T245] ? console_emit_next_record+0x4c0/0x4c0 [ 16.861996][ T245] ? __lock_acquire+0x518/0xc20 [ 16.862001][ T245] console_unlock+0xee/0x1f0 [ 16.862004][ T245] ? console_flush_one_record+0x710/0x710 [ 16.862006][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.862007][ T245] ? lock_acquire+0xe0/0x160 [ 16.862011][ T245] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.862013][ T245] ? vprintk_emit+0x320/0x3e0 [ 16.862016][ T245] vprintk_emit+0x37c/0x3e0 [ 16.862019][ T245] ? wake_up_klogd_work_func+0x90/0x90 [ 16.862022][ T245] ? __lock_acquire+0x518/0xc20 [ 16.862025][ T245] _printk+0xc7/0x100 [ 16.862029][ T245] ? snapshot_read.cold+0x21/0x21 [ 16.862030][ T245] ? lock_acquire.part.0+0xd4/0x280 [ 16.862034][ T245] ? rcu_is_watching+0x16/0xd0 [ 16.862035][ T245] ? netdev_name+0x43/0x60 [ 16.862039][ T245] ? __netdev_printk+0x17f/0x1d0 [ 16.862043][ T245] netdev_info+0xe2/0x116 [ 16.862046][ T245] ? netdev_notice+0x120/0x120 [ 16.862047][ T245] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.862049][ T245] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 16.862054][ T245] ? ww_mutex_lock+0x160/0x160 [ 16.862056][ T245] ? lock_acquire.part.0+0xd4/0x280 [ 16.862058][ T245] ? ref_tracker_alloc+0x430/0x430 [ 16.862061][ T245] ? packet_release+0x363/0xc40 [ 16.862063][ T245] ? __fput+0x36c/0xad0 [ 16.862066][ T245] ? mutex_is_locked+0x1c/0x50 [ 16.862069][ T245] __dev_set_promiscuity.cold+0x7a/0x104 [ 16.862073][ T245] netif_set_promiscuity+0x4c/0xc0 [ 16.862077][ T245] dev_set_promiscuity+0xa1/0x230 [ 16.862080][ T245] packet_release+0x4cb/0xc40 [ 16.862085][ T245] ? packet_set_ring+0x1740/0x1740 [ 16.862088][ T245] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 16.862093][ T245] __sock_release+0xb8/0x280 [ 16.862096][ T245] sock_close+0x18/0x20 [ 16.862097][ T245] __fput+0x36c/0xad0 [ 16.862103][ T245] fput_close_sync+0xde/0x1b0 [ 16.862105][ T245] ? alloc_file_clone+0xe0/0xe0 [ 16.862108][ T245] ? do_raw_spin_unlock+0x59/0x250 [ 16.862112][ T245] __x64_sys_close+0x8b/0xf0 [ 16.862114][ T245] do_syscall_64+0xff/0x530 [ 16.862117][ T245] ? irq_exit_rcu+0x1a/0x30 [ 16.862121][ T245] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.862123][ T245] RIP: 0033:0x7fd2c81d754e [ 16.862127][ T245] 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 [ 16.862128][ T245] RSP: 002b:00007ffd31fa7aa0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 16.862131][ T245] RAX: ffffffffffffffda RBX: 00005624b33ea690 RCX: 00007fd2c81d754e [ 16.862132][ T245] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 16.862133][ T245] RBP: 00007ffd31fa7ab0 R08: 0000000000000000 R09: 0000000000000000 [ 16.862134][ T245] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 16.862134][ T245] R13: 00000000fffffffe R14: 00005624922f6760 R15: 0000000000000001 [ 16.862141][ T245] [ 17.975430][ T250] veth-s2: left promiscuous mode [ 17.975452][ T250] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.975454][ T250] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 250, name: tcpdump [ 17.975456][ T250] preempt_count: 1, expected: 0 [ 17.975457][ T250] RCU nest depth: 0, expected: 0 [ 17.975458][ T250] locks held by tcpdump/250: 6, last CPU#2: [ 17.975459][ T250] #0: ff1100000de99540 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 17.975472][ T250] #1: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 17.975477][ T250] #2: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.975483][ T250] #3: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.975487][ T250] #4: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.975490][ T250] #5: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.975494][ T250] irq event stamp: 45514 [ 17.975495][ T250] hardirqs last enabled at (45513): [] __down_trylock_console_sem+0x86/0xa0 [ 17.975498][ T250] hardirqs last disabled at (45514): [] console_emit_next_record+0x3d4/0x4c0 [ 17.975500][ T250] softirqs last enabled at (45360): [] packet_setsockopt+0xcdf/0x21e0 [ 17.975502][ T250] softirqs last disabled at (45358): [] release_sock+0x21/0x240 [ 17.975505][ T250] Preemption disabled at: [ 17.975506][ T250] [] vprintk_emit+0x31b/0x3e0 [ 17.975511][ T250] CPU: 2 UID: 72 PID: 250 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.975514][ T250] Tainted: [W]=WARN [ 17.975515][ T250] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.975516][ T250] Call Trace: [ 17.975518][ T250] [ 17.975520][ T250] dump_stack_lvl+0x6f/0xa0 [ 17.975525][ T250] ? vprintk_emit+0x31b/0x3e0 [ 17.975527][ T250] __might_resched.cold+0x1fe/0x2c1 [ 17.975532][ T250] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.975536][ T250] ? __kmalloc_noprof+0xdb/0x760 [ 17.975540][ T250] __kmalloc_noprof+0x443/0x760 [ 17.975542][ T250] ? alloc_buf.isra.0+0x4b/0x260 [ 17.975549][ T250] ? do_raw_spin_unlock+0x59/0x250 [ 17.975552][ T250] alloc_buf.isra.0+0x4b/0x260 [ 17.975555][ T250] put_chars+0x1e1/0x2f0 [ 17.975558][ T250] ? __send_to_port+0x420/0x420 [ 17.975560][ T250] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.975563][ T250] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.975566][ T250] ? validate_chain+0x38b/0xc20 [ 17.975570][ T250] hvc_console_print+0x292/0x780 [ 17.975574][ T250] ? mark_usage+0x61/0x170 [ 17.975576][ T250] ? __lock_acquire+0x518/0xc20 [ 17.975578][ T250] ? __lock_acquire+0x518/0xc20 [ 17.975582][ T250] ? hvc_write+0x3a0/0x3a0 [ 17.975584][ T250] ? lock_acquire.part.0+0xd4/0x280 [ 17.975588][ T250] ? lock_acquire+0x13c/0x160 [ 17.975592][ T250] console_emit_next_record+0x22f/0x4c0 [ 17.975596][ T250] ? devkmsg_read+0x4b0/0x4b0 [ 17.975598][ T250] ? console_flush_one_record+0x106/0x710 [ 17.975601][ T250] ? rcu_is_watching+0x16/0xd0 [ 17.975603][ T250] ? lock_acquire+0x13c/0x160 [ 17.975607][ T250] console_flush_one_record+0x46f/0x710 [ 17.975611][ T250] ? console_emit_next_record+0x4c0/0x4c0 [ 17.975613][ T250] ? __lock_acquire+0x518/0xc20 [ 17.975619][ T250] console_unlock+0xee/0x1f0 [ 17.975621][ T250] ? console_flush_one_record+0x710/0x710 [ 17.975623][ T250] ? rcu_is_watching+0x16/0xd0 [ 17.975625][ T250] ? lock_acquire+0xe0/0x160 [ 17.975629][ T250] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.975630][ T250] ? vprintk_emit+0x320/0x3e0 [ 17.975637][ T250] vprintk_emit+0x37c/0x3e0 [ 17.975640][ T250] ? wake_up_klogd_work_func+0x90/0x90 [ 17.975644][ T250] ? __lock_acquire+0x518/0xc20 [ 17.975647][ T250] _printk+0xc7/0x100 [ 17.975650][ T250] ? snapshot_read.cold+0x21/0x21 [ 17.975652][ T250] ? lock_acquire.part.0+0xd4/0x280 [ 17.975656][ T250] ? rcu_is_watching+0x16/0xd0 [ 17.975657][ T250] ? netdev_name+0x43/0x60 [ 17.975661][ T250] ? __netdev_printk+0x17f/0x1d0 [ 17.975665][ T250] netdev_info+0xe2/0x116 [ 17.975668][ T250] ? netdev_notice+0x120/0x120 [ 17.975669][ T250] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 17.975672][ T250] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 17.975676][ T250] ? ww_mutex_lock+0x160/0x160 [ 17.975678][ T250] ? lock_acquire.part.0+0xd4/0x280 [ 17.975680][ T250] ? ref_tracker_alloc+0x430/0x430 [ 17.975683][ T250] ? packet_release+0x363/0xc40 [ 17.975685][ T250] ? __fput+0x36c/0xad0 [ 17.975689][ T250] ? mutex_is_locked+0x1c/0x50 [ 17.975691][ T250] __dev_set_promiscuity.cold+0x7a/0x104 [ 17.975695][ T250] netif_set_promiscuity+0x4c/0xc0 [ 17.975700][ T250] dev_set_promiscuity+0xa1/0x230 [ 17.975703][ T250] packet_release+0x4cb/0xc40 [ 17.975707][ T250] ? packet_set_ring+0x1740/0x1740 [ 17.975710][ T250] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 17.975715][ T250] __sock_release+0xb8/0x280 [ 17.975718][ T250] sock_close+0x18/0x20 [ 17.975720][ T250] __fput+0x36c/0xad0 [ 17.975725][ T250] fput_close_sync+0xde/0x1b0 [ 17.975727][ T250] ? alloc_file_clone+0xe0/0xe0 [ 17.975730][ T250] ? do_raw_spin_unlock+0x59/0x250 [ 17.975734][ T250] __x64_sys_close+0x8b/0xf0 [ 17.975736][ T250] do_syscall_64+0xff/0x530 [ 17.975739][ T250] ? exc_page_fault+0xee/0x100 [ 17.975742][ T250] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.975744][ T250] RIP: 0033:0x7fa85a78f54e [ 17.975748][ T250] 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.975750][ T250] RSP: 002b:00007fff3739a5b0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 17.975752][ T250] RAX: ffffffffffffffda RBX: 0000559de05ed690 RCX: 00007fa85a78f54e [ 17.975753][ T250] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 17.975754][ T250] RBP: 00007fff3739a5c0 R08: 0000000000000000 R09: 0000000000000000 [ 17.975755][ T250] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 17.975756][ T250] R13: 00000000fffffffe R14: 0000559da1686760 R15: 0000000000000001 [ 17.975763][ T250] [ 26.068579][ T274] veth-s2: entered promiscuous mode [ 26.068595][ T274] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.068597][ T274] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 274, name: tcpdump [ 26.068598][ T274] preempt_count: 1, expected: 0 [ 26.068599][ T274] RCU nest depth: 0, expected: 0 [ 26.068600][ T274] locks held by tcpdump/274: 5, last CPU#1: [ 26.068602][ T274] #0: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 26.068614][ T274] #1: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.068619][ T274] #2: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.068623][ T274] #3: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.068627][ T274] #4: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 26.068631][ T274] irq event stamp: 37184 [ 26.068632][ T274] hardirqs last enabled at (37183): [] __down_trylock_console_sem+0x86/0xa0 [ 26.068635][ T274] hardirqs last disabled at (37184): [] console_emit_next_record+0x3d4/0x4c0 [ 26.068637][ T274] softirqs last enabled at (37164): [] packet_do_bind+0x4b2/0xc80 [ 26.068639][ T274] softirqs last disabled at (37162): [] release_sock+0x21/0x240 [ 26.068643][ T274] Preemption disabled at: [ 26.068644][ T274] [] vprintk_emit+0x31b/0x3e0 [ 26.068649][ T274] CPU: 1 UID: 0 PID: 274 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.068652][ T274] Tainted: [W]=WARN [ 26.068653][ T274] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.068654][ T274] Call Trace: [ 26.068656][ T274] [ 26.068658][ T274] dump_stack_lvl+0x6f/0xa0 [ 26.068663][ T274] ? vprintk_emit+0x31b/0x3e0 [ 26.068665][ T274] __might_resched.cold+0x1fe/0x2c1 [ 26.068669][ T274] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.068673][ T274] ? __kmalloc_noprof+0xdb/0x760 [ 26.068682][ T274] __kmalloc_noprof+0x443/0x760 [ 26.068684][ T274] ? alloc_buf.isra.0+0x4b/0x260 [ 26.068690][ T274] ? do_raw_spin_unlock+0x59/0x250 [ 26.068693][ T274] alloc_buf.isra.0+0x4b/0x260 [ 26.068696][ T274] put_chars+0x1e1/0x2f0 [ 26.068698][ T274] ? prb_final_commit+0x50/0x50 [ 26.068701][ T274] ? __send_to_port+0x420/0x420 [ 26.068703][ T274] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.068706][ T274] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.068709][ T274] ? validate_chain+0x38b/0xc20 [ 26.068713][ T274] hvc_console_print+0x292/0x780 [ 26.068717][ T274] ? mark_usage+0x61/0x170 [ 26.068719][ T274] ? __lock_acquire+0x518/0xc20 [ 26.068721][ T274] ? __lock_acquire+0x518/0xc20 [ 26.068725][ T274] ? hvc_write+0x3a0/0x3a0 [ 26.068727][ T274] ? console_emit_next_record+0x1df/0x4c0 [ 26.068730][ T274] ? rcu_is_watching+0x16/0xd0 [ 26.068732][ T274] ? lock_acquire+0x13c/0x160 [ 26.068736][ T274] console_emit_next_record+0x22f/0x4c0 [ 26.068740][ T274] ? devkmsg_read+0x4b0/0x4b0 [ 26.068742][ T274] ? console_flush_one_record+0x106/0x710 [ 26.068745][ T274] ? rcu_is_watching+0x16/0xd0 [ 26.068747][ T274] ? lock_acquire+0x13c/0x160 [ 26.068750][ T274] console_flush_one_record+0x46f/0x710 [ 26.068755][ T274] ? console_emit_next_record+0x4c0/0x4c0 [ 26.068756][ T274] ? __lock_acquire+0x518/0xc20 [ 26.068762][ T274] console_unlock+0xee/0x1f0 [ 26.068764][ T274] ? console_flush_one_record+0x710/0x710 [ 26.068766][ T274] ? rcu_is_watching+0x16/0xd0 [ 26.068768][ T274] ? lock_acquire+0xe0/0x160 [ 26.068772][ T274] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.068773][ T274] ? vprintk_emit+0x320/0x3e0 [ 26.068776][ T274] vprintk_emit+0x37c/0x3e0 [ 26.068779][ T274] ? wake_up_klogd_work_func+0x90/0x90 [ 26.068780][ T274] ? kasan_save_stack+0x3d/0x50 [ 26.068783][ T274] ? kasan_save_track+0x14/0x30 [ 26.068785][ T274] ? __kasan_kmalloc+0x7b/0x90 [ 26.068786][ T274] ? __kmalloc_cache_noprof+0x29a/0x620 [ 26.068787][ T274] ? packet_mc_add+0x13b/0x890 [ 26.068788][ T274] ? packet_setsockopt+0x1953/0x21e0 [ 26.068790][ T274] ? do_sock_setsockopt+0x164/0x3b0 [ 26.068794][ T274] _printk+0xc7/0x100 [ 26.068798][ T274] ? snapshot_read.cold+0x21/0x21 [ 26.068802][ T274] ? netdev_name+0x43/0x60 [ 26.068806][ T274] ? __netdev_printk+0x17f/0x1d0 [ 26.068809][ T274] netdev_info+0xe2/0x116 [ 26.068812][ T274] ? netdev_notice+0x120/0x120 [ 26.068819][ T274] ? mutex_is_locked+0x1c/0x50 [ 26.068822][ T274] __dev_set_promiscuity.cold+0x7a/0x104 [ 26.068825][ T274] netif_set_promiscuity+0x4c/0xc0 [ 26.068829][ T274] dev_set_promiscuity+0xa1/0x230 [ 26.068831][ T274] ? __asan_memset+0x27/0x50 [ 26.068835][ T274] packet_mc_add+0x54e/0x890 [ 26.068837][ T274] ? __might_fault+0x97/0x140 [ 26.068840][ T274] ? __might_fault+0x97/0x140 [ 26.068842][ T274] ? _copy_from_user+0x42/0x90 [ 26.068846][ T274] packet_setsockopt+0x1953/0x21e0 [ 26.068849][ T274] ? packet_bind+0x170/0x170 [ 26.068853][ T274] ? do_sock_getsockopt+0x7bb/0xb50 [ 26.068857][ T274] ? sock_poll+0x6b0/0x6b0 [ 26.068861][ T274] ? rcu_is_watching+0x16/0xd0 [ 26.068863][ T274] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.068868][ T274] do_sock_setsockopt+0x164/0x3b0 [ 26.068871][ T274] ? put_user_ifreq+0x90/0x90 [ 26.068873][ T274] ? __sys_bind+0x19f/0x260 [ 26.068875][ T274] ? __sys_bind_socket+0xa0/0xa0 [ 26.068881][ T274] __sys_setsockopt+0xe4/0x150 [ 26.068885][ T274] __x64_sys_setsockopt+0xbd/0x180 [ 26.068887][ T274] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.068889][ T274] ? lockdep_hardirqs_on+0x91/0x130 [ 26.068892][ T274] ? do_syscall_64+0xa6/0x530 [ 26.068895][ T274] do_syscall_64+0xff/0x530 [ 26.068897][ T274] ? exc_page_fault+0xee/0x100 [ 26.068900][ T274] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.068902][ T274] RIP: 0033:0x7f9e377882de [ 26.068905][ T274] 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 [ 26.068907][ T274] RSP: 002b:00007ffd660c9598 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 26.068910][ T274] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f9e377882de [ 26.068911][ T274] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 26.068912][ T274] RBP: 00007ffd660c96d0 R08: 0000000000000010 R09: 0000560dba988530 [ 26.068913][ T274] R10: 00007ffd660c9610 R11: 0000000000000246 R12: 0000000000000001 [ 26.068914][ T274] R13: 0000560dba988918 R14: 0000560dba988690 R15: 0000000000000000 [ 26.068920][ T274] [ 30.053575][ T274] veth-s2: left promiscuous mode [ 30.053593][ T274] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.053596][ T274] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 274, name: tcpdump [ 30.053597][ T274] preempt_count: 1, expected: 0 [ 30.053598][ T274] RCU nest depth: 0, expected: 0 [ 30.053599][ T274] locks held by tcpdump/274: 6, last CPU#0: [ 30.053601][ T274] #0: ff1100000ed49b80 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 30.053613][ T274] #1: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 30.053618][ T274] #2: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.053623][ T274] #3: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.053627][ T274] #4: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.053631][ T274] #5: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.053635][ T274] irq event stamp: 739140 [ 30.053635][ T274] hardirqs last enabled at (739139): [] __down_trylock_console_sem+0x86/0xa0 [ 30.053638][ T274] hardirqs last disabled at (739140): [] console_emit_next_record+0x3d4/0x4c0 [ 30.053640][ T274] softirqs last enabled at (739132): [] handle_softirqs+0x67c/0x900 [ 30.053644][ T274] softirqs last disabled at (738863): [] __irq_exit_rcu+0x145/0x1c0 [ 30.053646][ T274] Preemption disabled at: [ 30.053646][ T274] [] vprintk_emit+0x31b/0x3e0 [ 30.053651][ T274] CPU: 0 UID: 72 PID: 274 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.053655][ T274] Tainted: [W]=WARN [ 30.053656][ T274] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.053657][ T274] Call Trace: [ 30.053659][ T274] [ 30.053660][ T274] dump_stack_lvl+0x6f/0xa0 [ 30.053666][ T274] ? vprintk_emit+0x31b/0x3e0 [ 30.053668][ T274] __might_resched.cold+0x1fe/0x2c1 [ 30.053672][ T274] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.053677][ T274] ? __kmalloc_noprof+0xdb/0x760 [ 30.053681][ T274] __kmalloc_noprof+0x443/0x760 [ 30.053683][ T274] ? alloc_buf.isra.0+0x4b/0x260 [ 30.053689][ T274] ? do_raw_spin_unlock+0x59/0x250 [ 30.053692][ T274] alloc_buf.isra.0+0x4b/0x260 [ 30.053700][ T274] put_chars+0x1e1/0x2f0 [ 30.053703][ T274] ? __send_to_port+0x420/0x420 [ 30.053706][ T274] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.053709][ T274] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.053712][ T274] ? validate_chain+0x38b/0xc20 [ 30.053716][ T274] hvc_console_print+0x292/0x780 [ 30.053720][ T274] ? mark_usage+0x61/0x170 [ 30.053722][ T274] ? __lock_acquire+0x518/0xc20 [ 30.053724][ T274] ? __lock_acquire+0x518/0xc20 [ 30.053728][ T274] ? hvc_write+0x3a0/0x3a0 [ 30.053730][ T274] ? lock_acquire.part.0+0xd4/0x280 [ 30.053734][ T274] ? lock_acquire+0x13c/0x160 [ 30.053738][ T274] console_emit_next_record+0x22f/0x4c0 [ 30.053742][ T274] ? devkmsg_read+0x4b0/0x4b0 [ 30.053744][ T274] ? console_flush_one_record+0x106/0x710 [ 30.053747][ T274] ? rcu_is_watching+0x16/0xd0 [ 30.053749][ T274] ? lock_acquire+0x13c/0x160 [ 30.053753][ T274] console_flush_one_record+0x46f/0x710 [ 30.053757][ T274] ? console_emit_next_record+0x4c0/0x4c0 [ 30.053759][ T274] ? __lock_acquire+0x518/0xc20 [ 30.053764][ T274] console_unlock+0xee/0x1f0 [ 30.053767][ T274] ? console_flush_one_record+0x710/0x710 [ 30.053769][ T274] ? rcu_is_watching+0x16/0xd0 [ 30.053771][ T274] ? lock_acquire+0xe0/0x160 [ 30.053774][ T274] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.053776][ T274] ? vprintk_emit+0x320/0x3e0 [ 30.053779][ T274] vprintk_emit+0x37c/0x3e0 [ 30.053782][ T274] ? wake_up_klogd_work_func+0x90/0x90 [ 30.053785][ T274] ? __lock_acquire+0x518/0xc20 [ 30.053789][ T274] _printk+0xc7/0x100 [ 30.053792][ T274] ? snapshot_read.cold+0x21/0x21 [ 30.053794][ T274] ? lock_acquire.part.0+0xd4/0x280 [ 30.053797][ T274] ? rcu_is_watching+0x16/0xd0 [ 30.053799][ T274] ? netdev_name+0x43/0x60 [ 30.053803][ T274] ? __netdev_printk+0x17f/0x1d0 [ 30.053806][ T274] netdev_info+0xe2/0x116 [ 30.053809][ T274] ? netdev_notice+0x120/0x120 [ 30.053811][ T274] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 30.053813][ T274] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 30.053818][ T274] ? ww_mutex_lock+0x160/0x160 [ 30.053820][ T274] ? lock_acquire.part.0+0xd4/0x280 [ 30.053822][ T274] ? ref_tracker_alloc+0x430/0x430 [ 30.053826][ T274] ? packet_release+0x363/0xc40 [ 30.053828][ T274] ? __fput+0x36c/0xad0 [ 30.053831][ T274] ? mutex_is_locked+0x1c/0x50 [ 30.053834][ T274] __dev_set_promiscuity.cold+0x7a/0x104 [ 30.053838][ T274] netif_set_promiscuity+0x4c/0xc0 [ 30.053843][ T274] dev_set_promiscuity+0xa1/0x230 [ 30.053846][ T274] packet_release+0x4cb/0xc40 [ 30.053851][ T274] ? packet_set_ring+0x1740/0x1740 [ 30.053854][ T274] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 30.053859][ T274] __sock_release+0xb8/0x280 [ 30.053863][ T274] sock_close+0x18/0x20 [ 30.053864][ T274] __fput+0x36c/0xad0 [ 30.053870][ T274] fput_close_sync+0xde/0x1b0 [ 30.053872][ T274] ? alloc_file_clone+0xe0/0xe0 [ 30.053875][ T274] ? do_raw_spin_unlock+0x59/0x250 [ 30.053879][ T274] __x64_sys_close+0x8b/0xf0 [ 30.053881][ T274] do_syscall_64+0xff/0x530 [ 30.053884][ T274] ? irq_exit_rcu+0x1a/0x30 [ 30.053887][ T274] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.053889][ T274] RIP: 0033:0x7f9e376ff54e [ 30.053892][ T274] 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 [ 30.053894][ T274] RSP: 002b:00007ffd660c9700 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 30.053897][ T274] RAX: ffffffffffffffda RBX: 0000560dba988690 RCX: 00007f9e376ff54e [ 30.053898][ T274] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 30.053899][ T274] RBP: 00007ffd660c9710 R08: 0000000000000000 R09: 0000000000000000 [ 30.053900][ T274] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 30.053901][ T274] R13: 00000000fffffffe R14: 0000560d8f9b8760 R15: 0000000000000001 [ 30.053908][ T274] [ 39.194740][ T352] veth-s1: entered promiscuous mode [ 39.194761][ T352] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.194763][ T352] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 352, name: tcpdump [ 39.194765][ T352] preempt_count: 1, expected: 0 [ 39.194765][ T352] RCU nest depth: 0, expected: 0 [ 39.194766][ T352] locks held by tcpdump/352: 5, last CPU#3: [ 39.194769][ T352] #0: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 39.194779][ T352] #1: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.194785][ T352] #2: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.194789][ T352] #3: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.194793][ T352] #4: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 39.194797][ T352] irq event stamp: 40404 [ 39.194797][ T352] hardirqs last enabled at (40403): [] __down_trylock_console_sem+0x86/0xa0 [ 39.194800][ T352] hardirqs last disabled at (40404): [] console_emit_next_record+0x3d4/0x4c0 [ 39.194802][ T352] softirqs last enabled at (40384): [] packet_do_bind+0x4b2/0xc80 [ 39.194804][ T352] softirqs last disabled at (40382): [] release_sock+0x21/0x240 [ 39.194808][ T352] Preemption disabled at: [ 39.194808][ T352] [] vprintk_emit+0x31b/0x3e0 [ 39.194813][ T352] CPU: 3 UID: 0 PID: 352 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.194817][ T352] Tainted: [W]=WARN [ 39.194818][ T352] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.194820][ T352] Call Trace: [ 39.194821][ T352] [ 39.194823][ T352] dump_stack_lvl+0x6f/0xa0 [ 39.194828][ T352] ? vprintk_emit+0x31b/0x3e0 [ 39.194830][ T352] __might_resched.cold+0x1fe/0x2c1 [ 39.194834][ T352] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.194839][ T352] ? __kmalloc_noprof+0xdb/0x760 [ 39.194843][ T352] __kmalloc_noprof+0x443/0x760 [ 39.194845][ T352] ? alloc_buf.isra.0+0x4b/0x260 [ 39.194852][ T352] ? do_raw_spin_unlock+0x59/0x250 [ 39.194854][ T352] alloc_buf.isra.0+0x4b/0x260 [ 39.194858][ T352] put_chars+0x1e1/0x2f0 [ 39.194860][ T352] ? prb_final_commit+0x50/0x50 [ 39.194862][ T352] ? __send_to_port+0x420/0x420 [ 39.194865][ T352] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 39.194868][ T352] ? rcu_read_lock_any_held+0x3c/0x90 [ 39.194871][ T352] ? validate_chain+0x38b/0xc20 [ 39.194875][ T352] hvc_console_print+0x292/0x780 [ 39.194879][ T352] ? mark_usage+0x61/0x170 [ 39.194881][ T352] ? __lock_acquire+0x518/0xc20 [ 39.194883][ T352] ? __lock_acquire+0x518/0xc20 [ 39.194887][ T352] ? hvc_write+0x3a0/0x3a0 [ 39.194889][ T352] ? console_emit_next_record+0x1df/0x4c0 [ 39.194892][ T352] ? rcu_is_watching+0x16/0xd0 [ 39.194894][ T352] ? lock_acquire+0x13c/0x160 [ 39.194898][ T352] console_emit_next_record+0x22f/0x4c0 [ 39.194902][ T352] ? devkmsg_read+0x4b0/0x4b0 [ 39.194904][ T352] ? console_flush_one_record+0x106/0x710 [ 39.194907][ T352] ? rcu_is_watching+0x16/0xd0 [ 39.194909][ T352] ? lock_acquire+0x13c/0x160 [ 39.194913][ T352] console_flush_one_record+0x46f/0x710 [ 39.194917][ T352] ? console_emit_next_record+0x4c0/0x4c0 [ 39.194919][ T352] ? __lock_acquire+0x518/0xc20 [ 39.194924][ T352] console_unlock+0xee/0x1f0 [ 39.194927][ T352] ? console_flush_one_record+0x710/0x710 [ 39.194928][ T352] ? rcu_is_watching+0x16/0xd0 [ 39.194930][ T352] ? lock_acquire+0xe0/0x160 [ 39.194934][ T352] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.194935][ T352] ? vprintk_emit+0x320/0x3e0 [ 39.194938][ T352] vprintk_emit+0x37c/0x3e0 [ 39.194941][ T352] ? wake_up_klogd_work_func+0x90/0x90 [ 39.194942][ T352] ? kasan_save_stack+0x3d/0x50 [ 39.194945][ T352] ? kasan_save_track+0x14/0x30 [ 39.194946][ T352] ? __kasan_kmalloc+0x7b/0x90 [ 39.194947][ T352] ? __kmalloc_cache_noprof+0x29a/0x620 [ 39.194949][ T352] ? packet_mc_add+0x13b/0x890 [ 39.194950][ T352] ? packet_setsockopt+0x1953/0x21e0 [ 39.194952][ T352] ? do_sock_setsockopt+0x164/0x3b0 [ 39.194956][ T352] _printk+0xc7/0x100 [ 39.194959][ T352] ? snapshot_read.cold+0x21/0x21 [ 39.194964][ T352] ? netdev_name+0x43/0x60 [ 39.194967][ T352] ? __netdev_printk+0x17f/0x1d0 [ 39.194971][ T352] netdev_info+0xe2/0x116 [ 39.194974][ T352] ? netdev_notice+0x120/0x120 [ 39.194981][ T352] ? mutex_is_locked+0x1c/0x50 [ 39.194983][ T352] __dev_set_promiscuity.cold+0x7a/0x104 [ 39.194987][ T352] netif_set_promiscuity+0x4c/0xc0 [ 39.194991][ T352] dev_set_promiscuity+0xa1/0x230 [ 39.194993][ T352] ? __asan_memset+0x27/0x50 [ 39.194997][ T352] packet_mc_add+0x54e/0x890 [ 39.194999][ T352] ? __might_fault+0x97/0x140 [ 39.195002][ T352] ? __might_fault+0x97/0x140 [ 39.195004][ T352] ? _copy_from_user+0x42/0x90 [ 39.195008][ T352] packet_setsockopt+0x1953/0x21e0 [ 39.195011][ T352] ? packet_bind+0x170/0x170 [ 39.195015][ T352] ? do_sock_getsockopt+0x7bb/0xb50 [ 39.195019][ T352] ? sock_poll+0x6b0/0x6b0 [ 39.195023][ T352] ? rcu_is_watching+0x16/0xd0 [ 39.195025][ T352] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.195030][ T352] do_sock_setsockopt+0x164/0x3b0 [ 39.195033][ T352] ? put_user_ifreq+0x90/0x90 [ 39.195035][ T352] ? __sys_bind+0x19f/0x260 [ 39.195037][ T352] ? __sys_bind_socket+0xa0/0xa0 [ 39.195043][ T352] __sys_setsockopt+0xe4/0x150 [ 39.195047][ T352] __x64_sys_setsockopt+0xbd/0x180 [ 39.195049][ T352] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 39.195051][ T352] ? lockdep_hardirqs_on+0x91/0x130 [ 39.195055][ T352] ? do_syscall_64+0xa6/0x530 [ 39.195057][ T352] do_syscall_64+0xff/0x530 [ 39.195059][ T352] ? exc_page_fault+0xee/0x100 [ 39.195062][ T352] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 39.195064][ T352] RIP: 0033:0x7f9b2fc6e2de [ 39.195068][ T352] 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.195070][ T352] RSP: 002b:00007ffd3819a018 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 39.195072][ T352] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f9b2fc6e2de [ 39.195074][ T352] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 39.195074][ T352] RBP: 00007ffd3819a150 R08: 0000000000000010 R09: 000055ced6eef530 [ 39.195075][ T352] R10: 00007ffd3819a090 R11: 0000000000000246 R12: 0000000000000001 [ 39.195076][ T352] R13: 000055ced6eef918 R14: 000055ced6eef690 R15: 0000000000000000 [ 39.195082][ T352] [ 40.227293][ T357] veth-s2: entered promiscuous mode [ 40.227310][ T357] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.227313][ T357] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 357, name: tcpdump [ 40.227314][ T357] preempt_count: 1, expected: 0 [ 40.227315][ T357] RCU nest depth: 0, expected: 0 [ 40.227316][ T357] locks held by tcpdump/357: 5, last CPU#2: [ 40.227318][ T357] #0: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 40.227329][ T357] #1: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 40.227335][ T357] #2: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 40.227339][ T357] #3: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 40.227343][ T357] #4: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 40.227347][ T357] irq event stamp: 43088 [ 40.227348][ T357] hardirqs last enabled at (43087): [] __down_trylock_console_sem+0x86/0xa0 [ 40.227351][ T357] hardirqs last disabled at (43088): [] console_emit_next_record+0x3d4/0x4c0 [ 40.227353][ T357] softirqs last enabled at (43068): [] packet_do_bind+0x4b2/0xc80 [ 40.227354][ T357] softirqs last disabled at (43066): [] release_sock+0x21/0x240 [ 40.227358][ T357] Preemption disabled at: [ 40.227359][ T357] [] vprintk_emit+0x31b/0x3e0 [ 40.227364][ T357] CPU: 2 UID: 0 PID: 357 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.227367][ T357] Tainted: [W]=WARN [ 40.227368][ T357] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.227370][ T357] Call Trace: [ 40.227372][ T357] [ 40.227373][ T357] dump_stack_lvl+0x6f/0xa0 [ 40.227379][ T357] ? vprintk_emit+0x31b/0x3e0 [ 40.227380][ T357] __might_resched.cold+0x1fe/0x2c1 [ 40.227385][ T357] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.227389][ T357] ? __kmalloc_noprof+0xdb/0x760 [ 40.227393][ T357] __kmalloc_noprof+0x443/0x760 [ 40.227395][ T357] ? alloc_buf.isra.0+0x4b/0x260 [ 40.227401][ T357] ? do_raw_spin_unlock+0x59/0x250 [ 40.227404][ T357] alloc_buf.isra.0+0x4b/0x260 [ 40.227407][ T357] put_chars+0x1e1/0x2f0 [ 40.227409][ T357] ? prb_final_commit+0x50/0x50 [ 40.227411][ T357] ? __send_to_port+0x420/0x420 [ 40.227414][ T357] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 40.227417][ T357] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.227420][ T357] ? validate_chain+0x38b/0xc20 [ 40.227424][ T357] hvc_console_print+0x292/0x780 [ 40.227428][ T357] ? mark_usage+0x61/0x170 [ 40.227430][ T357] ? __lock_acquire+0x518/0xc20 [ 40.227431][ T357] ? __lock_acquire+0x518/0xc20 [ 40.227435][ T357] ? hvc_write+0x3a0/0x3a0 [ 40.227438][ T357] ? console_emit_next_record+0x1df/0x4c0 [ 40.227441][ T357] ? rcu_is_watching+0x16/0xd0 [ 40.227443][ T357] ? lock_acquire+0x13c/0x160 [ 40.227446][ T357] console_emit_next_record+0x22f/0x4c0 [ 40.227454][ T357] ? devkmsg_read+0x4b0/0x4b0 [ 40.227455][ T357] ? console_flush_one_record+0x106/0x710 [ 40.227458][ T357] ? rcu_is_watching+0x16/0xd0 [ 40.227460][ T357] ? lock_acquire+0x13c/0x160 [ 40.227464][ T357] console_flush_one_record+0x46f/0x710 [ 40.227468][ T357] ? console_emit_next_record+0x4c0/0x4c0 [ 40.227470][ T357] ? __lock_acquire+0x518/0xc20 [ 40.227475][ T357] console_unlock+0xee/0x1f0 [ 40.227478][ T357] ? console_flush_one_record+0x710/0x710 [ 40.227479][ T357] ? rcu_is_watching+0x16/0xd0 [ 40.227481][ T357] ? lock_acquire+0xe0/0x160 [ 40.227485][ T357] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.227486][ T357] ? vprintk_emit+0x320/0x3e0 [ 40.227489][ T357] vprintk_emit+0x37c/0x3e0 [ 40.227492][ T357] ? wake_up_klogd_work_func+0x90/0x90 [ 40.227493][ T357] ? kasan_save_stack+0x3d/0x50 [ 40.227496][ T357] ? kasan_save_track+0x14/0x30 [ 40.227497][ T357] ? __kasan_kmalloc+0x7b/0x90 [ 40.227498][ T357] ? __kmalloc_cache_noprof+0x29a/0x620 [ 40.227500][ T357] ? packet_mc_add+0x13b/0x890 [ 40.227501][ T357] ? packet_setsockopt+0x1953/0x21e0 [ 40.227502][ T357] ? do_sock_setsockopt+0x164/0x3b0 [ 40.227506][ T357] _printk+0xc7/0x100 [ 40.227510][ T357] ? snapshot_read.cold+0x21/0x21 [ 40.227514][ T357] ? netdev_name+0x43/0x60 [ 40.227518][ T357] ? __netdev_printk+0x17f/0x1d0 [ 40.227521][ T357] netdev_info+0xe2/0x116 [ 40.227524][ T357] ? netdev_notice+0x120/0x120 [ 40.227531][ T357] ? mutex_is_locked+0x1c/0x50 [ 40.227533][ T357] __dev_set_promiscuity.cold+0x7a/0x104 [ 40.227537][ T357] netif_set_promiscuity+0x4c/0xc0 [ 40.227541][ T357] dev_set_promiscuity+0xa1/0x230 [ 40.227543][ T357] ? __asan_memset+0x27/0x50 [ 40.227547][ T357] packet_mc_add+0x54e/0x890 [ 40.227549][ T357] ? __might_fault+0x97/0x140 [ 40.227552][ T357] ? __might_fault+0x97/0x140 [ 40.227553][ T357] ? _copy_from_user+0x42/0x90 [ 40.227558][ T357] packet_setsockopt+0x1953/0x21e0 [ 40.227561][ T357] ? packet_bind+0x170/0x170 [ 40.227565][ T357] ? do_sock_getsockopt+0x7bb/0xb50 [ 40.227569][ T357] ? sock_poll+0x6b0/0x6b0 [ 40.227573][ T357] ? rcu_is_watching+0x16/0xd0 [ 40.227574][ T357] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.227580][ T357] do_sock_setsockopt+0x164/0x3b0 [ 40.227582][ T357] ? put_user_ifreq+0x90/0x90 [ 40.227584][ T357] ? __sys_bind+0x19f/0x260 [ 40.227587][ T357] ? __sys_bind_socket+0xa0/0xa0 [ 40.227593][ T357] __sys_setsockopt+0xe4/0x150 [ 40.227597][ T357] __x64_sys_setsockopt+0xbd/0x180 [ 40.227599][ T357] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.227601][ T357] ? lockdep_hardirqs_on+0x91/0x130 [ 40.227604][ T357] ? do_syscall_64+0xa6/0x530 [ 40.227607][ T357] do_syscall_64+0xff/0x530 [ 40.227609][ T357] ? exc_page_fault+0xee/0x100 [ 40.227611][ T357] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 40.227613][ T357] RIP: 0033:0x7f3ea9f192de [ 40.227617][ T357] 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 [ 40.227619][ T357] RSP: 002b:00007ffe2b825af8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 40.227621][ T357] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f3ea9f192de [ 40.227623][ T357] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 40.227624][ T357] RBP: 00007ffe2b825c30 R08: 0000000000000010 R09: 00005652fc112530 [ 40.227625][ T357] R10: 00007ffe2b825b70 R11: 0000000000000246 R12: 0000000000000001 [ 40.227625][ T357] R13: 00005652fc112918 R14: 00005652fc112690 R15: 0000000000000000 [ 40.227632][ T357] [ 45.249628][ T352] veth-s1: left promiscuous mode [ 45.249646][ T352] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.249648][ T352] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 352, name: tcpdump [ 45.249650][ T352] preempt_count: 1, expected: 0 [ 45.249651][ T352] RCU nest depth: 0, expected: 0 [ 45.249652][ T352] locks held by tcpdump/352: 6, last CPU#0: [ 45.249653][ T352] #0: ff1100000a9e4d80 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 45.249665][ T352] #1: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 45.249671][ T352] #2: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.249676][ T352] #3: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.249680][ T352] #4: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.249683][ T352] #5: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 45.249687][ T352] irq event stamp: 63398 [ 45.249688][ T352] hardirqs last enabled at (63397): [] __down_trylock_console_sem+0x86/0xa0 [ 45.249691][ T352] hardirqs last disabled at (63398): [] console_emit_next_record+0x3d4/0x4c0 [ 45.249693][ T352] softirqs last enabled at (63264): [] handle_softirqs+0x67c/0x900 [ 45.249697][ T352] softirqs last disabled at (63257): [] __irq_exit_rcu+0x145/0x1c0 [ 45.249699][ T352] Preemption disabled at: [ 45.249699][ T352] [] vprintk_emit+0x31b/0x3e0 [ 45.249704][ T352] CPU: 0 UID: 72 PID: 352 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.249708][ T352] Tainted: [W]=WARN [ 45.249708][ T352] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.249710][ T352] Call Trace: [ 45.249712][ T352] [ 45.249713][ T352] dump_stack_lvl+0x6f/0xa0 [ 45.249719][ T352] ? vprintk_emit+0x31b/0x3e0 [ 45.249721][ T352] __might_resched.cold+0x1fe/0x2c1 [ 45.249725][ T352] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.249729][ T352] ? __kmalloc_noprof+0xdb/0x760 [ 45.249734][ T352] __kmalloc_noprof+0x443/0x760 [ 45.249735][ T352] ? alloc_buf.isra.0+0x4b/0x260 [ 45.249742][ T352] ? do_raw_spin_unlock+0x59/0x250 [ 45.249745][ T352] alloc_buf.isra.0+0x4b/0x260 [ 45.249749][ T352] put_chars+0x1e1/0x2f0 [ 45.249751][ T352] ? __send_to_port+0x420/0x420 [ 45.249754][ T352] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.249757][ T352] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.249760][ T352] ? validate_chain+0x38b/0xc20 [ 45.249764][ T352] hvc_console_print+0x292/0x780 [ 45.249768][ T352] ? mark_usage+0x61/0x170 [ 45.249770][ T352] ? __lock_acquire+0x518/0xc20 [ 45.249771][ T352] ? __lock_acquire+0x518/0xc20 [ 45.249779][ T352] ? hvc_write+0x3a0/0x3a0 [ 45.249781][ T352] ? lock_acquire.part.0+0xd4/0x280 [ 45.249785][ T352] ? lock_acquire+0x13c/0x160 [ 45.249789][ T352] console_emit_next_record+0x22f/0x4c0 [ 45.249793][ T352] ? devkmsg_read+0x4b0/0x4b0 [ 45.249795][ T352] ? console_flush_one_record+0x106/0x710 [ 45.249798][ T352] ? rcu_is_watching+0x16/0xd0 [ 45.249800][ T352] ? lock_acquire+0x13c/0x160 [ 45.249804][ T352] console_flush_one_record+0x46f/0x710 [ 45.249808][ T352] ? console_emit_next_record+0x4c0/0x4c0 [ 45.249810][ T352] ? __lock_acquire+0x518/0xc20 [ 45.249816][ T352] console_unlock+0xee/0x1f0 [ 45.249819][ T352] ? console_flush_one_record+0x710/0x710 [ 45.249821][ T352] ? rcu_is_watching+0x16/0xd0 [ 45.249823][ T352] ? lock_acquire+0xe0/0x160 [ 45.249827][ T352] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.249828][ T352] ? vprintk_emit+0x320/0x3e0 [ 45.249831][ T352] vprintk_emit+0x37c/0x3e0 [ 45.249834][ T352] ? wake_up_klogd_work_func+0x90/0x90 [ 45.249837][ T352] ? __lock_acquire+0x518/0xc20 [ 45.249841][ T352] _printk+0xc7/0x100 [ 45.249844][ T352] ? snapshot_read.cold+0x21/0x21 [ 45.249846][ T352] ? lock_acquire.part.0+0xd4/0x280 [ 45.249850][ T352] ? rcu_is_watching+0x16/0xd0 [ 45.249851][ T352] ? netdev_name+0x43/0x60 [ 45.249855][ T352] ? __netdev_printk+0x17f/0x1d0 [ 45.249859][ T352] netdev_info+0xe2/0x116 [ 45.249861][ T352] ? netdev_notice+0x120/0x120 [ 45.249863][ T352] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 45.249865][ T352] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 45.249870][ T352] ? ww_mutex_lock+0x160/0x160 [ 45.249872][ T352] ? lock_acquire.part.0+0xd4/0x280 [ 45.249874][ T352] ? ref_tracker_alloc+0x430/0x430 [ 45.249877][ T352] ? packet_release+0x363/0xc40 [ 45.249879][ T352] ? __fput+0x36c/0xad0 [ 45.249882][ T352] ? mutex_is_locked+0x1c/0x50 [ 45.249885][ T352] __dev_set_promiscuity.cold+0x7a/0x104 [ 45.249888][ T352] netif_set_promiscuity+0x4c/0xc0 [ 45.249893][ T352] dev_set_promiscuity+0xa1/0x230 [ 45.249896][ T352] packet_release+0x4cb/0xc40 [ 45.249900][ T352] ? packet_set_ring+0x1740/0x1740 [ 45.249903][ T352] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 45.249908][ T352] __sock_release+0xb8/0x280 [ 45.249911][ T352] sock_close+0x18/0x20 [ 45.249913][ T352] __fput+0x36c/0xad0 [ 45.249918][ T352] fput_close_sync+0xde/0x1b0 [ 45.249920][ T352] ? alloc_file_clone+0xe0/0xe0 [ 45.249923][ T352] ? do_raw_spin_unlock+0x59/0x250 [ 45.249927][ T352] __x64_sys_close+0x8b/0xf0 [ 45.249929][ T352] do_syscall_64+0xff/0x530 [ 45.249932][ T352] ? irq_exit_rcu+0x1a/0x30 [ 45.249935][ T352] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 45.249937][ T352] RIP: 0033:0x7f9b2fbe554e [ 45.249941][ T352] 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.249942][ T352] RSP: 002b:00007ffd3819a180 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 45.249945][ T352] RAX: ffffffffffffffda RBX: 000055ced6eef690 RCX: 00007f9b2fbe554e [ 45.249946][ T352] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 45.249947][ T352] RBP: 00007ffd3819a190 R08: 0000000000000000 R09: 0000000000000000 [ 45.249948][ T352] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 45.249949][ T352] R13: 00000000fffffffe R14: 000055ced40d2760 R15: 0000000000000001 [ 45.249955][ T352] [ 46.357172][ T357] veth-s2: left promiscuous mode [ 46.357191][ T357] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 46.357193][ T357] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 357, name: tcpdump [ 46.357195][ T357] preempt_count: 1, expected: 0 [ 46.357195][ T357] RCU nest depth: 0, expected: 0 [ 46.357196][ T357] locks held by tcpdump/357: 6, last CPU#2: [ 46.357198][ T357] #0: ff1100000a9e6cc0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 46.357210][ T357] #1: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 46.357216][ T357] #2: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 46.357221][ T357] #3: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 46.357225][ T357] #4: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 46.357228][ T357] #5: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 46.357232][ T357] irq event stamp: 785730 [ 46.357233][ T357] hardirqs last enabled at (785729): [] __down_trylock_console_sem+0x86/0xa0 [ 46.357236][ T357] hardirqs last disabled at (785730): [] console_emit_next_record+0x3d4/0x4c0 [ 46.357238][ T357] softirqs last enabled at (785542): [] packet_setsockopt+0xcdf/0x21e0 [ 46.357240][ T357] softirqs last disabled at (785540): [] release_sock+0x21/0x240 [ 46.357243][ T357] Preemption disabled at: [ 46.357244][ T357] [] vprintk_emit+0x31b/0x3e0 [ 46.357249][ T357] CPU: 2 UID: 72 PID: 357 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 46.357252][ T357] Tainted: [W]=WARN [ 46.357253][ T357] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 46.357254][ T357] Call Trace: [ 46.357256][ T357] [ 46.357257][ T357] dump_stack_lvl+0x6f/0xa0 [ 46.357263][ T357] ? vprintk_emit+0x31b/0x3e0 [ 46.357265][ T357] __might_resched.cold+0x1fe/0x2c1 [ 46.357269][ T357] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 46.357274][ T357] ? __kmalloc_noprof+0xdb/0x760 [ 46.357278][ T357] __kmalloc_noprof+0x443/0x760 [ 46.357280][ T357] ? alloc_buf.isra.0+0x4b/0x260 [ 46.357286][ T357] ? do_raw_spin_unlock+0x59/0x250 [ 46.357289][ T357] alloc_buf.isra.0+0x4b/0x260 [ 46.357293][ T357] put_chars+0x1e1/0x2f0 [ 46.357295][ T357] ? __send_to_port+0x420/0x420 [ 46.357298][ T357] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 46.357301][ T357] ? rcu_read_lock_any_held+0x3c/0x90 [ 46.357304][ T357] ? validate_chain+0x38b/0xc20 [ 46.357308][ T357] hvc_console_print+0x292/0x780 [ 46.357312][ T357] ? mark_usage+0x61/0x170 [ 46.357314][ T357] ? __lock_acquire+0x518/0xc20 [ 46.357315][ T357] ? __lock_acquire+0x518/0xc20 [ 46.357319][ T357] ? hvc_write+0x3a0/0x3a0 [ 46.357321][ T357] ? lock_acquire.part.0+0xd4/0x280 [ 46.357325][ T357] ? lock_acquire+0x13c/0x160 [ 46.357329][ T357] console_emit_next_record+0x22f/0x4c0 [ 46.357333][ T357] ? devkmsg_read+0x4b0/0x4b0 [ 46.357335][ T357] ? console_flush_one_record+0x106/0x710 [ 46.357338][ T357] ? rcu_is_watching+0x16/0xd0 [ 46.357340][ T357] ? lock_acquire+0x13c/0x160 [ 46.357344][ T357] console_flush_one_record+0x46f/0x710 [ 46.357348][ T357] ? console_emit_next_record+0x4c0/0x4c0 [ 46.357350][ T357] ? __lock_acquire+0x518/0xc20 [ 46.357355][ T357] console_unlock+0xee/0x1f0 [ 46.357358][ T357] ? console_flush_one_record+0x710/0x710 [ 46.357360][ T357] ? rcu_is_watching+0x16/0xd0 [ 46.357362][ T357] ? lock_acquire+0xe0/0x160 [ 46.357365][ T357] ? __down_trylock_console_sem+0x5e/0xa0 [ 46.357367][ T357] ? vprintk_emit+0x320/0x3e0 [ 46.357370][ T357] vprintk_emit+0x37c/0x3e0 [ 46.357373][ T357] ? wake_up_klogd_work_func+0x90/0x90 [ 46.357376][ T357] ? __lock_acquire+0x518/0xc20 [ 46.357379][ T357] _printk+0xc7/0x100 [ 46.357383][ T357] ? snapshot_read.cold+0x21/0x21 [ 46.357385][ T357] ? lock_acquire.part.0+0xd4/0x280 [ 46.357388][ T357] ? rcu_is_watching+0x16/0xd0 [ 46.357389][ T357] ? netdev_name+0x43/0x60 [ 46.357393][ T357] ? __netdev_printk+0x17f/0x1d0 [ 46.357397][ T357] netdev_info+0xe2/0x116 [ 46.357400][ T357] ? netdev_notice+0x120/0x120 [ 46.357401][ T357] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 46.357403][ T357] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 46.357408][ T357] ? ww_mutex_lock+0x160/0x160 [ 46.357410][ T357] ? lock_acquire.part.0+0xd4/0x280 [ 46.357412][ T357] ? ref_tracker_alloc+0x430/0x430 [ 46.357415][ T357] ? packet_release+0x363/0xc40 [ 46.357417][ T357] ? __fput+0x36c/0xad0 [ 46.357420][ T357] ? mutex_is_locked+0x1c/0x50 [ 46.357423][ T357] __dev_set_promiscuity.cold+0x7a/0x104 [ 46.357426][ T357] netif_set_promiscuity+0x4c/0xc0 [ 46.357431][ T357] dev_set_promiscuity+0xa1/0x230 [ 46.357434][ T357] packet_release+0x4cb/0xc40 [ 46.357438][ T357] ? packet_set_ring+0x1740/0x1740 [ 46.357442][ T357] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 46.357446][ T357] __sock_release+0xb8/0x280 [ 46.357451][ T357] sock_close+0x18/0x20 [ 46.357453][ T357] __fput+0x36c/0xad0 [ 46.357458][ T357] fput_close_sync+0xde/0x1b0 [ 46.357461][ T357] ? alloc_file_clone+0xe0/0xe0 [ 46.357463][ T357] ? do_raw_spin_unlock+0x59/0x250 [ 46.357467][ T357] __x64_sys_close+0x8b/0xf0 [ 46.357470][ T357] do_syscall_64+0xff/0x530 [ 46.357472][ T357] ? irq_exit_rcu+0x1a/0x30 [ 46.357476][ T357] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 46.357479][ T357] RIP: 0033:0x7f3ea9e9054e [ 46.357482][ T357] 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 [ 46.357484][ T357] RSP: 002b:00007ffe2b825c60 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 46.357487][ T357] RAX: ffffffffffffffda RBX: 00005652fc112690 RCX: 00007f3ea9e9054e [ 46.357488][ T357] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 46.357489][ T357] RBP: 00007ffe2b825c70 R08: 0000000000000000 R09: 0000000000000000 [ 46.357489][ T357] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 46.357490][ T357] R13: 00000000fffffffe R14: 00005652f94b2760 R15: 0000000000000001 [ 46.357497][ T357] [ 56.123804][ T381] veth-s1: entered promiscuous mode [ 56.123821][ T381] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 56.123824][ T381] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 381, name: tcpdump [ 56.123825][ T381] preempt_count: 1, expected: 0 [ 56.123826][ T381] RCU nest depth: 0, expected: 0 [ 56.123827][ T381] locks held by tcpdump/381: 5, last CPU#2: [ 56.123829][ T381] #0: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 56.123844][ T381] #1: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 56.123850][ T381] #2: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 56.123854][ T381] #3: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 56.123857][ T381] #4: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 56.123861][ T381] irq event stamp: 33704 [ 56.123862][ T381] hardirqs last enabled at (33703): [] __down_trylock_console_sem+0x86/0xa0 [ 56.123865][ T381] hardirqs last disabled at (33704): [] console_emit_next_record+0x3d4/0x4c0 [ 56.123867][ T381] softirqs last enabled at (33684): [] packet_do_bind+0x4b2/0xc80 [ 56.123869][ T381] softirqs last disabled at (33682): [] release_sock+0x21/0x240 [ 56.123872][ T381] Preemption disabled at: [ 56.123873][ T381] [] vprintk_emit+0x31b/0x3e0 [ 56.123878][ T381] CPU: 2 UID: 0 PID: 381 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 56.123881][ T381] Tainted: [W]=WARN [ 56.123882][ T381] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 56.123883][ T381] Call Trace: [ 56.123885][ T381] [ 56.123886][ T381] dump_stack_lvl+0x6f/0xa0 [ 56.123892][ T381] ? vprintk_emit+0x31b/0x3e0 [ 56.123894][ T381] __might_resched.cold+0x1fe/0x2c1 [ 56.123898][ T381] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 56.123902][ T381] ? __kmalloc_noprof+0xdb/0x760 [ 56.123907][ T381] __kmalloc_noprof+0x443/0x760 [ 56.123908][ T381] ? alloc_buf.isra.0+0x4b/0x260 [ 56.123915][ T381] ? do_raw_spin_unlock+0x59/0x250 [ 56.123918][ T381] alloc_buf.isra.0+0x4b/0x260 [ 56.123921][ T381] put_chars+0x1e1/0x2f0 [ 56.123923][ T381] ? prb_final_commit+0x50/0x50 [ 56.123925][ T381] ? __send_to_port+0x420/0x420 [ 56.123928][ T381] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 56.123931][ T381] ? rcu_read_lock_any_held+0x3c/0x90 [ 56.123934][ T381] ? validate_chain+0x38b/0xc20 [ 56.123938][ T381] hvc_console_print+0x292/0x780 [ 56.123941][ T381] ? mark_usage+0x61/0x170 [ 56.123943][ T381] ? __lock_acquire+0x518/0xc20 [ 56.123945][ T381] ? __lock_acquire+0x518/0xc20 [ 56.123949][ T381] ? hvc_write+0x3a0/0x3a0 [ 56.123951][ T381] ? console_emit_next_record+0x1df/0x4c0 [ 56.123954][ T381] ? rcu_is_watching+0x16/0xd0 [ 56.123956][ T381] ? lock_acquire+0x13c/0x160 [ 56.123960][ T381] console_emit_next_record+0x22f/0x4c0 [ 56.123964][ T381] ? devkmsg_read+0x4b0/0x4b0 [ 56.123966][ T381] ? console_flush_one_record+0x106/0x710 [ 56.123969][ T381] ? rcu_is_watching+0x16/0xd0 [ 56.123970][ T381] ? lock_acquire+0x13c/0x160 [ 56.123974][ T381] console_flush_one_record+0x46f/0x710 [ 56.123978][ T381] ? console_emit_next_record+0x4c0/0x4c0 [ 56.123980][ T381] ? __lock_acquire+0x518/0xc20 [ 56.123985][ T381] console_unlock+0xee/0x1f0 [ 56.123988][ T381] ? console_flush_one_record+0x710/0x710 [ 56.123990][ T381] ? rcu_is_watching+0x16/0xd0 [ 56.123991][ T381] ? lock_acquire+0xe0/0x160 [ 56.123995][ T381] ? __down_trylock_console_sem+0x5e/0xa0 [ 56.123996][ T381] ? vprintk_emit+0x320/0x3e0 [ 56.123999][ T381] vprintk_emit+0x37c/0x3e0 [ 56.124002][ T381] ? wake_up_klogd_work_func+0x90/0x90 [ 56.124004][ T381] ? kasan_save_stack+0x3d/0x50 [ 56.124007][ T381] ? kasan_save_track+0x14/0x30 [ 56.124008][ T381] ? __kasan_kmalloc+0x7b/0x90 [ 56.124009][ T381] ? __kmalloc_cache_noprof+0x29a/0x620 [ 56.124010][ T381] ? packet_mc_add+0x13b/0x890 [ 56.124011][ T381] ? packet_setsockopt+0x1953/0x21e0 [ 56.124013][ T381] ? do_sock_setsockopt+0x164/0x3b0 [ 56.124017][ T381] _printk+0xc7/0x100 [ 56.124021][ T381] ? snapshot_read.cold+0x21/0x21 [ 56.124025][ T381] ? netdev_name+0x43/0x60 [ 56.124029][ T381] ? __netdev_printk+0x17f/0x1d0 [ 56.124032][ T381] netdev_info+0xe2/0x116 [ 56.124035][ T381] ? netdev_notice+0x120/0x120 [ 56.124042][ T381] ? mutex_is_locked+0x1c/0x50 [ 56.124045][ T381] __dev_set_promiscuity.cold+0x7a/0x104 [ 56.124048][ T381] netif_set_promiscuity+0x4c/0xc0 [ 56.124053][ T381] dev_set_promiscuity+0xa1/0x230 [ 56.124054][ T381] ? __asan_memset+0x27/0x50 [ 56.124058][ T381] packet_mc_add+0x54e/0x890 [ 56.124060][ T381] ? __might_fault+0x97/0x140 [ 56.124063][ T381] ? __might_fault+0x97/0x140 [ 56.124065][ T381] ? _copy_from_user+0x42/0x90 [ 56.124069][ T381] packet_setsockopt+0x1953/0x21e0 [ 56.124072][ T381] ? packet_bind+0x170/0x170 [ 56.124076][ T381] ? do_sock_getsockopt+0x7bb/0xb50 [ 56.124081][ T381] ? sock_poll+0x6b0/0x6b0 [ 56.124084][ T381] ? rcu_is_watching+0x16/0xd0 [ 56.124086][ T381] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 56.124091][ T381] do_sock_setsockopt+0x164/0x3b0 [ 56.124094][ T381] ? put_user_ifreq+0x90/0x90 [ 56.124096][ T381] ? __sys_bind+0x19f/0x260 [ 56.124098][ T381] ? __sys_bind_socket+0xa0/0xa0 [ 56.124104][ T381] __sys_setsockopt+0xe4/0x150 [ 56.124109][ T381] __x64_sys_setsockopt+0xbd/0x180 [ 56.124110][ T381] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 56.124113][ T381] ? lockdep_hardirqs_on+0x91/0x130 [ 56.124116][ T381] ? do_syscall_64+0xa6/0x530 [ 56.124118][ T381] do_syscall_64+0xff/0x530 [ 56.124120][ T381] ? exc_page_fault+0xee/0x100 [ 56.124123][ T381] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 56.124125][ T381] RIP: 0033:0x7f79b6c542de [ 56.124128][ T381] 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 [ 56.124130][ T381] RSP: 002b:00007ffcfd4ef438 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 56.124133][ T381] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f79b6c542de [ 56.124134][ T381] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 56.124135][ T381] RBP: 00007ffcfd4ef570 R08: 0000000000000010 R09: 0000558e28511530 [ 56.124136][ T381] R10: 00007ffcfd4ef4b0 R11: 0000000000000246 R12: 0000000000000001 [ 56.124136][ T381] R13: 0000558e28511918 R14: 0000558e28511690 R15: 0000000000000000 [ 56.124143][ T381] [ 60.144539][ T381] veth-s1: left promiscuous mode [ 60.144557][ T381] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 60.144560][ T381] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 381, name: tcpdump [ 60.144561][ T381] preempt_count: 1, expected: 0 [ 60.144562][ T381] RCU nest depth: 0, expected: 0 [ 60.144563][ T381] locks held by tcpdump/381: 6, last CPU#3: [ 60.144565][ T381] #0: ff1100000ed4ecc0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 60.144577][ T381] #1: ffffffff9391b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 60.144583][ T381] #2: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 60.144588][ T381] #3: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 60.144592][ T381] #4: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 60.144595][ T381] #5: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 60.144599][ T381] irq event stamp: 660566 [ 60.144600][ T381] hardirqs last enabled at (660565): [] __down_trylock_console_sem+0x86/0xa0 [ 60.144604][ T381] hardirqs last disabled at (660566): [] console_emit_next_record+0x3d4/0x4c0 [ 60.144606][ T381] softirqs last enabled at (660456): [] handle_softirqs+0x67c/0x900 [ 60.144609][ T381] softirqs last disabled at (660449): [] __irq_exit_rcu+0x145/0x1c0 [ 60.144611][ T381] Preemption disabled at: [ 60.144612][ T381] [] vprintk_emit+0x31b/0x3e0 [ 60.144617][ T381] CPU: 3 UID: 72 PID: 381 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 60.144620][ T381] Tainted: [W]=WARN [ 60.144621][ T381] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 60.144623][ T381] Call Trace: [ 60.144624][ T381] [ 60.144626][ T381] dump_stack_lvl+0x6f/0xa0 [ 60.144632][ T381] ? vprintk_emit+0x31b/0x3e0 [ 60.144634][ T381] __might_resched.cold+0x1fe/0x2c1 [ 60.144638][ T381] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 60.144642][ T381] ? __kmalloc_noprof+0xdb/0x760 [ 60.144647][ T381] __kmalloc_noprof+0x443/0x760 [ 60.144649][ T381] ? alloc_buf.isra.0+0x4b/0x260 [ 60.144656][ T381] ? do_raw_spin_unlock+0x59/0x250 [ 60.144658][ T381] alloc_buf.isra.0+0x4b/0x260 [ 60.144662][ T381] put_chars+0x1e1/0x2f0 [ 60.144665][ T381] ? __send_to_port+0x420/0x420 [ 60.144667][ T381] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 60.144671][ T381] ? rcu_read_lock_any_held+0x3c/0x90 [ 60.144674][ T381] ? validate_chain+0x38b/0xc20 [ 60.144678][ T381] hvc_console_print+0x292/0x780 [ 60.144682][ T381] ? mark_usage+0x61/0x170 [ 60.144684][ T381] ? __lock_acquire+0x518/0xc20 [ 60.144685][ T381] ? __lock_acquire+0x518/0xc20 [ 60.144690][ T381] ? hvc_write+0x3a0/0x3a0 [ 60.144692][ T381] ? lock_acquire.part.0+0xd4/0x280 [ 60.144696][ T381] ? lock_acquire+0x13c/0x160 [ 60.144700][ T381] console_emit_next_record+0x22f/0x4c0 [ 60.144704][ T381] ? devkmsg_read+0x4b0/0x4b0 [ 60.144706][ T381] ? console_flush_one_record+0x106/0x710 [ 60.144709][ T381] ? rcu_is_watching+0x16/0xd0 [ 60.144712][ T381] ? lock_acquire+0x13c/0x160 [ 60.144716][ T381] console_flush_one_record+0x46f/0x710 [ 60.144720][ T381] ? console_emit_next_record+0x4c0/0x4c0 [ 60.144722][ T381] ? __lock_acquire+0x518/0xc20 [ 60.144727][ T381] console_unlock+0xee/0x1f0 [ 60.144730][ T381] ? console_flush_one_record+0x710/0x710 [ 60.144732][ T381] ? rcu_is_watching+0x16/0xd0 [ 60.144734][ T381] ? lock_acquire+0xe0/0x160 [ 60.144737][ T381] ? __down_trylock_console_sem+0x5e/0xa0 [ 60.144739][ T381] ? vprintk_emit+0x320/0x3e0 [ 60.144742][ T381] vprintk_emit+0x37c/0x3e0 [ 60.144745][ T381] ? wake_up_klogd_work_func+0x90/0x90 [ 60.144749][ T381] ? __lock_acquire+0x518/0xc20 [ 60.144752][ T381] _printk+0xc7/0x100 [ 60.144756][ T381] ? snapshot_read.cold+0x21/0x21 [ 60.144758][ T381] ? lock_acquire.part.0+0xd4/0x280 [ 60.144761][ T381] ? rcu_is_watching+0x16/0xd0 [ 60.144763][ T381] ? netdev_name+0x43/0x60 [ 60.144767][ T381] ? __netdev_printk+0x17f/0x1d0 [ 60.144771][ T381] netdev_info+0xe2/0x116 [ 60.144773][ T381] ? netdev_notice+0x120/0x120 [ 60.144775][ T381] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 60.144778][ T381] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 60.144782][ T381] ? ww_mutex_lock+0x160/0x160 [ 60.144784][ T381] ? lock_acquire.part.0+0xd4/0x280 [ 60.144786][ T381] ? ref_tracker_alloc+0x430/0x430 [ 60.144789][ T381] ? packet_release+0x363/0xc40 [ 60.144791][ T381] ? __fput+0x36c/0xad0 [ 60.144795][ T381] ? mutex_is_locked+0x1c/0x50 [ 60.144797][ T381] __dev_set_promiscuity.cold+0x7a/0x104 [ 60.144801][ T381] netif_set_promiscuity+0x4c/0xc0 [ 60.144806][ T381] dev_set_promiscuity+0xa1/0x230 [ 60.144809][ T381] packet_release+0x4cb/0xc40 [ 60.144813][ T381] ? packet_set_ring+0x1740/0x1740 [ 60.144817][ T381] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 60.144821][ T381] __sock_release+0xb8/0x280 [ 60.144825][ T381] sock_close+0x18/0x20 [ 60.144826][ T381] __fput+0x36c/0xad0 [ 60.144832][ T381] fput_close_sync+0xde/0x1b0 [ 60.144834][ T381] ? alloc_file_clone+0xe0/0xe0 [ 60.144837][ T381] ? do_raw_spin_unlock+0x59/0x250 [ 60.144841][ T381] __x64_sys_close+0x8b/0xf0 [ 60.144843][ T381] do_syscall_64+0xff/0x530 [ 60.144846][ T381] ? irq_exit_rcu+0x1a/0x30 [ 60.144849][ T381] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 60.144851][ T381] RIP: 0033:0x7f79b6bcb54e [ 60.144860][ T381] 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 [ 60.144861][ T381] RSP: 002b:00007ffcfd4ef5a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 60.144864][ T381] RAX: ffffffffffffffda RBX: 0000558e28511690 RCX: 00007f79b6bcb54e [ 60.144865][ T381] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 60.144866][ T381] RBP: 00007ffcfd4ef5b0 R08: 0000000000000000 R09: 0000000000000000 [ 60.144867][ T381] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 60.144868][ T381] R13: 00000000fffffffe R14: 0000558dfd657760 R15: 0000000000000001 [ 60.144875][ T381]