[ 9.870567][ T212] ip (212) used greatest stack depth: 23760 bytes left [ 9.870582][ T212] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.870584][ T212] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 212, name: ip [ 9.870586][ T212] preempt_count: 2, expected: 0 [ 9.870587][ T212] RCU nest depth: 0, expected: 0 [ 9.870588][ T212] locks held by ip/212: 5, last CPU#0: [ 9.870589][ T212] #0: ffffffff89e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.870601][ T212] #1: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.870606][ T212] #2: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.870610][ T212] #3: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.870614][ T212] #4: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.870618][ T212] irq event stamp: 47814 [ 9.870619][ T212] hardirqs last enabled at (47813): [] __down_trylock_console_sem+0x86/0xa0 [ 9.870622][ T212] hardirqs last disabled at (47814): [] console_emit_next_record+0x3d4/0x4c0 [ 9.870624][ T212] softirqs last enabled at (47082): [] handle_softirqs+0x67c/0x900 [ 9.870626][ T212] softirqs last disabled at (47073): [] __irq_exit_rcu+0x145/0x1c0 [ 9.870628][ T212] Preemption disabled at: [ 9.870629][ T212] [<0000000000000000>] 0x0 [ 9.870636][ T212] CPU: 0 UID: 0 PID: 212 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.870639][ T212] Tainted: [W]=WARN [ 9.870640][ T212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.870641][ T212] Call Trace: [ 9.870643][ T212] [ 9.870644][ T212] dump_stack_lvl+0x6f/0xa0 [ 9.870653][ T212] __might_resched.cold+0x1fe/0x2c1 [ 9.870657][ T212] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.870661][ T212] ? __kmalloc_noprof+0xdb/0x760 [ 9.870665][ T212] __kmalloc_noprof+0x443/0x760 [ 9.870667][ T212] ? alloc_buf.isra.0+0x4b/0x260 [ 9.870674][ T212] ? do_raw_spin_unlock+0x59/0x250 [ 9.870677][ T212] alloc_buf.isra.0+0x4b/0x260 [ 9.870680][ T212] put_chars+0x1e1/0x2f0 [ 9.870682][ T212] ? __send_to_port+0x420/0x420 [ 9.870684][ T212] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.870687][ T212] ? validate_chain+0x38b/0xc20 [ 9.870692][ T212] hvc_console_print+0x292/0x780 [ 9.870700][ T212] ? hvc_write+0x3a0/0x3a0 [ 9.870703][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.870705][ T212] ? lock_acquire+0x13c/0x160 [ 9.870708][ T212] console_emit_next_record+0x22f/0x4c0 [ 9.870712][ T212] ? devkmsg_read+0x4b0/0x4b0 [ 9.870714][ T212] ? console_flush_one_record+0x106/0x710 [ 9.870717][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.870719][ T212] ? lock_acquire+0x13c/0x160 [ 9.870723][ T212] console_flush_one_record+0x46f/0x710 [ 9.870727][ T212] ? console_emit_next_record+0x4c0/0x4c0 [ 9.870729][ T212] ? __lock_acquire+0x518/0xc20 [ 9.870734][ T212] console_unlock+0xee/0x1f0 [ 9.870737][ T212] ? console_flush_one_record+0x710/0x710 [ 9.870739][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.870740][ T212] ? lock_acquire+0xe0/0x160 [ 9.870744][ T212] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.870746][ T212] ? vprintk_emit+0x320/0x3e0 [ 9.870748][ T212] vprintk_emit+0x37c/0x3e0 [ 9.870751][ T212] ? wake_up_klogd_work_func+0x90/0x90 [ 9.870754][ T212] ? __lock_acquire+0x518/0xc20 [ 9.870758][ T212] _printk+0xc7/0x100 [ 9.870761][ T212] ? snapshot_read.cold+0x21/0x21 [ 9.870764][ T212] ? do_raw_spin_lock+0x131/0x280 [ 9.870766][ T212] ? __rwlock_init+0x150/0x150 [ 9.870771][ T212] ? do_raw_spin_lock+0x131/0x280 [ 9.870774][ T212] do_exit.cold+0x82/0x9c [ 9.870778][ T212] ? exit_notify+0x890/0x890 [ 9.870779][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 9.870782][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.870786][ T212] do_group_exit+0xb8/0x370 [ 9.870788][ T212] __x64_sys_exit_group+0x3c/0x50 [ 9.870790][ T212] x64_sys_call+0x1567/0x1570 [ 9.870793][ T212] do_syscall_64+0xff/0x530 [ 9.870797][ T212] ? exc_page_fault+0xee/0x100 [ 9.870800][ T212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.870802][ T212] RIP: 0033:0x7f8ede8bd1b8 [ 9.870804][ T212] Code: Unable to access opcode bytes at 0x7f8ede8bd18e. [ 9.870805][ T212] RSP: 002b:00007fffb7649008 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.870807][ T212] RAX: ffffffffffffffda RBX: 00007f8ede9edf88 RCX: 00007f8ede8bd1b8 [ 9.870809][ T212] RDX: 00007f8ede607fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.870810][ T212] RBP: 00007fffb7649060 R08: 0000000000000000 R09: 0000000000000000 [ 9.870810][ T212] R10: 00007fffb7648e20 R11: 0000000000000246 R12: 0000000000000001 [ 9.870811][ T212] R13: 0000000000000000 R14: 00007f8ede9ec680 R15: 00007f8ede9edfa0 [ 9.870818][ T212] [ 11.030627][ T247] veth-s1: entered promiscuous mode [ 11.030698][ T247] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.030699][ T247] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 247, name: tcpdump [ 11.030701][ T247] preempt_count: 1, expected: 0 [ 11.030702][ T247] RCU nest depth: 0, expected: 0 [ 11.030703][ T247] locks held by tcpdump/247: 5, last CPU#3: [ 11.030705][ T247] #0: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 11.030716][ T247] #1: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.030721][ T247] #2: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.030725][ T247] #3: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.030729][ T247] #4: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.030733][ T247] irq event stamp: 53272 [ 11.030734][ T247] hardirqs last enabled at (53271): [] irqentry_exit+0x21c/0x790 [ 11.030737][ T247] hardirqs last disabled at (53272): [] console_emit_next_record+0x3d4/0x4c0 [ 11.030739][ T247] softirqs last enabled at (53242): [] packet_do_bind+0x4b2/0xc80 [ 11.030741][ T247] softirqs last disabled at (53240): [] release_sock+0x21/0x240 [ 11.030745][ T247] Preemption disabled at: [ 11.030746][ T247] [] vprintk_emit+0x31b/0x3e0 [ 11.030751][ T247] CPU: 3 UID: 0 PID: 247 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.030754][ T247] Tainted: [W]=WARN [ 11.030755][ T247] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.030757][ T247] Call Trace: [ 11.030758][ T247] [ 11.030760][ T247] dump_stack_lvl+0x6f/0xa0 [ 11.030765][ T247] ? vprintk_emit+0x31b/0x3e0 [ 11.030767][ T247] __might_resched.cold+0x1fe/0x2c1 [ 11.030771][ T247] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.030775][ T247] ? __kmalloc_noprof+0xdb/0x760 [ 11.030779][ T247] __kmalloc_noprof+0x443/0x760 [ 11.030781][ T247] ? alloc_buf.isra.0+0x4b/0x260 [ 11.030787][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 11.030790][ T247] alloc_buf.isra.0+0x4b/0x260 [ 11.030794][ T247] put_chars+0x1e1/0x2f0 [ 11.030796][ T247] ? __send_to_port+0x420/0x420 [ 11.030800][ T247] ? validate_chain+0x34a/0xc20 [ 11.030804][ T247] hvc_console_print+0x292/0x780 [ 11.030808][ T247] ? mark_usage+0x61/0x170 [ 11.030810][ T247] ? __lock_acquire+0x518/0xc20 [ 11.030812][ T247] ? __lock_acquire+0x518/0xc20 [ 11.030816][ T247] ? hvc_write+0x3a0/0x3a0 [ 11.030819][ T247] ? console_emit_next_record+0x1df/0x4c0 [ 11.030822][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.030824][ T247] ? lock_acquire+0x13c/0x160 [ 11.030828][ T247] console_emit_next_record+0x22f/0x4c0 [ 11.030832][ T247] ? devkmsg_read+0x4b0/0x4b0 [ 11.030834][ T247] ? console_flush_one_record+0x106/0x710 [ 11.030837][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.030838][ T247] ? lock_acquire+0x13c/0x160 [ 11.030842][ T247] console_flush_one_record+0x46f/0x710 [ 11.030846][ T247] ? console_emit_next_record+0x4c0/0x4c0 [ 11.030848][ T247] ? __lock_acquire+0x518/0xc20 [ 11.030850][ T247] ? write_ibpb+0xb/0x30 [ 11.030856][ T247] console_unlock+0xee/0x1f0 [ 11.030859][ T247] ? console_flush_one_record+0x710/0x710 [ 11.030860][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.030862][ T247] ? lock_acquire+0xe0/0x160 [ 11.030866][ T247] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.030868][ T247] ? vprintk_emit+0x320/0x3e0 [ 11.030870][ T247] vprintk_emit+0x37c/0x3e0 [ 11.030873][ T247] ? wake_up_klogd_work_func+0x90/0x90 [ 11.030874][ T247] ? kasan_save_stack+0x3d/0x50 [ 11.030877][ T247] ? kasan_save_track+0x14/0x30 [ 11.030878][ T247] ? __kasan_kmalloc+0x7b/0x90 [ 11.030879][ T247] ? __kmalloc_cache_noprof+0x29a/0x620 [ 11.030880][ T247] ? packet_mc_add+0x13b/0x890 [ 11.030882][ T247] ? packet_setsockopt+0x1953/0x21e0 [ 11.030883][ T247] ? do_sock_setsockopt+0x164/0x3b0 [ 11.030888][ T247] _printk+0xc7/0x100 [ 11.030891][ T247] ? snapshot_read.cold+0x21/0x21 [ 11.030895][ T247] ? netdev_name+0x43/0x60 [ 11.030899][ T247] ? __netdev_printk+0x17f/0x1d0 [ 11.030902][ T247] netdev_info+0xe2/0x116 [ 11.030905][ T247] ? netdev_notice+0x120/0x120 [ 11.030916][ T247] ? mutex_is_locked+0x1c/0x50 [ 11.030919][ T247] __dev_set_promiscuity.cold+0x7a/0x104 [ 11.030922][ T247] netif_set_promiscuity+0x4c/0xc0 [ 11.030927][ T247] dev_set_promiscuity+0xa1/0x230 [ 11.030929][ T247] ? __asan_memset+0x27/0x50 [ 11.030932][ T247] packet_mc_add+0x54e/0x890 [ 11.030934][ T247] ? __might_fault+0x97/0x140 [ 11.030937][ T247] ? __might_fault+0x97/0x140 [ 11.030939][ T247] ? _copy_from_user+0x42/0x90 [ 11.030943][ T247] packet_setsockopt+0x1953/0x21e0 [ 11.030947][ T247] ? packet_bind+0x170/0x170 [ 11.030950][ T247] ? do_sock_getsockopt+0x7bb/0xb50 [ 11.030955][ T247] ? sock_poll+0x6b0/0x6b0 [ 11.030962][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.030963][ T247] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.030968][ T247] do_sock_setsockopt+0x164/0x3b0 [ 11.030971][ T247] ? put_user_ifreq+0x90/0x90 [ 11.030973][ T247] ? __sys_bind+0x19f/0x260 [ 11.030976][ T247] ? __sys_bind_socket+0xa0/0xa0 [ 11.030982][ T247] __sys_setsockopt+0xe4/0x150 [ 11.030986][ T247] __x64_sys_setsockopt+0xbd/0x180 [ 11.030988][ T247] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.030990][ T247] ? lockdep_hardirqs_on+0x91/0x130 [ 11.030991][ T247] ? do_syscall_64+0xa6/0x530 [ 11.030993][ T247] do_syscall_64+0xff/0x530 [ 11.030995][ T247] ? exc_page_fault+0xee/0x100 [ 11.030998][ T247] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.031000][ T247] RIP: 0033:0x7f2a4fe1c2de [ 11.031003][ T247] 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.031005][ T247] RSP: 002b:00007ffeaf3479f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 11.031008][ T247] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f2a4fe1c2de [ 11.031009][ T247] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 11.031010][ T247] RBP: 00007ffeaf347b30 R08: 0000000000000010 R09: 000055a4540ba530 [ 11.031011][ T247] R10: 00007ffeaf347a70 R11: 0000000000000246 R12: 0000000000000001 [ 11.031011][ T247] R13: 000055a4540ba918 R14: 000055a4540ba690 R15: 0000000000000000 [ 11.031018][ T247] [ 12.058035][ T252] veth-s2: entered promiscuous mode [ 12.058052][ T252] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.058054][ T252] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 252, name: tcpdump [ 12.058056][ T252] preempt_count: 1, expected: 0 [ 12.058057][ T252] RCU nest depth: 0, expected: 0 [ 12.058058][ T252] locks held by tcpdump/252: 5, last CPU#0: [ 12.058060][ T252] #0: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 12.058072][ T252] #1: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.058078][ T252] #2: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.058082][ T252] #3: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.058086][ T252] #4: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.058090][ T252] irq event stamp: 33588 [ 12.058091][ T252] hardirqs last enabled at (33587): [] __down_trylock_console_sem+0x86/0xa0 [ 12.058094][ T252] hardirqs last disabled at (33588): [] console_emit_next_record+0x3d4/0x4c0 [ 12.058096][ T252] softirqs last enabled at (33568): [] packet_do_bind+0x4b2/0xc80 [ 12.058098][ T252] softirqs last disabled at (33566): [] release_sock+0x21/0x240 [ 12.058102][ T252] Preemption disabled at: [ 12.058102][ T252] [] vprintk_emit+0x31b/0x3e0 [ 12.058108][ T252] CPU: 0 UID: 0 PID: 252 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.058111][ T252] Tainted: [W]=WARN [ 12.058112][ T252] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.058114][ T252] Call Trace: [ 12.058115][ T252] [ 12.058117][ T252] dump_stack_lvl+0x6f/0xa0 [ 12.058123][ T252] ? vprintk_emit+0x31b/0x3e0 [ 12.058124][ T252] __might_resched.cold+0x1fe/0x2c1 [ 12.058129][ T252] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.058133][ T252] ? __kmalloc_noprof+0xdb/0x760 [ 12.058138][ T252] __kmalloc_noprof+0x443/0x760 [ 12.058139][ T252] ? alloc_buf.isra.0+0x4b/0x260 [ 12.058146][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 12.058149][ T252] alloc_buf.isra.0+0x4b/0x260 [ 12.058153][ T252] put_chars+0x1e1/0x2f0 [ 12.058154][ T252] ? prb_final_commit+0x50/0x50 [ 12.058157][ T252] ? __send_to_port+0x420/0x420 [ 12.058159][ T252] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.058162][ T252] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.058165][ T252] ? validate_chain+0x38b/0xc20 [ 12.058169][ T252] hvc_console_print+0x292/0x780 [ 12.058173][ T252] ? mark_usage+0x61/0x170 [ 12.058175][ T252] ? __lock_acquire+0x518/0xc20 [ 12.058177][ T252] ? __lock_acquire+0x518/0xc20 [ 12.058181][ T252] ? hvc_write+0x3a0/0x3a0 [ 12.058183][ T252] ? console_emit_next_record+0x1df/0x4c0 [ 12.058186][ T252] ? rcu_is_watching+0x16/0xd0 [ 12.058188][ T252] ? lock_acquire+0x13c/0x160 [ 12.058192][ T252] console_emit_next_record+0x22f/0x4c0 [ 12.058196][ T252] ? devkmsg_read+0x4b0/0x4b0 [ 12.058198][ T252] ? console_flush_one_record+0x106/0x710 [ 12.058201][ T252] ? rcu_is_watching+0x16/0xd0 [ 12.058203][ T252] ? lock_acquire+0x13c/0x160 [ 12.058207][ T252] console_flush_one_record+0x46f/0x710 [ 12.058211][ T252] ? console_emit_next_record+0x4c0/0x4c0 [ 12.058213][ T252] ? __lock_acquire+0x518/0xc20 [ 12.058218][ T252] console_unlock+0xee/0x1f0 [ 12.058221][ T252] ? console_flush_one_record+0x710/0x710 [ 12.058223][ T252] ? rcu_is_watching+0x16/0xd0 [ 12.058225][ T252] ? lock_acquire+0xe0/0x160 [ 12.058228][ T252] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.058230][ T252] ? vprintk_emit+0x320/0x3e0 [ 12.058233][ T252] vprintk_emit+0x37c/0x3e0 [ 12.058236][ T252] ? wake_up_klogd_work_func+0x90/0x90 [ 12.058237][ T252] ? kasan_save_stack+0x3d/0x50 [ 12.058240][ T252] ? kasan_save_track+0x14/0x30 [ 12.058241][ T252] ? __kasan_kmalloc+0x7b/0x90 [ 12.058242][ T252] ? __kmalloc_cache_noprof+0x29a/0x620 [ 12.058244][ T252] ? packet_mc_add+0x13b/0x890 [ 12.058245][ T252] ? packet_setsockopt+0x1953/0x21e0 [ 12.058247][ T252] ? do_sock_setsockopt+0x164/0x3b0 [ 12.058251][ T252] _printk+0xc7/0x100 [ 12.058255][ T252] ? snapshot_read.cold+0x21/0x21 [ 12.058259][ T252] ? netdev_name+0x43/0x60 [ 12.058263][ T252] ? __netdev_printk+0x17f/0x1d0 [ 12.058266][ T252] netdev_info+0xe2/0x116 [ 12.058270][ T252] ? netdev_notice+0x120/0x120 [ 12.058277][ T252] ? mutex_is_locked+0x1c/0x50 [ 12.058279][ T252] __dev_set_promiscuity.cold+0x7a/0x104 [ 12.058282][ T252] netif_set_promiscuity+0x4c/0xc0 [ 12.058288][ T252] dev_set_promiscuity+0xa1/0x230 [ 12.058290][ T252] ? __asan_memset+0x27/0x50 [ 12.058293][ T252] packet_mc_add+0x54e/0x890 [ 12.058295][ T252] ? __might_fault+0x97/0x140 [ 12.058298][ T252] ? __might_fault+0x97/0x140 [ 12.058300][ T252] ? _copy_from_user+0x42/0x90 [ 12.058305][ T252] packet_setsockopt+0x1953/0x21e0 [ 12.058308][ T252] ? packet_bind+0x170/0x170 [ 12.058311][ T252] ? do_sock_getsockopt+0x7bb/0xb50 [ 12.058316][ T252] ? sock_poll+0x6b0/0x6b0 [ 12.058320][ T252] ? rcu_is_watching+0x16/0xd0 [ 12.058322][ T252] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.058327][ T252] do_sock_setsockopt+0x164/0x3b0 [ 12.058330][ T252] ? put_user_ifreq+0x90/0x90 [ 12.058332][ T252] ? __sys_bind+0x19f/0x260 [ 12.058334][ T252] ? __sys_bind_socket+0xa0/0xa0 [ 12.058340][ T252] __sys_setsockopt+0xe4/0x150 [ 12.058345][ T252] __x64_sys_setsockopt+0xbd/0x180 [ 12.058347][ T252] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.058349][ T252] ? lockdep_hardirqs_on+0x91/0x130 [ 12.058352][ T252] ? do_syscall_64+0xa6/0x530 [ 12.058355][ T252] do_syscall_64+0xff/0x530 [ 12.058356][ T252] ? exc_page_fault+0xee/0x100 [ 12.058359][ T252] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.058361][ T252] RIP: 0033:0x7f1c1df732de [ 12.058365][ T252] 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.058366][ T252] RSP: 002b:00007ffeb4218668 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 12.058369][ T252] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f1c1df732de [ 12.058370][ T252] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 12.058371][ T252] RBP: 00007ffeb42187a0 R08: 0000000000000010 R09: 000055adf6621530 [ 12.058372][ T252] R10: 00007ffeb42186e0 R11: 0000000000000246 R12: 0000000000000001 [ 12.058373][ T252] R13: 000055adf6621918 R14: 000055adf6621690 R15: 0000000000000000 [ 12.058379][ T252] [ 17.056963][ T247] veth-s1: left promiscuous mode [ 17.057072][ T247] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.057075][ T247] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 247, name: tcpdump [ 17.057077][ T247] preempt_count: 1, expected: 0 [ 17.057078][ T247] RCU nest depth: 0, expected: 0 [ 17.057079][ T247] locks held by tcpdump/247: 6, last CPU#2: [ 17.057080][ T247] #0: ff1100000d6e7300 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 17.057092][ T247] #1: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 17.057098][ T247] #2: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.057103][ T247] #3: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.057107][ T247] #4: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.057111][ T247] #5: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.057115][ T247] irq event stamp: 79842 [ 17.057116][ T247] hardirqs last enabled at (79841): [] __down_trylock_console_sem+0x86/0xa0 [ 17.057119][ T247] hardirqs last disabled at (79842): [] console_emit_next_record+0x3d4/0x4c0 [ 17.057121][ T247] softirqs last enabled at (79702): [] handle_softirqs+0x67c/0x900 [ 17.057124][ T247] softirqs last disabled at (79695): [] __irq_exit_rcu+0x145/0x1c0 [ 17.057127][ T247] Preemption disabled at: [ 17.057127][ T247] [] vprintk_emit+0x31b/0x3e0 [ 17.057132][ T247] CPU: 2 UID: 72 PID: 247 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.057136][ T247] Tainted: [W]=WARN [ 17.057137][ T247] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.057139][ T247] Call Trace: [ 17.057140][ T247] [ 17.057142][ T247] dump_stack_lvl+0x6f/0xa0 [ 17.057148][ T247] ? vprintk_emit+0x31b/0x3e0 [ 17.057149][ T247] __might_resched.cold+0x1fe/0x2c1 [ 17.057154][ T247] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.057158][ T247] ? __kmalloc_noprof+0xdb/0x760 [ 17.057162][ T247] __kmalloc_noprof+0x443/0x760 [ 17.057164][ T247] ? alloc_buf.isra.0+0x4b/0x260 [ 17.057170][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 17.057173][ T247] alloc_buf.isra.0+0x4b/0x260 [ 17.057177][ T247] put_chars+0x1e1/0x2f0 [ 17.057179][ T247] ? __send_to_port+0x420/0x420 [ 17.057180][ T247] ? check_prev_add+0xef/0xe90 [ 17.057185][ T247] ? validate_chain+0x34a/0xc20 [ 17.057188][ T247] hvc_console_print+0x292/0x780 [ 17.057192][ T247] ? mark_usage+0x61/0x170 [ 17.057194][ T247] ? __lock_acquire+0x518/0xc20 [ 17.057196][ T247] ? __lock_acquire+0x518/0xc20 [ 17.057200][ T247] ? hvc_write+0x3a0/0x3a0 [ 17.057202][ T247] ? lock_acquire.part.0+0xd4/0x280 [ 17.057206][ T247] ? lock_acquire+0x13c/0x160 [ 17.057210][ T247] console_emit_next_record+0x22f/0x4c0 [ 17.057214][ T247] ? devkmsg_read+0x4b0/0x4b0 [ 17.057216][ T247] ? console_flush_one_record+0x106/0x710 [ 17.057219][ T247] ? rcu_is_watching+0x16/0xd0 [ 17.057222][ T247] ? lock_acquire+0x13c/0x160 [ 17.057225][ T247] console_flush_one_record+0x46f/0x710 [ 17.057230][ T247] ? console_emit_next_record+0x4c0/0x4c0 [ 17.057231][ T247] ? __lock_acquire+0x518/0xc20 [ 17.057237][ T247] console_unlock+0xee/0x1f0 [ 17.057239][ T247] ? console_flush_one_record+0x710/0x710 [ 17.057241][ T247] ? rcu_is_watching+0x16/0xd0 [ 17.057243][ T247] ? lock_acquire+0xe0/0x160 [ 17.057246][ T247] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.057248][ T247] ? vprintk_emit+0x320/0x3e0 [ 17.057251][ T247] vprintk_emit+0x37c/0x3e0 [ 17.057254][ T247] ? wake_up_klogd_work_func+0x90/0x90 [ 17.057257][ T247] ? __lock_acquire+0x518/0xc20 [ 17.057260][ T247] _printk+0xc7/0x100 [ 17.057264][ T247] ? snapshot_read.cold+0x21/0x21 [ 17.057265][ T247] ? lock_acquire.part.0+0xd4/0x280 [ 17.057269][ T247] ? rcu_is_watching+0x16/0xd0 [ 17.057270][ T247] ? netdev_name+0x43/0x60 [ 17.057274][ T247] ? __netdev_printk+0x17f/0x1d0 [ 17.057278][ T247] netdev_info+0xe2/0x116 [ 17.057280][ T247] ? netdev_notice+0x120/0x120 [ 17.057282][ T247] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 17.057284][ T247] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 17.057289][ T247] ? ww_mutex_lock+0x160/0x160 [ 17.057291][ T247] ? lock_acquire.part.0+0xd4/0x280 [ 17.057293][ T247] ? ref_tracker_alloc+0x430/0x430 [ 17.057296][ T247] ? packet_release+0x363/0xc40 [ 17.057298][ T247] ? __fput+0x36c/0xad0 [ 17.057301][ T247] ? mutex_is_locked+0x1c/0x50 [ 17.057304][ T247] __dev_set_promiscuity.cold+0x7a/0x104 [ 17.057307][ T247] netif_set_promiscuity+0x4c/0xc0 [ 17.057312][ T247] dev_set_promiscuity+0xa1/0x230 [ 17.057315][ T247] packet_release+0x4cb/0xc40 [ 17.057319][ T247] ? packet_set_ring+0x1740/0x1740 [ 17.057322][ T247] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 17.057326][ T247] __sock_release+0xb8/0x280 [ 17.057330][ T247] sock_close+0x18/0x20 [ 17.057331][ T247] __fput+0x36c/0xad0 [ 17.057336][ T247] fput_close_sync+0xde/0x1b0 [ 17.057338][ T247] ? alloc_file_clone+0xe0/0xe0 [ 17.057341][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 17.057345][ T247] __x64_sys_close+0x8b/0xf0 [ 17.057347][ T247] do_syscall_64+0xff/0x530 [ 17.057350][ T247] ? exc_page_fault+0xee/0x100 [ 17.057353][ T247] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.057355][ T247] RIP: 0033:0x7f2a4fd9354e [ 17.057359][ T247] 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.057360][ T247] RSP: 002b:00007ffeaf347b60 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 17.057363][ T247] RAX: ffffffffffffffda RBX: 000055a4540ba690 RCX: 00007f2a4fd9354e [ 17.057364][ T247] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 17.057365][ T247] RBP: 00007ffeaf347b70 R08: 0000000000000000 R09: 0000000000000000 [ 17.057366][ T247] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 17.057367][ T247] R13: 00000000fffffffe R14: 000055a44ca27760 R15: 0000000000000001 [ 17.057373][ T247] [ 18.188733][ T252] veth-s2: left promiscuous mode [ 18.188759][ T252] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.188762][ T252] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 252, name: tcpdump [ 18.188763][ T252] preempt_count: 1, expected: 0 [ 18.188764][ T252] RCU nest depth: 0, expected: 0 [ 18.188765][ T252] locks held by tcpdump/252: 6, last CPU#0: [ 18.188767][ T252] #0: ff1100000d6e3ac0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 18.188781][ T252] #1: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 18.188786][ T252] #2: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.188792][ T252] #3: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.188796][ T252] #4: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.188800][ T252] #5: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.188804][ T252] irq event stamp: 688260 [ 18.188805][ T252] hardirqs last enabled at (688259): [] __down_trylock_console_sem+0x86/0xa0 [ 18.188808][ T252] hardirqs last disabled at (688260): [] console_emit_next_record+0x3d4/0x4c0 [ 18.188810][ T252] softirqs last enabled at (688072): [] packet_setsockopt+0xcdf/0x21e0 [ 18.188812][ T252] softirqs last disabled at (688070): [] release_sock+0x21/0x240 [ 18.188815][ T252] Preemption disabled at: [ 18.188816][ T252] [] vprintk_emit+0x31b/0x3e0 [ 18.188821][ T252] CPU: 0 UID: 72 PID: 252 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.188825][ T252] Tainted: [W]=WARN [ 18.188826][ T252] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.188827][ T252] Call Trace: [ 18.188829][ T252] [ 18.188831][ T252] dump_stack_lvl+0x6f/0xa0 [ 18.188837][ T252] ? vprintk_emit+0x31b/0x3e0 [ 18.188838][ T252] __might_resched.cold+0x1fe/0x2c1 [ 18.188843][ T252] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.188847][ T252] ? __kmalloc_noprof+0xdb/0x760 [ 18.188852][ T252] __kmalloc_noprof+0x443/0x760 [ 18.188854][ T252] ? alloc_buf.isra.0+0x4b/0x260 [ 18.188861][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 18.188863][ T252] alloc_buf.isra.0+0x4b/0x260 [ 18.188867][ T252] put_chars+0x1e1/0x2f0 [ 18.188870][ T252] ? __send_to_port+0x420/0x420 [ 18.188873][ T252] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.188876][ T252] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.188878][ T252] ? validate_chain+0x38b/0xc20 [ 18.188883][ T252] hvc_console_print+0x292/0x780 [ 18.188887][ T252] ? mark_usage+0x61/0x170 [ 18.188889][ T252] ? __lock_acquire+0x518/0xc20 [ 18.188891][ T252] ? __lock_acquire+0x518/0xc20 [ 18.188896][ T252] ? hvc_write+0x3a0/0x3a0 [ 18.188898][ T252] ? lock_acquire.part.0+0xd4/0x280 [ 18.188902][ T252] ? lock_acquire+0x13c/0x160 [ 18.188907][ T252] console_emit_next_record+0x22f/0x4c0 [ 18.188911][ T252] ? devkmsg_read+0x4b0/0x4b0 [ 18.188913][ T252] ? console_flush_one_record+0x106/0x710 [ 18.188916][ T252] ? rcu_is_watching+0x16/0xd0 [ 18.188919][ T252] ? lock_acquire+0x13c/0x160 [ 18.188923][ T252] console_flush_one_record+0x46f/0x710 [ 18.188928][ T252] ? console_emit_next_record+0x4c0/0x4c0 [ 18.188930][ T252] ? __lock_acquire+0x518/0xc20 [ 18.188940][ T252] console_unlock+0xee/0x1f0 [ 18.188944][ T252] ? console_flush_one_record+0x710/0x710 [ 18.188946][ T252] ? rcu_is_watching+0x16/0xd0 [ 18.188948][ T252] ? lock_acquire+0xe0/0x160 [ 18.188952][ T252] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.188953][ T252] ? vprintk_emit+0x320/0x3e0 [ 18.188956][ T252] vprintk_emit+0x37c/0x3e0 [ 18.188960][ T252] ? wake_up_klogd_work_func+0x90/0x90 [ 18.188963][ T252] ? __lock_acquire+0x518/0xc20 [ 18.188967][ T252] _printk+0xc7/0x100 [ 18.188971][ T252] ? snapshot_read.cold+0x21/0x21 [ 18.188972][ T252] ? lock_acquire.part.0+0xd4/0x280 [ 18.188976][ T252] ? rcu_is_watching+0x16/0xd0 [ 18.188978][ T252] ? netdev_name+0x43/0x60 [ 18.188981][ T252] ? __netdev_printk+0x17f/0x1d0 [ 18.188985][ T252] netdev_info+0xe2/0x116 [ 18.188988][ T252] ? netdev_notice+0x120/0x120 [ 18.188990][ T252] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 18.188993][ T252] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 18.188997][ T252] ? ww_mutex_lock+0x160/0x160 [ 18.188999][ T252] ? lock_acquire.part.0+0xd4/0x280 [ 18.189002][ T252] ? ref_tracker_alloc+0x430/0x430 [ 18.189005][ T252] ? packet_release+0x363/0xc40 [ 18.189007][ T252] ? __fput+0x36c/0xad0 [ 18.189011][ T252] ? mutex_is_locked+0x1c/0x50 [ 18.189014][ T252] __dev_set_promiscuity.cold+0x7a/0x104 [ 18.189017][ T252] netif_set_promiscuity+0x4c/0xc0 [ 18.189022][ T252] dev_set_promiscuity+0xa1/0x230 [ 18.189025][ T252] packet_release+0x4cb/0xc40 [ 18.189030][ T252] ? packet_set_ring+0x1740/0x1740 [ 18.189033][ T252] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 18.189038][ T252] __sock_release+0xb8/0x280 [ 18.189041][ T252] sock_close+0x18/0x20 [ 18.189043][ T252] __fput+0x36c/0xad0 [ 18.189049][ T252] fput_close_sync+0xde/0x1b0 [ 18.189051][ T252] ? alloc_file_clone+0xe0/0xe0 [ 18.189054][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 18.189058][ T252] __x64_sys_close+0x8b/0xf0 [ 18.189061][ T252] do_syscall_64+0xff/0x530 [ 18.189064][ T252] ? irq_exit_rcu+0x1a/0x30 [ 18.189068][ T252] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.189070][ T252] RIP: 0033:0x7f1c1deea54e [ 18.189074][ T252] 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.189076][ T252] RSP: 002b:00007ffeb42187d0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 18.189079][ T252] RAX: ffffffffffffffda RBX: 000055adf6621690 RCX: 00007f1c1deea54e [ 18.189080][ T252] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 18.189081][ T252] RBP: 00007ffeb42187e0 R08: 0000000000000000 R09: 0000000000000000 [ 18.189082][ T252] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 18.189083][ T252] R13: 00000000fffffffe R14: 000055adbd3aa760 R15: 0000000000000001 [ 18.189090][ T252] [ 26.315723][ T276] veth-s1: entered promiscuous mode [ 26.315740][ T276] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.315742][ T276] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 276, name: tcpdump [ 26.315744][ T276] preempt_count: 1, expected: 0 [ 26.315744][ T276] RCU nest depth: 0, expected: 0 [ 26.315745][ T276] locks held by tcpdump/276: 5, last CPU#3: [ 26.315747][ T276] #0: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 26.315758][ T276] #1: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.315764][ T276] #2: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.315768][ T276] #3: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.315772][ T276] #4: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 26.315775][ T276] irq event stamp: 51500 [ 26.315776][ T276] hardirqs last enabled at (51499): [] __down_trylock_console_sem+0x86/0xa0 [ 26.315779][ T276] hardirqs last disabled at (51500): [] console_emit_next_record+0x3d4/0x4c0 [ 26.315781][ T276] softirqs last enabled at (51480): [] packet_do_bind+0x4b2/0xc80 [ 26.315783][ T276] softirqs last disabled at (51478): [] release_sock+0x21/0x240 [ 26.315787][ T276] Preemption disabled at: [ 26.315787][ T276] [] vprintk_emit+0x31b/0x3e0 [ 26.315792][ T276] CPU: 3 UID: 0 PID: 276 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.315795][ T276] Tainted: [W]=WARN [ 26.315796][ T276] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.315798][ T276] Call Trace: [ 26.315799][ T276] [ 26.315801][ T276] dump_stack_lvl+0x6f/0xa0 [ 26.315807][ T276] ? vprintk_emit+0x31b/0x3e0 [ 26.315808][ T276] __might_resched.cold+0x1fe/0x2c1 [ 26.315813][ T276] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.315816][ T276] ? __kmalloc_noprof+0xdb/0x760 [ 26.315821][ T276] __kmalloc_noprof+0x443/0x760 [ 26.315823][ T276] ? alloc_buf.isra.0+0x4b/0x260 [ 26.315829][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 26.315831][ T276] alloc_buf.isra.0+0x4b/0x260 [ 26.315835][ T276] put_chars+0x1e1/0x2f0 [ 26.315836][ T276] ? prb_final_commit+0x50/0x50 [ 26.315839][ T276] ? __send_to_port+0x420/0x420 [ 26.315841][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.315844][ T276] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.315847][ T276] ? validate_chain+0x38b/0xc20 [ 26.315851][ T276] hvc_console_print+0x292/0x780 [ 26.315855][ T276] ? mark_usage+0x61/0x170 [ 26.315857][ T276] ? __lock_acquire+0x518/0xc20 [ 26.315859][ T276] ? __lock_acquire+0x518/0xc20 [ 26.315863][ T276] ? hvc_write+0x3a0/0x3a0 [ 26.315865][ T276] ? console_emit_next_record+0x1df/0x4c0 [ 26.315868][ T276] ? rcu_is_watching+0x16/0xd0 [ 26.315870][ T276] ? lock_acquire+0x13c/0x160 [ 26.315874][ T276] console_emit_next_record+0x22f/0x4c0 [ 26.315878][ T276] ? devkmsg_read+0x4b0/0x4b0 [ 26.315880][ T276] ? console_flush_one_record+0x106/0x710 [ 26.315883][ T276] ? rcu_is_watching+0x16/0xd0 [ 26.315885][ T276] ? lock_acquire+0x13c/0x160 [ 26.315889][ T276] console_flush_one_record+0x46f/0x710 [ 26.315893][ T276] ? console_emit_next_record+0x4c0/0x4c0 [ 26.315894][ T276] ? __lock_acquire+0x518/0xc20 [ 26.315899][ T276] console_unlock+0xee/0x1f0 [ 26.315902][ T276] ? console_flush_one_record+0x710/0x710 [ 26.315904][ T276] ? rcu_is_watching+0x16/0xd0 [ 26.315906][ T276] ? lock_acquire+0xe0/0x160 [ 26.315909][ T276] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.315911][ T276] ? vprintk_emit+0x320/0x3e0 [ 26.315914][ T276] vprintk_emit+0x37c/0x3e0 [ 26.315917][ T276] ? wake_up_klogd_work_func+0x90/0x90 [ 26.315918][ T276] ? kasan_save_stack+0x3d/0x50 [ 26.315921][ T276] ? kasan_save_track+0x14/0x30 [ 26.315922][ T276] ? __kasan_kmalloc+0x7b/0x90 [ 26.315923][ T276] ? __kmalloc_cache_noprof+0x29a/0x620 [ 26.315924][ T276] ? packet_mc_add+0x13b/0x890 [ 26.315926][ T276] ? packet_setsockopt+0x1953/0x21e0 [ 26.315927][ T276] ? do_sock_setsockopt+0x164/0x3b0 [ 26.315931][ T276] _printk+0xc7/0x100 [ 26.315935][ T276] ? snapshot_read.cold+0x21/0x21 [ 26.315939][ T276] ? netdev_name+0x43/0x60 [ 26.315943][ T276] ? __netdev_printk+0x17f/0x1d0 [ 26.315947][ T276] netdev_info+0xe2/0x116 [ 26.315950][ T276] ? netdev_notice+0x120/0x120 [ 26.315957][ T276] ? mutex_is_locked+0x1c/0x50 [ 26.315959][ T276] __dev_set_promiscuity.cold+0x7a/0x104 [ 26.315962][ T276] netif_set_promiscuity+0x4c/0xc0 [ 26.315972][ T276] dev_set_promiscuity+0xa1/0x230 [ 26.315974][ T276] ? __asan_memset+0x27/0x50 [ 26.315977][ T276] packet_mc_add+0x54e/0x890 [ 26.315979][ T276] ? __might_fault+0x97/0x140 [ 26.315982][ T276] ? __might_fault+0x97/0x140 [ 26.315984][ T276] ? _copy_from_user+0x42/0x90 [ 26.315989][ T276] packet_setsockopt+0x1953/0x21e0 [ 26.315992][ T276] ? packet_bind+0x170/0x170 [ 26.315995][ T276] ? do_sock_getsockopt+0x7bb/0xb50 [ 26.316000][ T276] ? sock_poll+0x6b0/0x6b0 [ 26.316003][ T276] ? rcu_is_watching+0x16/0xd0 [ 26.316005][ T276] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.316010][ T276] do_sock_setsockopt+0x164/0x3b0 [ 26.316013][ T276] ? put_user_ifreq+0x90/0x90 [ 26.316015][ T276] ? __sys_bind+0x19f/0x260 [ 26.316017][ T276] ? __sys_bind_socket+0xa0/0xa0 [ 26.316023][ T276] __sys_setsockopt+0xe4/0x150 [ 26.316028][ T276] __x64_sys_setsockopt+0xbd/0x180 [ 26.316030][ T276] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.316032][ T276] ? lockdep_hardirqs_on+0x91/0x130 [ 26.316035][ T276] ? do_syscall_64+0xa6/0x530 [ 26.316037][ T276] do_syscall_64+0xff/0x530 [ 26.316039][ T276] ? exc_page_fault+0xee/0x100 [ 26.316042][ T276] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.316044][ T276] RIP: 0033:0x7f0b1cf062de [ 26.316048][ T276] 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.316049][ T276] RSP: 002b:00007ffc683cb5c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 26.316052][ T276] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f0b1cf062de [ 26.316053][ T276] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 26.316054][ T276] RBP: 00007ffc683cb700 R08: 0000000000000010 R09: 000056088f36b530 [ 26.316055][ T276] R10: 00007ffc683cb640 R11: 0000000000000246 R12: 0000000000000001 [ 26.316055][ T276] R13: 000056088f36b918 R14: 000056088f36b690 R15: 0000000000000000 [ 26.316062][ T276] [ 30.306876][ T276] veth-s1: left promiscuous mode [ 30.306894][ T276] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.306897][ T276] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 276, name: tcpdump [ 30.306899][ T276] preempt_count: 1, expected: 0 [ 30.306899][ T276] RCU nest depth: 0, expected: 0 [ 30.306900][ T276] locks held by tcpdump/276: 6, last CPU#2: [ 30.306902][ T276] #0: ff11000011ee4100 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 30.306915][ T276] #1: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 30.306920][ T276] #2: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.306925][ T276] #3: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.306930][ T276] #4: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.306933][ T276] #5: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.306937][ T276] irq event stamp: 687092 [ 30.306938][ T276] hardirqs last enabled at (687091): [] __down_trylock_console_sem+0x86/0xa0 [ 30.306941][ T276] hardirqs last disabled at (687092): [] console_emit_next_record+0x3d4/0x4c0 [ 30.306943][ T276] softirqs last enabled at (686906): [] packet_setsockopt+0xcdf/0x21e0 [ 30.306945][ T276] softirqs last disabled at (686904): [] release_sock+0x21/0x240 [ 30.306948][ T276] Preemption disabled at: [ 30.306949][ T276] [] vprintk_emit+0x31b/0x3e0 [ 30.306954][ T276] CPU: 2 UID: 72 PID: 276 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.306957][ T276] Tainted: [W]=WARN [ 30.306958][ T276] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.306959][ T276] Call Trace: [ 30.306961][ T276] [ 30.306962][ T276] dump_stack_lvl+0x6f/0xa0 [ 30.306968][ T276] ? vprintk_emit+0x31b/0x3e0 [ 30.306970][ T276] __might_resched.cold+0x1fe/0x2c1 [ 30.306974][ T276] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.306978][ T276] ? __kmalloc_noprof+0xdb/0x760 [ 30.306987][ T276] __kmalloc_noprof+0x443/0x760 [ 30.306989][ T276] ? alloc_buf.isra.0+0x4b/0x260 [ 30.306995][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 30.306998][ T276] alloc_buf.isra.0+0x4b/0x260 [ 30.307002][ T276] put_chars+0x1e1/0x2f0 [ 30.307004][ T276] ? __send_to_port+0x420/0x420 [ 30.307007][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.307010][ T276] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.307013][ T276] ? validate_chain+0x38b/0xc20 [ 30.307017][ T276] hvc_console_print+0x292/0x780 [ 30.307021][ T276] ? mark_usage+0x61/0x170 [ 30.307023][ T276] ? __lock_acquire+0x518/0xc20 [ 30.307024][ T276] ? __lock_acquire+0x518/0xc20 [ 30.307029][ T276] ? hvc_write+0x3a0/0x3a0 [ 30.307030][ T276] ? lock_acquire.part.0+0xd4/0x280 [ 30.307035][ T276] ? lock_acquire+0x13c/0x160 [ 30.307039][ T276] console_emit_next_record+0x22f/0x4c0 [ 30.307043][ T276] ? devkmsg_read+0x4b0/0x4b0 [ 30.307044][ T276] ? console_flush_one_record+0x106/0x710 [ 30.307048][ T276] ? rcu_is_watching+0x16/0xd0 [ 30.307050][ T276] ? lock_acquire+0x13c/0x160 [ 30.307053][ T276] console_flush_one_record+0x46f/0x710 [ 30.307058][ T276] ? console_emit_next_record+0x4c0/0x4c0 [ 30.307059][ T276] ? __lock_acquire+0x518/0xc20 [ 30.307065][ T276] console_unlock+0xee/0x1f0 [ 30.307067][ T276] ? console_flush_one_record+0x710/0x710 [ 30.307069][ T276] ? rcu_is_watching+0x16/0xd0 [ 30.307071][ T276] ? lock_acquire+0xe0/0x160 [ 30.307075][ T276] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.307076][ T276] ? vprintk_emit+0x320/0x3e0 [ 30.307079][ T276] vprintk_emit+0x37c/0x3e0 [ 30.307082][ T276] ? wake_up_klogd_work_func+0x90/0x90 [ 30.307085][ T276] ? __lock_acquire+0x518/0xc20 [ 30.307089][ T276] _printk+0xc7/0x100 [ 30.307092][ T276] ? snapshot_read.cold+0x21/0x21 [ 30.307094][ T276] ? lock_acquire.part.0+0xd4/0x280 [ 30.307097][ T276] ? rcu_is_watching+0x16/0xd0 [ 30.307099][ T276] ? netdev_name+0x43/0x60 [ 30.307103][ T276] ? __netdev_printk+0x17f/0x1d0 [ 30.307107][ T276] netdev_info+0xe2/0x116 [ 30.307109][ T276] ? netdev_notice+0x120/0x120 [ 30.307111][ T276] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 30.307113][ T276] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 30.307118][ T276] ? ww_mutex_lock+0x160/0x160 [ 30.307120][ T276] ? lock_acquire.part.0+0xd4/0x280 [ 30.307122][ T276] ? ref_tracker_alloc+0x430/0x430 [ 30.307125][ T276] ? packet_release+0x363/0xc40 [ 30.307127][ T276] ? __fput+0x36c/0xad0 [ 30.307130][ T276] ? mutex_is_locked+0x1c/0x50 [ 30.307133][ T276] __dev_set_promiscuity.cold+0x7a/0x104 [ 30.307137][ T276] netif_set_promiscuity+0x4c/0xc0 [ 30.307142][ T276] dev_set_promiscuity+0xa1/0x230 [ 30.307144][ T276] packet_release+0x4cb/0xc40 [ 30.307149][ T276] ? packet_set_ring+0x1740/0x1740 [ 30.307152][ T276] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 30.307156][ T276] __sock_release+0xb8/0x280 [ 30.307160][ T276] sock_close+0x18/0x20 [ 30.307161][ T276] __fput+0x36c/0xad0 [ 30.307166][ T276] fput_close_sync+0xde/0x1b0 [ 30.307169][ T276] ? alloc_file_clone+0xe0/0xe0 [ 30.307171][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 30.307175][ T276] __x64_sys_close+0x8b/0xf0 [ 30.307178][ T276] do_syscall_64+0xff/0x530 [ 30.307181][ T276] ? irq_exit_rcu+0x1a/0x30 [ 30.307185][ T276] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.307187][ T276] RIP: 0033:0x7f0b1ce7d54e [ 30.307191][ T276] 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.307193][ T276] RSP: 002b:00007ffc683cb730 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 30.307195][ T276] RAX: ffffffffffffffda RBX: 000056088f36b690 RCX: 00007f0b1ce7d54e [ 30.307197][ T276] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 30.307198][ T276] RBP: 00007ffc683cb740 R08: 0000000000000000 R09: 0000000000000000 [ 30.307198][ T276] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 30.307199][ T276] R13: 00000000fffffffe R14: 000056088a88e760 R15: 0000000000000001 [ 30.307206][ T276] [ 41.361400][ T354] veth-s1: entered promiscuous mode [ 41.361417][ T354] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.361419][ T354] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 354, name: tcpdump [ 41.361421][ T354] preempt_count: 1, expected: 0 [ 41.361421][ T354] RCU nest depth: 0, expected: 0 [ 41.361422][ T354] locks held by tcpdump/354: 5, last CPU#0: [ 41.361424][ T354] #0: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 41.361436][ T354] #1: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.361442][ T354] #2: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.361446][ T354] #3: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.361450][ T354] #4: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 41.361454][ T354] irq event stamp: 37074 [ 41.361455][ T354] hardirqs last enabled at (37073): [] __down_trylock_console_sem+0x86/0xa0 [ 41.361458][ T354] hardirqs last disabled at (37074): [] console_emit_next_record+0x3d4/0x4c0 [ 41.361460][ T354] softirqs last enabled at (37054): [] packet_do_bind+0x4b2/0xc80 [ 41.361462][ T354] softirqs last disabled at (37052): [] release_sock+0x21/0x240 [ 41.361466][ T354] Preemption disabled at: [ 41.361466][ T354] [] vprintk_emit+0x31b/0x3e0 [ 41.361471][ T354] CPU: 0 UID: 0 PID: 354 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.361475][ T354] Tainted: [W]=WARN [ 41.361476][ T354] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.361477][ T354] Call Trace: [ 41.361479][ T354] [ 41.361480][ T354] dump_stack_lvl+0x6f/0xa0 [ 41.361486][ T354] ? vprintk_emit+0x31b/0x3e0 [ 41.361488][ T354] __might_resched.cold+0x1fe/0x2c1 [ 41.361492][ T354] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.361496][ T354] ? __kmalloc_noprof+0xdb/0x760 [ 41.361501][ T354] __kmalloc_noprof+0x443/0x760 [ 41.361503][ T354] ? alloc_buf.isra.0+0x4b/0x260 [ 41.361509][ T354] ? do_raw_spin_unlock+0x59/0x250 [ 41.361511][ T354] alloc_buf.isra.0+0x4b/0x260 [ 41.361515][ T354] put_chars+0x1e1/0x2f0 [ 41.361517][ T354] ? prb_final_commit+0x50/0x50 [ 41.361519][ T354] ? __send_to_port+0x420/0x420 [ 41.361522][ T354] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.361525][ T354] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.361528][ T354] ? validate_chain+0x38b/0xc20 [ 41.361532][ T354] hvc_console_print+0x292/0x780 [ 41.361536][ T354] ? mark_usage+0x61/0x170 [ 41.361538][ T354] ? __lock_acquire+0x518/0xc20 [ 41.361539][ T354] ? __lock_acquire+0x518/0xc20 [ 41.361543][ T354] ? hvc_write+0x3a0/0x3a0 [ 41.361546][ T354] ? console_emit_next_record+0x1df/0x4c0 [ 41.361549][ T354] ? rcu_is_watching+0x16/0xd0 [ 41.361551][ T354] ? lock_acquire+0x13c/0x160 [ 41.361555][ T354] console_emit_next_record+0x22f/0x4c0 [ 41.361560][ T354] ? devkmsg_read+0x4b0/0x4b0 [ 41.361562][ T354] ? console_flush_one_record+0x106/0x710 [ 41.361565][ T354] ? rcu_is_watching+0x16/0xd0 [ 41.361567][ T354] ? lock_acquire+0x13c/0x160 [ 41.361571][ T354] console_flush_one_record+0x46f/0x710 [ 41.361575][ T354] ? console_emit_next_record+0x4c0/0x4c0 [ 41.361577][ T354] ? __lock_acquire+0x518/0xc20 [ 41.361582][ T354] console_unlock+0xee/0x1f0 [ 41.361585][ T354] ? console_flush_one_record+0x710/0x710 [ 41.361586][ T354] ? rcu_is_watching+0x16/0xd0 [ 41.361588][ T354] ? lock_acquire+0xe0/0x160 [ 41.361592][ T354] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.361594][ T354] ? vprintk_emit+0x320/0x3e0 [ 41.361596][ T354] vprintk_emit+0x37c/0x3e0 [ 41.361599][ T354] ? wake_up_klogd_work_func+0x90/0x90 [ 41.361601][ T354] ? kasan_save_stack+0x3d/0x50 [ 41.361603][ T354] ? kasan_save_track+0x14/0x30 [ 41.361604][ T354] ? __kasan_kmalloc+0x7b/0x90 [ 41.361606][ T354] ? __kmalloc_cache_noprof+0x29a/0x620 [ 41.361607][ T354] ? packet_mc_add+0x13b/0x890 [ 41.361608][ T354] ? packet_setsockopt+0x1953/0x21e0 [ 41.361609][ T354] ? do_sock_setsockopt+0x164/0x3b0 [ 41.361614][ T354] _printk+0xc7/0x100 [ 41.361618][ T354] ? snapshot_read.cold+0x21/0x21 [ 41.361622][ T354] ? netdev_name+0x43/0x60 [ 41.361626][ T354] ? __netdev_printk+0x17f/0x1d0 [ 41.361629][ T354] netdev_info+0xe2/0x116 [ 41.361632][ T354] ? netdev_notice+0x120/0x120 [ 41.361639][ T354] ? mutex_is_locked+0x1c/0x50 [ 41.361642][ T354] __dev_set_promiscuity.cold+0x7a/0x104 [ 41.361649][ T354] netif_set_promiscuity+0x4c/0xc0 [ 41.361653][ T354] dev_set_promiscuity+0xa1/0x230 [ 41.361655][ T354] ? __asan_memset+0x27/0x50 [ 41.361659][ T354] packet_mc_add+0x54e/0x890 [ 41.361661][ T354] ? __might_fault+0x97/0x140 [ 41.361664][ T354] ? __might_fault+0x97/0x140 [ 41.361666][ T354] ? _copy_from_user+0x42/0x90 [ 41.361670][ T354] packet_setsockopt+0x1953/0x21e0 [ 41.361674][ T354] ? packet_bind+0x170/0x170 [ 41.361677][ T354] ? do_sock_getsockopt+0x7bb/0xb50 [ 41.361682][ T354] ? sock_poll+0x6b0/0x6b0 [ 41.361685][ T354] ? rcu_is_watching+0x16/0xd0 [ 41.361687][ T354] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.361692][ T354] do_sock_setsockopt+0x164/0x3b0 [ 41.361695][ T354] ? put_user_ifreq+0x90/0x90 [ 41.361697][ T354] ? __sys_bind+0x19f/0x260 [ 41.361699][ T354] ? __sys_bind_socket+0xa0/0xa0 [ 41.361705][ T354] __sys_setsockopt+0xe4/0x150 [ 41.361710][ T354] __x64_sys_setsockopt+0xbd/0x180 [ 41.361711][ T354] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.361713][ T354] ? lockdep_hardirqs_on+0x91/0x130 [ 41.361717][ T354] ? do_syscall_64+0xa6/0x530 [ 41.361719][ T354] do_syscall_64+0xff/0x530 [ 41.361721][ T354] ? exc_page_fault+0xee/0x100 [ 41.361723][ T354] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 41.361726][ T354] RIP: 0033:0x7f19087592de [ 41.361729][ T354] 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 [ 41.361731][ T354] RSP: 002b:00007ffe06222c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 41.361733][ T354] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f19087592de [ 41.361735][ T354] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 41.361736][ T354] RBP: 00007ffe06222dc0 R08: 0000000000000010 R09: 0000556c3301e530 [ 41.361737][ T354] R10: 00007ffe06222d00 R11: 0000000000000246 R12: 0000000000000001 [ 41.361738][ T354] R13: 0000556c3301e918 R14: 0000556c3301e690 R15: 0000000000000000 [ 41.361744][ T354] [ 42.397315][ T359] veth-s2: entered promiscuous mode [ 42.397327][ T359] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 42.397329][ T359] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 359, name: tcpdump [ 42.397330][ T359] preempt_count: 1, expected: 0 [ 42.397331][ T359] RCU nest depth: 0, expected: 0 [ 42.397332][ T359] locks held by tcpdump/359: 5, last CPU#0: [ 42.397334][ T359] #0: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 42.397343][ T359] #1: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 42.397349][ T359] #2: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 42.397353][ T359] #3: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 42.397356][ T359] #4: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 42.397360][ T359] irq event stamp: 42222 [ 42.397361][ T359] hardirqs last enabled at (42221): [] __down_trylock_console_sem+0x86/0xa0 [ 42.397364][ T359] hardirqs last disabled at (42222): [] console_emit_next_record+0x3d4/0x4c0 [ 42.397366][ T359] softirqs last enabled at (42202): [] packet_do_bind+0x4b2/0xc80 [ 42.397368][ T359] softirqs last disabled at (42200): [] release_sock+0x21/0x240 [ 42.397372][ T359] Preemption disabled at: [ 42.397372][ T359] [] vprintk_emit+0x31b/0x3e0 [ 42.397377][ T359] CPU: 0 UID: 0 PID: 359 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 42.397380][ T359] Tainted: [W]=WARN [ 42.397381][ T359] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.397382][ T359] Call Trace: [ 42.397384][ T359] [ 42.397385][ T359] dump_stack_lvl+0x6f/0xa0 [ 42.397391][ T359] ? vprintk_emit+0x31b/0x3e0 [ 42.397392][ T359] __might_resched.cold+0x1fe/0x2c1 [ 42.397396][ T359] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 42.397401][ T359] ? __kmalloc_noprof+0xdb/0x760 [ 42.397405][ T359] __kmalloc_noprof+0x443/0x760 [ 42.397407][ T359] ? alloc_buf.isra.0+0x4b/0x260 [ 42.397413][ T359] ? do_raw_spin_unlock+0x59/0x250 [ 42.397415][ T359] alloc_buf.isra.0+0x4b/0x260 [ 42.397419][ T359] put_chars+0x1e1/0x2f0 [ 42.397420][ T359] ? prb_final_commit+0x50/0x50 [ 42.397423][ T359] ? __send_to_port+0x420/0x420 [ 42.397426][ T359] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 42.397428][ T359] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.397431][ T359] ? validate_chain+0x38b/0xc20 [ 42.397435][ T359] hvc_console_print+0x292/0x780 [ 42.397439][ T359] ? mark_usage+0x61/0x170 [ 42.397441][ T359] ? __lock_acquire+0x518/0xc20 [ 42.397442][ T359] ? __lock_acquire+0x518/0xc20 [ 42.397446][ T359] ? hvc_write+0x3a0/0x3a0 [ 42.397449][ T359] ? console_emit_next_record+0x1df/0x4c0 [ 42.397452][ T359] ? rcu_is_watching+0x16/0xd0 [ 42.397454][ T359] ? lock_acquire+0x13c/0x160 [ 42.397458][ T359] console_emit_next_record+0x22f/0x4c0 [ 42.397462][ T359] ? devkmsg_read+0x4b0/0x4b0 [ 42.397464][ T359] ? console_flush_one_record+0x106/0x710 [ 42.397467][ T359] ? rcu_is_watching+0x16/0xd0 [ 42.397469][ T359] ? lock_acquire+0x13c/0x160 [ 42.397473][ T359] console_flush_one_record+0x46f/0x710 [ 42.397477][ T359] ? console_emit_next_record+0x4c0/0x4c0 [ 42.397478][ T359] ? __lock_acquire+0x518/0xc20 [ 42.397484][ T359] console_unlock+0xee/0x1f0 [ 42.397486][ T359] ? console_flush_one_record+0x710/0x710 [ 42.397488][ T359] ? rcu_is_watching+0x16/0xd0 [ 42.397490][ T359] ? lock_acquire+0xe0/0x160 [ 42.397493][ T359] ? __down_trylock_console_sem+0x5e/0xa0 [ 42.397495][ T359] ? vprintk_emit+0x320/0x3e0 [ 42.397498][ T359] vprintk_emit+0x37c/0x3e0 [ 42.397501][ T359] ? wake_up_klogd_work_func+0x90/0x90 [ 42.397502][ T359] ? kasan_save_stack+0x3d/0x50 [ 42.397505][ T359] ? kasan_save_track+0x14/0x30 [ 42.397506][ T359] ? __kasan_kmalloc+0x7b/0x90 [ 42.397507][ T359] ? __kmalloc_cache_noprof+0x29a/0x620 [ 42.397508][ T359] ? packet_mc_add+0x13b/0x890 [ 42.397510][ T359] ? packet_setsockopt+0x1953/0x21e0 [ 42.397511][ T359] ? do_sock_setsockopt+0x164/0x3b0 [ 42.397515][ T359] _printk+0xc7/0x100 [ 42.397518][ T359] ? snapshot_read.cold+0x21/0x21 [ 42.397522][ T359] ? netdev_name+0x43/0x60 [ 42.397526][ T359] ? __netdev_printk+0x17f/0x1d0 [ 42.397530][ T359] netdev_info+0xe2/0x116 [ 42.397532][ T359] ? netdev_notice+0x120/0x120 [ 42.397539][ T359] ? mutex_is_locked+0x1c/0x50 [ 42.397542][ T359] __dev_set_promiscuity.cold+0x7a/0x104 [ 42.397546][ T359] netif_set_promiscuity+0x4c/0xc0 [ 42.397550][ T359] dev_set_promiscuity+0xa1/0x230 [ 42.397552][ T359] ? __asan_memset+0x27/0x50 [ 42.397556][ T359] packet_mc_add+0x54e/0x890 [ 42.397559][ T359] ? __might_fault+0x97/0x140 [ 42.397562][ T359] ? __might_fault+0x97/0x140 [ 42.397564][ T359] ? _copy_from_user+0x42/0x90 [ 42.397568][ T359] packet_setsockopt+0x1953/0x21e0 [ 42.397572][ T359] ? packet_bind+0x170/0x170 [ 42.397575][ T359] ? do_sock_getsockopt+0x7bb/0xb50 [ 42.397580][ T359] ? sock_poll+0x6b0/0x6b0 [ 42.397584][ T359] ? rcu_is_watching+0x16/0xd0 [ 42.397585][ T359] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.397590][ T359] do_sock_setsockopt+0x164/0x3b0 [ 42.397593][ T359] ? put_user_ifreq+0x90/0x90 [ 42.397595][ T359] ? __sys_bind+0x19f/0x260 [ 42.397598][ T359] ? __sys_bind_socket+0xa0/0xa0 [ 42.397604][ T359] __sys_setsockopt+0xe4/0x150 [ 42.397608][ T359] __x64_sys_setsockopt+0xbd/0x180 [ 42.397610][ T359] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.397612][ T359] ? lockdep_hardirqs_on+0x91/0x130 [ 42.397615][ T359] ? do_syscall_64+0xa6/0x530 [ 42.397618][ T359] do_syscall_64+0xff/0x530 [ 42.397620][ T359] ? exc_page_fault+0xee/0x100 [ 42.397622][ T359] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 42.397624][ T359] RIP: 0033:0x7fbdbf9372de [ 42.397628][ T359] 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 [ 42.397629][ T359] RSP: 002b:00007ffeeff42b58 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 42.397631][ T359] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fbdbf9372de [ 42.397633][ T359] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 42.397634][ T359] RBP: 00007ffeeff42c90 R08: 0000000000000010 R09: 000055bff3a9c530 [ 42.397635][ T359] R10: 00007ffeeff42bd0 R11: 0000000000000246 R12: 0000000000000001 [ 42.397635][ T359] R13: 000055bff3a9c918 R14: 000055bff3a9c690 R15: 0000000000000000 [ 42.397642][ T359] [ 47.405844][ T354] veth-s1: left promiscuous mode [ 47.405863][ T354] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.405865][ T354] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 354, name: tcpdump [ 47.405867][ T354] preempt_count: 1, expected: 0 [ 47.405868][ T354] RCU nest depth: 0, expected: 0 [ 47.405869][ T354] locks held by tcpdump/354: 6, last CPU#0: [ 47.405870][ T354] #0: ff1100000a49e040 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 47.405882][ T354] #1: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 47.405887][ T354] #2: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.405892][ T354] #3: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.405896][ T354] #4: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.405900][ T354] #5: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 47.405904][ T354] irq event stamp: 49492 [ 47.405905][ T354] hardirqs last enabled at (49491): [] __down_trylock_console_sem+0x86/0xa0 [ 47.405908][ T354] hardirqs last disabled at (49492): [] console_emit_next_record+0x3d4/0x4c0 [ 47.405910][ T354] softirqs last enabled at (49356): [] handle_softirqs+0x67c/0x900 [ 47.405913][ T354] softirqs last disabled at (49347): [] __irq_exit_rcu+0x145/0x1c0 [ 47.405915][ T354] Preemption disabled at: [ 47.405916][ T354] [] vprintk_emit+0x31b/0x3e0 [ 47.405921][ T354] CPU: 0 UID: 72 PID: 354 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.405925][ T354] Tainted: [W]=WARN [ 47.405926][ T354] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.405927][ T354] Call Trace: [ 47.405929][ T354] [ 47.405930][ T354] dump_stack_lvl+0x6f/0xa0 [ 47.405936][ T354] ? vprintk_emit+0x31b/0x3e0 [ 47.405938][ T354] __might_resched.cold+0x1fe/0x2c1 [ 47.405942][ T354] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.405946][ T354] ? __kmalloc_noprof+0xdb/0x760 [ 47.405950][ T354] __kmalloc_noprof+0x443/0x760 [ 47.405952][ T354] ? alloc_buf.isra.0+0x4b/0x260 [ 47.405959][ T354] ? do_raw_spin_unlock+0x59/0x250 [ 47.405962][ T354] alloc_buf.isra.0+0x4b/0x260 [ 47.405965][ T354] put_chars+0x1e1/0x2f0 [ 47.405968][ T354] ? __send_to_port+0x420/0x420 [ 47.405970][ T354] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 47.405973][ T354] ? rcu_read_lock_any_held+0x3c/0x90 [ 47.405976][ T354] ? validate_chain+0x38b/0xc20 [ 47.405981][ T354] hvc_console_print+0x292/0x780 [ 47.405984][ T354] ? mark_usage+0x61/0x170 [ 47.405986][ T354] ? __lock_acquire+0x518/0xc20 [ 47.405988][ T354] ? __lock_acquire+0x518/0xc20 [ 47.405992][ T354] ? hvc_write+0x3a0/0x3a0 [ 47.405994][ T354] ? lock_acquire.part.0+0xd4/0x280 [ 47.405998][ T354] ? lock_acquire+0x13c/0x160 [ 47.406002][ T354] console_emit_next_record+0x22f/0x4c0 [ 47.406006][ T354] ? devkmsg_read+0x4b0/0x4b0 [ 47.406008][ T354] ? console_flush_one_record+0x106/0x710 [ 47.406012][ T354] ? rcu_is_watching+0x16/0xd0 [ 47.406014][ T354] ? lock_acquire+0x13c/0x160 [ 47.406018][ T354] console_flush_one_record+0x46f/0x710 [ 47.406022][ T354] ? console_emit_next_record+0x4c0/0x4c0 [ 47.406024][ T354] ? __lock_acquire+0x518/0xc20 [ 47.406029][ T354] console_unlock+0xee/0x1f0 [ 47.406032][ T354] ? console_flush_one_record+0x710/0x710 [ 47.406034][ T354] ? rcu_is_watching+0x16/0xd0 [ 47.406036][ T354] ? lock_acquire+0xe0/0x160 [ 47.406039][ T354] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.406041][ T354] ? vprintk_emit+0x320/0x3e0 [ 47.406049][ T354] vprintk_emit+0x37c/0x3e0 [ 47.406052][ T354] ? wake_up_klogd_work_func+0x90/0x90 [ 47.406056][ T354] ? __lock_acquire+0x518/0xc20 [ 47.406059][ T354] _printk+0xc7/0x100 [ 47.406063][ T354] ? snapshot_read.cold+0x21/0x21 [ 47.406065][ T354] ? lock_acquire.part.0+0xd4/0x280 [ 47.406068][ T354] ? rcu_is_watching+0x16/0xd0 [ 47.406070][ T354] ? netdev_name+0x43/0x60 [ 47.406073][ T354] ? __netdev_printk+0x17f/0x1d0 [ 47.406077][ T354] netdev_info+0xe2/0x116 [ 47.406080][ T354] ? netdev_notice+0x120/0x120 [ 47.406082][ T354] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 47.406084][ T354] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 47.406089][ T354] ? ww_mutex_lock+0x160/0x160 [ 47.406091][ T354] ? lock_acquire.part.0+0xd4/0x280 [ 47.406093][ T354] ? ref_tracker_alloc+0x430/0x430 [ 47.406096][ T354] ? packet_release+0x363/0xc40 [ 47.406098][ T354] ? __fput+0x36c/0xad0 [ 47.406101][ T354] ? mutex_is_locked+0x1c/0x50 [ 47.406104][ T354] __dev_set_promiscuity.cold+0x7a/0x104 [ 47.406108][ T354] netif_set_promiscuity+0x4c/0xc0 [ 47.406113][ T354] dev_set_promiscuity+0xa1/0x230 [ 47.406116][ T354] packet_release+0x4cb/0xc40 [ 47.406120][ T354] ? packet_set_ring+0x1740/0x1740 [ 47.406123][ T354] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 47.406127][ T354] __sock_release+0xb8/0x280 [ 47.406131][ T354] sock_close+0x18/0x20 [ 47.406132][ T354] __fput+0x36c/0xad0 [ 47.406137][ T354] fput_close_sync+0xde/0x1b0 [ 47.406140][ T354] ? alloc_file_clone+0xe0/0xe0 [ 47.406142][ T354] ? do_raw_spin_unlock+0x59/0x250 [ 47.406146][ T354] __x64_sys_close+0x8b/0xf0 [ 47.406149][ T354] do_syscall_64+0xff/0x530 [ 47.406152][ T354] ? exc_page_fault+0xee/0x100 [ 47.406154][ T354] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 47.406157][ T354] RIP: 0033:0x7f19086d054e [ 47.406160][ T354] 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 [ 47.406162][ T354] RSP: 002b:00007ffe06222df0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 47.406165][ T354] RAX: ffffffffffffffda RBX: 0000556c3301e690 RCX: 00007f19086d054e [ 47.406166][ T354] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 47.406167][ T354] RBP: 00007ffe06222e00 R08: 0000000000000000 R09: 0000000000000000 [ 47.406168][ T354] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 47.406168][ T354] R13: 00000000fffffffe R14: 0000556c21b7d760 R15: 0000000000000001 [ 47.406175][ T354] [ 48.527997][ T359] veth-s2: left promiscuous mode [ 48.528015][ T359] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 48.528017][ T359] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 359, name: tcpdump [ 48.528019][ T359] preempt_count: 1, expected: 0 [ 48.528020][ T359] RCU nest depth: 0, expected: 0 [ 48.528021][ T359] locks held by tcpdump/359: 6, last CPU#0: [ 48.528023][ T359] #0: ff11000011ee3ac0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 48.528034][ T359] #1: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 48.528040][ T359] #2: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 48.528045][ T359] #3: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 48.528053][ T359] #4: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 48.528056][ T359] #5: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 48.528060][ T359] irq event stamp: 693116 [ 48.528061][ T359] hardirqs last enabled at (693115): [] __down_trylock_console_sem+0x86/0xa0 [ 48.528064][ T359] hardirqs last disabled at (693116): [] console_emit_next_record+0x3d4/0x4c0 [ 48.528066][ T359] softirqs last enabled at (692956): [] handle_softirqs+0x67c/0x900 [ 48.528069][ T359] softirqs last disabled at (692581): [] __irq_exit_rcu+0x145/0x1c0 [ 48.528072][ T359] Preemption disabled at: [ 48.528072][ T359] [] vprintk_emit+0x31b/0x3e0 [ 48.528077][ T359] CPU: 0 UID: 72 PID: 359 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 48.528080][ T359] Tainted: [W]=WARN [ 48.528081][ T359] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 48.528083][ T359] Call Trace: [ 48.528084][ T359] [ 48.528086][ T359] dump_stack_lvl+0x6f/0xa0 [ 48.528092][ T359] ? vprintk_emit+0x31b/0x3e0 [ 48.528094][ T359] __might_resched.cold+0x1fe/0x2c1 [ 48.528098][ T359] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 48.528102][ T359] ? __kmalloc_noprof+0xdb/0x760 [ 48.528107][ T359] __kmalloc_noprof+0x443/0x760 [ 48.528108][ T359] ? alloc_buf.isra.0+0x4b/0x260 [ 48.528115][ T359] ? do_raw_spin_unlock+0x59/0x250 [ 48.528117][ T359] alloc_buf.isra.0+0x4b/0x260 [ 48.528121][ T359] put_chars+0x1e1/0x2f0 [ 48.528123][ T359] ? __send_to_port+0x420/0x420 [ 48.528126][ T359] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 48.528129][ T359] ? rcu_read_lock_any_held+0x3c/0x90 [ 48.528132][ T359] ? validate_chain+0x38b/0xc20 [ 48.528136][ T359] hvc_console_print+0x292/0x780 [ 48.528139][ T359] ? mark_usage+0x61/0x170 [ 48.528141][ T359] ? __lock_acquire+0x518/0xc20 [ 48.528143][ T359] ? __lock_acquire+0x518/0xc20 [ 48.528147][ T359] ? hvc_write+0x3a0/0x3a0 [ 48.528149][ T359] ? lock_acquire.part.0+0xd4/0x280 [ 48.528153][ T359] ? lock_acquire+0x13c/0x160 [ 48.528157][ T359] console_emit_next_record+0x22f/0x4c0 [ 48.528161][ T359] ? devkmsg_read+0x4b0/0x4b0 [ 48.528163][ T359] ? console_flush_one_record+0x106/0x710 [ 48.528166][ T359] ? rcu_is_watching+0x16/0xd0 [ 48.528168][ T359] ? lock_acquire+0x13c/0x160 [ 48.528171][ T359] console_flush_one_record+0x46f/0x710 [ 48.528176][ T359] ? console_emit_next_record+0x4c0/0x4c0 [ 48.528177][ T359] ? __lock_acquire+0x518/0xc20 [ 48.528183][ T359] console_unlock+0xee/0x1f0 [ 48.528185][ T359] ? console_flush_one_record+0x710/0x710 [ 48.528187][ T359] ? rcu_is_watching+0x16/0xd0 [ 48.528189][ T359] ? lock_acquire+0xe0/0x160 [ 48.528193][ T359] ? __down_trylock_console_sem+0x5e/0xa0 [ 48.528194][ T359] ? vprintk_emit+0x320/0x3e0 [ 48.528197][ T359] vprintk_emit+0x37c/0x3e0 [ 48.528200][ T359] ? wake_up_klogd_work_func+0x90/0x90 [ 48.528203][ T359] ? __lock_acquire+0x518/0xc20 [ 48.528207][ T359] _printk+0xc7/0x100 [ 48.528210][ T359] ? snapshot_read.cold+0x21/0x21 [ 48.528212][ T359] ? lock_acquire.part.0+0xd4/0x280 [ 48.528215][ T359] ? rcu_is_watching+0x16/0xd0 [ 48.528217][ T359] ? netdev_name+0x43/0x60 [ 48.528221][ T359] ? __netdev_printk+0x17f/0x1d0 [ 48.528225][ T359] netdev_info+0xe2/0x116 [ 48.528228][ T359] ? netdev_notice+0x120/0x120 [ 48.528229][ T359] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 48.528232][ T359] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 48.528236][ T359] ? ww_mutex_lock+0x160/0x160 [ 48.528238][ T359] ? lock_acquire.part.0+0xd4/0x280 [ 48.528240][ T359] ? ref_tracker_alloc+0x430/0x430 [ 48.528244][ T359] ? packet_release+0x363/0xc40 [ 48.528246][ T359] ? __fput+0x36c/0xad0 [ 48.528249][ T359] ? mutex_is_locked+0x1c/0x50 [ 48.528252][ T359] __dev_set_promiscuity.cold+0x7a/0x104 [ 48.528256][ T359] netif_set_promiscuity+0x4c/0xc0 [ 48.528261][ T359] dev_set_promiscuity+0xa1/0x230 [ 48.528264][ T359] packet_release+0x4cb/0xc40 [ 48.528268][ T359] ? packet_set_ring+0x1740/0x1740 [ 48.528271][ T359] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 48.528275][ T359] __sock_release+0xb8/0x280 [ 48.528279][ T359] sock_close+0x18/0x20 [ 48.528280][ T359] __fput+0x36c/0xad0 [ 48.528285][ T359] fput_close_sync+0xde/0x1b0 [ 48.528288][ T359] ? alloc_file_clone+0xe0/0xe0 [ 48.528290][ T359] ? do_raw_spin_unlock+0x59/0x250 [ 48.528294][ T359] __x64_sys_close+0x8b/0xf0 [ 48.528296][ T359] do_syscall_64+0xff/0x530 [ 48.528299][ T359] ? irq_exit_rcu+0x1a/0x30 [ 48.528302][ T359] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 48.528304][ T359] RIP: 0033:0x7fbdbf8ae54e [ 48.528308][ T359] 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 [ 48.528310][ T359] RSP: 002b:00007ffeeff42cc0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 48.528312][ T359] RAX: ffffffffffffffda RBX: 000055bff3a9c690 RCX: 00007fbdbf8ae54e [ 48.528314][ T359] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 48.528315][ T359] RBP: 00007ffeeff42cd0 R08: 0000000000000000 R09: 0000000000000000 [ 48.528315][ T359] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 48.528316][ T359] R13: 00000000fffffffe R14: 000055bfbfc00760 R15: 0000000000000001 [ 48.528323][ T359] [ 55.278393][ T383] veth-s1: entered promiscuous mode [ 55.278410][ T383] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 55.278413][ T383] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 383, name: tcpdump [ 55.278414][ T383] preempt_count: 1, expected: 0 [ 55.278415][ T383] RCU nest depth: 0, expected: 0 [ 55.278416][ T383] locks held by tcpdump/383: 5, last CPU#2: [ 55.278418][ T383] #0: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 55.278429][ T383] #1: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 55.278435][ T383] #2: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 55.278439][ T383] #3: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 55.278442][ T383] #4: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 55.278447][ T383] irq event stamp: 34864 [ 55.278447][ T383] hardirqs last enabled at (34863): [] __down_trylock_console_sem+0x86/0xa0 [ 55.278450][ T383] hardirqs last disabled at (34864): [] console_emit_next_record+0x3d4/0x4c0 [ 55.278452][ T383] softirqs last enabled at (34844): [] packet_do_bind+0x4b2/0xc80 [ 55.278454][ T383] softirqs last disabled at (34842): [] release_sock+0x21/0x240 [ 55.278458][ T383] Preemption disabled at: [ 55.278459][ T383] [] vprintk_emit+0x31b/0x3e0 [ 55.278463][ T383] CPU: 2 UID: 0 PID: 383 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 55.278467][ T383] Tainted: [W]=WARN [ 55.278468][ T383] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 55.278469][ T383] Call Trace: [ 55.278471][ T383] [ 55.278472][ T383] dump_stack_lvl+0x6f/0xa0 [ 55.278478][ T383] ? vprintk_emit+0x31b/0x3e0 [ 55.278480][ T383] __might_resched.cold+0x1fe/0x2c1 [ 55.278484][ T383] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 55.278488][ T383] ? __kmalloc_noprof+0xdb/0x760 [ 55.278492][ T383] __kmalloc_noprof+0x443/0x760 [ 55.278494][ T383] ? alloc_buf.isra.0+0x4b/0x260 [ 55.278500][ T383] ? do_raw_spin_unlock+0x59/0x250 [ 55.278503][ T383] alloc_buf.isra.0+0x4b/0x260 [ 55.278506][ T383] put_chars+0x1e1/0x2f0 [ 55.278508][ T383] ? prb_final_commit+0x50/0x50 [ 55.278510][ T383] ? __send_to_port+0x420/0x420 [ 55.278513][ T383] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 55.278516][ T383] ? rcu_read_lock_any_held+0x3c/0x90 [ 55.278519][ T383] ? validate_chain+0x38b/0xc20 [ 55.278523][ T383] hvc_console_print+0x292/0x780 [ 55.278527][ T383] ? mark_usage+0x61/0x170 [ 55.278528][ T383] ? __lock_acquire+0x518/0xc20 [ 55.278530][ T383] ? __lock_acquire+0x518/0xc20 [ 55.278534][ T383] ? hvc_write+0x3a0/0x3a0 [ 55.278537][ T383] ? console_emit_next_record+0x1df/0x4c0 [ 55.278540][ T383] ? rcu_is_watching+0x16/0xd0 [ 55.278542][ T383] ? lock_acquire+0x13c/0x160 [ 55.278545][ T383] console_emit_next_record+0x22f/0x4c0 [ 55.278549][ T383] ? devkmsg_read+0x4b0/0x4b0 [ 55.278551][ T383] ? console_flush_one_record+0x106/0x710 [ 55.278554][ T383] ? rcu_is_watching+0x16/0xd0 [ 55.278556][ T383] ? lock_acquire+0x13c/0x160 [ 55.278560][ T383] console_flush_one_record+0x46f/0x710 [ 55.278564][ T383] ? console_emit_next_record+0x4c0/0x4c0 [ 55.278566][ T383] ? __lock_acquire+0x518/0xc20 [ 55.278571][ T383] console_unlock+0xee/0x1f0 [ 55.278573][ T383] ? console_flush_one_record+0x710/0x710 [ 55.278575][ T383] ? rcu_is_watching+0x16/0xd0 [ 55.278577][ T383] ? lock_acquire+0xe0/0x160 [ 55.278580][ T383] ? __down_trylock_console_sem+0x5e/0xa0 [ 55.278582][ T383] ? vprintk_emit+0x320/0x3e0 [ 55.278585][ T383] vprintk_emit+0x37c/0x3e0 [ 55.278588][ T383] ? wake_up_klogd_work_func+0x90/0x90 [ 55.278589][ T383] ? kasan_save_stack+0x3d/0x50 [ 55.278592][ T383] ? kasan_save_track+0x14/0x30 [ 55.278593][ T383] ? __kasan_kmalloc+0x7b/0x90 [ 55.278594][ T383] ? __kmalloc_cache_noprof+0x29a/0x620 [ 55.278595][ T383] ? packet_mc_add+0x13b/0x890 [ 55.278597][ T383] ? packet_setsockopt+0x1953/0x21e0 [ 55.278598][ T383] ? do_sock_setsockopt+0x164/0x3b0 [ 55.278602][ T383] _printk+0xc7/0x100 [ 55.278606][ T383] ? snapshot_read.cold+0x21/0x21 [ 55.278610][ T383] ? netdev_name+0x43/0x60 [ 55.278613][ T383] ? __netdev_printk+0x17f/0x1d0 [ 55.278617][ T383] netdev_info+0xe2/0x116 [ 55.278620][ T383] ? netdev_notice+0x120/0x120 [ 55.278627][ T383] ? mutex_is_locked+0x1c/0x50 [ 55.278629][ T383] __dev_set_promiscuity.cold+0x7a/0x104 [ 55.278633][ T383] netif_set_promiscuity+0x4c/0xc0 [ 55.278637][ T383] dev_set_promiscuity+0xa1/0x230 [ 55.278639][ T383] ? __asan_memset+0x27/0x50 [ 55.278643][ T383] packet_mc_add+0x54e/0x890 [ 55.278649][ T383] ? __might_fault+0x97/0x140 [ 55.278651][ T383] ? __might_fault+0x97/0x140 [ 55.278653][ T383] ? _copy_from_user+0x42/0x90 [ 55.278658][ T383] packet_setsockopt+0x1953/0x21e0 [ 55.278661][ T383] ? packet_bind+0x170/0x170 [ 55.278664][ T383] ? do_sock_getsockopt+0x7bb/0xb50 [ 55.278669][ T383] ? sock_poll+0x6b0/0x6b0 [ 55.278673][ T383] ? rcu_is_watching+0x16/0xd0 [ 55.278674][ T383] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 55.278679][ T383] do_sock_setsockopt+0x164/0x3b0 [ 55.278682][ T383] ? put_user_ifreq+0x90/0x90 [ 55.278684][ T383] ? __sys_bind+0x19f/0x260 [ 55.278687][ T383] ? __sys_bind_socket+0xa0/0xa0 [ 55.278693][ T383] __sys_setsockopt+0xe4/0x150 [ 55.278697][ T383] __x64_sys_setsockopt+0xbd/0x180 [ 55.278699][ T383] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 55.278701][ T383] ? lockdep_hardirqs_on+0x91/0x130 [ 55.278704][ T383] ? do_syscall_64+0xa6/0x530 [ 55.278707][ T383] do_syscall_64+0xff/0x530 [ 55.278708][ T383] ? exc_page_fault+0xee/0x100 [ 55.278711][ T383] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 55.278713][ T383] RIP: 0033:0x7fbdac27c2de [ 55.278717][ T383] 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 [ 55.278718][ T383] RSP: 002b:00007fff0eb1b988 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 55.278721][ T383] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fbdac27c2de [ 55.278722][ T383] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 55.278723][ T383] RBP: 00007fff0eb1bac0 R08: 0000000000000010 R09: 000055eed8a5d530 [ 55.278724][ T383] R10: 00007fff0eb1ba00 R11: 0000000000000246 R12: 0000000000000001 [ 55.278725][ T383] R13: 000055eed8a5d918 R14: 000055eed8a5d690 R15: 0000000000000000 [ 55.278731][ T383] [ 59.268048][ T383] veth-s1: left promiscuous mode [ 59.268068][ T383] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 59.268071][ T383] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 383, name: tcpdump [ 59.268072][ T383] preempt_count: 1, expected: 0 [ 59.268073][ T383] RCU nest depth: 0, expected: 0 [ 59.268074][ T383] locks held by tcpdump/383: 6, last CPU#0: [ 59.268076][ T383] #0: ff11000011ee7940 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 59.268093][ T383] #1: ffffffff8a71b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 59.268099][ T383] #2: ffffffff89f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 59.268104][ T383] #3: ffffffff89f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 59.268108][ T383] #4: ffffffff89e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 59.268111][ T383] #5: ffffffff89e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 59.268115][ T383] irq event stamp: 690076 [ 59.268116][ T383] hardirqs last enabled at (690075): [] __down_trylock_console_sem+0x86/0xa0 [ 59.268119][ T383] hardirqs last disabled at (690076): [] console_emit_next_record+0x3d4/0x4c0 [ 59.268121][ T383] softirqs last enabled at (689892): [] packet_setsockopt+0xcdf/0x21e0 [ 59.268123][ T383] softirqs last disabled at (689890): [] release_sock+0x21/0x240 [ 59.268126][ T383] Preemption disabled at: [ 59.268127][ T383] [] vprintk_emit+0x31b/0x3e0 [ 59.268132][ T383] CPU: 0 UID: 72 PID: 383 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 59.268136][ T383] Tainted: [W]=WARN [ 59.268137][ T383] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 59.268139][ T383] Call Trace: [ 59.268140][ T383] [ 59.268142][ T383] dump_stack_lvl+0x6f/0xa0 [ 59.268147][ T383] ? vprintk_emit+0x31b/0x3e0 [ 59.268149][ T383] __might_resched.cold+0x1fe/0x2c1 [ 59.268153][ T383] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 59.268158][ T383] ? __kmalloc_noprof+0xdb/0x760 [ 59.268162][ T383] __kmalloc_noprof+0x443/0x760 [ 59.268164][ T383] ? alloc_buf.isra.0+0x4b/0x260 [ 59.268170][ T383] ? do_raw_spin_unlock+0x59/0x250 [ 59.268173][ T383] alloc_buf.isra.0+0x4b/0x260 [ 59.268177][ T383] put_chars+0x1e1/0x2f0 [ 59.268179][ T383] ? __send_to_port+0x420/0x420 [ 59.268182][ T383] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 59.268185][ T383] ? rcu_read_lock_any_held+0x3c/0x90 [ 59.268188][ T383] ? validate_chain+0x38b/0xc20 [ 59.268192][ T383] hvc_console_print+0x292/0x780 [ 59.268196][ T383] ? mark_usage+0x61/0x170 [ 59.268198][ T383] ? __lock_acquire+0x518/0xc20 [ 59.268199][ T383] ? __lock_acquire+0x518/0xc20 [ 59.268204][ T383] ? hvc_write+0x3a0/0x3a0 [ 59.268206][ T383] ? lock_acquire.part.0+0xd4/0x280 [ 59.268210][ T383] ? lock_acquire+0x13c/0x160 [ 59.268214][ T383] console_emit_next_record+0x22f/0x4c0 [ 59.268218][ T383] ? devkmsg_read+0x4b0/0x4b0 [ 59.268220][ T383] ? console_flush_one_record+0x106/0x710 [ 59.268223][ T383] ? rcu_is_watching+0x16/0xd0 [ 59.268225][ T383] ? lock_acquire+0x13c/0x160 [ 59.268229][ T383] console_flush_one_record+0x46f/0x710 [ 59.268233][ T383] ? console_emit_next_record+0x4c0/0x4c0 [ 59.268235][ T383] ? __lock_acquire+0x518/0xc20 [ 59.268240][ T383] console_unlock+0xee/0x1f0 [ 59.268243][ T383] ? console_flush_one_record+0x710/0x710 [ 59.268245][ T383] ? rcu_is_watching+0x16/0xd0 [ 59.268246][ T383] ? lock_acquire+0xe0/0x160 [ 59.268250][ T383] ? __down_trylock_console_sem+0x5e/0xa0 [ 59.268252][ T383] ? vprintk_emit+0x320/0x3e0 [ 59.268254][ T383] vprintk_emit+0x37c/0x3e0 [ 59.268258][ T383] ? wake_up_klogd_work_func+0x90/0x90 [ 59.268261][ T383] ? __lock_acquire+0x518/0xc20 [ 59.268264][ T383] _printk+0xc7/0x100 [ 59.268268][ T383] ? snapshot_read.cold+0x21/0x21 [ 59.268269][ T383] ? lock_acquire.part.0+0xd4/0x280 [ 59.268273][ T383] ? rcu_is_watching+0x16/0xd0 [ 59.268274][ T383] ? netdev_name+0x43/0x60 [ 59.268278][ T383] ? __netdev_printk+0x17f/0x1d0 [ 59.268282][ T383] netdev_info+0xe2/0x116 [ 59.268285][ T383] ? netdev_notice+0x120/0x120 [ 59.268286][ T383] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 59.268289][ T383] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 59.268293][ T383] ? ww_mutex_lock+0x160/0x160 [ 59.268295][ T383] ? lock_acquire.part.0+0xd4/0x280 [ 59.268297][ T383] ? ref_tracker_alloc+0x430/0x430 [ 59.268300][ T383] ? packet_release+0x363/0xc40 [ 59.268302][ T383] ? __fput+0x36c/0xad0 [ 59.268306][ T383] ? mutex_is_locked+0x1c/0x50 [ 59.268308][ T383] __dev_set_promiscuity.cold+0x7a/0x104 [ 59.268312][ T383] netif_set_promiscuity+0x4c/0xc0 [ 59.268316][ T383] dev_set_promiscuity+0xa1/0x230 [ 59.268319][ T383] packet_release+0x4cb/0xc40 [ 59.268324][ T383] ? packet_set_ring+0x1740/0x1740 [ 59.268327][ T383] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 59.268331][ T383] __sock_release+0xb8/0x280 [ 59.268335][ T383] sock_close+0x18/0x20 [ 59.268336][ T383] __fput+0x36c/0xad0 [ 59.268341][ T383] fput_close_sync+0xde/0x1b0 [ 59.268344][ T383] ? alloc_file_clone+0xe0/0xe0 [ 59.268346][ T383] ? do_raw_spin_unlock+0x59/0x250 [ 59.268350][ T383] __x64_sys_close+0x8b/0xf0 [ 59.268353][ T383] do_syscall_64+0xff/0x530 [ 59.268356][ T383] ? irq_exit_rcu+0x1a/0x30 [ 59.268360][ T383] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 59.268362][ T383] RIP: 0033:0x7fbdac1f354e [ 59.268366][ T383] 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 [ 59.268368][ T383] RSP: 002b:00007fff0eb1baf0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 59.268370][ T383] RAX: ffffffffffffffda RBX: 000055eed8a5d690 RCX: 00007fbdac1f354e [ 59.268372][ T383] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 59.268373][ T383] RBP: 00007fff0eb1bb00 R08: 0000000000000000 R09: 0000000000000000 [ 59.268374][ T383] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 59.268374][ T383] R13: 00000000fffffffe R14: 000055eea22a6760 R15: 0000000000000001 [ 59.268381][ T383]