[ 11.680358][ T247] veth-s1: entered promiscuous mode [ 11.680432][ T247] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.680434][ T247] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 247, name: tcpdump [ 11.680436][ T247] preempt_count: 1, expected: 0 [ 11.680437][ T247] RCU nest depth: 0, expected: 0 [ 11.680438][ T247] locks held by tcpdump/247: 5, last CPU#2: [ 11.680440][ T247] #0: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 11.680451][ T247] #1: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.680457][ T247] #2: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.680461][ T247] #3: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.680465][ T247] #4: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.680468][ T247] irq event stamp: 37762 [ 11.680469][ T247] hardirqs last enabled at (37761): [] __down_trylock_console_sem+0x86/0xa0 [ 11.680473][ T247] hardirqs last disabled at (37762): [] console_emit_next_record+0x3d4/0x4c0 [ 11.680475][ T247] softirqs last enabled at (37734): [] packet_do_bind+0x4b2/0xc80 [ 11.680477][ T247] softirqs last disabled at (37732): [] release_sock+0x21/0x240 [ 11.680481][ T247] Preemption disabled at: [ 11.680481][ T247] [] vprintk_emit+0x31b/0x3e0 [ 11.680487][ T247] CPU: 2 UID: 0 PID: 247 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.680490][ T247] Tainted: [W]=WARN [ 11.680492][ T247] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.680493][ T247] Call Trace: [ 11.680495][ T247] [ 11.680496][ T247] dump_stack_lvl+0x6f/0xa0 [ 11.680502][ T247] ? vprintk_emit+0x31b/0x3e0 [ 11.680504][ T247] __might_resched.cold+0x1fe/0x2c1 [ 11.680512][ T247] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.680516][ T247] ? __kmalloc_noprof+0xdb/0x760 [ 11.680520][ T247] __kmalloc_noprof+0x443/0x760 [ 11.680522][ T247] ? alloc_buf.isra.0+0x4b/0x260 [ 11.680529][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 11.680532][ T247] alloc_buf.isra.0+0x4b/0x260 [ 11.680536][ T247] put_chars+0x1e1/0x2f0 [ 11.680538][ T247] ? __send_to_port+0x420/0x420 [ 11.680542][ T247] ? validate_chain+0x34a/0xc20 [ 11.680546][ T247] hvc_console_print+0x292/0x780 [ 11.680550][ T247] ? mark_usage+0x61/0x170 [ 11.680552][ T247] ? __lock_acquire+0x518/0xc20 [ 11.680554][ T247] ? __lock_acquire+0x518/0xc20 [ 11.680558][ T247] ? hvc_write+0x3a0/0x3a0 [ 11.680560][ T247] ? console_emit_next_record+0x1df/0x4c0 [ 11.680564][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.680566][ T247] ? lock_acquire+0x13c/0x160 [ 11.680570][ T247] console_emit_next_record+0x22f/0x4c0 [ 11.680574][ T247] ? devkmsg_read+0x4b0/0x4b0 [ 11.680576][ T247] ? console_flush_one_record+0x106/0x710 [ 11.680579][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.680581][ T247] ? lock_acquire+0x13c/0x160 [ 11.680584][ T247] console_flush_one_record+0x46f/0x710 [ 11.680588][ T247] ? console_emit_next_record+0x4c0/0x4c0 [ 11.680590][ T247] ? __lock_acquire+0x518/0xc20 [ 11.680595][ T247] console_unlock+0xee/0x1f0 [ 11.680598][ T247] ? console_flush_one_record+0x710/0x710 [ 11.680600][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.680602][ T247] ? lock_acquire+0xe0/0x160 [ 11.680605][ T247] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.680607][ T247] ? vprintk_emit+0x320/0x3e0 [ 11.680610][ T247] vprintk_emit+0x37c/0x3e0 [ 11.680613][ T247] ? wake_up_klogd_work_func+0x90/0x90 [ 11.680614][ T247] ? kasan_save_stack+0x3d/0x50 [ 11.680617][ T247] ? kasan_save_track+0x14/0x30 [ 11.680618][ T247] ? __kasan_kmalloc+0x7b/0x90 [ 11.680619][ T247] ? __kmalloc_cache_noprof+0x29a/0x620 [ 11.680620][ T247] ? packet_mc_add+0x13b/0x890 [ 11.680622][ T247] ? packet_setsockopt+0x1953/0x21e0 [ 11.680624][ T247] ? do_sock_setsockopt+0x164/0x3b0 [ 11.680628][ T247] _printk+0xc7/0x100 [ 11.680631][ T247] ? snapshot_read.cold+0x21/0x21 [ 11.680635][ T247] ? netdev_name+0x43/0x60 [ 11.680639][ T247] ? __netdev_printk+0x17f/0x1d0 [ 11.680643][ T247] netdev_info+0xe2/0x116 [ 11.680645][ T247] ? netdev_notice+0x120/0x120 [ 11.680652][ T247] ? mutex_is_locked+0x1c/0x50 [ 11.680655][ T247] __dev_set_promiscuity.cold+0x7a/0x104 [ 11.680658][ T247] netif_set_promiscuity+0x4c/0xc0 [ 11.680662][ T247] dev_set_promiscuity+0xa1/0x230 [ 11.680664][ T247] ? __asan_memset+0x27/0x50 [ 11.680668][ T247] packet_mc_add+0x54e/0x890 [ 11.680670][ T247] ? __might_fault+0x97/0x140 [ 11.680673][ T247] ? __might_fault+0x97/0x140 [ 11.680675][ T247] ? _copy_from_user+0x42/0x90 [ 11.680680][ T247] packet_setsockopt+0x1953/0x21e0 [ 11.680683][ T247] ? packet_bind+0x170/0x170 [ 11.680686][ T247] ? do_sock_getsockopt+0x7bb/0xb50 [ 11.680691][ T247] ? sock_poll+0x6b0/0x6b0 [ 11.680695][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.680696][ T247] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.680702][ T247] do_sock_setsockopt+0x164/0x3b0 [ 11.680704][ T247] ? put_user_ifreq+0x90/0x90 [ 11.680706][ T247] ? __sys_bind+0x19f/0x260 [ 11.680709][ T247] ? __sys_bind_socket+0xa0/0xa0 [ 11.680715][ T247] __sys_setsockopt+0xe4/0x150 [ 11.680720][ T247] __x64_sys_setsockopt+0xbd/0x180 [ 11.680727][ T247] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.680729][ T247] ? lockdep_hardirqs_on+0x91/0x130 [ 11.680732][ T247] ? do_syscall_64+0xa6/0x530 [ 11.680734][ T247] do_syscall_64+0xff/0x530 [ 11.680736][ T247] ? exc_page_fault+0xee/0x100 [ 11.680739][ T247] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.680741][ T247] RIP: 0033:0x7f9a34ea22de [ 11.680745][ 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.680746][ T247] RSP: 002b:00007ffd48cdb388 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 11.680749][ T247] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f9a34ea22de [ 11.680751][ T247] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 11.680751][ T247] RBP: 00007ffd48cdb4c0 R08: 0000000000000010 R09: 0000564644d4a530 [ 11.680752][ T247] R10: 00007ffd48cdb400 R11: 0000000000000246 R12: 0000000000000001 [ 11.680753][ T247] R13: 0000564644d4a918 R14: 0000564644d4a690 R15: 0000000000000000 [ 11.680760][ T247] [ 12.717506][ T252] veth-s2: entered promiscuous mode [ 12.717525][ T252] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.717527][ T252] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 252, name: tcpdump [ 12.717529][ T252] preempt_count: 1, expected: 0 [ 12.717530][ T252] RCU nest depth: 0, expected: 0 [ 12.717531][ T252] locks held by tcpdump/252: 5, last CPU#2: [ 12.717533][ T252] #0: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 12.717545][ T252] #1: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.717551][ T252] #2: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.717555][ T252] #3: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.717559][ T252] #4: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.717563][ T252] irq event stamp: 38596 [ 12.717564][ T252] hardirqs last enabled at (38595): [] __down_trylock_console_sem+0x86/0xa0 [ 12.717567][ T252] hardirqs last disabled at (38596): [] console_emit_next_record+0x3d4/0x4c0 [ 12.717569][ T252] softirqs last enabled at (38576): [] packet_do_bind+0x4b2/0xc80 [ 12.717571][ T252] softirqs last disabled at (38574): [] release_sock+0x21/0x240 [ 12.717575][ T252] Preemption disabled at: [ 12.717576][ T252] [] vprintk_emit+0x31b/0x3e0 [ 12.717582][ T252] CPU: 2 UID: 0 PID: 252 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.717585][ T252] Tainted: [W]=WARN [ 12.717586][ T252] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.717588][ T252] Call Trace: [ 12.717589][ T252] [ 12.717591][ T252] dump_stack_lvl+0x6f/0xa0 [ 12.717597][ T252] ? vprintk_emit+0x31b/0x3e0 [ 12.717598][ T252] __might_resched.cold+0x1fe/0x2c1 [ 12.717603][ T252] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.717607][ T252] ? __kmalloc_noprof+0xdb/0x760 [ 12.717612][ T252] __kmalloc_noprof+0x443/0x760 [ 12.717614][ T252] ? alloc_buf.isra.0+0x4b/0x260 [ 12.717620][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 12.717624][ T252] alloc_buf.isra.0+0x4b/0x260 [ 12.717627][ T252] put_chars+0x1e1/0x2f0 [ 12.717629][ T252] ? prb_final_commit+0x50/0x50 [ 12.717632][ T252] ? __send_to_port+0x420/0x420 [ 12.717635][ T252] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.717638][ T252] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.717641][ T252] ? validate_chain+0x38b/0xc20 [ 12.717645][ T252] hvc_console_print+0x292/0x780 [ 12.717649][ T252] ? mark_usage+0x61/0x170 [ 12.717651][ T252] ? __lock_acquire+0x518/0xc20 [ 12.717653][ T252] ? __lock_acquire+0x518/0xc20 [ 12.717657][ T252] ? hvc_write+0x3a0/0x3a0 [ 12.717659][ T252] ? console_emit_next_record+0x1df/0x4c0 [ 12.717663][ T252] ? rcu_is_watching+0x16/0xd0 [ 12.717665][ T252] ? lock_acquire+0x13c/0x160 [ 12.717669][ T252] console_emit_next_record+0x22f/0x4c0 [ 12.717673][ T252] ? devkmsg_read+0x4b0/0x4b0 [ 12.717675][ T252] ? console_flush_one_record+0x106/0x710 [ 12.717678][ T252] ? rcu_is_watching+0x16/0xd0 [ 12.717680][ T252] ? lock_acquire+0x13c/0x160 [ 12.717684][ T252] console_flush_one_record+0x46f/0x710 [ 12.717688][ T252] ? console_emit_next_record+0x4c0/0x4c0 [ 12.717690][ T252] ? __lock_acquire+0x518/0xc20 [ 12.717695][ T252] console_unlock+0xee/0x1f0 [ 12.717698][ T252] ? console_flush_one_record+0x710/0x710 [ 12.717699][ T252] ? rcu_is_watching+0x16/0xd0 [ 12.717701][ T252] ? lock_acquire+0xe0/0x160 [ 12.717707][ T252] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.717709][ T252] ? vprintk_emit+0x320/0x3e0 [ 12.717712][ T252] vprintk_emit+0x37c/0x3e0 [ 12.717715][ T252] ? wake_up_klogd_work_func+0x90/0x90 [ 12.717716][ T252] ? kasan_save_stack+0x3d/0x50 [ 12.717719][ T252] ? kasan_save_track+0x14/0x30 [ 12.717721][ T252] ? __kasan_kmalloc+0x7b/0x90 [ 12.717722][ T252] ? __kmalloc_cache_noprof+0x29a/0x620 [ 12.717729][ T252] ? packet_mc_add+0x13b/0x890 [ 12.717730][ T252] ? packet_setsockopt+0x1953/0x21e0 [ 12.717732][ T252] ? do_sock_setsockopt+0x164/0x3b0 [ 12.717736][ T252] _printk+0xc7/0x100 [ 12.717740][ T252] ? snapshot_read.cold+0x21/0x21 [ 12.717744][ T252] ? netdev_name+0x43/0x60 [ 12.717748][ T252] ? __netdev_printk+0x17f/0x1d0 [ 12.717752][ T252] netdev_info+0xe2/0x116 [ 12.717755][ T252] ? netdev_notice+0x120/0x120 [ 12.717762][ T252] ? mutex_is_locked+0x1c/0x50 [ 12.717764][ T252] __dev_set_promiscuity.cold+0x7a/0x104 [ 12.717768][ T252] netif_set_promiscuity+0x4c/0xc0 [ 12.717773][ T252] dev_set_promiscuity+0xa1/0x230 [ 12.717775][ T252] ? __asan_memset+0x27/0x50 [ 12.717779][ T252] packet_mc_add+0x54e/0x890 [ 12.717781][ T252] ? __might_fault+0x97/0x140 [ 12.717784][ T252] ? __might_fault+0x97/0x140 [ 12.717786][ T252] ? _copy_from_user+0x42/0x90 [ 12.717791][ T252] packet_setsockopt+0x1953/0x21e0 [ 12.717794][ T252] ? packet_bind+0x170/0x170 [ 12.717798][ T252] ? do_sock_getsockopt+0x7bb/0xb50 [ 12.717803][ T252] ? sock_poll+0x6b0/0x6b0 [ 12.717806][ T252] ? rcu_is_watching+0x16/0xd0 [ 12.717808][ T252] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.717813][ T252] do_sock_setsockopt+0x164/0x3b0 [ 12.717816][ T252] ? put_user_ifreq+0x90/0x90 [ 12.717818][ T252] ? __sys_bind+0x19f/0x260 [ 12.717821][ T252] ? __sys_bind_socket+0xa0/0xa0 [ 12.717827][ T252] __sys_setsockopt+0xe4/0x150 [ 12.717831][ T252] __x64_sys_setsockopt+0xbd/0x180 [ 12.717833][ T252] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.717835][ T252] ? lockdep_hardirqs_on+0x91/0x130 [ 12.717839][ T252] ? do_syscall_64+0xa6/0x530 [ 12.717842][ T252] do_syscall_64+0xff/0x530 [ 12.717844][ T252] ? exc_page_fault+0xee/0x100 [ 12.717846][ T252] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.717848][ T252] RIP: 0033:0x7f60e54f52de [ 12.717852][ 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.717854][ T252] RSP: 002b:00007ffc8306f528 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 12.717857][ T252] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f60e54f52de [ 12.717858][ T252] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 12.717859][ T252] RBP: 00007ffc8306f660 R08: 0000000000000010 R09: 000056521a6a8530 [ 12.717860][ T252] R10: 00007ffc8306f5a0 R11: 0000000000000246 R12: 0000000000000001 [ 12.717861][ T252] R13: 000056521a6a8918 R14: 000056521a6a8690 R15: 0000000000000000 [ 12.717868][ T252] [ 17.738950][ T247] veth-s1: left promiscuous mode [ 17.739029][ T247] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.739032][ T247] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 247, name: tcpdump [ 17.739033][ T247] preempt_count: 1, expected: 0 [ 17.739034][ T247] RCU nest depth: 0, expected: 0 [ 17.739036][ T247] locks held by tcpdump/247: 6, last CPU#3: [ 17.739038][ T247] #0: ff1100000e0f1540 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 17.739051][ T247] #1: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 17.739057][ T247] #2: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.739062][ T247] #3: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.739066][ T247] #4: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.739070][ T247] #5: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.739074][ T247] irq event stamp: 53218 [ 17.739075][ T247] hardirqs last enabled at (53217): [] __down_trylock_console_sem+0x86/0xa0 [ 17.739078][ T247] hardirqs last disabled at (53218): [] console_emit_next_record+0x3d4/0x4c0 [ 17.739080][ T247] softirqs last enabled at (53082): [] handle_softirqs+0x67c/0x900 [ 17.739084][ T247] softirqs last disabled at (53073): [] __irq_exit_rcu+0x145/0x1c0 [ 17.739086][ T247] Preemption disabled at: [ 17.739087][ T247] [] vprintk_emit+0x31b/0x3e0 [ 17.739092][ T247] CPU: 3 UID: 72 PID: 247 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.739096][ T247] Tainted: [W]=WARN [ 17.739097][ T247] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.739099][ T247] Call Trace: [ 17.739101][ T247] [ 17.739102][ T247] dump_stack_lvl+0x6f/0xa0 [ 17.739109][ T247] ? vprintk_emit+0x31b/0x3e0 [ 17.739110][ T247] __might_resched.cold+0x1fe/0x2c1 [ 17.739115][ T247] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.739119][ T247] ? __kmalloc_noprof+0xdb/0x760 [ 17.739123][ T247] __kmalloc_noprof+0x443/0x760 [ 17.739125][ T247] ? alloc_buf.isra.0+0x4b/0x260 [ 17.739132][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 17.739135][ T247] alloc_buf.isra.0+0x4b/0x260 [ 17.739139][ T247] put_chars+0x1e1/0x2f0 [ 17.739142][ T247] ? __send_to_port+0x420/0x420 [ 17.739143][ T247] ? check_prev_add+0xef/0xe90 [ 17.739148][ T247] ? validate_chain+0x34a/0xc20 [ 17.739152][ T247] hvc_console_print+0x292/0x780 [ 17.739156][ T247] ? mark_usage+0x61/0x170 [ 17.739158][ T247] ? __lock_acquire+0x518/0xc20 [ 17.739160][ T247] ? __lock_acquire+0x518/0xc20 [ 17.739164][ T247] ? hvc_write+0x3a0/0x3a0 [ 17.739166][ T247] ? lock_acquire.part.0+0xd4/0x280 [ 17.739171][ T247] ? lock_acquire+0x13c/0x160 [ 17.739175][ T247] console_emit_next_record+0x22f/0x4c0 [ 17.739179][ T247] ? devkmsg_read+0x4b0/0x4b0 [ 17.739181][ T247] ? console_flush_one_record+0x106/0x710 [ 17.739185][ T247] ? rcu_is_watching+0x16/0xd0 [ 17.739188][ T247] ? lock_acquire+0x13c/0x160 [ 17.739192][ T247] console_flush_one_record+0x46f/0x710 [ 17.739196][ T247] ? console_emit_next_record+0x4c0/0x4c0 [ 17.739198][ T247] ? __lock_acquire+0x518/0xc20 [ 17.739204][ T247] console_unlock+0xee/0x1f0 [ 17.739207][ T247] ? console_flush_one_record+0x710/0x710 [ 17.739209][ T247] ? rcu_is_watching+0x16/0xd0 [ 17.739211][ T247] ? lock_acquire+0xe0/0x160 [ 17.739215][ T247] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.739217][ T247] ? vprintk_emit+0x320/0x3e0 [ 17.739220][ T247] vprintk_emit+0x37c/0x3e0 [ 17.739223][ T247] ? wake_up_klogd_work_func+0x90/0x90 [ 17.739226][ T247] ? __lock_acquire+0x518/0xc20 [ 17.739230][ T247] _printk+0xc7/0x100 [ 17.739234][ T247] ? snapshot_read.cold+0x21/0x21 [ 17.739236][ T247] ? lock_acquire.part.0+0xd4/0x280 [ 17.739240][ T247] ? rcu_is_watching+0x16/0xd0 [ 17.739241][ T247] ? netdev_name+0x43/0x60 [ 17.739245][ T247] ? __netdev_printk+0x17f/0x1d0 [ 17.739249][ T247] netdev_info+0xe2/0x116 [ 17.739252][ T247] ? netdev_notice+0x120/0x120 [ 17.739254][ T247] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 17.739256][ T247] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 17.739261][ T247] ? ww_mutex_lock+0x160/0x160 [ 17.739263][ T247] ? lock_acquire.part.0+0xd4/0x280 [ 17.739265][ T247] ? ref_tracker_alloc+0x430/0x430 [ 17.739268][ T247] ? packet_release+0x363/0xc40 [ 17.739271][ T247] ? __fput+0x36c/0xad0 [ 17.739274][ T247] ? mutex_is_locked+0x1c/0x50 [ 17.739277][ T247] __dev_set_promiscuity.cold+0x7a/0x104 [ 17.739281][ T247] netif_set_promiscuity+0x4c/0xc0 [ 17.739286][ T247] dev_set_promiscuity+0xa1/0x230 [ 17.739289][ T247] packet_release+0x4cb/0xc40 [ 17.739294][ T247] ? packet_set_ring+0x1740/0x1740 [ 17.739297][ T247] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 17.739302][ T247] __sock_release+0xb8/0x280 [ 17.739305][ T247] sock_close+0x18/0x20 [ 17.739307][ T247] __fput+0x36c/0xad0 [ 17.739313][ T247] fput_close_sync+0xde/0x1b0 [ 17.739315][ T247] ? alloc_file_clone+0xe0/0xe0 [ 17.739318][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 17.739322][ T247] __x64_sys_close+0x8b/0xf0 [ 17.739325][ T247] do_syscall_64+0xff/0x530 [ 17.739328][ T247] ? exc_page_fault+0xee/0x100 [ 17.739331][ T247] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.739333][ T247] RIP: 0033:0x7f9a34e1954e [ 17.739337][ 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.739339][ T247] RSP: 002b:00007ffd48cdb4f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 17.739342][ T247] RAX: ffffffffffffffda RBX: 0000564644d4a690 RCX: 00007f9a34e1954e [ 17.739343][ T247] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 17.739344][ T247] RBP: 00007ffd48cdb500 R08: 0000000000000000 R09: 0000000000000000 [ 17.739345][ T247] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 17.739346][ T247] R13: 00000000fffffffe R14: 00005646368d7760 R15: 0000000000000001 [ 17.739353][ T247] [ 18.874213][ T252] veth-s2: left promiscuous mode [ 18.874234][ T252] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.874237][ T252] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 252, name: tcpdump [ 18.874238][ T252] preempt_count: 1, expected: 0 [ 18.874239][ T252] RCU nest depth: 0, expected: 0 [ 18.874240][ T252] locks held by tcpdump/252: 6, last CPU#0: [ 18.874242][ T252] #0: ff1100000e0f6cc0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 18.874255][ T252] #1: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 18.874260][ T252] #2: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.874266][ T252] #3: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.874270][ T252] #4: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.874273][ T252] #5: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.874278][ T252] irq event stamp: 626478 [ 18.874279][ T252] hardirqs last enabled at (626477): [] __down_trylock_console_sem+0x86/0xa0 [ 18.874282][ T252] hardirqs last disabled at (626478): [] console_emit_next_record+0x3d4/0x4c0 [ 18.874284][ T252] softirqs last enabled at (626294): [] handle_softirqs+0x67c/0x900 [ 18.874287][ T252] softirqs last disabled at (625941): [] do_softirq+0xac/0xe0 [ 18.874290][ T252] Preemption disabled at: [ 18.874290][ T252] [] vprintk_emit+0x31b/0x3e0 [ 18.874295][ T252] CPU: 0 UID: 72 PID: 252 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.874299][ T252] Tainted: [W]=WARN [ 18.874300][ T252] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.874301][ T252] Call Trace: [ 18.874303][ T252] [ 18.874305][ T252] dump_stack_lvl+0x6f/0xa0 [ 18.874311][ T252] ? vprintk_emit+0x31b/0x3e0 [ 18.874313][ T252] __might_resched.cold+0x1fe/0x2c1 [ 18.874317][ T252] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.874321][ T252] ? __kmalloc_noprof+0xdb/0x760 [ 18.874326][ T252] __kmalloc_noprof+0x443/0x760 [ 18.874328][ T252] ? alloc_buf.isra.0+0x4b/0x260 [ 18.874335][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 18.874337][ T252] alloc_buf.isra.0+0x4b/0x260 [ 18.874341][ T252] put_chars+0x1e1/0x2f0 [ 18.874344][ T252] ? __send_to_port+0x420/0x420 [ 18.874347][ T252] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.874350][ T252] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.874352][ T252] ? validate_chain+0x38b/0xc20 [ 18.874357][ T252] hvc_console_print+0x292/0x780 [ 18.874361][ T252] ? mark_usage+0x61/0x170 [ 18.874363][ T252] ? __lock_acquire+0x518/0xc20 [ 18.874364][ T252] ? __lock_acquire+0x518/0xc20 [ 18.874369][ T252] ? hvc_write+0x3a0/0x3a0 [ 18.874371][ T252] ? lock_acquire.part.0+0xd4/0x280 [ 18.874376][ T252] ? lock_acquire+0x13c/0x160 [ 18.874380][ T252] console_emit_next_record+0x22f/0x4c0 [ 18.874384][ T252] ? devkmsg_read+0x4b0/0x4b0 [ 18.874386][ T252] ? console_flush_one_record+0x106/0x710 [ 18.874389][ T252] ? rcu_is_watching+0x16/0xd0 [ 18.874391][ T252] ? lock_acquire+0x13c/0x160 [ 18.874395][ T252] console_flush_one_record+0x46f/0x710 [ 18.874400][ T252] ? console_emit_next_record+0x4c0/0x4c0 [ 18.874402][ T252] ? __lock_acquire+0x518/0xc20 [ 18.874407][ T252] console_unlock+0xee/0x1f0 [ 18.874413][ T252] ? console_flush_one_record+0x710/0x710 [ 18.874415][ T252] ? rcu_is_watching+0x16/0xd0 [ 18.874416][ T252] ? lock_acquire+0xe0/0x160 [ 18.874420][ T252] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.874422][ T252] ? vprintk_emit+0x320/0x3e0 [ 18.874425][ T252] vprintk_emit+0x37c/0x3e0 [ 18.874428][ T252] ? wake_up_klogd_work_func+0x90/0x90 [ 18.874431][ T252] ? __lock_acquire+0x518/0xc20 [ 18.874435][ T252] _printk+0xc7/0x100 [ 18.874439][ T252] ? snapshot_read.cold+0x21/0x21 [ 18.874441][ T252] ? lock_acquire.part.0+0xd4/0x280 [ 18.874444][ T252] ? rcu_is_watching+0x16/0xd0 [ 18.874446][ T252] ? netdev_name+0x43/0x60 [ 18.874450][ T252] ? __netdev_printk+0x17f/0x1d0 [ 18.874454][ T252] netdev_info+0xe2/0x116 [ 18.874457][ T252] ? netdev_notice+0x120/0x120 [ 18.874458][ T252] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 18.874461][ T252] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 18.874465][ T252] ? ww_mutex_lock+0x160/0x160 [ 18.874467][ T252] ? lock_acquire.part.0+0xd4/0x280 [ 18.874470][ T252] ? ref_tracker_alloc+0x430/0x430 [ 18.874473][ T252] ? packet_release+0x363/0xc40 [ 18.874475][ T252] ? __fput+0x36c/0xad0 [ 18.874479][ T252] ? mutex_is_locked+0x1c/0x50 [ 18.874481][ T252] __dev_set_promiscuity.cold+0x7a/0x104 [ 18.874485][ T252] netif_set_promiscuity+0x4c/0xc0 [ 18.874490][ T252] dev_set_promiscuity+0xa1/0x230 [ 18.874493][ T252] packet_release+0x4cb/0xc40 [ 18.874497][ T252] ? packet_set_ring+0x1740/0x1740 [ 18.874501][ T252] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 18.874506][ T252] __sock_release+0xb8/0x280 [ 18.874509][ T252] sock_close+0x18/0x20 [ 18.874511][ T252] __fput+0x36c/0xad0 [ 18.874516][ T252] fput_close_sync+0xde/0x1b0 [ 18.874519][ T252] ? alloc_file_clone+0xe0/0xe0 [ 18.874521][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 18.874526][ T252] __x64_sys_close+0x8b/0xf0 [ 18.874528][ T252] do_syscall_64+0xff/0x530 [ 18.874532][ T252] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.874534][ T252] RIP: 0033:0x7f60e546c54e [ 18.874539][ 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.874541][ T252] RSP: 002b:00007ffc8306f690 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 18.874543][ T252] RAX: ffffffffffffffda RBX: 000056521a6a8690 RCX: 00007f60e546c54e [ 18.874545][ T252] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 18.874546][ T252] RBP: 00007ffc8306f6a0 R08: 0000000000000000 R09: 0000000000000000 [ 18.874546][ T252] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 18.874547][ T252] R13: 00000000fffffffe R14: 00005651e8f0c760 R15: 0000000000000001 [ 18.874554][ T252] [ 26.027132][ T276] veth-s1: entered promiscuous mode [ 26.027152][ T276] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.027155][ T276] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 276, name: tcpdump [ 26.027157][ T276] preempt_count: 1, expected: 0 [ 26.027157][ T276] RCU nest depth: 0, expected: 0 [ 26.027158][ T276] locks held by tcpdump/276: 5, last CPU#0: [ 26.027160][ T276] #0: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 26.027172][ T276] #1: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.027178][ T276] #2: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.027182][ T276] #3: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.027186][ T276] #4: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 26.027190][ T276] irq event stamp: 48886 [ 26.027191][ T276] hardirqs last enabled at (48885): [] __down_trylock_console_sem+0x86/0xa0 [ 26.027195][ T276] hardirqs last disabled at (48886): [] console_emit_next_record+0x3d4/0x4c0 [ 26.027197][ T276] softirqs last enabled at (48866): [] packet_do_bind+0x4b2/0xc80 [ 26.027199][ T276] softirqs last disabled at (48864): [] release_sock+0x21/0x240 [ 26.027203][ T276] Preemption disabled at: [ 26.027203][ T276] [] vprintk_emit+0x31b/0x3e0 [ 26.027209][ T276] CPU: 0 UID: 0 PID: 276 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.027212][ T276] Tainted: [W]=WARN [ 26.027213][ T276] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.027215][ T276] Call Trace: [ 26.027216][ T276] [ 26.027218][ T276] dump_stack_lvl+0x6f/0xa0 [ 26.027224][ T276] ? vprintk_emit+0x31b/0x3e0 [ 26.027226][ T276] __might_resched.cold+0x1fe/0x2c1 [ 26.027230][ T276] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.027235][ T276] ? __kmalloc_noprof+0xdb/0x760 [ 26.027239][ T276] __kmalloc_noprof+0x443/0x760 [ 26.027241][ T276] ? alloc_buf.isra.0+0x4b/0x260 [ 26.027248][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 26.027251][ T276] alloc_buf.isra.0+0x4b/0x260 [ 26.027255][ T276] put_chars+0x1e1/0x2f0 [ 26.027256][ T276] ? prb_final_commit+0x50/0x50 [ 26.027259][ T276] ? __send_to_port+0x420/0x420 [ 26.027262][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.027265][ T276] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.027268][ T276] ? validate_chain+0x38b/0xc20 [ 26.027272][ T276] hvc_console_print+0x292/0x780 [ 26.027276][ T276] ? mark_usage+0x61/0x170 [ 26.027278][ T276] ? __lock_acquire+0x518/0xc20 [ 26.027280][ T276] ? __lock_acquire+0x518/0xc20 [ 26.027284][ T276] ? hvc_write+0x3a0/0x3a0 [ 26.027286][ T276] ? console_emit_next_record+0x1df/0x4c0 [ 26.027290][ T276] ? rcu_is_watching+0x16/0xd0 [ 26.027292][ T276] ? lock_acquire+0x13c/0x160 [ 26.027296][ T276] console_emit_next_record+0x22f/0x4c0 [ 26.027300][ T276] ? devkmsg_read+0x4b0/0x4b0 [ 26.027301][ T276] ? console_flush_one_record+0x106/0x710 [ 26.027305][ T276] ? rcu_is_watching+0x16/0xd0 [ 26.027307][ T276] ? lock_acquire+0x13c/0x160 [ 26.027310][ T276] console_flush_one_record+0x46f/0x710 [ 26.027315][ T276] ? console_emit_next_record+0x4c0/0x4c0 [ 26.027317][ T276] ? __lock_acquire+0x518/0xc20 [ 26.027322][ T276] console_unlock+0xee/0x1f0 [ 26.027325][ T276] ? console_flush_one_record+0x710/0x710 [ 26.027327][ T276] ? rcu_is_watching+0x16/0xd0 [ 26.027328][ T276] ? lock_acquire+0xe0/0x160 [ 26.027332][ T276] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.027334][ T276] ? vprintk_emit+0x320/0x3e0 [ 26.027336][ T276] vprintk_emit+0x37c/0x3e0 [ 26.027339][ T276] ? wake_up_klogd_work_func+0x90/0x90 [ 26.027341][ T276] ? kasan_save_stack+0x3d/0x50 [ 26.027344][ T276] ? kasan_save_track+0x14/0x30 [ 26.027345][ T276] ? __kasan_kmalloc+0x7b/0x90 [ 26.027346][ T276] ? __kmalloc_cache_noprof+0x29a/0x620 [ 26.027348][ T276] ? packet_mc_add+0x13b/0x890 [ 26.027349][ T276] ? packet_setsockopt+0x1953/0x21e0 [ 26.027351][ T276] ? do_sock_setsockopt+0x164/0x3b0 [ 26.027355][ T276] _printk+0xc7/0x100 [ 26.027358][ T276] ? snapshot_read.cold+0x21/0x21 [ 26.027363][ T276] ? netdev_name+0x43/0x60 [ 26.027367][ T276] ? __netdev_printk+0x17f/0x1d0 [ 26.027371][ T276] netdev_info+0xe2/0x116 [ 26.027374][ T276] ? netdev_notice+0x120/0x120 [ 26.027381][ T276] ? mutex_is_locked+0x1c/0x50 [ 26.027383][ T276] __dev_set_promiscuity.cold+0x7a/0x104 [ 26.027387][ T276] netif_set_promiscuity+0x4c/0xc0 [ 26.027392][ T276] dev_set_promiscuity+0xa1/0x230 [ 26.027394][ T276] ? __asan_memset+0x27/0x50 [ 26.027397][ T276] packet_mc_add+0x54e/0x890 [ 26.027399][ T276] ? __might_fault+0x97/0x140 [ 26.027402][ T276] ? __might_fault+0x97/0x140 [ 26.027404][ T276] ? _copy_from_user+0x42/0x90 [ 26.027409][ T276] packet_setsockopt+0x1953/0x21e0 [ 26.027412][ T276] ? packet_bind+0x170/0x170 [ 26.027416][ T276] ? do_sock_getsockopt+0x7bb/0xb50 [ 26.027420][ T276] ? sock_poll+0x6b0/0x6b0 [ 26.027424][ T276] ? rcu_is_watching+0x16/0xd0 [ 26.027426][ T276] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.027431][ T276] do_sock_setsockopt+0x164/0x3b0 [ 26.027434][ T276] ? put_user_ifreq+0x90/0x90 [ 26.027436][ T276] ? __sys_bind+0x19f/0x260 [ 26.027438][ T276] ? __sys_bind_socket+0xa0/0xa0 [ 26.027445][ T276] __sys_setsockopt+0xe4/0x150 [ 26.027449][ T276] __x64_sys_setsockopt+0xbd/0x180 [ 26.027451][ T276] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.027453][ T276] ? lockdep_hardirqs_on+0x91/0x130 [ 26.027456][ T276] ? do_syscall_64+0xa6/0x530 [ 26.027459][ T276] do_syscall_64+0xff/0x530 [ 26.027461][ T276] ? exc_page_fault+0xee/0x100 [ 26.027463][ T276] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.027466][ T276] RIP: 0033:0x7fa012a6b2de [ 26.027469][ 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.027471][ T276] RSP: 002b:00007ffee305c4f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 26.027474][ T276] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fa012a6b2de [ 26.027475][ T276] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 26.027476][ T276] RBP: 00007ffee305c630 R08: 0000000000000010 R09: 00005592ab8a0530 [ 26.027477][ T276] R10: 00007ffee305c570 R11: 0000000000000246 R12: 0000000000000001 [ 26.027478][ T276] R13: 00005592ab8a0918 R14: 00005592ab8a0690 R15: 0000000000000000 [ 26.027485][ T276] [ 30.016701][ T276] veth-s1: left promiscuous mode [ 30.016742][ T276] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.016745][ T276] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 276, name: tcpdump [ 30.016747][ T276] preempt_count: 1, expected: 0 [ 30.016749][ T276] RCU nest depth: 0, expected: 0 [ 30.016750][ T276] locks held by tcpdump/276: 6, last CPU#2: [ 30.016753][ T276] #0: ff1100000a87c100 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 30.016768][ T276] #1: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 30.016776][ T276] #2: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.016783][ T276] #3: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.016790][ T276] #4: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.016796][ T276] #5: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 30.016802][ T276] irq event stamp: 780200 [ 30.016803][ T276] hardirqs last enabled at (780199): [] __down_trylock_console_sem+0x86/0xa0 [ 30.016808][ T276] hardirqs last disabled at (780200): [] console_emit_next_record+0x3d4/0x4c0 [ 30.016811][ T276] softirqs last enabled at (780196): [] handle_softirqs+0x67c/0x900 [ 30.016815][ T276] softirqs last disabled at (780189): [] __irq_exit_rcu+0x145/0x1c0 [ 30.016818][ T276] Preemption disabled at: [ 30.016819][ T276] [] vprintk_emit+0x31b/0x3e0 [ 30.016826][ T276] CPU: 2 UID: 72 PID: 276 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.016831][ T276] Tainted: [W]=WARN [ 30.016833][ T276] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.016835][ T276] Call Trace: [ 30.016837][ T276] [ 30.016839][ T276] dump_stack_lvl+0x6f/0xa0 [ 30.016846][ T276] ? vprintk_emit+0x31b/0x3e0 [ 30.016849][ T276] __might_resched.cold+0x1fe/0x2c1 [ 30.016855][ T276] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.016861][ T276] ? __kmalloc_noprof+0xdb/0x760 [ 30.016868][ T276] __kmalloc_noprof+0x443/0x760 [ 30.016871][ T276] ? alloc_buf.isra.0+0x4b/0x260 [ 30.016881][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 30.016885][ T276] alloc_buf.isra.0+0x4b/0x260 [ 30.016890][ T276] put_chars+0x1e1/0x2f0 [ 30.016895][ T276] ? __send_to_port+0x420/0x420 [ 30.016899][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.016904][ T276] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.016908][ T276] ? validate_chain+0x38b/0xc20 [ 30.016915][ T276] hvc_console_print+0x292/0x780 [ 30.016920][ T276] ? mark_usage+0x61/0x170 [ 30.016923][ T276] ? __lock_acquire+0x518/0xc20 [ 30.016926][ T276] ? __lock_acquire+0x518/0xc20 [ 30.016933][ T276] ? hvc_write+0x3a0/0x3a0 [ 30.016936][ T276] ? lock_acquire.part.0+0xd4/0x280 [ 30.016944][ T276] ? lock_acquire+0x13c/0x160 [ 30.016951][ T276] console_emit_next_record+0x22f/0x4c0 [ 30.016957][ T276] ? devkmsg_read+0x4b0/0x4b0 [ 30.016960][ T276] ? console_flush_one_record+0x106/0x710 [ 30.016965][ T276] ? rcu_is_watching+0x16/0xd0 [ 30.016969][ T276] ? lock_acquire+0x13c/0x160 [ 30.016976][ T276] console_flush_one_record+0x46f/0x710 [ 30.016983][ T276] ? console_emit_next_record+0x4c0/0x4c0 [ 30.016986][ T276] ? __lock_acquire+0x518/0xc20 [ 30.016996][ T276] console_unlock+0xee/0x1f0 [ 30.017000][ T276] ? console_flush_one_record+0x710/0x710 [ 30.017003][ T276] ? rcu_is_watching+0x16/0xd0 [ 30.017006][ T276] ? lock_acquire+0xe0/0x160 [ 30.017012][ T276] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.017014][ T276] ? vprintk_emit+0x320/0x3e0 [ 30.017019][ T276] vprintk_emit+0x37c/0x3e0 [ 30.017024][ T276] ? wake_up_klogd_work_func+0x90/0x90 [ 30.017029][ T276] ? __lock_acquire+0x518/0xc20 [ 30.017034][ T276] _printk+0xc7/0x100 [ 30.017039][ T276] ? snapshot_read.cold+0x21/0x21 [ 30.017041][ T276] ? lock_acquire.part.0+0xd4/0x280 [ 30.017047][ T276] ? rcu_is_watching+0x16/0xd0 [ 30.017049][ T276] ? netdev_name+0x43/0x60 [ 30.017054][ T276] ? __netdev_printk+0x17f/0x1d0 [ 30.017060][ T276] netdev_info+0xe2/0x116 [ 30.017064][ T276] ? netdev_notice+0x120/0x120 [ 30.017066][ T276] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 30.017070][ T276] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 30.017076][ T276] ? ww_mutex_lock+0x160/0x160 [ 30.017079][ T276] ? lock_acquire.part.0+0xd4/0x280 [ 30.017082][ T276] ? ref_tracker_alloc+0x430/0x430 [ 30.017086][ T276] ? packet_release+0x363/0xc40 [ 30.017090][ T276] ? __fput+0x36c/0xad0 [ 30.017094][ T276] ? mutex_is_locked+0x1c/0x50 [ 30.017098][ T276] __dev_set_promiscuity.cold+0x7a/0x104 [ 30.017104][ T276] netif_set_promiscuity+0x4c/0xc0 [ 30.017110][ T276] dev_set_promiscuity+0xa1/0x230 [ 30.017114][ T276] packet_release+0x4cb/0xc40 [ 30.017121][ T276] ? packet_set_ring+0x1740/0x1740 [ 30.017126][ T276] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 30.017134][ T276] __sock_release+0xb8/0x280 [ 30.017139][ T276] sock_close+0x18/0x20 [ 30.017141][ T276] __fput+0x36c/0xad0 [ 30.017149][ T276] fput_close_sync+0xde/0x1b0 [ 30.017153][ T276] ? alloc_file_clone+0xe0/0xe0 [ 30.017157][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 30.017163][ T276] __x64_sys_close+0x8b/0xf0 [ 30.017167][ T276] do_syscall_64+0xff/0x530 [ 30.017171][ T276] ? irq_exit_rcu+0x1a/0x30 [ 30.017175][ T276] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.017178][ T276] RIP: 0033:0x7fa0129e254e [ 30.017182][ 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.017185][ T276] RSP: 002b:00007ffee305c660 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 30.017188][ T276] RAX: ffffffffffffffda RBX: 00005592ab8a0690 RCX: 00007fa0129e254e [ 30.017190][ T276] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 30.017191][ T276] RBP: 00007ffee305c670 R08: 0000000000000000 R09: 0000000000000000 [ 30.017193][ T276] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 30.017194][ T276] R13: 00000000fffffffe R14: 0000559299467760 R15: 0000000000000001 [ 30.017205][ T276] [ 41.049513][ T355] veth-s1: entered promiscuous mode [ 41.049532][ T355] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.049535][ T355] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 355, name: tcpdump [ 41.049536][ T355] preempt_count: 1, expected: 0 [ 41.049537][ T355] RCU nest depth: 0, expected: 0 [ 41.049538][ T355] locks held by tcpdump/355: 5, last CPU#1: [ 41.049540][ T355] #0: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 41.049552][ T355] #1: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.049558][ T355] #2: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.049562][ T355] #3: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.049565][ T355] #4: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 41.049569][ T355] irq event stamp: 37956 [ 41.049570][ T355] hardirqs last enabled at (37955): [] __down_trylock_console_sem+0x86/0xa0 [ 41.049573][ T355] hardirqs last disabled at (37956): [] console_emit_next_record+0x3d4/0x4c0 [ 41.049575][ T355] softirqs last enabled at (37936): [] packet_do_bind+0x4b2/0xc80 [ 41.049577][ T355] softirqs last disabled at (37934): [] release_sock+0x21/0x240 [ 41.049581][ T355] Preemption disabled at: [ 41.049582][ T355] [] vprintk_emit+0x31b/0x3e0 [ 41.049587][ T355] CPU: 1 UID: 0 PID: 355 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.049590][ T355] Tainted: [W]=WARN [ 41.049591][ T355] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.049593][ T355] Call Trace: [ 41.049595][ T355] [ 41.049596][ T355] dump_stack_lvl+0x6f/0xa0 [ 41.049603][ T355] ? vprintk_emit+0x31b/0x3e0 [ 41.049604][ T355] __might_resched.cold+0x1fe/0x2c1 [ 41.049609][ T355] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.049613][ T355] ? __kmalloc_noprof+0xdb/0x760 [ 41.049617][ T355] __kmalloc_noprof+0x443/0x760 [ 41.049619][ T355] ? alloc_buf.isra.0+0x4b/0x260 [ 41.049626][ T355] ? do_raw_spin_unlock+0x59/0x250 [ 41.049629][ T355] alloc_buf.isra.0+0x4b/0x260 [ 41.049633][ T355] put_chars+0x1e1/0x2f0 [ 41.049634][ T355] ? prb_final_commit+0x50/0x50 [ 41.049637][ T355] ? __send_to_port+0x420/0x420 [ 41.049640][ T355] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.049643][ T355] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.049645][ T355] ? validate_chain+0x38b/0xc20 [ 41.049649][ T355] hvc_console_print+0x292/0x780 [ 41.049654][ T355] ? mark_usage+0x61/0x170 [ 41.049656][ T355] ? __lock_acquire+0x518/0xc20 [ 41.049657][ T355] ? __lock_acquire+0x518/0xc20 [ 41.049661][ T355] ? hvc_write+0x3a0/0x3a0 [ 41.049664][ T355] ? console_emit_next_record+0x1df/0x4c0 [ 41.049667][ T355] ? rcu_is_watching+0x16/0xd0 [ 41.049669][ T355] ? lock_acquire+0x13c/0x160 [ 41.049673][ T355] console_emit_next_record+0x22f/0x4c0 [ 41.049677][ T355] ? devkmsg_read+0x4b0/0x4b0 [ 41.049679][ T355] ? console_flush_one_record+0x106/0x710 [ 41.049682][ T355] ? rcu_is_watching+0x16/0xd0 [ 41.049684][ T355] ? lock_acquire+0x13c/0x160 [ 41.049688][ T355] console_flush_one_record+0x46f/0x710 [ 41.049692][ T355] ? console_emit_next_record+0x4c0/0x4c0 [ 41.049693][ T355] ? __lock_acquire+0x518/0xc20 [ 41.049699][ T355] console_unlock+0xee/0x1f0 [ 41.049701][ T355] ? console_flush_one_record+0x710/0x710 [ 41.049703][ T355] ? rcu_is_watching+0x16/0xd0 [ 41.049709][ T355] ? lock_acquire+0xe0/0x160 [ 41.049713][ T355] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.049714][ T355] ? vprintk_emit+0x320/0x3e0 [ 41.049717][ T355] vprintk_emit+0x37c/0x3e0 [ 41.049720][ T355] ? wake_up_klogd_work_func+0x90/0x90 [ 41.049722][ T355] ? kasan_save_stack+0x3d/0x50 [ 41.049724][ T355] ? kasan_save_track+0x14/0x30 [ 41.049726][ T355] ? __kasan_kmalloc+0x7b/0x90 [ 41.049727][ T355] ? __kmalloc_cache_noprof+0x29a/0x620 [ 41.049728][ T355] ? packet_mc_add+0x13b/0x890 [ 41.049730][ T355] ? packet_setsockopt+0x1953/0x21e0 [ 41.049731][ T355] ? do_sock_setsockopt+0x164/0x3b0 [ 41.049736][ T355] _printk+0xc7/0x100 [ 41.049739][ T355] ? snapshot_read.cold+0x21/0x21 [ 41.049743][ T355] ? netdev_name+0x43/0x60 [ 41.049754][ T355] ? __netdev_printk+0x17f/0x1d0 [ 41.049757][ T355] netdev_info+0xe2/0x116 [ 41.049760][ T355] ? netdev_notice+0x120/0x120 [ 41.049767][ T355] ? mutex_is_locked+0x1c/0x50 [ 41.049770][ T355] __dev_set_promiscuity.cold+0x7a/0x104 [ 41.049773][ T355] netif_set_promiscuity+0x4c/0xc0 [ 41.049778][ T355] dev_set_promiscuity+0xa1/0x230 [ 41.049780][ T355] ? __asan_memset+0x27/0x50 [ 41.049784][ T355] packet_mc_add+0x54e/0x890 [ 41.049786][ T355] ? __might_fault+0x97/0x140 [ 41.049788][ T355] ? __might_fault+0x97/0x140 [ 41.049790][ T355] ? _copy_from_user+0x42/0x90 [ 41.049795][ T355] packet_setsockopt+0x1953/0x21e0 [ 41.049798][ T355] ? packet_bind+0x170/0x170 [ 41.049802][ T355] ? do_sock_getsockopt+0x7bb/0xb50 [ 41.049806][ T355] ? sock_poll+0x6b0/0x6b0 [ 41.049810][ T355] ? rcu_is_watching+0x16/0xd0 [ 41.049812][ T355] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.049817][ T355] do_sock_setsockopt+0x164/0x3b0 [ 41.049820][ T355] ? put_user_ifreq+0x90/0x90 [ 41.049822][ T355] ? __sys_bind+0x19f/0x260 [ 41.049824][ T355] ? __sys_bind_socket+0xa0/0xa0 [ 41.049830][ T355] __sys_setsockopt+0xe4/0x150 [ 41.049835][ T355] __x64_sys_setsockopt+0xbd/0x180 [ 41.049837][ T355] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.049839][ T355] ? lockdep_hardirqs_on+0x91/0x130 [ 41.049842][ T355] ? do_syscall_64+0xa6/0x530 [ 41.049844][ T355] do_syscall_64+0xff/0x530 [ 41.049846][ T355] ? exc_page_fault+0xee/0x100 [ 41.049849][ T355] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 41.049851][ T355] RIP: 0033:0x7f29bd69e2de [ 41.049854][ T355] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 41.049856][ T355] RSP: 002b:00007ffc91aead08 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 41.049859][ T355] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f29bd69e2de [ 41.049860][ T355] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 41.049861][ T355] RBP: 00007ffc91aeae40 R08: 0000000000000010 R09: 000055fad1bc8530 [ 41.049862][ T355] R10: 00007ffc91aead80 R11: 0000000000000246 R12: 0000000000000001 [ 41.049863][ T355] R13: 000055fad1bc8918 R14: 000055fad1bc8690 R15: 0000000000000000 [ 41.049870][ T355] [ 42.094409][ T360] veth-s2: entered promiscuous mode [ 42.094428][ T360] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 42.094431][ T360] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 360, name: tcpdump [ 42.094432][ T360] preempt_count: 1, expected: 0 [ 42.094433][ T360] RCU nest depth: 0, expected: 0 [ 42.094434][ T360] locks held by tcpdump/360: 5, last CPU#0: [ 42.094436][ T360] #0: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 42.094447][ T360] #1: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 42.094453][ T360] #2: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 42.094458][ T360] #3: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 42.094462][ T360] #4: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 42.094466][ T360] irq event stamp: 37852 [ 42.094467][ T360] hardirqs last enabled at (37851): [] __down_trylock_console_sem+0x86/0xa0 [ 42.094470][ T360] hardirqs last disabled at (37852): [] console_emit_next_record+0x3d4/0x4c0 [ 42.094472][ T360] softirqs last enabled at (37832): [] packet_do_bind+0x4b2/0xc80 [ 42.094474][ T360] softirqs last disabled at (37830): [] release_sock+0x21/0x240 [ 42.094477][ T360] Preemption disabled at: [ 42.094478][ T360] [] vprintk_emit+0x31b/0x3e0 [ 42.094483][ T360] CPU: 0 UID: 0 PID: 360 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 42.094487][ T360] Tainted: [W]=WARN [ 42.094488][ T360] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.094489][ T360] Call Trace: [ 42.094491][ T360] [ 42.094492][ T360] dump_stack_lvl+0x6f/0xa0 [ 42.094499][ T360] ? vprintk_emit+0x31b/0x3e0 [ 42.094500][ T360] __might_resched.cold+0x1fe/0x2c1 [ 42.094505][ T360] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 42.094509][ T360] ? __kmalloc_noprof+0xdb/0x760 [ 42.094513][ T360] __kmalloc_noprof+0x443/0x760 [ 42.094515][ T360] ? alloc_buf.isra.0+0x4b/0x260 [ 42.094522][ T360] ? do_raw_spin_unlock+0x59/0x250 [ 42.094525][ T360] alloc_buf.isra.0+0x4b/0x260 [ 42.094529][ T360] put_chars+0x1e1/0x2f0 [ 42.094530][ T360] ? prb_final_commit+0x50/0x50 [ 42.094533][ T360] ? __send_to_port+0x420/0x420 [ 42.094536][ T360] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 42.094539][ T360] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.094541][ T360] ? validate_chain+0x38b/0xc20 [ 42.094545][ T360] hvc_console_print+0x292/0x780 [ 42.094550][ T360] ? mark_usage+0x61/0x170 [ 42.094552][ T360] ? __lock_acquire+0x518/0xc20 [ 42.094554][ T360] ? __lock_acquire+0x518/0xc20 [ 42.094558][ T360] ? hvc_write+0x3a0/0x3a0 [ 42.094560][ T360] ? console_emit_next_record+0x1df/0x4c0 [ 42.094563][ T360] ? rcu_is_watching+0x16/0xd0 [ 42.094565][ T360] ? lock_acquire+0x13c/0x160 [ 42.094570][ T360] console_emit_next_record+0x22f/0x4c0 [ 42.094573][ T360] ? devkmsg_read+0x4b0/0x4b0 [ 42.094575][ T360] ? console_flush_one_record+0x106/0x710 [ 42.094579][ T360] ? rcu_is_watching+0x16/0xd0 [ 42.094580][ T360] ? lock_acquire+0x13c/0x160 [ 42.094584][ T360] console_flush_one_record+0x46f/0x710 [ 42.094589][ T360] ? console_emit_next_record+0x4c0/0x4c0 [ 42.094590][ T360] ? __lock_acquire+0x518/0xc20 [ 42.094596][ T360] console_unlock+0xee/0x1f0 [ 42.094599][ T360] ? console_flush_one_record+0x710/0x710 [ 42.094601][ T360] ? rcu_is_watching+0x16/0xd0 [ 42.094602][ T360] ? lock_acquire+0xe0/0x160 [ 42.094606][ T360] ? __down_trylock_console_sem+0x5e/0xa0 [ 42.094608][ T360] ? vprintk_emit+0x320/0x3e0 [ 42.094611][ T360] vprintk_emit+0x37c/0x3e0 [ 42.094614][ T360] ? wake_up_klogd_work_func+0x90/0x90 [ 42.094615][ T360] ? kasan_save_stack+0x3d/0x50 [ 42.094618][ T360] ? kasan_save_track+0x14/0x30 [ 42.094619][ T360] ? __kasan_kmalloc+0x7b/0x90 [ 42.094620][ T360] ? __kmalloc_cache_noprof+0x29a/0x620 [ 42.094622][ T360] ? packet_mc_add+0x13b/0x890 [ 42.094623][ T360] ? packet_setsockopt+0x1953/0x21e0 [ 42.094625][ T360] ? do_sock_setsockopt+0x164/0x3b0 [ 42.094629][ T360] _printk+0xc7/0x100 [ 42.094632][ T360] ? snapshot_read.cold+0x21/0x21 [ 42.094637][ T360] ? netdev_name+0x43/0x60 [ 42.094641][ T360] ? __netdev_printk+0x17f/0x1d0 [ 42.094645][ T360] netdev_info+0xe2/0x116 [ 42.094648][ T360] ? netdev_notice+0x120/0x120 [ 42.094655][ T360] ? mutex_is_locked+0x1c/0x50 [ 42.094657][ T360] __dev_set_promiscuity.cold+0x7a/0x104 [ 42.094661][ T360] netif_set_promiscuity+0x4c/0xc0 [ 42.094666][ T360] dev_set_promiscuity+0xa1/0x230 [ 42.094668][ T360] ? __asan_memset+0x27/0x50 [ 42.094672][ T360] packet_mc_add+0x54e/0x890 [ 42.094674][ T360] ? __might_fault+0x97/0x140 [ 42.094677][ T360] ? __might_fault+0x97/0x140 [ 42.094679][ T360] ? _copy_from_user+0x42/0x90 [ 42.094684][ T360] packet_setsockopt+0x1953/0x21e0 [ 42.094687][ T360] ? packet_bind+0x170/0x170 [ 42.094690][ T360] ? do_sock_getsockopt+0x7bb/0xb50 [ 42.094695][ T360] ? sock_poll+0x6b0/0x6b0 [ 42.094699][ T360] ? rcu_is_watching+0x16/0xd0 [ 42.094701][ T360] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.094710][ T360] do_sock_setsockopt+0x164/0x3b0 [ 42.094713][ T360] ? put_user_ifreq+0x90/0x90 [ 42.094715][ T360] ? __sys_bind+0x19f/0x260 [ 42.094718][ T360] ? __sys_bind_socket+0xa0/0xa0 [ 42.094724][ T360] __sys_setsockopt+0xe4/0x150 [ 42.094728][ T360] __x64_sys_setsockopt+0xbd/0x180 [ 42.094730][ T360] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.094733][ T360] ? lockdep_hardirqs_on+0x91/0x130 [ 42.094736][ T360] ? do_syscall_64+0xa6/0x530 [ 42.094738][ T360] do_syscall_64+0xff/0x530 [ 42.094740][ T360] ? exc_page_fault+0xee/0x100 [ 42.094743][ T360] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 42.094750][ T360] RIP: 0033:0x7f0a067382de [ 42.094754][ T360] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 42.094756][ T360] RSP: 002b:00007ffee7a8ea88 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 42.094759][ T360] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f0a067382de [ 42.094760][ T360] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 42.094761][ T360] RBP: 00007ffee7a8ebc0 R08: 0000000000000010 R09: 0000557d36c1e530 [ 42.094762][ T360] R10: 00007ffee7a8eb00 R11: 0000000000000246 R12: 0000000000000001 [ 42.094763][ T360] R13: 0000557d36c1e918 R14: 0000557d36c1e690 R15: 0000000000000000 [ 42.094769][ T360] [ 47.124473][ T355] veth-s1: left promiscuous mode [ 47.124495][ T355] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.124498][ T355] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 355, name: tcpdump [ 47.124499][ T355] preempt_count: 1, expected: 0 [ 47.124500][ T355] RCU nest depth: 0, expected: 0 [ 47.124501][ T355] locks held by tcpdump/355: 6, last CPU#2: [ 47.124503][ T355] #0: ff1100000d634d80 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 47.124516][ T355] #1: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 47.124522][ T355] #2: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.124527][ T355] #3: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.124532][ T355] #4: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.124535][ T355] #5: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 47.124539][ T355] irq event stamp: 50550 [ 47.124540][ T355] hardirqs last enabled at (50549): [] __down_trylock_console_sem+0x86/0xa0 [ 47.124544][ T355] hardirqs last disabled at (50550): [] console_emit_next_record+0x3d4/0x4c0 [ 47.124546][ T355] softirqs last enabled at (50398): [] packet_setsockopt+0xcdf/0x21e0 [ 47.124548][ T355] softirqs last disabled at (50396): [] release_sock+0x21/0x240 [ 47.124551][ T355] Preemption disabled at: [ 47.124552][ T355] [] vprintk_emit+0x31b/0x3e0 [ 47.124557][ T355] CPU: 2 UID: 72 PID: 355 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.124561][ T355] Tainted: [W]=WARN [ 47.124562][ T355] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.124564][ T355] Call Trace: [ 47.124566][ T355] [ 47.124567][ T355] dump_stack_lvl+0x6f/0xa0 [ 47.124573][ T355] ? vprintk_emit+0x31b/0x3e0 [ 47.124575][ T355] __might_resched.cold+0x1fe/0x2c1 [ 47.124579][ T355] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.124584][ T355] ? __kmalloc_noprof+0xdb/0x760 [ 47.124589][ T355] __kmalloc_noprof+0x443/0x760 [ 47.124591][ T355] ? alloc_buf.isra.0+0x4b/0x260 [ 47.124597][ T355] ? do_raw_spin_unlock+0x59/0x250 [ 47.124600][ T355] alloc_buf.isra.0+0x4b/0x260 [ 47.124604][ T355] put_chars+0x1e1/0x2f0 [ 47.124607][ T355] ? __send_to_port+0x420/0x420 [ 47.124609][ T355] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 47.124612][ T355] ? rcu_read_lock_any_held+0x3c/0x90 [ 47.124616][ T355] ? validate_chain+0x38b/0xc20 [ 47.124620][ T355] hvc_console_print+0x292/0x780 [ 47.124624][ T355] ? mark_usage+0x61/0x170 [ 47.124626][ T355] ? __lock_acquire+0x518/0xc20 [ 47.124628][ T355] ? __lock_acquire+0x518/0xc20 [ 47.124632][ T355] ? hvc_write+0x3a0/0x3a0 [ 47.124634][ T355] ? lock_acquire.part.0+0xd4/0x280 [ 47.124639][ T355] ? lock_acquire+0x13c/0x160 [ 47.124643][ T355] console_emit_next_record+0x22f/0x4c0 [ 47.124648][ T355] ? devkmsg_read+0x4b0/0x4b0 [ 47.124650][ T355] ? console_flush_one_record+0x106/0x710 [ 47.124653][ T355] ? rcu_is_watching+0x16/0xd0 [ 47.124655][ T355] ? lock_acquire+0x13c/0x160 [ 47.124659][ T355] console_flush_one_record+0x46f/0x710 [ 47.124664][ T355] ? console_emit_next_record+0x4c0/0x4c0 [ 47.124666][ T355] ? __lock_acquire+0x518/0xc20 [ 47.124671][ T355] console_unlock+0xee/0x1f0 [ 47.124674][ T355] ? console_flush_one_record+0x710/0x710 [ 47.124676][ T355] ? rcu_is_watching+0x16/0xd0 [ 47.124678][ T355] ? lock_acquire+0xe0/0x160 [ 47.124682][ T355] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.124684][ T355] ? vprintk_emit+0x320/0x3e0 [ 47.124686][ T355] vprintk_emit+0x37c/0x3e0 [ 47.124690][ T355] ? wake_up_klogd_work_func+0x90/0x90 [ 47.124693][ T355] ? __lock_acquire+0x518/0xc20 [ 47.124697][ T355] _printk+0xc7/0x100 [ 47.124700][ T355] ? snapshot_read.cold+0x21/0x21 [ 47.124702][ T355] ? lock_acquire.part.0+0xd4/0x280 [ 47.124709][ T355] ? rcu_is_watching+0x16/0xd0 [ 47.124710][ T355] ? netdev_name+0x43/0x60 [ 47.124714][ T355] ? __netdev_printk+0x17f/0x1d0 [ 47.124718][ T355] netdev_info+0xe2/0x116 [ 47.124721][ T355] ? netdev_notice+0x120/0x120 [ 47.124723][ T355] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 47.124726][ T355] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 47.124730][ T355] ? ww_mutex_lock+0x160/0x160 [ 47.124732][ T355] ? lock_acquire.part.0+0xd4/0x280 [ 47.124734][ T355] ? ref_tracker_alloc+0x430/0x430 [ 47.124738][ T355] ? packet_release+0x363/0xc40 [ 47.124740][ T355] ? __fput+0x36c/0xad0 [ 47.124743][ T355] ? mutex_is_locked+0x1c/0x50 [ 47.124746][ T355] __dev_set_promiscuity.cold+0x7a/0x104 [ 47.124755][ T355] netif_set_promiscuity+0x4c/0xc0 [ 47.124760][ T355] dev_set_promiscuity+0xa1/0x230 [ 47.124764][ T355] packet_release+0x4cb/0xc40 [ 47.124768][ T355] ? packet_set_ring+0x1740/0x1740 [ 47.124772][ T355] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 47.124777][ T355] __sock_release+0xb8/0x280 [ 47.124780][ T355] sock_close+0x18/0x20 [ 47.124782][ T355] __fput+0x36c/0xad0 [ 47.124787][ T355] fput_close_sync+0xde/0x1b0 [ 47.124790][ T355] ? alloc_file_clone+0xe0/0xe0 [ 47.124793][ T355] ? do_raw_spin_unlock+0x59/0x250 [ 47.124797][ T355] __x64_sys_close+0x8b/0xf0 [ 47.124800][ T355] do_syscall_64+0xff/0x530 [ 47.124803][ T355] ? exc_page_fault+0xee/0x100 [ 47.124806][ T355] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 47.124808][ T355] RIP: 0033:0x7f29bd61554e [ 47.124812][ T355] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 47.124814][ T355] RSP: 002b:00007ffc91aeae70 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 47.124817][ T355] RAX: ffffffffffffffda RBX: 000055fad1bc8690 RCX: 00007f29bd61554e [ 47.124818][ T355] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 47.124819][ T355] RBP: 00007ffc91aeae80 R08: 0000000000000000 R09: 0000000000000000 [ 47.124820][ T355] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 47.124821][ T355] R13: 00000000fffffffe R14: 000055fa93326760 R15: 0000000000000001 [ 47.124828][ T355] [ 48.235849][ T360] veth-s2: left promiscuous mode [ 48.235868][ T360] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 48.235870][ T360] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 360, name: tcpdump [ 48.235872][ T360] preempt_count: 1, expected: 0 [ 48.235873][ T360] RCU nest depth: 0, expected: 0 [ 48.235874][ T360] locks held by tcpdump/360: 6, last CPU#2: [ 48.235876][ T360] #0: ff1100000d636cc0 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 48.235889][ T360] #1: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 48.235895][ T360] #2: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 48.235900][ T360] #3: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 48.235904][ T360] #4: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 48.235908][ T360] #5: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 48.235913][ T360] irq event stamp: 608264 [ 48.235913][ T360] hardirqs last enabled at (608263): [] __down_trylock_console_sem+0x86/0xa0 [ 48.235917][ T360] hardirqs last disabled at (608264): [] console_emit_next_record+0x3d4/0x4c0 [ 48.235919][ T360] softirqs last enabled at (608140): [] handle_softirqs+0x67c/0x900 [ 48.235922][ T360] softirqs last disabled at (608135): [] __irq_exit_rcu+0x145/0x1c0 [ 48.235925][ T360] Preemption disabled at: [ 48.235926][ T360] [] vprintk_emit+0x31b/0x3e0 [ 48.235931][ T360] CPU: 2 UID: 72 PID: 360 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 48.235935][ T360] Tainted: [W]=WARN [ 48.235936][ T360] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 48.235938][ T360] Call Trace: [ 48.235940][ T360] [ 48.235941][ T360] dump_stack_lvl+0x6f/0xa0 [ 48.235947][ T360] ? vprintk_emit+0x31b/0x3e0 [ 48.235949][ T360] __might_resched.cold+0x1fe/0x2c1 [ 48.235953][ T360] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 48.235958][ T360] ? __kmalloc_noprof+0xdb/0x760 [ 48.235962][ T360] __kmalloc_noprof+0x443/0x760 [ 48.235964][ T360] ? alloc_buf.isra.0+0x4b/0x260 [ 48.235971][ T360] ? do_raw_spin_unlock+0x59/0x250 [ 48.235974][ T360] alloc_buf.isra.0+0x4b/0x260 [ 48.235978][ T360] put_chars+0x1e1/0x2f0 [ 48.235981][ T360] ? __send_to_port+0x420/0x420 [ 48.235984][ T360] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 48.235987][ T360] ? rcu_read_lock_any_held+0x3c/0x90 [ 48.235990][ T360] ? validate_chain+0x38b/0xc20 [ 48.235995][ T360] hvc_console_print+0x292/0x780 [ 48.235999][ T360] ? mark_usage+0x61/0x170 [ 48.236001][ T360] ? __lock_acquire+0x518/0xc20 [ 48.236003][ T360] ? __lock_acquire+0x518/0xc20 [ 48.236007][ T360] ? hvc_write+0x3a0/0x3a0 [ 48.236009][ T360] ? lock_acquire.part.0+0xd4/0x280 [ 48.236014][ T360] ? lock_acquire+0x13c/0x160 [ 48.236018][ T360] console_emit_next_record+0x22f/0x4c0 [ 48.236022][ T360] ? devkmsg_read+0x4b0/0x4b0 [ 48.236024][ T360] ? console_flush_one_record+0x106/0x710 [ 48.236028][ T360] ? rcu_is_watching+0x16/0xd0 [ 48.236030][ T360] ? lock_acquire+0x13c/0x160 [ 48.236034][ T360] console_flush_one_record+0x46f/0x710 [ 48.236038][ T360] ? console_emit_next_record+0x4c0/0x4c0 [ 48.236040][ T360] ? __lock_acquire+0x518/0xc20 [ 48.236046][ T360] console_unlock+0xee/0x1f0 [ 48.236049][ T360] ? console_flush_one_record+0x710/0x710 [ 48.236051][ T360] ? rcu_is_watching+0x16/0xd0 [ 48.236053][ T360] ? lock_acquire+0xe0/0x160 [ 48.236057][ T360] ? __down_trylock_console_sem+0x5e/0xa0 [ 48.236059][ T360] ? vprintk_emit+0x320/0x3e0 [ 48.236062][ T360] vprintk_emit+0x37c/0x3e0 [ 48.236065][ T360] ? wake_up_klogd_work_func+0x90/0x90 [ 48.236068][ T360] ? __lock_acquire+0x518/0xc20 [ 48.236072][ T360] _printk+0xc7/0x100 [ 48.236076][ T360] ? snapshot_read.cold+0x21/0x21 [ 48.236078][ T360] ? lock_acquire.part.0+0xd4/0x280 [ 48.236081][ T360] ? rcu_is_watching+0x16/0xd0 [ 48.236083][ T360] ? netdev_name+0x43/0x60 [ 48.236087][ T360] ? __netdev_printk+0x17f/0x1d0 [ 48.236091][ T360] netdev_info+0xe2/0x116 [ 48.236094][ T360] ? netdev_notice+0x120/0x120 [ 48.236096][ T360] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 48.236098][ T360] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 48.236103][ T360] ? ww_mutex_lock+0x160/0x160 [ 48.236105][ T360] ? lock_acquire.part.0+0xd4/0x280 [ 48.236107][ T360] ? ref_tracker_alloc+0x430/0x430 [ 48.236111][ T360] ? packet_release+0x363/0xc40 [ 48.236113][ T360] ? __fput+0x36c/0xad0 [ 48.236116][ T360] ? mutex_is_locked+0x1c/0x50 [ 48.236119][ T360] __dev_set_promiscuity.cold+0x7a/0x104 [ 48.236123][ T360] netif_set_promiscuity+0x4c/0xc0 [ 48.236128][ T360] dev_set_promiscuity+0xa1/0x230 [ 48.236131][ T360] packet_release+0x4cb/0xc40 [ 48.236136][ T360] ? packet_set_ring+0x1740/0x1740 [ 48.236139][ T360] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 48.236144][ T360] __sock_release+0xb8/0x280 [ 48.236147][ T360] sock_close+0x18/0x20 [ 48.236149][ T360] __fput+0x36c/0xad0 [ 48.236155][ T360] fput_close_sync+0xde/0x1b0 [ 48.236157][ T360] ? alloc_file_clone+0xe0/0xe0 [ 48.236160][ T360] ? do_raw_spin_unlock+0x59/0x250 [ 48.236164][ T360] __x64_sys_close+0x8b/0xf0 [ 48.236167][ T360] do_syscall_64+0xff/0x530 [ 48.236170][ T360] ? irq_exit_rcu+0x1a/0x30 [ 48.236173][ T360] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 48.236175][ T360] RIP: 0033:0x7f0a066af54e [ 48.236179][ T360] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 48.236181][ T360] RSP: 002b:00007ffee7a8ebf0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 48.236184][ T360] RAX: ffffffffffffffda RBX: 0000557d36c1e690 RCX: 00007f0a066af54e [ 48.236185][ T360] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 48.236186][ T360] RBP: 00007ffee7a8ec00 R08: 0000000000000000 R09: 0000000000000000 [ 48.236187][ T360] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 48.236188][ T360] R13: 00000000fffffffe R14: 0000557cfce11760 R15: 0000000000000001 [ 48.236195][ T360] [ 57.566160][ T384] veth-s1: entered promiscuous mode [ 57.566180][ T384] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 57.566183][ T384] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 384, name: tcpdump [ 57.566184][ T384] preempt_count: 1, expected: 0 [ 57.566185][ T384] RCU nest depth: 0, expected: 0 [ 57.566186][ T384] locks held by tcpdump/384: 5, last CPU#0: [ 57.566188][ T384] #0: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 57.566200][ T384] #1: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 57.566205][ T384] #2: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 57.566210][ T384] #3: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 57.566214][ T384] #4: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 57.566218][ T384] irq event stamp: 30942 [ 57.566219][ T384] hardirqs last enabled at (30941): [] __down_trylock_console_sem+0x86/0xa0 [ 57.566222][ T384] hardirqs last disabled at (30942): [] console_emit_next_record+0x3d4/0x4c0 [ 57.566224][ T384] softirqs last enabled at (30922): [] packet_do_bind+0x4b2/0xc80 [ 57.566226][ T384] softirqs last disabled at (30920): [] release_sock+0x21/0x240 [ 57.566230][ T384] Preemption disabled at: [ 57.566231][ T384] [] vprintk_emit+0x31b/0x3e0 [ 57.566236][ T384] CPU: 0 UID: 0 PID: 384 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 57.566239][ T384] Tainted: [W]=WARN [ 57.566240][ T384] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 57.566242][ T384] Call Trace: [ 57.566244][ T384] [ 57.566245][ T384] dump_stack_lvl+0x6f/0xa0 [ 57.566251][ T384] ? vprintk_emit+0x31b/0x3e0 [ 57.566253][ T384] __might_resched.cold+0x1fe/0x2c1 [ 57.566257][ T384] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 57.566262][ T384] ? __kmalloc_noprof+0xdb/0x760 [ 57.566266][ T384] __kmalloc_noprof+0x443/0x760 [ 57.566268][ T384] ? alloc_buf.isra.0+0x4b/0x260 [ 57.566275][ T384] ? do_raw_spin_unlock+0x59/0x250 [ 57.566277][ T384] alloc_buf.isra.0+0x4b/0x260 [ 57.566281][ T384] put_chars+0x1e1/0x2f0 [ 57.566283][ T384] ? prb_final_commit+0x50/0x50 [ 57.566286][ T384] ? __send_to_port+0x420/0x420 [ 57.566288][ T384] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 57.566291][ T384] ? rcu_read_lock_any_held+0x3c/0x90 [ 57.566294][ T384] ? validate_chain+0x38b/0xc20 [ 57.566298][ T384] hvc_console_print+0x292/0x780 [ 57.566302][ T384] ? mark_usage+0x61/0x170 [ 57.566304][ T384] ? __lock_acquire+0x518/0xc20 [ 57.566306][ T384] ? __lock_acquire+0x518/0xc20 [ 57.566310][ T384] ? hvc_write+0x3a0/0x3a0 [ 57.566313][ T384] ? console_emit_next_record+0x1df/0x4c0 [ 57.566316][ T384] ? rcu_is_watching+0x16/0xd0 [ 57.566318][ T384] ? lock_acquire+0x13c/0x160 [ 57.566322][ T384] console_emit_next_record+0x22f/0x4c0 [ 57.566326][ T384] ? devkmsg_read+0x4b0/0x4b0 [ 57.566328][ T384] ? console_flush_one_record+0x106/0x710 [ 57.566332][ T384] ? rcu_is_watching+0x16/0xd0 [ 57.566333][ T384] ? lock_acquire+0x13c/0x160 [ 57.566337][ T384] console_flush_one_record+0x46f/0x710 [ 57.566342][ T384] ? console_emit_next_record+0x4c0/0x4c0 [ 57.566344][ T384] ? __lock_acquire+0x518/0xc20 [ 57.566349][ T384] console_unlock+0xee/0x1f0 [ 57.566352][ T384] ? console_flush_one_record+0x710/0x710 [ 57.566354][ T384] ? rcu_is_watching+0x16/0xd0 [ 57.566356][ T384] ? lock_acquire+0xe0/0x160 [ 57.566359][ T384] ? __down_trylock_console_sem+0x5e/0xa0 [ 57.566361][ T384] ? vprintk_emit+0x320/0x3e0 [ 57.566364][ T384] vprintk_emit+0x37c/0x3e0 [ 57.566367][ T384] ? wake_up_klogd_work_func+0x90/0x90 [ 57.566369][ T384] ? kasan_save_stack+0x3d/0x50 [ 57.566371][ T384] ? kasan_save_track+0x14/0x30 [ 57.566372][ T384] ? __kasan_kmalloc+0x7b/0x90 [ 57.566374][ T384] ? __kmalloc_cache_noprof+0x29a/0x620 [ 57.566375][ T384] ? packet_mc_add+0x13b/0x890 [ 57.566377][ T384] ? packet_setsockopt+0x1953/0x21e0 [ 57.566378][ T384] ? do_sock_setsockopt+0x164/0x3b0 [ 57.566383][ T384] _printk+0xc7/0x100 [ 57.566386][ T384] ? snapshot_read.cold+0x21/0x21 [ 57.566391][ T384] ? netdev_name+0x43/0x60 [ 57.566394][ T384] ? __netdev_printk+0x17f/0x1d0 [ 57.566398][ T384] netdev_info+0xe2/0x116 [ 57.566401][ T384] ? netdev_notice+0x120/0x120 [ 57.566409][ T384] ? mutex_is_locked+0x1c/0x50 [ 57.566411][ T384] __dev_set_promiscuity.cold+0x7a/0x104 [ 57.566415][ T384] netif_set_promiscuity+0x4c/0xc0 [ 57.566420][ T384] dev_set_promiscuity+0xa1/0x230 [ 57.566422][ T384] ? __asan_memset+0x27/0x50 [ 57.566425][ T384] packet_mc_add+0x54e/0x890 [ 57.566428][ T384] ? __might_fault+0x97/0x140 [ 57.566431][ T384] ? __might_fault+0x97/0x140 [ 57.566433][ T384] ? _copy_from_user+0x42/0x90 [ 57.566437][ T384] packet_setsockopt+0x1953/0x21e0 [ 57.566441][ T384] ? packet_bind+0x170/0x170 [ 57.566444][ T384] ? do_sock_getsockopt+0x7bb/0xb50 [ 57.566449][ T384] ? sock_poll+0x6b0/0x6b0 [ 57.566453][ T384] ? rcu_is_watching+0x16/0xd0 [ 57.566455][ T384] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 57.566460][ T384] do_sock_setsockopt+0x164/0x3b0 [ 57.566463][ T384] ? put_user_ifreq+0x90/0x90 [ 57.566465][ T384] ? __sys_bind+0x19f/0x260 [ 57.566468][ T384] ? __sys_bind_socket+0xa0/0xa0 [ 57.566474][ T384] __sys_setsockopt+0xe4/0x150 [ 57.566479][ T384] __x64_sys_setsockopt+0xbd/0x180 [ 57.566481][ T384] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 57.566483][ T384] ? lockdep_hardirqs_on+0x91/0x130 [ 57.566487][ T384] ? do_syscall_64+0xa6/0x530 [ 57.566489][ T384] do_syscall_64+0xff/0x530 [ 57.566491][ T384] ? exc_page_fault+0xee/0x100 [ 57.566494][ T384] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 57.566496][ T384] RIP: 0033:0x7f4d7a6192de [ 57.566500][ T384] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 57.566502][ T384] RSP: 002b:00007fff3b1c1dd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 57.566504][ T384] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f4d7a6192de [ 57.566506][ T384] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 57.566507][ T384] RBP: 00007fff3b1c1f10 R08: 0000000000000010 R09: 0000559e35386530 [ 57.566507][ T384] R10: 00007fff3b1c1e50 R11: 0000000000000246 R12: 0000000000000001 [ 57.566508][ T384] R13: 0000559e35386918 R14: 0000559e35386690 R15: 0000000000000000 [ 57.566515][ T384] [ 61.563748][ T384] veth-s1: left promiscuous mode [ 61.563774][ T384] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 61.563776][ T384] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 384, name: tcpdump [ 61.563778][ T384] preempt_count: 1, expected: 0 [ 61.563779][ T384] RCU nest depth: 0, expected: 0 [ 61.563780][ T384] locks held by tcpdump/384: 6, last CPU#0: [ 61.563782][ T384] #0: ff1100000e311540 (&sb->s_type->i_mutex_key#12){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 61.563794][ T384] #1: ffffffff93d1b740 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 61.563800][ T384] #2: ffffffff9357ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 61.563805][ T384] #3: ffffffff9357de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 61.563809][ T384] #4: ffffffff9349d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 61.563813][ T384] #5: ffffffff9349d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 61.563817][ T384] irq event stamp: 574230 [ 61.563818][ T384] hardirqs last enabled at (574229): [] __down_trylock_console_sem+0x86/0xa0 [ 61.563821][ T384] hardirqs last disabled at (574230): [] console_emit_next_record+0x3d4/0x4c0 [ 61.563823][ T384] softirqs last enabled at (574188): [] handle_softirqs+0x67c/0x900 [ 61.563826][ T384] softirqs last disabled at (574181): [] __irq_exit_rcu+0x145/0x1c0 [ 61.563829][ T384] Preemption disabled at: [ 61.563829][ T384] [] vprintk_emit+0x31b/0x3e0 [ 61.563834][ T384] CPU: 0 UID: 72 PID: 384 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 61.563838][ T384] Tainted: [W]=WARN [ 61.563839][ T384] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 61.563840][ T384] Call Trace: [ 61.563842][ T384] [ 61.563843][ T384] dump_stack_lvl+0x6f/0xa0 [ 61.563849][ T384] ? vprintk_emit+0x31b/0x3e0 [ 61.563851][ T384] __might_resched.cold+0x1fe/0x2c1 [ 61.563855][ T384] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 61.563859][ T384] ? __kmalloc_noprof+0xdb/0x760 [ 61.563863][ T384] __kmalloc_noprof+0x443/0x760 [ 61.563865][ T384] ? alloc_buf.isra.0+0x4b/0x260 [ 61.563872][ T384] ? do_raw_spin_unlock+0x59/0x250 [ 61.563875][ T384] alloc_buf.isra.0+0x4b/0x260 [ 61.563879][ T384] put_chars+0x1e1/0x2f0 [ 61.563881][ T384] ? __send_to_port+0x420/0x420 [ 61.563884][ T384] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 61.563887][ T384] ? rcu_read_lock_any_held+0x3c/0x90 [ 61.563890][ T384] ? validate_chain+0x38b/0xc20 [ 61.563894][ T384] hvc_console_print+0x292/0x780 [ 61.563898][ T384] ? mark_usage+0x61/0x170 [ 61.563900][ T384] ? __lock_acquire+0x518/0xc20 [ 61.563902][ T384] ? __lock_acquire+0x518/0xc20 [ 61.563906][ T384] ? hvc_write+0x3a0/0x3a0 [ 61.563908][ T384] ? lock_acquire.part.0+0xd4/0x280 [ 61.563912][ T384] ? lock_acquire+0x13c/0x160 [ 61.563916][ T384] console_emit_next_record+0x22f/0x4c0 [ 61.563920][ T384] ? devkmsg_read+0x4b0/0x4b0 [ 61.563922][ T384] ? console_flush_one_record+0x106/0x710 [ 61.563925][ T384] ? rcu_is_watching+0x16/0xd0 [ 61.563927][ T384] ? lock_acquire+0x13c/0x160 [ 61.563931][ T384] console_flush_one_record+0x46f/0x710 [ 61.563936][ T384] ? console_emit_next_record+0x4c0/0x4c0 [ 61.563937][ T384] ? __lock_acquire+0x518/0xc20 [ 61.563943][ T384] console_unlock+0xee/0x1f0 [ 61.563946][ T384] ? console_flush_one_record+0x710/0x710 [ 61.563948][ T384] ? rcu_is_watching+0x16/0xd0 [ 61.563949][ T384] ? lock_acquire+0xe0/0x160 [ 61.563953][ T384] ? __down_trylock_console_sem+0x5e/0xa0 [ 61.563955][ T384] ? vprintk_emit+0x320/0x3e0 [ 61.563957][ T384] vprintk_emit+0x37c/0x3e0 [ 61.563961][ T384] ? wake_up_klogd_work_func+0x90/0x90 [ 61.563964][ T384] ? __lock_acquire+0x518/0xc20 [ 61.563967][ T384] _printk+0xc7/0x100 [ 61.563971][ T384] ? snapshot_read.cold+0x21/0x21 [ 61.563973][ T384] ? lock_acquire.part.0+0xd4/0x280 [ 61.563976][ T384] ? rcu_is_watching+0x16/0xd0 [ 61.563978][ T384] ? netdev_name+0x43/0x60 [ 61.563981][ T384] ? __netdev_printk+0x17f/0x1d0 [ 61.563985][ T384] netdev_info+0xe2/0x116 [ 61.563988][ T384] ? netdev_notice+0x120/0x120 [ 61.563990][ T384] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 61.563992][ T384] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 61.563997][ T384] ? ww_mutex_lock+0x160/0x160 [ 61.563999][ T384] ? lock_acquire.part.0+0xd4/0x280 [ 61.564001][ T384] ? ref_tracker_alloc+0x430/0x430 [ 61.564004][ T384] ? packet_release+0x363/0xc40 [ 61.564006][ T384] ? __fput+0x36c/0xad0 [ 61.564010][ T384] ? mutex_is_locked+0x1c/0x50 [ 61.564012][ T384] __dev_set_promiscuity.cold+0x7a/0x104 [ 61.564016][ T384] netif_set_promiscuity+0x4c/0xc0 [ 61.564021][ T384] dev_set_promiscuity+0xa1/0x230 [ 61.564024][ T384] packet_release+0x4cb/0xc40 [ 61.564028][ T384] ? packet_set_ring+0x1740/0x1740 [ 61.564031][ T384] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 61.564036][ T384] __sock_release+0xb8/0x280 [ 61.564039][ T384] sock_close+0x18/0x20 [ 61.564041][ T384] __fput+0x36c/0xad0 [ 61.564046][ T384] fput_close_sync+0xde/0x1b0 [ 61.564048][ T384] ? alloc_file_clone+0xe0/0xe0 [ 61.564051][ T384] ? do_raw_spin_unlock+0x59/0x250 [ 61.564055][ T384] __x64_sys_close+0x8b/0xf0 [ 61.564057][ T384] do_syscall_64+0xff/0x530 [ 61.564060][ T384] ? irq_exit_rcu+0x1a/0x30 [ 61.564063][ T384] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 61.564065][ T384] RIP: 0033:0x7f4d7a59054e [ 61.564069][ T384] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 61.564070][ T384] RSP: 002b:00007fff3b1c1f40 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 61.564073][ T384] RAX: ffffffffffffffda RBX: 0000559e35386690 RCX: 00007f4d7a59054e [ 61.564075][ T384] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 61.564075][ T384] RBP: 00007fff3b1c1f50 R08: 0000000000000000 R09: 0000000000000000 [ 61.564076][ T384] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 61.564077][ T384] R13: 00000000fffffffe R14: 0000559e28ea0760 R15: 0000000000000001 [ 61.564084][ T384]