[ 10.685505][ T210] test_team1: Mode changed to "activebackup" [ 10.685561][ T210] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.685564][ T210] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 210, name: teamd [ 10.685565][ T210] preempt_count: 1, expected: 0 [ 10.685566][ T210] RCU nest depth: 0, expected: 0 [ 10.685567][ T210] locks held by teamd/210: 7, last CPU#1: [ 10.685569][ T210] #0: ffffffff88787708 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 10.685581][ T210] #1: ffffffff887877c0 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x128/0x160 [ 10.685585][ T210] #2: ffffffff88722700 (rtnl_mutex){+.+.}-{4:4}, at: team_nl_options_set_doit+0xa7/0xd00 [ 10.685591][ T210] #3: ffffffff87f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.685596][ T210] #4: ffffffff87f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.685599][ T210] #5: ffffffff87e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.685602][ T210] #6: ffffffff87e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.685606][ T210] irq event stamp: 10484 [ 10.685607][ T210] hardirqs last enabled at (10483): [] __down_trylock_console_sem+0x86/0xa0 [ 10.685610][ T210] hardirqs last disabled at (10484): [] console_emit_next_record+0x3f8/0x4f0 [ 10.685611][ T210] softirqs last enabled at (10410): [] __alloc_skb+0x4c5/0x5f0 [ 10.685614][ T210] softirqs last disabled at (10408): [] __alloc_skb+0x4c5/0x5f0 [ 10.685617][ T210] Preemption disabled at: [ 10.685617][ T210] [] vprintk_emit+0x31b/0x3e0 [ 10.685622][ T210] CPU: 1 UID: 0 PID: 210 Comm: teamd Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.685626][ T210] Tainted: [W]=WARN [ 10.685627][ T210] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.685628][ T210] Call Trace: [ 10.685630][ T210] [ 10.685631][ T210] dump_stack_lvl+0x6f/0xa0 [ 10.685636][ T210] ? vprintk_emit+0x31b/0x3e0 [ 10.685638][ T210] __might_resched.cold+0x1fe/0x2c1 [ 10.685643][ T210] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.685646][ T210] ? __kmalloc_noprof+0xdb/0x760 [ 10.685652][ T210] __kmalloc_noprof+0x443/0x760 [ 10.685654][ T210] ? alloc_buf.isra.0+0x4b/0x260 [ 10.685661][ T210] ? do_raw_spin_unlock+0x59/0x250 [ 10.685663][ T210] alloc_buf.isra.0+0x4b/0x260 [ 10.685667][ T210] put_chars+0x1e1/0x2f0 [ 10.685670][ T210] ? __send_to_port+0x420/0x420 [ 10.685674][ T210] ? validate_chain+0x34a/0xc20 [ 10.685679][ T210] hvc_console_print+0x292/0x780 [ 10.685683][ T210] ? __lock_acquire+0x518/0xc20 [ 10.685688][ T210] ? hvc_write+0x3a0/0x3a0 [ 10.685691][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.685697][ T210] console_emit_next_record+0x252/0x4f0 [ 10.685701][ T210] ? devkmsg_read+0x4e0/0x4e0 [ 10.685705][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.685706][ T210] ? lock_acquire+0x13c/0x160 [ 10.685711][ T210] console_flush_one_record+0x46f/0x710 [ 10.685714][ T210] ? console_emit_next_record+0x4f0/0x4f0 [ 10.685716][ T210] ? __lock_acquire+0x518/0xc20 [ 10.685721][ T210] console_unlock+0xee/0x1f0 [ 10.685724][ T210] ? console_flush_one_record+0x710/0x710 [ 10.685725][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.685727][ T210] ? lock_acquire+0x60/0x160 [ 10.685731][ T210] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.685733][ T210] ? vprintk_emit+0x320/0x3e0 [ 10.685736][ T210] vprintk_emit+0x37c/0x3e0 [ 10.685739][ T210] ? wake_up_klogd_work_func+0x90/0x90 [ 10.685742][ T210] ? __team_carrier_check.part.0+0x140/0x140 [ 10.685746][ T210] _printk+0xc7/0x100 [ 10.685749][ T210] ? snapshot_read.cold+0x21/0x21 [ 10.685753][ T210] ? team_nl_fill_one_port_get+0x530/0x530 [ 10.685755][ T210] ? netdev_name+0x43/0x60 [ 10.685758][ T210] ? __netdev_printk+0x17f/0x1d0 [ 10.685761][ T210] netdev_info+0xe2/0x116 [ 10.685763][ T210] ? netdev_notice+0x120/0x120 [ 10.685768][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 10.685771][ T210] ? team_options_register+0x26/0x30 [ 10.685775][ T210] team_mode_option_set.cold+0x45/0xe3 [ 10.685780][ T210] team_nl_options_set_doit+0x59d/0xd00 [ 10.685786][ T210] ? team_nl_options_get_doit+0x3e0/0x3e0 [ 10.685788][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.685795][ T210] ? __nla_parse+0x22/0x30 [ 10.685799][ T210] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 10.685803][ T210] ? genl_family_rcv_msg_doit+0x206/0x300 [ 10.685805][ T210] genl_family_rcv_msg_doit+0x206/0x300 [ 10.685808][ T210] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 10.685814][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.685816][ T210] ? cap_capable+0x1d7/0x3d0 [ 10.685819][ T210] ? write_profile+0xf0/0xf0 [ 10.685822][ T210] ? unwind_get_return_address+0x67/0xd0 [ 10.685827][ T210] genl_family_rcv_msg+0x3a4/0x640 [ 10.685831][ T210] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 10.685834][ T210] ? team_nl_options_get_doit+0x3e0/0x3e0 [ 10.685838][ T210] ? __lock_acquire+0x518/0xc20 [ 10.685844][ T210] genl_rcv_msg+0xbb/0x160 [ 10.685848][ T210] netlink_rcv_skb+0x14e/0x3a0 [ 10.685850][ T210] ? genl_family_rcv_msg+0x640/0x640 [ 10.685853][ T210] ? netlink_ack+0xcd0/0xcd0 [ 10.685860][ T210] ? netlink_deliver_tap+0xc5/0x330 [ 10.685861][ T210] ? netlink_deliver_tap+0x13c/0x330 [ 10.685865][ T210] genl_rcv+0x28/0x40 [ 10.685867][ T210] netlink_unicast+0x486/0x750 [ 10.685871][ T210] ? netlink_attachskb+0x810/0x810 [ 10.685874][ T210] ? __lock_acquire+0x518/0xc20 [ 10.685878][ T210] netlink_sendmsg+0x735/0xc60 [ 10.685882][ T210] ? netlink_unicast+0x750/0x750 [ 10.685886][ T210] ? __might_fault+0x97/0x140 [ 10.685892][ T210] ____sys_sendmsg+0x415/0x880 [ 10.685895][ T210] ? copy_msghdr_from_user+0x279/0x420 [ 10.685897][ T210] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 10.685898][ T210] ? move_addr_to_kernel+0x40/0x40 [ 10.685902][ T210] ? __lock_acquire+0x518/0xc20 [ 10.685904][ T210] ? ddebug_proc_write+0x66/0xd0 [ 10.685906][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.685910][ T210] ___sys_sendmsg+0x14e/0x1d0 [ 10.685913][ T210] ? copy_msghdr_from_user+0x420/0x420 [ 10.685915][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.685921][ T210] ? __lock_acquire+0x518/0xc20 [ 10.685928][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 10.685930][ T210] ? __lock_release.isra.0+0x69/0x1a0 [ 10.685935][ T210] __sys_sendmsg+0x12c/0x1d0 [ 10.685938][ T210] ? __sys_sendmsg_sock+0x20/0x20 [ 10.685939][ T210] ? do_pipe2+0x142/0x1b0 [ 10.685946][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.685947][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.685951][ T210] do_syscall_64+0xff/0x530 [ 10.685953][ T210] ? exc_page_fault+0xee/0x100 [ 10.685956][ T210] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.685959][ T210] RIP: 0033:0x7f0052b6f54e [ 10.685963][ T210] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 10.685964][ T210] RSP: 002b:00007ffea1b3e840 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.685967][ T210] RAX: ffffffffffffffda RBX: 00005650eb0a4300 RCX: 00007f0052b6f54e [ 10.685968][ T210] RDX: 0000000000000000 RSI: 00007ffea1b3e8e0 RDI: 0000000000000007 [ 10.685969][ T210] RBP: 00007ffea1b3e850 R08: 0000000000000000 R09: 0000000000000000 [ 10.685970][ T210] R10: 0000000000000000 R11: 0000000000000202 R12: 00005650eb0a48e0 [ 10.685971][ T210] R13: 00007ffea1b3e8e0 R14: 00005650eb0a4210 R15: 0000000000000000 [ 10.685978][ T210] [ 10.726903][ T210] test_team1: Port device eth0 added [ 10.733703][ T210] test_team1: Port device eth1 added [ 11.062277][ T214] test_team2: Mode changed to "activebackup" [ 11.065820][ T214] test_team2: Port device eth0 added [ 11.069440][ T214] test_team2: Port device eth1 added [ 12.673339][ T236] test_team2: entered promiscuous mode [ 12.673363][ T236] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.673365][ T236] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 236, name: tcpdump [ 12.673367][ T236] preempt_count: 1, expected: 0 [ 12.673368][ T236] RCU nest depth: 0, expected: 0 [ 12.673369][ T236] locks held by tcpdump/236: 5, last CPU#0: [ 12.673370][ T236] #0: ffffffff88722700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 12.673382][ T236] #1: ffffffff87f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.673389][ T236] #2: ffffffff87f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.673392][ T236] #3: ffffffff87e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.673395][ T236] #4: ffffffff87e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.673398][ T236] irq event stamp: 41322 [ 12.673399][ T236] hardirqs last enabled at (41321): [] __down_trylock_console_sem+0x86/0xa0 [ 12.673403][ T236] hardirqs last disabled at (41322): [] console_emit_next_record+0x3f8/0x4f0 [ 12.673405][ T236] softirqs last enabled at (41294): [] packet_do_bind+0x4b2/0xc80 [ 12.673407][ T236] softirqs last disabled at (41292): [] release_sock+0x21/0x240 [ 12.673411][ T236] Preemption disabled at: [ 12.673412][ T236] [] vprintk_emit+0x31b/0x3e0 [ 12.673418][ T236] CPU: 0 UID: 0 PID: 236 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.673421][ T236] Tainted: [W]=WARN [ 12.673422][ T236] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.673424][ T236] Call Trace: [ 12.673426][ T236] [ 12.673427][ T236] dump_stack_lvl+0x6f/0xa0 [ 12.673432][ T236] ? vprintk_emit+0x31b/0x3e0 [ 12.673434][ T236] __might_resched.cold+0x1fe/0x2c1 [ 12.673439][ T236] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.673443][ T236] ? __kmalloc_noprof+0xdb/0x760 [ 12.673448][ T236] __kmalloc_noprof+0x443/0x760 [ 12.673451][ T236] ? alloc_buf.isra.0+0x4b/0x260 [ 12.673457][ T236] ? do_raw_spin_unlock+0x59/0x250 [ 12.673459][ T236] alloc_buf.isra.0+0x4b/0x260 [ 12.673463][ T236] put_chars+0x1e1/0x2f0 [ 12.673466][ T236] ? __send_to_port+0x420/0x420 [ 12.673468][ T236] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.673472][ T236] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.673475][ T236] ? validate_chain+0x38b/0xc20 [ 12.673480][ T236] hvc_console_print+0x292/0x780 [ 12.673484][ T236] ? __lock_acquire+0x518/0xc20 [ 12.673489][ T236] ? hvc_write+0x3a0/0x3a0 [ 12.673492][ T236] ? rcu_is_watching+0x16/0xd0 [ 12.673497][ T236] console_emit_next_record+0x252/0x4f0 [ 12.673501][ T236] ? devkmsg_read+0x4e0/0x4e0 [ 12.673505][ T236] ? rcu_is_watching+0x16/0xd0 [ 12.673506][ T236] ? lock_acquire+0x13c/0x160 [ 12.673510][ T236] console_flush_one_record+0x46f/0x710 [ 12.673514][ T236] ? console_emit_next_record+0x4f0/0x4f0 [ 12.673515][ T236] ? __lock_acquire+0x518/0xc20 [ 12.673521][ T236] console_unlock+0xee/0x1f0 [ 12.673523][ T236] ? console_flush_one_record+0x710/0x710 [ 12.673524][ T236] ? rcu_is_watching+0x16/0xd0 [ 12.673526][ T236] ? lock_acquire+0x60/0x160 [ 12.673530][ T236] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.673532][ T236] ? vprintk_emit+0x320/0x3e0 [ 12.673535][ T236] vprintk_emit+0x37c/0x3e0 [ 12.673538][ T236] ? wake_up_klogd_work_func+0x90/0x90 [ 12.673540][ T236] ? kasan_save_stack+0x3d/0x50 [ 12.673542][ T236] ? kasan_save_track+0x14/0x30 [ 12.673544][ T236] ? __kasan_kmalloc+0x7b/0x90 [ 12.673545][ T236] ? __kmalloc_cache_noprof+0x29a/0x620 [ 12.673547][ T236] ? packet_mc_add+0x13b/0x890 [ 12.673548][ T236] ? packet_setsockopt+0x1953/0x21e0 [ 12.673550][ T236] ? do_sock_setsockopt+0x115/0x490 [ 12.673554][ T236] _printk+0xc7/0x100 [ 12.673558][ T236] ? snapshot_read.cold+0x21/0x21 [ 12.673562][ T236] ? netdev_name+0x43/0x60 [ 12.673565][ T236] ? __netdev_printk+0x17f/0x1d0 [ 12.673568][ T236] netdev_info+0xe2/0x116 [ 12.673570][ T236] ? netdev_notice+0x120/0x120 [ 12.673577][ T236] ? mutex_is_locked+0x1c/0x50 [ 12.673580][ T236] __dev_set_promiscuity.cold+0x7a/0x104 [ 12.673584][ T236] netif_set_promiscuity+0x4c/0xc0 [ 12.673588][ T236] dev_set_promiscuity+0xa1/0x230 [ 12.673591][ T236] ? __asan_memset+0x27/0x50 [ 12.673594][ T236] packet_mc_add+0x54e/0x890 [ 12.673596][ T236] ? __might_fault+0x97/0x140 [ 12.673600][ T236] ? __might_fault+0x97/0x140 [ 12.673603][ T236] ? _copy_from_user+0x42/0x90 [ 12.673608][ T236] packet_setsockopt+0x1953/0x21e0 [ 12.673611][ T236] ? packet_bind+0x170/0x170 [ 12.673615][ T236] ? do_sock_getsockopt+0x6f6/0xb20 [ 12.673619][ T236] ? sock_poll+0x6b0/0x6b0 [ 12.673623][ T236] ? rcu_is_watching+0x16/0xd0 [ 12.673625][ T236] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.673629][ T236] ? __local_bh_enable_ip+0xaa/0x150 [ 12.673633][ T236] do_sock_setsockopt+0x115/0x490 [ 12.673636][ T236] ? put_user_ifreq+0x90/0x90 [ 12.673638][ T236] ? rcu_is_watching+0x16/0xd0 [ 12.673644][ T236] __sys_setsockopt+0xe4/0x150 [ 12.673648][ T236] __x64_sys_setsockopt+0xbd/0x180 [ 12.673650][ T236] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.673652][ T236] ? lockdep_hardirqs_on+0x91/0x130 [ 12.673655][ T236] ? do_syscall_64+0xa6/0x530 [ 12.673656][ T236] do_syscall_64+0xff/0x530 [ 12.673657][ T236] ? exc_page_fault+0xee/0x100 [ 12.673660][ T236] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.673662][ T236] RIP: 0033:0x7f04001d52de [ 12.673666][ T236] 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.673668][ T236] RSP: 002b:00007ffc0eb74498 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 12.673671][ T236] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f04001d52de [ 12.673672][ T236] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 12.673673][ T236] RBP: 00007ffc0eb745d0 R08: 0000000000000010 R09: 000055a062e0b530 [ 12.673674][ T236] R10: 00007ffc0eb74510 R11: 0000000000000246 R12: 0000000000000001 [ 12.673674][ T236] R13: 000055a062e0b918 R14: 000055a062e0b690 R15: 0000000000000000 [ 12.673681][ T236] [ 12.702166][ T236] eth0: entered promiscuous mode [ 12.702608][ T236] eth1: entered promiscuous mode [ 14.653649][ T236] test_team2: left promiscuous mode [ 14.653749][ T236] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.653751][ T236] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 236, name: tcpdump [ 14.653754][ T236] preempt_count: 1, expected: 0 [ 14.653755][ T236] RCU nest depth: 0, expected: 0 [ 14.653757][ T236] locks held by tcpdump/236: 6, last CPU#0: [ 14.653759][ T236] #0: ff1100000d1de038 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 14.653775][ T236] #1: ffffffff88722700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 14.653783][ T236] #2: ffffffff87f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.653791][ T236] #3: ffffffff87f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.653796][ T236] #4: ffffffff87e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.653802][ T236] #5: ffffffff87e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.653807][ T236] irq event stamp: 57528 [ 14.653809][ T236] hardirqs last enabled at (57527): [] __down_trylock_console_sem+0x86/0xa0 [ 14.653813][ T236] hardirqs last disabled at (57528): [] console_emit_next_record+0x3f8/0x4f0 [ 14.653816][ T236] softirqs last enabled at (57366): [] packet_setsockopt+0xcdf/0x21e0 [ 14.653819][ T236] softirqs last disabled at (57364): [] release_sock+0x21/0x240 [ 14.653823][ T236] Preemption disabled at: [ 14.653824][ T236] [] vprintk_emit+0x31b/0x3e0 [ 14.653831][ T236] CPU: 0 UID: 72 PID: 236 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.653840][ T236] Tainted: [W]=WARN [ 14.653841][ T236] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.653844][ T236] Call Trace: [ 14.653846][ T236] [ 14.653848][ T236] dump_stack_lvl+0x6f/0xa0 [ 14.653854][ T236] ? vprintk_emit+0x31b/0x3e0 [ 14.653857][ T236] __might_resched.cold+0x1fe/0x2c1 [ 14.653864][ T236] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.653869][ T236] ? __kmalloc_noprof+0xdb/0x760 [ 14.653877][ T236] __kmalloc_noprof+0x443/0x760 [ 14.653881][ T236] ? alloc_buf.isra.0+0x4b/0x260 [ 14.653890][ T236] ? do_raw_spin_unlock+0x59/0x250 [ 14.653893][ T236] alloc_buf.isra.0+0x4b/0x260 [ 14.653899][ T236] put_chars+0x1e1/0x2f0 [ 14.653902][ T236] ? check_prev_add+0xef/0xe90 [ 14.653907][ T236] ? __send_to_port+0x420/0x420 [ 14.653913][ T236] ? validate_chain+0x34a/0xc20 [ 14.653921][ T236] hvc_console_print+0x292/0x780 [ 14.653933][ T236] ? hvc_write+0x3a0/0x3a0 [ 14.653938][ T236] ? rcu_is_watching+0x16/0xd0 [ 14.653943][ T236] ? lock_acquire+0x13c/0x160 [ 14.653950][ T236] console_emit_next_record+0x252/0x4f0 [ 14.653956][ T236] ? devkmsg_read+0x4e0/0x4e0 [ 14.653963][ T236] ? rcu_is_watching+0x16/0xd0 [ 14.653966][ T236] ? lock_acquire+0x13c/0x160 [ 14.653974][ T236] console_flush_one_record+0x46f/0x710 [ 14.653980][ T236] ? console_emit_next_record+0x4f0/0x4f0 [ 14.653983][ T236] ? __lock_acquire+0x518/0xc20 [ 14.653992][ T236] console_unlock+0xee/0x1f0 [ 14.653996][ T236] ? console_flush_one_record+0x710/0x710 [ 14.653999][ T236] ? rcu_is_watching+0x16/0xd0 [ 14.654002][ T236] ? lock_acquire+0x60/0x160 [ 14.654009][ T236] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.654011][ T236] ? vprintk_emit+0x320/0x3e0 [ 14.654017][ T236] vprintk_emit+0x37c/0x3e0 [ 14.654022][ T236] ? wake_up_klogd_work_func+0x90/0x90 [ 14.654028][ T236] ? __lock_acquire+0x518/0xc20 [ 14.654035][ T236] _printk+0xc7/0x100 [ 14.654040][ T236] ? snapshot_read.cold+0x21/0x21 [ 14.654042][ T236] ? lock_acquire.part.0+0xd4/0x280 [ 14.654049][ T236] ? rcu_is_watching+0x16/0xd0 [ 14.654052][ T236] ? netdev_name+0x43/0x60 [ 14.654056][ T236] ? __netdev_printk+0x17f/0x1d0 [ 14.654062][ T236] netdev_info+0xe2/0x116 [ 14.654066][ T236] ? netdev_notice+0x120/0x120 [ 14.654068][ T236] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 14.654072][ T236] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.654078][ T236] ? ww_mutex_lock+0x160/0x160 [ 14.654081][ T236] ? lock_acquire.part.0+0xd4/0x280 [ 14.654085][ T236] ? ref_tracker_alloc+0x430/0x430 [ 14.654089][ T236] ? packet_release+0x363/0xc40 [ 14.654093][ T236] ? __fput+0x363/0xac0 [ 14.654097][ T236] ? mutex_is_locked+0x1c/0x50 [ 14.654102][ T236] __dev_set_promiscuity.cold+0x7a/0x104 [ 14.654109][ T236] netif_set_promiscuity+0x4c/0xc0 [ 14.654115][ T236] dev_set_promiscuity+0xa1/0x230 [ 14.654121][ T236] packet_release+0x4cb/0xc40 [ 14.654129][ T236] ? packet_set_ring+0x1740/0x1740 [ 14.654134][ T236] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 14.654143][ T236] __sock_release+0xb8/0x280 [ 14.654149][ T236] sock_close+0x18/0x20 [ 14.654152][ T236] __fput+0x363/0xac0 [ 14.654161][ T236] fput_close_sync+0xde/0x1b0 [ 14.654165][ T236] ? alloc_file_clone+0xe0/0xe0 [ 14.654169][ T236] ? do_raw_spin_unlock+0x59/0x250 [ 14.654175][ T236] __x64_sys_close+0x8b/0xf0 [ 14.654179][ T236] do_syscall_64+0xff/0x530 [ 14.654182][ T236] ? exc_page_fault+0xee/0x100 [ 14.654187][ T236] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.654191][ T236] RIP: 0033:0x7f040014c54e [ 14.654196][ T236] 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 [ 14.654198][ T236] RSP: 002b:00007ffc0eb74600 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 14.654202][ T236] RAX: ffffffffffffffda RBX: 000055a062e0b690 RCX: 00007f040014c54e [ 14.654204][ T236] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 14.654205][ T236] RBP: 00007ffc0eb74610 R08: 0000000000000000 R09: 0000000000000000 [ 14.654207][ T236] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 14.654208][ T236] R13: 00000000fffffffe R14: 000055a05f181760 R15: 0000000000000001 [ 14.654221][ T236] [ 14.701733][ T236] eth0: left promiscuous mode [ 14.702372][ T236] eth1: left promiscuous mode [ 15.355333][ T265] eth0: entered promiscuous mode [ 17.329344][ T265] eth0: left promiscuous mode [ 17.329363][ T265] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.329365][ T265] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 265, name: tcpdump [ 17.329367][ T265] preempt_count: 1, expected: 0 [ 17.329368][ T265] RCU nest depth: 0, expected: 0 [ 17.329369][ T265] locks held by tcpdump/265: 6, last CPU#0: [ 17.329371][ T265] #0: ff11000004f54d78 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 17.329392][ T265] #1: ffffffff88722700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 17.329398][ T265] #2: ffffffff87f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.329404][ T265] #3: ffffffff87f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.329407][ T265] #4: ffffffff87e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.329410][ T265] #5: ffffffff87e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 17.329414][ T265] irq event stamp: 57772 [ 17.329415][ T265] hardirqs last enabled at (57771): [] __down_trylock_console_sem+0x86/0xa0 [ 17.329418][ T265] hardirqs last disabled at (57772): [] console_emit_next_record+0x3f8/0x4f0 [ 17.329420][ T265] softirqs last enabled at (57622): [] packet_setsockopt+0xcdf/0x21e0 [ 17.329422][ T265] softirqs last disabled at (57620): [] release_sock+0x21/0x240 [ 17.329426][ T265] Preemption disabled at: [ 17.329426][ T265] [] vprintk_emit+0x31b/0x3e0 [ 17.329432][ T265] CPU: 0 UID: 72 PID: 265 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.329436][ T265] Tainted: [W]=WARN [ 17.329437][ T265] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.329438][ T265] Call Trace: [ 17.329440][ T265] [ 17.329442][ T265] dump_stack_lvl+0x6f/0xa0 [ 17.329447][ T265] ? vprintk_emit+0x31b/0x3e0 [ 17.329449][ T265] __might_resched.cold+0x1fe/0x2c1 [ 17.329454][ T265] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.329458][ T265] ? __kmalloc_noprof+0xdb/0x760 [ 17.329465][ T265] __kmalloc_noprof+0x443/0x760 [ 17.329470][ T265] ? alloc_buf.isra.0+0x4b/0x260 [ 17.329479][ T265] ? do_raw_spin_unlock+0x59/0x250 [ 17.329482][ T265] alloc_buf.isra.0+0x4b/0x260 [ 17.329487][ T265] put_chars+0x1e1/0x2f0 [ 17.329492][ T265] ? __send_to_port+0x420/0x420 [ 17.329497][ T265] ? validate_chain+0x38b/0xc20 [ 17.329506][ T265] hvc_console_print+0x292/0x780 [ 17.329515][ T265] ? hvc_write+0x3a0/0x3a0 [ 17.329518][ T265] ? rcu_is_watching+0x16/0xd0 [ 17.329522][ T265] ? lock_acquire+0x13c/0x160 [ 17.329526][ T265] console_emit_next_record+0x252/0x4f0 [ 17.329530][ T265] ? devkmsg_read+0x4e0/0x4e0 [ 17.329534][ T265] ? rcu_is_watching+0x16/0xd0 [ 17.329536][ T265] ? lock_acquire+0x13c/0x160 [ 17.329540][ T265] console_flush_one_record+0x46f/0x710 [ 17.329543][ T265] ? console_emit_next_record+0x4f0/0x4f0 [ 17.329545][ T265] ? __lock_acquire+0x518/0xc20 [ 17.329550][ T265] console_unlock+0xee/0x1f0 [ 17.329553][ T265] ? console_flush_one_record+0x710/0x710 [ 17.329554][ T265] ? rcu_is_watching+0x16/0xd0 [ 17.329556][ T265] ? lock_acquire+0x60/0x160 [ 17.329560][ T265] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.329562][ T265] ? vprintk_emit+0x320/0x3e0 [ 17.329565][ T265] vprintk_emit+0x37c/0x3e0 [ 17.329568][ T265] ? wake_up_klogd_work_func+0x90/0x90 [ 17.329572][ T265] ? __lock_acquire+0x518/0xc20 [ 17.329575][ T265] _printk+0xc7/0x100 [ 17.329579][ T265] ? snapshot_read.cold+0x21/0x21 [ 17.329581][ T265] ? lock_acquire.part.0+0xd4/0x280 [ 17.329584][ T265] ? rcu_is_watching+0x16/0xd0 [ 17.329586][ T265] ? netdev_name+0x43/0x60 [ 17.329589][ T265] ? __netdev_printk+0x17f/0x1d0 [ 17.329593][ T265] netdev_info+0xe2/0x116 [ 17.329595][ T265] ? netdev_notice+0x120/0x120 [ 17.329597][ T265] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 17.329600][ T265] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 17.329604][ T265] ? ww_mutex_lock+0x160/0x160 [ 17.329606][ T265] ? lock_acquire.part.0+0xd4/0x280 [ 17.329608][ T265] ? ref_tracker_alloc+0x430/0x430 [ 17.329611][ T265] ? packet_release+0x363/0xc40 [ 17.329613][ T265] ? __fput+0x363/0xac0 [ 17.329617][ T265] ? mutex_is_locked+0x1c/0x50 [ 17.329620][ T265] __dev_set_promiscuity.cold+0x7a/0x104 [ 17.329624][ T265] netif_set_promiscuity+0x4c/0xc0 [ 17.329628][ T265] dev_set_promiscuity+0xa1/0x230 [ 17.329632][ T265] packet_release+0x4cb/0xc40 [ 17.329636][ T265] ? packet_set_ring+0x1740/0x1740 [ 17.329640][ T265] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 17.329644][ T265] __sock_release+0xb8/0x280 [ 17.329648][ T265] sock_close+0x18/0x20 [ 17.329650][ T265] __fput+0x363/0xac0 [ 17.329655][ T265] fput_close_sync+0xde/0x1b0 [ 17.329658][ T265] ? alloc_file_clone+0xe0/0xe0 [ 17.329660][ T265] ? do_raw_spin_unlock+0x59/0x250 [ 17.329664][ T265] __x64_sys_close+0x8b/0xf0 [ 17.329666][ T265] do_syscall_64+0xff/0x530 [ 17.329668][ T265] ? exc_page_fault+0xee/0x100 [ 17.329671][ T265] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.329674][ T265] RIP: 0033:0x7f7e3bae054e [ 17.329677][ T265] 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.329679][ T265] RSP: 002b:00007ffc05275b50 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 17.329682][ T265] RAX: ffffffffffffffda RBX: 000056070d349690 RCX: 00007f7e3bae054e [ 17.329683][ T265] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 17.329684][ T265] RBP: 00007ffc05275b60 R08: 0000000000000000 R09: 0000000000000000 [ 17.329685][ T265] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 17.329685][ T265] R13: 00000000fffffffe R14: 00005606dd77f760 R15: 0000000000000001 [ 17.329692][ T265] [ 17.555352][ T278] eth0: entered promiscuous mode [ 18.619409][ T283] eth1: entered promiscuous mode [ 18.619432][ T283] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.619435][ T283] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 283, name: tcpdump [ 18.619437][ T283] preempt_count: 1, expected: 0 [ 18.619439][ T283] RCU nest depth: 0, expected: 0 [ 18.619440][ T283] locks held by tcpdump/283: 5, last CPU#1: [ 18.619443][ T283] #0: ffffffff88722700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 18.619459][ T283] #1: ffffffff87f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.619468][ T283] #2: ffffffff87f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.619474][ T283] #3: ffffffff87e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.619479][ T283] #4: ffffffff87e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 18.619485][ T283] irq event stamp: 36000 [ 18.619486][ T283] hardirqs last enabled at (35999): [] __down_trylock_console_sem+0x86/0xa0 [ 18.619491][ T283] hardirqs last disabled at (36000): [] console_emit_next_record+0x3f8/0x4f0 [ 18.619493][ T283] softirqs last enabled at (35980): [] packet_do_bind+0x4b2/0xc80 [ 18.619497][ T283] softirqs last disabled at (35978): [] release_sock+0x21/0x240 [ 18.619502][ T283] Preemption disabled at: [ 18.619503][ T283] [] vprintk_emit+0x31b/0x3e0 [ 18.619510][ T283] CPU: 1 UID: 0 PID: 283 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.619515][ T283] Tainted: [W]=WARN [ 18.619516][ T283] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.619518][ T283] Call Trace: [ 18.619521][ T283] [ 18.619523][ T283] dump_stack_lvl+0x6f/0xa0 [ 18.619530][ T283] ? vprintk_emit+0x31b/0x3e0 [ 18.619533][ T283] __might_resched.cold+0x1fe/0x2c1 [ 18.619539][ T283] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.619544][ T283] ? __kmalloc_noprof+0xdb/0x760 [ 18.619552][ T283] __kmalloc_noprof+0x443/0x760 [ 18.619556][ T283] ? alloc_buf.isra.0+0x4b/0x260 [ 18.619565][ T283] ? do_raw_spin_unlock+0x59/0x250 [ 18.619568][ T283] alloc_buf.isra.0+0x4b/0x260 [ 18.619574][ T283] put_chars+0x1e1/0x2f0 [ 18.619579][ T283] ? __send_to_port+0x420/0x420 [ 18.619581][ T283] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.619587][ T283] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.619592][ T283] ? validate_chain+0x38b/0xc20 [ 18.619600][ T283] hvc_console_print+0x292/0x780 [ 18.619605][ T283] ? __lock_acquire+0x518/0xc20 [ 18.619614][ T283] ? hvc_write+0x3a0/0x3a0 [ 18.619619][ T283] ? rcu_is_watching+0x16/0xd0 [ 18.619627][ T283] console_emit_next_record+0x252/0x4f0 [ 18.619633][ T283] ? devkmsg_read+0x4e0/0x4e0 [ 18.619640][ T283] ? rcu_is_watching+0x16/0xd0 [ 18.619643][ T283] ? lock_acquire+0x13c/0x160 [ 18.619654][ T283] console_flush_one_record+0x46f/0x710 [ 18.619661][ T283] ? console_emit_next_record+0x4f0/0x4f0 [ 18.619663][ T283] ? __lock_acquire+0x518/0xc20 [ 18.619673][ T283] console_unlock+0xee/0x1f0 [ 18.619677][ T283] ? console_flush_one_record+0x710/0x710 [ 18.619679][ T283] ? rcu_is_watching+0x16/0xd0 [ 18.619682][ T283] ? lock_acquire+0x60/0x160 [ 18.619689][ T283] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.619691][ T283] ? vprintk_emit+0x320/0x3e0 [ 18.619696][ T283] vprintk_emit+0x37c/0x3e0 [ 18.619702][ T283] ? wake_up_klogd_work_func+0x90/0x90 [ 18.619704][ T283] ? kasan_save_stack+0x3d/0x50 [ 18.619708][ T283] ? kasan_save_track+0x14/0x30 [ 18.619710][ T283] ? __kasan_kmalloc+0x7b/0x90 [ 18.619712][ T283] ? __kmalloc_cache_noprof+0x29a/0x620 [ 18.619715][ T283] ? packet_mc_add+0x13b/0x890 [ 18.619717][ T283] ? packet_setsockopt+0x1953/0x21e0 [ 18.619720][ T283] ? do_sock_setsockopt+0x115/0x490 [ 18.619726][ T283] _printk+0xc7/0x100 [ 18.619731][ T283] ? snapshot_read.cold+0x21/0x21 [ 18.619738][ T283] ? netdev_name+0x43/0x60 [ 18.619743][ T283] ? __netdev_printk+0x17f/0x1d0 [ 18.619749][ T283] netdev_info+0xe2/0x116 [ 18.619752][ T283] ? netdev_notice+0x120/0x120 [ 18.619764][ T283] ? mutex_is_locked+0x1c/0x50 [ 18.619769][ T283] __dev_set_promiscuity.cold+0x7a/0x104 [ 18.619775][ T283] netif_set_promiscuity+0x4c/0xc0 [ 18.619782][ T283] dev_set_promiscuity+0xa1/0x230 [ 18.619785][ T283] ? __asan_memset+0x27/0x50 [ 18.619790][ T283] packet_mc_add+0x54e/0x890 [ 18.619794][ T283] ? __might_fault+0x97/0x140 [ 18.619799][ T283] ? __might_fault+0x97/0x140 [ 18.619803][ T283] ? _copy_from_user+0x42/0x90 [ 18.619810][ T283] packet_setsockopt+0x1953/0x21e0 [ 18.619816][ T283] ? packet_bind+0x170/0x170 [ 18.619822][ T283] ? do_sock_getsockopt+0x6f6/0xb20 [ 18.619831][ T283] ? sock_poll+0x6b0/0x6b0 [ 18.619837][ T283] ? rcu_is_watching+0x16/0xd0 [ 18.619840][ T283] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.619846][ T283] ? __local_bh_enable_ip+0xaa/0x150 [ 18.619853][ T283] do_sock_setsockopt+0x115/0x490 [ 18.619859][ T283] ? put_user_ifreq+0x90/0x90 [ 18.619870][ T283] __sys_setsockopt+0xe4/0x150 [ 18.619878][ T283] __x64_sys_setsockopt+0xbd/0x180 [ 18.619880][ T283] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.619884][ T283] ? lockdep_hardirqs_on+0x91/0x130 [ 18.619888][ T283] ? do_syscall_64+0xa6/0x530 [ 18.619890][ T283] do_syscall_64+0xff/0x530 [ 18.619892][ T283] ? exc_page_fault+0xee/0x100 [ 18.619896][ T283] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.619900][ T283] RIP: 0033:0x7fa23f3ec2de [ 18.619904][ T283] 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 [ 18.619907][ T283] RSP: 002b:00007ffd4d5dd868 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 18.619910][ T283] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fa23f3ec2de [ 18.619912][ T283] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 18.619914][ T283] RBP: 00007ffd4d5dd9a0 R08: 0000000000000010 R09: 0000561a5d208530 [ 18.619916][ T283] R10: 00007ffd4d5dd8e0 R11: 0000000000000246 R12: 0000000000000001 [ 18.619917][ T283] R13: 0000561a5d208918 R14: 0000561a5d208690 R15: 0000000000000000 [ 18.619929][ T283] [ 20.608953][ T278] eth0: left promiscuous mode [ 20.608972][ T278] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.608974][ T278] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 278, name: tcpdump [ 20.608976][ T278] preempt_count: 1, expected: 0 [ 20.608976][ T278] RCU nest depth: 0, expected: 0 [ 20.608977][ T278] locks held by tcpdump/278: 6, last CPU#3: [ 20.608979][ T278] #0: ff110000016cf938 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 20.608992][ T278] #1: ffffffff88722700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 20.608998][ T278] #2: ffffffff87f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.609004][ T278] #3: ffffffff87f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.609007][ T278] #4: ffffffff87e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.609010][ T278] #5: ffffffff87e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 20.609014][ T278] irq event stamp: 44040 [ 20.609015][ T278] hardirqs last enabled at (44039): [] __down_trylock_console_sem+0x86/0xa0 [ 20.609018][ T278] hardirqs last disabled at (44040): [] console_emit_next_record+0x3f8/0x4f0 [ 20.609020][ T278] softirqs last enabled at (43926): [] handle_softirqs+0x67c/0x900 [ 20.609023][ T278] softirqs last disabled at (43917): [] __irq_exit_rcu+0x145/0x1c0 [ 20.609026][ T278] Preemption disabled at: [ 20.609026][ T278] [] vprintk_emit+0x31b/0x3e0 [ 20.609032][ T278] CPU: 3 UID: 72 PID: 278 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.609035][ T278] Tainted: [W]=WARN [ 20.609036][ T278] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.609038][ T278] Call Trace: [ 20.609039][ T278] [ 20.609041][ T278] dump_stack_lvl+0x6f/0xa0 [ 20.609046][ T278] ? vprintk_emit+0x31b/0x3e0 [ 20.609048][ T278] __might_resched.cold+0x1fe/0x2c1 [ 20.609052][ T278] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.609056][ T278] ? __kmalloc_noprof+0xdb/0x760 [ 20.609061][ T278] __kmalloc_noprof+0x443/0x760 [ 20.609064][ T278] ? alloc_buf.isra.0+0x4b/0x260 [ 20.609070][ T278] ? do_raw_spin_unlock+0x59/0x250 [ 20.609072][ T278] alloc_buf.isra.0+0x4b/0x260 [ 20.609076][ T278] put_chars+0x1e1/0x2f0 [ 20.609079][ T278] ? __send_to_port+0x420/0x420 [ 20.609083][ T278] ? validate_chain+0x38b/0xc20 [ 20.609088][ T278] hvc_console_print+0x292/0x780 [ 20.609095][ T278] ? hvc_write+0x3a0/0x3a0 [ 20.609098][ T278] ? rcu_is_watching+0x16/0xd0 [ 20.609101][ T278] ? lock_acquire+0x13c/0x160 [ 20.609106][ T278] console_emit_next_record+0x252/0x4f0 [ 20.609109][ T278] ? devkmsg_read+0x4e0/0x4e0 [ 20.609113][ T278] ? rcu_is_watching+0x16/0xd0 [ 20.609115][ T278] ? lock_acquire+0x13c/0x160 [ 20.609119][ T278] console_flush_one_record+0x46f/0x710 [ 20.609123][ T278] ? console_emit_next_record+0x4f0/0x4f0 [ 20.609125][ T278] ? __lock_acquire+0x518/0xc20 [ 20.609130][ T278] console_unlock+0xee/0x1f0 [ 20.609132][ T278] ? console_flush_one_record+0x710/0x710 [ 20.609134][ T278] ? rcu_is_watching+0x16/0xd0 [ 20.609136][ T278] ? lock_acquire+0x60/0x160 [ 20.609140][ T278] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.609142][ T278] ? vprintk_emit+0x320/0x3e0 [ 20.609144][ T278] vprintk_emit+0x37c/0x3e0 [ 20.609148][ T278] ? wake_up_klogd_work_func+0x90/0x90 [ 20.609151][ T278] ? __lock_acquire+0x518/0xc20 [ 20.609155][ T278] _printk+0xc7/0x100 [ 20.609158][ T278] ? snapshot_read.cold+0x21/0x21 [ 20.609160][ T278] ? lock_acquire.part.0+0xd4/0x280 [ 20.609164][ T278] ? rcu_is_watching+0x16/0xd0 [ 20.609165][ T278] ? netdev_name+0x43/0x60 [ 20.609168][ T278] ? __netdev_printk+0x17f/0x1d0 [ 20.609172][ T278] netdev_info+0xe2/0x116 [ 20.609174][ T278] ? netdev_notice+0x120/0x120 [ 20.609175][ T278] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 20.609178][ T278] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 20.609182][ T278] ? ww_mutex_lock+0x160/0x160 [ 20.609184][ T278] ? lock_acquire.part.0+0xd4/0x280 [ 20.609186][ T278] ? ref_tracker_alloc+0x430/0x430 [ 20.609189][ T278] ? packet_release+0x363/0xc40 [ 20.609191][ T278] ? __fput+0x363/0xac0 [ 20.609195][ T278] ? mutex_is_locked+0x1c/0x50 [ 20.609197][ T278] __dev_set_promiscuity.cold+0x7a/0x104 [ 20.609201][ T278] netif_set_promiscuity+0x4c/0xc0 [ 20.609206][ T278] dev_set_promiscuity+0xa1/0x230 [ 20.609210][ T278] packet_release+0x4cb/0xc40 [ 20.609214][ T278] ? packet_set_ring+0x1740/0x1740 [ 20.609218][ T278] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 20.609222][ T278] __sock_release+0xb8/0x280 [ 20.609226][ T278] sock_close+0x18/0x20 [ 20.609228][ T278] __fput+0x363/0xac0 [ 20.609233][ T278] fput_close_sync+0xde/0x1b0 [ 20.609236][ T278] ? alloc_file_clone+0xe0/0xe0 [ 20.609238][ T278] ? do_raw_spin_unlock+0x59/0x250 [ 20.609242][ T278] __x64_sys_close+0x8b/0xf0 [ 20.609244][ T278] do_syscall_64+0xff/0x530 [ 20.609246][ T278] ? exc_page_fault+0xee/0x100 [ 20.609249][ T278] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.609251][ T278] RIP: 0033:0x7f4efa84d54e [ 20.609255][ T278] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 20.609257][ T278] RSP: 002b:00007ffee15c90f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 20.609259][ T278] RAX: ffffffffffffffda RBX: 0000559fd95fb690 RCX: 00007f4efa84d54e [ 20.609261][ T278] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 20.609262][ T278] RBP: 00007ffee15c9100 R08: 0000000000000000 R09: 0000000000000000 [ 20.609262][ T278] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 20.609263][ T278] R13: 00000000fffffffe R14: 0000559fb686b760 R15: 0000000000000001 [ 20.609270][ T278] [ 20.716599][ T283] eth1: left promiscuous mode [ 21.446807][ T316] eth1: entered promiscuous mode [ 23.407743][ T316] eth1: left promiscuous mode [ 23.407762][ T316] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.407765][ T316] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 316, name: tcpdump [ 23.407766][ T316] preempt_count: 1, expected: 0 [ 23.407767][ T316] RCU nest depth: 0, expected: 0 [ 23.407768][ T316] locks held by tcpdump/316: 6, last CPU#0: [ 23.407770][ T316] #0: ff11000004f52e38 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 23.407783][ T316] #1: ffffffff88722700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 23.407789][ T316] #2: ffffffff87f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.407795][ T316] #3: ffffffff87f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.407798][ T316] #4: ffffffff87e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.407801][ T316] #5: ffffffff87e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 23.407805][ T316] irq event stamp: 57718 [ 23.407806][ T316] hardirqs last enabled at (57717): [] __down_trylock_console_sem+0x86/0xa0 [ 23.407809][ T316] hardirqs last disabled at (57718): [] console_emit_next_record+0x3f8/0x4f0 [ 23.407810][ T316] softirqs last enabled at (57570): [] packet_setsockopt+0xcdf/0x21e0 [ 23.407813][ T316] softirqs last disabled at (57568): [] release_sock+0x21/0x240 [ 23.407816][ T316] Preemption disabled at: [ 23.407817][ T316] [] vprintk_emit+0x31b/0x3e0 [ 23.407822][ T316] CPU: 0 UID: 72 PID: 316 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.407826][ T316] Tainted: [W]=WARN [ 23.407827][ T316] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.407829][ T316] Call Trace: [ 23.407830][ T316] [ 23.407832][ T316] dump_stack_lvl+0x6f/0xa0 [ 23.407840][ T316] ? vprintk_emit+0x31b/0x3e0 [ 23.407842][ T316] __might_resched.cold+0x1fe/0x2c1 [ 23.407847][ T316] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.407850][ T316] ? __kmalloc_noprof+0xdb/0x760 [ 23.407856][ T316] __kmalloc_noprof+0x443/0x760 [ 23.407858][ T316] ? alloc_buf.isra.0+0x4b/0x260 [ 23.407865][ T316] ? do_raw_spin_unlock+0x59/0x250 [ 23.407867][ T316] alloc_buf.isra.0+0x4b/0x260 [ 23.407871][ T316] put_chars+0x1e1/0x2f0 [ 23.407874][ T316] ? __send_to_port+0x420/0x420 [ 23.407878][ T316] ? validate_chain+0x38b/0xc20 [ 23.407883][ T316] hvc_console_print+0x292/0x780 [ 23.407891][ T316] ? hvc_write+0x3a0/0x3a0 [ 23.407894][ T316] ? rcu_is_watching+0x16/0xd0 [ 23.407897][ T316] ? lock_acquire+0x13c/0x160 [ 23.407901][ T316] console_emit_next_record+0x252/0x4f0 [ 23.407905][ T316] ? devkmsg_read+0x4e0/0x4e0 [ 23.407909][ T316] ? rcu_is_watching+0x16/0xd0 [ 23.407911][ T316] ? lock_acquire+0x13c/0x160 [ 23.407915][ T316] console_flush_one_record+0x46f/0x710 [ 23.407918][ T316] ? console_emit_next_record+0x4f0/0x4f0 [ 23.407920][ T316] ? __lock_acquire+0x518/0xc20 [ 23.407925][ T316] console_unlock+0xee/0x1f0 [ 23.407928][ T316] ? console_flush_one_record+0x710/0x710 [ 23.407929][ T316] ? rcu_is_watching+0x16/0xd0 [ 23.407931][ T316] ? lock_acquire+0x60/0x160 [ 23.407935][ T316] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.407937][ T316] ? vprintk_emit+0x320/0x3e0 [ 23.407940][ T316] vprintk_emit+0x37c/0x3e0 [ 23.407943][ T316] ? wake_up_klogd_work_func+0x90/0x90 [ 23.407946][ T316] ? __lock_acquire+0x518/0xc20 [ 23.407950][ T316] _printk+0xc7/0x100 [ 23.407954][ T316] ? snapshot_read.cold+0x21/0x21 [ 23.407955][ T316] ? lock_acquire.part.0+0xd4/0x280 [ 23.407959][ T316] ? rcu_is_watching+0x16/0xd0 [ 23.407961][ T316] ? netdev_name+0x43/0x60 [ 23.407964][ T316] ? __netdev_printk+0x17f/0x1d0 [ 23.407967][ T316] netdev_info+0xe2/0x116 [ 23.407970][ T316] ? netdev_notice+0x120/0x120 [ 23.407971][ T316] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 23.407973][ T316] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 23.407978][ T316] ? ww_mutex_lock+0x160/0x160 [ 23.407980][ T316] ? lock_acquire.part.0+0xd4/0x280 [ 23.407982][ T316] ? ref_tracker_alloc+0x430/0x430 [ 23.407985][ T316] ? packet_release+0x363/0xc40 [ 23.407987][ T316] ? __fput+0x363/0xac0 [ 23.407991][ T316] ? mutex_is_locked+0x1c/0x50 [ 23.407993][ T316] __dev_set_promiscuity.cold+0x7a/0x104 [ 23.407998][ T316] netif_set_promiscuity+0x4c/0xc0 [ 23.408002][ T316] dev_set_promiscuity+0xa1/0x230 [ 23.408006][ T316] packet_release+0x4cb/0xc40 [ 23.408010][ T316] ? packet_set_ring+0x1740/0x1740 [ 23.408013][ T316] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 23.408018][ T316] __sock_release+0xb8/0x280 [ 23.408022][ T316] sock_close+0x18/0x20 [ 23.408024][ T316] __fput+0x363/0xac0 [ 23.408029][ T316] fput_close_sync+0xde/0x1b0 [ 23.408031][ T316] ? alloc_file_clone+0xe0/0xe0 [ 23.408034][ T316] ? do_raw_spin_unlock+0x59/0x250 [ 23.408038][ T316] __x64_sys_close+0x8b/0xf0 [ 23.408040][ T316] do_syscall_64+0xff/0x530 [ 23.408042][ T316] ? exc_page_fault+0xee/0x100 [ 23.408045][ T316] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.408048][ T316] RIP: 0033:0x7f9bf53b654e [ 23.408052][ T316] 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 [ 23.408053][ T316] RSP: 002b:00007ffd94050530 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 23.408056][ T316] RAX: ffffffffffffffda RBX: 000055e2d17c8690 RCX: 00007f9bf53b654e [ 23.408057][ T316] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 23.408058][ T316] RBP: 00007ffd94050540 R08: 0000000000000000 R09: 0000000000000000 [ 23.408059][ T316] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 23.408060][ T316] R13: 00000000fffffffe R14: 000055e29d3e9760 R15: 0000000000000001 [ 23.408066][ T316] [ 23.668426][ T328] eth0: entered promiscuous mode [ 24.692783][ T333] eth1: entered promiscuous mode [ 24.692803][ T333] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.692805][ T333] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 333, name: tcpdump [ 24.692807][ T333] preempt_count: 1, expected: 0 [ 24.692808][ T333] RCU nest depth: 0, expected: 0 [ 24.692809][ T333] locks held by tcpdump/333: 5, last CPU#1: [ 24.692811][ T333] #0: ffffffff88722700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 24.692823][ T333] #1: ffffffff87f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.692829][ T333] #2: ffffffff87f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.692832][ T333] #3: ffffffff87e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.692839][ T333] #4: ffffffff87e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.692843][ T333] irq event stamp: 36198 [ 24.692844][ T333] hardirqs last enabled at (36197): [] __down_trylock_console_sem+0x86/0xa0 [ 24.692847][ T333] hardirqs last disabled at (36198): [] console_emit_next_record+0x3f8/0x4f0 [ 24.692849][ T333] softirqs last enabled at (36178): [] packet_do_bind+0x4b2/0xc80 [ 24.692851][ T333] softirqs last disabled at (36176): [] release_sock+0x21/0x240 [ 24.692856][ T333] Preemption disabled at: [ 24.692856][ T333] [] vprintk_emit+0x31b/0x3e0 [ 24.692862][ T333] CPU: 1 UID: 0 PID: 333 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.692865][ T333] Tainted: [W]=WARN [ 24.692866][ T333] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.692868][ T333] Call Trace: [ 24.692870][ T333] [ 24.692871][ T333] dump_stack_lvl+0x6f/0xa0 [ 24.692876][ T333] ? vprintk_emit+0x31b/0x3e0 [ 24.692878][ T333] __might_resched.cold+0x1fe/0x2c1 [ 24.692883][ T333] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.692887][ T333] ? __kmalloc_noprof+0xdb/0x760 [ 24.692892][ T333] __kmalloc_noprof+0x443/0x760 [ 24.692895][ T333] ? alloc_buf.isra.0+0x4b/0x260 [ 24.692901][ T333] ? do_raw_spin_unlock+0x59/0x250 [ 24.692903][ T333] alloc_buf.isra.0+0x4b/0x260 [ 24.692907][ T333] put_chars+0x1e1/0x2f0 [ 24.692910][ T333] ? __send_to_port+0x420/0x420 [ 24.692912][ T333] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.692916][ T333] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.692919][ T333] ? validate_chain+0x38b/0xc20 [ 24.692924][ T333] hvc_console_print+0x292/0x780 [ 24.692928][ T333] ? __lock_acquire+0x518/0xc20 [ 24.692933][ T333] ? hvc_write+0x3a0/0x3a0 [ 24.692936][ T333] ? rcu_is_watching+0x16/0xd0 [ 24.692941][ T333] console_emit_next_record+0x252/0x4f0 [ 24.692945][ T333] ? devkmsg_read+0x4e0/0x4e0 [ 24.692949][ T333] ? rcu_is_watching+0x16/0xd0 [ 24.692951][ T333] ? lock_acquire+0x13c/0x160 [ 24.692955][ T333] console_flush_one_record+0x46f/0x710 [ 24.692958][ T333] ? console_emit_next_record+0x4f0/0x4f0 [ 24.692960][ T333] ? __lock_acquire+0x518/0xc20 [ 24.692965][ T333] console_unlock+0xee/0x1f0 [ 24.692967][ T333] ? console_flush_one_record+0x710/0x710 [ 24.692969][ T333] ? rcu_is_watching+0x16/0xd0 [ 24.692971][ T333] ? lock_acquire+0x60/0x160 [ 24.692974][ T333] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.692976][ T333] ? vprintk_emit+0x320/0x3e0 [ 24.692979][ T333] vprintk_emit+0x37c/0x3e0 [ 24.692983][ T333] ? wake_up_klogd_work_func+0x90/0x90 [ 24.692984][ T333] ? kasan_save_stack+0x3d/0x50 [ 24.692986][ T333] ? kasan_save_track+0x14/0x30 [ 24.692988][ T333] ? __kasan_kmalloc+0x7b/0x90 [ 24.692989][ T333] ? __kmalloc_cache_noprof+0x29a/0x620 [ 24.692991][ T333] ? packet_mc_add+0x13b/0x890 [ 24.692992][ T333] ? packet_setsockopt+0x1953/0x21e0 [ 24.692994][ T333] ? do_sock_setsockopt+0x115/0x490 [ 24.692998][ T333] _printk+0xc7/0x100 [ 24.693002][ T333] ? snapshot_read.cold+0x21/0x21 [ 24.693006][ T333] ? netdev_name+0x43/0x60 [ 24.693009][ T333] ? __netdev_printk+0x17f/0x1d0 [ 24.693012][ T333] netdev_info+0xe2/0x116 [ 24.693015][ T333] ? netdev_notice+0x120/0x120 [ 24.693022][ T333] ? mutex_is_locked+0x1c/0x50 [ 24.693024][ T333] __dev_set_promiscuity.cold+0x7a/0x104 [ 24.693028][ T333] netif_set_promiscuity+0x4c/0xc0 [ 24.693033][ T333] dev_set_promiscuity+0xa1/0x230 [ 24.693036][ T333] ? __asan_memset+0x27/0x50 [ 24.693039][ T333] packet_mc_add+0x54e/0x890 [ 24.693041][ T333] ? __might_fault+0x97/0x140 [ 24.693045][ T333] ? __might_fault+0x97/0x140 [ 24.693048][ T333] ? _copy_from_user+0x42/0x90 [ 24.693052][ T333] packet_setsockopt+0x1953/0x21e0 [ 24.693056][ T333] ? packet_bind+0x170/0x170 [ 24.693059][ T333] ? do_sock_getsockopt+0x6f6/0xb20 [ 24.693064][ T333] ? sock_poll+0x6b0/0x6b0 [ 24.693067][ T333] ? rcu_is_watching+0x16/0xd0 [ 24.693069][ T333] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.693073][ T333] ? __local_bh_enable_ip+0xaa/0x150 [ 24.693078][ T333] do_sock_setsockopt+0x115/0x490 [ 24.693081][ T333] ? put_user_ifreq+0x90/0x90 [ 24.693087][ T333] __sys_setsockopt+0xe4/0x150 [ 24.693092][ T333] __x64_sys_setsockopt+0xbd/0x180 [ 24.693093][ T333] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.693095][ T333] ? lockdep_hardirqs_on+0x91/0x130 [ 24.693098][ T333] ? do_syscall_64+0xa6/0x530 [ 24.693100][ T333] do_syscall_64+0xff/0x530 [ 24.693101][ T333] ? exc_page_fault+0xee/0x100 [ 24.693104][ T333] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.693106][ T333] RIP: 0033:0x7f92f3f892de [ 24.693109][ T333] 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 [ 24.693111][ T333] RSP: 002b:00007ffcf61638f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 24.693114][ T333] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f92f3f892de [ 24.693115][ T333] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 24.693116][ T333] RBP: 00007ffcf6163a30 R08: 0000000000000010 R09: 000055fd54987530 [ 24.693117][ T333] R10: 00007ffcf6163970 R11: 0000000000000246 R12: 0000000000000001 [ 24.693118][ T333] R13: 000055fd54987918 R14: 000055fd54987690 R15: 0000000000000000 [ 24.693124][ T333] [ 26.671149][ T328] eth0: left promiscuous mode [ 26.671170][ T328] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.671173][ T328] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 328, name: tcpdump [ 26.671174][ T328] preempt_count: 1, expected: 0 [ 26.671175][ T328] RCU nest depth: 0, expected: 0 [ 26.671176][ T328] locks held by tcpdump/328: 6, last CPU#2: [ 26.671179][ T328] #0: ff11000004f53ab8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 26.671192][ T328] #1: ffffffff88722700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 26.671199][ T328] #2: ffffffff87f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.671204][ T328] #3: ffffffff87f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.671207][ T328] #4: ffffffff87e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.671210][ T328] #5: ffffffff87e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.671214][ T328] irq event stamp: 62402 [ 26.671215][ T328] hardirqs last enabled at (62401): [] __down_trylock_console_sem+0x86/0xa0 [ 26.671219][ T328] hardirqs last disabled at (62402): [] console_emit_next_record+0x3f8/0x4f0 [ 26.671220][ T328] softirqs last enabled at (62250): [] packet_setsockopt+0xcdf/0x21e0 [ 26.671223][ T328] softirqs last disabled at (62248): [] release_sock+0x21/0x240 [ 26.671226][ T328] Preemption disabled at: [ 26.671227][ T328] [] vprintk_emit+0x31b/0x3e0 [ 26.671232][ T328] CPU: 2 UID: 72 PID: 328 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.671236][ T328] Tainted: [W]=WARN [ 26.671237][ T328] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.671238][ T328] Call Trace: [ 26.671240][ T328] [ 26.671242][ T328] dump_stack_lvl+0x6f/0xa0 [ 26.671247][ T328] ? vprintk_emit+0x31b/0x3e0 [ 26.671249][ T328] __might_resched.cold+0x1fe/0x2c1 [ 26.671254][ T328] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.671258][ T328] ? __kmalloc_noprof+0xdb/0x760 [ 26.671263][ T328] __kmalloc_noprof+0x443/0x760 [ 26.671266][ T328] ? alloc_buf.isra.0+0x4b/0x260 [ 26.671272][ T328] ? do_raw_spin_unlock+0x59/0x250 [ 26.671274][ T328] alloc_buf.isra.0+0x4b/0x260 [ 26.671278][ T328] put_chars+0x1e1/0x2f0 [ 26.671282][ T328] ? __send_to_port+0x420/0x420 [ 26.671285][ T328] ? validate_chain+0x38b/0xc20 [ 26.671291][ T328] hvc_console_print+0x292/0x780 [ 26.671299][ T328] ? hvc_write+0x3a0/0x3a0 [ 26.671302][ T328] ? rcu_is_watching+0x16/0xd0 [ 26.671305][ T328] ? lock_acquire+0x13c/0x160 [ 26.671310][ T328] console_emit_next_record+0x252/0x4f0 [ 26.671313][ T328] ? devkmsg_read+0x4e0/0x4e0 [ 26.671317][ T328] ? rcu_is_watching+0x16/0xd0 [ 26.671319][ T328] ? lock_acquire+0x13c/0x160 [ 26.671324][ T328] console_flush_one_record+0x46f/0x710 [ 26.671327][ T328] ? console_emit_next_record+0x4f0/0x4f0 [ 26.671329][ T328] ? __lock_acquire+0x518/0xc20 [ 26.671334][ T328] console_unlock+0xee/0x1f0 [ 26.671337][ T328] ? console_flush_one_record+0x710/0x710 [ 26.671338][ T328] ? rcu_is_watching+0x16/0xd0 [ 26.671340][ T328] ? lock_acquire+0x60/0x160 [ 26.671344][ T328] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.671346][ T328] ? vprintk_emit+0x320/0x3e0 [ 26.671349][ T328] vprintk_emit+0x37c/0x3e0 [ 26.671353][ T328] ? wake_up_klogd_work_func+0x90/0x90 [ 26.671356][ T328] ? __lock_acquire+0x518/0xc20 [ 26.671360][ T328] _printk+0xc7/0x100 [ 26.671364][ T328] ? snapshot_read.cold+0x21/0x21 [ 26.671365][ T328] ? lock_acquire.part.0+0xd4/0x280 [ 26.671369][ T328] ? rcu_is_watching+0x16/0xd0 [ 26.671371][ T328] ? netdev_name+0x43/0x60 [ 26.671374][ T328] ? __netdev_printk+0x17f/0x1d0 [ 26.671378][ T328] netdev_info+0xe2/0x116 [ 26.671380][ T328] ? netdev_notice+0x120/0x120 [ 26.671381][ T328] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 26.671384][ T328] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 26.671388][ T328] ? ww_mutex_lock+0x160/0x160 [ 26.671390][ T328] ? lock_acquire.part.0+0xd4/0x280 [ 26.671393][ T328] ? ref_tracker_alloc+0x430/0x430 [ 26.671396][ T328] ? packet_release+0x363/0xc40 [ 26.671398][ T328] ? __fput+0x363/0xac0 [ 26.671402][ T328] ? mutex_is_locked+0x1c/0x50 [ 26.671404][ T328] __dev_set_promiscuity.cold+0x7a/0x104 [ 26.671416][ T328] netif_set_promiscuity+0x4c/0xc0 [ 26.671420][ T328] dev_set_promiscuity+0xa1/0x230 [ 26.671424][ T328] packet_release+0x4cb/0xc40 [ 26.671428][ T328] ? packet_set_ring+0x1740/0x1740 [ 26.671432][ T328] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 26.671437][ T328] __sock_release+0xb8/0x280 [ 26.671440][ T328] sock_close+0x18/0x20 [ 26.671442][ T328] __fput+0x363/0xac0 [ 26.671448][ T328] fput_close_sync+0xde/0x1b0 [ 26.671450][ T328] ? alloc_file_clone+0xe0/0xe0 [ 26.671452][ T328] ? do_raw_spin_unlock+0x59/0x250 [ 26.671456][ T328] __x64_sys_close+0x8b/0xf0 [ 26.671459][ T328] do_syscall_64+0xff/0x530 [ 26.671461][ T328] ? exc_page_fault+0xee/0x100 [ 26.671465][ T328] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.671468][ T328] RIP: 0033:0x7fa5af64b54e [ 26.671472][ T328] 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 [ 26.671474][ T328] RSP: 002b:00007ffda449e440 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 26.671476][ T328] RAX: ffffffffffffffda RBX: 0000558c65cba690 RCX: 00007fa5af64b54e [ 26.671478][ T328] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 26.671479][ T328] RBP: 00007ffda449e450 R08: 0000000000000000 R09: 0000000000000000 [ 26.671479][ T328] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 26.671480][ T328] R13: 00000000fffffffe R14: 0000558c5c5ae760 R15: 0000000000000001 [ 26.671487][ T328] [ 26.755868][ T333] eth1: left promiscuous mode [ 27.069472][ T210] test_team1: Port device eth1 removed [ 27.072687][ T210] test_team1: Port device eth0 removed [ 27.227179][ T214] test_team2: Port device eth1 removed [ 27.231182][ T214] test_team2: Port device eth0 removed