[ 10.854430][ T211] test_team1: Mode changed to "activebackup" [ 10.854488][ T211] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.854490][ T211] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 211, name: teamd [ 10.854492][ T211] preempt_count: 1, expected: 0 [ 10.854493][ T211] RCU nest depth: 0, expected: 0 [ 10.854494][ T211] locks held by teamd/211: 7, last CPU#3: [ 10.854496][ T211] #0: ffffffff873876c8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 10.854509][ T211] #1: ffffffff87387780 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x128/0x160 [ 10.854513][ T211] #2: ffffffff87322700 (rtnl_mutex){+.+.}-{4:4}, at: team_nl_options_set_doit+0xa7/0xd00 [ 10.854518][ T211] #3: ffffffff86b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.854523][ T211] #4: ffffffff86b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.854527][ T211] #5: ffffffff86a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.854530][ T211] #6: ffffffff86a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.854533][ T211] irq event stamp: 10500 [ 10.854534][ T211] hardirqs last enabled at (10499): [] __down_trylock_console_sem+0x86/0xa0 [ 10.854537][ T211] hardirqs last disabled at (10500): [] console_emit_next_record+0x3f8/0x4f0 [ 10.854539][ T211] softirqs last enabled at (10424): [] __alloc_skb+0x4c5/0x5f0 [ 10.854542][ T211] softirqs last disabled at (10422): [] __alloc_skb+0x4c5/0x5f0 [ 10.854544][ T211] Preemption disabled at: [ 10.854545][ T211] [] vprintk_emit+0x31b/0x3e0 [ 10.854550][ T211] CPU: 3 UID: 0 PID: 211 Comm: teamd Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.854554][ T211] Tainted: [W]=WARN [ 10.854555][ T211] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.854557][ T211] Call Trace: [ 10.854558][ T211] [ 10.854560][ T211] dump_stack_lvl+0x6f/0xa0 [ 10.854565][ T211] ? vprintk_emit+0x31b/0x3e0 [ 10.854567][ T211] __might_resched.cold+0x1fe/0x2c1 [ 10.854572][ T211] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.854575][ T211] ? __kmalloc_noprof+0xdb/0x760 [ 10.854581][ T211] __kmalloc_noprof+0x443/0x760 [ 10.854583][ T211] ? alloc_buf.isra.0+0x4b/0x260 [ 10.854590][ T211] ? do_raw_spin_unlock+0x59/0x250 [ 10.854592][ T211] alloc_buf.isra.0+0x4b/0x260 [ 10.854596][ T211] put_chars+0x1e1/0x2f0 [ 10.854599][ T211] ? __send_to_port+0x420/0x420 [ 10.854603][ T211] ? validate_chain+0x34a/0xc20 [ 10.854608][ T211] hvc_console_print+0x292/0x780 [ 10.854612][ T211] ? __lock_acquire+0x518/0xc20 [ 10.854617][ T211] ? hvc_write+0x3a0/0x3a0 [ 10.854620][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.854626][ T211] console_emit_next_record+0x252/0x4f0 [ 10.854630][ T211] ? devkmsg_read+0x4e0/0x4e0 [ 10.854634][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.854636][ T211] ? lock_acquire+0x13c/0x160 [ 10.854640][ T211] console_flush_one_record+0x46f/0x710 [ 10.854644][ T211] ? console_emit_next_record+0x4f0/0x4f0 [ 10.854645][ T211] ? __lock_acquire+0x518/0xc20 [ 10.854651][ T211] console_unlock+0xee/0x1f0 [ 10.854653][ T211] ? console_flush_one_record+0x710/0x710 [ 10.854654][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.854656][ T211] ? lock_acquire+0x60/0x160 [ 10.854660][ T211] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.854662][ T211] ? vprintk_emit+0x320/0x3e0 [ 10.854665][ T211] vprintk_emit+0x37c/0x3e0 [ 10.854668][ T211] ? wake_up_klogd_work_func+0x90/0x90 [ 10.854671][ T211] ? __team_carrier_check.part.0+0x140/0x140 [ 10.854675][ T211] _printk+0xc7/0x100 [ 10.854678][ T211] ? snapshot_read.cold+0x21/0x21 [ 10.854683][ T211] ? team_nl_fill_one_port_get+0x530/0x530 [ 10.854684][ T211] ? netdev_name+0x43/0x60 [ 10.854687][ T211] ? __netdev_printk+0x17f/0x1d0 [ 10.854691][ T211] netdev_info+0xe2/0x116 [ 10.854693][ T211] ? netdev_notice+0x120/0x120 [ 10.854697][ T211] ? __lock_release.isra.0+0x69/0x1a0 [ 10.854701][ T211] ? team_options_register+0x26/0x30 [ 10.854705][ T211] team_mode_option_set.cold+0x45/0xe3 [ 10.854709][ T211] team_nl_options_set_doit+0x59d/0xd00 [ 10.854715][ T211] ? team_nl_options_get_doit+0x3e0/0x3e0 [ 10.854718][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.854724][ T211] ? __nla_parse+0x22/0x30 [ 10.854729][ T211] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 10.854734][ T211] ? genl_family_rcv_msg_doit+0x206/0x300 [ 10.854736][ T211] genl_family_rcv_msg_doit+0x206/0x300 [ 10.854740][ T211] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 10.854746][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.854748][ T211] ? cap_capable+0x1d7/0x3d0 [ 10.854751][ T211] ? write_profile+0xf0/0xf0 [ 10.854753][ T211] ? unwind_get_return_address+0x67/0xd0 [ 10.854759][ T211] genl_family_rcv_msg+0x3a4/0x640 [ 10.854762][ T211] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 10.854765][ T211] ? team_nl_options_get_doit+0x3e0/0x3e0 [ 10.854768][ T211] ? __lock_acquire+0x518/0xc20 [ 10.854773][ T211] genl_rcv_msg+0xbb/0x160 [ 10.854776][ T211] netlink_rcv_skb+0x14e/0x3a0 [ 10.854778][ T211] ? genl_family_rcv_msg+0x640/0x640 [ 10.854782][ T211] ? netlink_ack+0xcd0/0xcd0 [ 10.854789][ T211] ? netlink_deliver_tap+0xc5/0x330 [ 10.854790][ T211] ? netlink_deliver_tap+0x13c/0x330 [ 10.854794][ T211] genl_rcv+0x28/0x40 [ 10.854796][ T211] netlink_unicast+0x486/0x750 [ 10.854800][ T211] ? netlink_attachskb+0x810/0x810 [ 10.854803][ T211] ? __lock_acquire+0x518/0xc20 [ 10.854807][ T211] netlink_sendmsg+0x735/0xc60 [ 10.854811][ T211] ? netlink_unicast+0x750/0x750 [ 10.854815][ T211] ? __might_fault+0x97/0x140 [ 10.854821][ T211] ____sys_sendmsg+0x415/0x880 [ 10.854824][ T211] ? copy_msghdr_from_user+0x279/0x420 [ 10.854826][ T211] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 10.854827][ T211] ? move_addr_to_kernel+0x40/0x40 [ 10.854831][ T211] ? __lock_acquire+0x518/0xc20 [ 10.854833][ T211] ? ddebug_proc_write+0x66/0xd0 [ 10.854835][ T211] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.854839][ T211] ___sys_sendmsg+0x14e/0x1d0 [ 10.854842][ T211] ? copy_msghdr_from_user+0x420/0x420 [ 10.854844][ T211] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.854850][ T211] ? __lock_acquire+0x518/0xc20 [ 10.854857][ T211] ? __lock_release.isra.0+0x69/0x1a0 [ 10.854859][ T211] ? __lock_release.isra.0+0x69/0x1a0 [ 10.854864][ T211] __sys_sendmsg+0x12c/0x1d0 [ 10.854866][ T211] ? __sys_sendmsg_sock+0x20/0x20 [ 10.854868][ T211] ? do_pipe2+0x142/0x1b0 [ 10.854874][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.854876][ T211] ? rcu_is_watching+0x16/0xd0 [ 10.854882][ T211] do_syscall_64+0xff/0x530 [ 10.854885][ T211] ? exc_page_fault+0xee/0x100 [ 10.854888][ T211] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.854890][ T211] RIP: 0033:0x7ff85d3a654e [ 10.854894][ T211] 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.854896][ T211] RSP: 002b:00007fff84a8f220 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.854898][ T211] RAX: ffffffffffffffda RBX: 000055e4ca9d2300 RCX: 00007ff85d3a654e [ 10.854900][ T211] RDX: 0000000000000000 RSI: 00007fff84a8f2c0 RDI: 0000000000000007 [ 10.854901][ T211] RBP: 00007fff84a8f230 R08: 0000000000000000 R09: 0000000000000000 [ 10.854901][ T211] R10: 0000000000000000 R11: 0000000000000202 R12: 000055e4ca9d28e0 [ 10.854902][ T211] R13: 00007fff84a8f2c0 R14: 000055e4ca9d2210 R15: 0000000000000000 [ 10.854909][ T211] [ 10.901410][ T211] test_team1: Port device eth0 added [ 10.903327][ T211] test_team1: Port device eth1 added [ 11.199661][ T215] test_team2: Mode changed to "activebackup" [ 11.203190][ T215] test_team2: Port device eth0 added [ 11.207945][ T215] test_team2: Port device eth1 added [ 12.790941][ T237] test_team2: entered promiscuous mode [ 12.790960][ T237] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.790962][ T237] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 237, name: tcpdump [ 12.790964][ T237] preempt_count: 1, expected: 0 [ 12.790965][ T237] RCU nest depth: 0, expected: 0 [ 12.790966][ T237] locks held by tcpdump/237: 5, last CPU#0: [ 12.790968][ T237] #0: ffffffff87322700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 12.790980][ T237] #1: ffffffff86b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.790986][ T237] #2: ffffffff86b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.790990][ T237] #3: ffffffff86a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.790993][ T237] #4: ffffffff86a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.790997][ T237] irq event stamp: 36946 [ 12.791005][ T237] hardirqs last enabled at (36945): [] __down_trylock_console_sem+0x86/0xa0 [ 12.791008][ T237] hardirqs last disabled at (36946): [] console_emit_next_record+0x3f8/0x4f0 [ 12.791010][ T237] softirqs last enabled at (36922): [] handle_softirqs+0x67c/0x900 [ 12.791014][ T237] softirqs last disabled at (36893): [] __irq_exit_rcu+0x145/0x1c0 [ 12.791017][ T237] Preemption disabled at: [ 12.791017][ T237] [] vprintk_emit+0x31b/0x3e0 [ 12.791023][ T237] CPU: 0 UID: 0 PID: 237 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.791027][ T237] Tainted: [W]=WARN [ 12.791028][ T237] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.791029][ T237] Call Trace: [ 12.791031][ T237] [ 12.791033][ T237] dump_stack_lvl+0x6f/0xa0 [ 12.791039][ T237] ? vprintk_emit+0x31b/0x3e0 [ 12.791041][ T237] __might_resched.cold+0x1fe/0x2c1 [ 12.791045][ T237] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.791049][ T237] ? __kmalloc_noprof+0xdb/0x760 [ 12.791055][ T237] __kmalloc_noprof+0x443/0x760 [ 12.791057][ T237] ? alloc_buf.isra.0+0x4b/0x260 [ 12.791064][ T237] ? do_raw_spin_unlock+0x59/0x250 [ 12.791066][ T237] alloc_buf.isra.0+0x4b/0x260 [ 12.791070][ T237] put_chars+0x1e1/0x2f0 [ 12.791073][ T237] ? __send_to_port+0x420/0x420 [ 12.791075][ T237] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.791079][ T237] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.791082][ T237] ? validate_chain+0x38b/0xc20 [ 12.791088][ T237] hvc_console_print+0x292/0x780 [ 12.791092][ T237] ? __lock_acquire+0x518/0xc20 [ 12.791097][ T237] ? hvc_write+0x3a0/0x3a0 [ 12.791100][ T237] ? rcu_is_watching+0x16/0xd0 [ 12.791105][ T237] console_emit_next_record+0x252/0x4f0 [ 12.791108][ T237] ? devkmsg_read+0x4e0/0x4e0 [ 12.791112][ T237] ? rcu_is_watching+0x16/0xd0 [ 12.791114][ T237] ? lock_acquire+0x13c/0x160 [ 12.791119][ T237] console_flush_one_record+0x46f/0x710 [ 12.791122][ T237] ? console_emit_next_record+0x4f0/0x4f0 [ 12.791124][ T237] ? __lock_acquire+0x518/0xc20 [ 12.791129][ T237] console_unlock+0xee/0x1f0 [ 12.791132][ T237] ? console_flush_one_record+0x710/0x710 [ 12.791133][ T237] ? rcu_is_watching+0x16/0xd0 [ 12.791135][ T237] ? lock_acquire+0x60/0x160 [ 12.791139][ T237] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.791141][ T237] ? vprintk_emit+0x320/0x3e0 [ 12.791144][ T237] vprintk_emit+0x37c/0x3e0 [ 12.791147][ T237] ? wake_up_klogd_work_func+0x90/0x90 [ 12.791149][ T237] ? kasan_save_stack+0x3d/0x50 [ 12.791151][ T237] ? kasan_save_track+0x14/0x30 [ 12.791152][ T237] ? __kasan_kmalloc+0x7b/0x90 [ 12.791154][ T237] ? __kmalloc_cache_noprof+0x29a/0x620 [ 12.791156][ T237] ? packet_mc_add+0x13b/0x890 [ 12.791157][ T237] ? packet_setsockopt+0x1953/0x21e0 [ 12.791159][ T237] ? do_sock_setsockopt+0x115/0x490 [ 12.791164][ T237] _printk+0xc7/0x100 [ 12.791167][ T237] ? snapshot_read.cold+0x21/0x21 [ 12.791172][ T237] ? netdev_name+0x43/0x60 [ 12.791175][ T237] ? __netdev_printk+0x17f/0x1d0 [ 12.791178][ T237] netdev_info+0xe2/0x116 [ 12.791181][ T237] ? netdev_notice+0x120/0x120 [ 12.791187][ T237] ? mutex_is_locked+0x1c/0x50 [ 12.791190][ T237] __dev_set_promiscuity.cold+0x7a/0x104 [ 12.791195][ T237] netif_set_promiscuity+0x4c/0xc0 [ 12.791203][ T237] dev_set_promiscuity+0xa1/0x230 [ 12.791206][ T237] ? __asan_memset+0x27/0x50 [ 12.791209][ T237] packet_mc_add+0x54e/0x890 [ 12.791211][ T237] ? __might_fault+0x97/0x140 [ 12.791215][ T237] ? __might_fault+0x97/0x140 [ 12.791218][ T237] ? _copy_from_user+0x42/0x90 [ 12.791223][ T237] packet_setsockopt+0x1953/0x21e0 [ 12.791226][ T237] ? packet_bind+0x170/0x170 [ 12.791229][ T237] ? rcu_is_watching+0x16/0xd0 [ 12.791231][ T237] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.791236][ T237] ? finish_task_switch.isra.0+0x28a/0xa70 [ 12.791238][ T237] ? __switch_to+0x5a3/0xe00 [ 12.791241][ T237] ? rcu_is_watching+0x16/0xd0 [ 12.791243][ T237] ? trace_sched_exit_tp+0x9b/0x160 [ 12.791249][ T237] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.791252][ T237] ? __local_bh_enable_ip+0xaa/0x150 [ 12.791255][ T237] do_sock_setsockopt+0x115/0x490 [ 12.791258][ T237] ? rcu_is_watching+0x16/0xd0 [ 12.791260][ T237] ? put_user_ifreq+0x90/0x90 [ 12.791261][ T237] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.791263][ T237] ? lockdep_hardirqs_on+0x91/0x130 [ 12.791266][ T237] ? irqentry_exit+0x21c/0x790 [ 12.791268][ T237] ? lockdep_hardirqs_off+0x97/0xf0 [ 12.791271][ T237] ? sysvec_apic_timer_interrupt+0xaa/0xe0 [ 12.791275][ T237] __sys_setsockopt+0xe4/0x150 [ 12.791280][ T237] __x64_sys_setsockopt+0xbd/0x180 [ 12.791282][ T237] ? __x64_sys_setsockopt+0x4/0x180 [ 12.791284][ T237] do_syscall_64+0xff/0x530 [ 12.791286][ T237] ? exc_page_fault+0xee/0x100 [ 12.791288][ T237] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.791290][ T237] RIP: 0033:0x7fced29ed2de [ 12.791295][ T237] 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.791296][ T237] RSP: 002b:00007ffe2c782fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 12.791299][ T237] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fced29ed2de [ 12.791300][ T237] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 12.791301][ T237] RBP: 00007ffe2c783120 R08: 0000000000000010 R09: 0000558e34e2d530 [ 12.791302][ T237] R10: 00007ffe2c783060 R11: 0000000000000246 R12: 0000000000000001 [ 12.791303][ T237] R13: 0000558e34e2d918 R14: 0000558e34e2d690 R15: 0000000000000000 [ 12.791310][ T237] [ 12.817291][ T237] eth0: entered promiscuous mode [ 12.817665][ T237] eth1: entered promiscuous mode [ 14.784813][ T237] test_team2: left promiscuous mode [ 14.784899][ T237] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.784901][ T237] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 237, name: tcpdump [ 14.784903][ T237] preempt_count: 1, expected: 0 [ 14.784905][ T237] RCU nest depth: 0, expected: 0 [ 14.784906][ T237] locks held by tcpdump/237: 6, last CPU#1: [ 14.784909][ T237] #0: ff11000004df59f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 14.784921][ T237] #1: ffffffff87322700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 14.784928][ T237] #2: ffffffff86b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.784933][ T237] #3: ffffffff86b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.784936][ T237] #4: ffffffff86a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.784940][ T237] #5: ffffffff86a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.784943][ T237] irq event stamp: 56710 [ 14.784944][ T237] hardirqs last enabled at (56709): [] __down_trylock_console_sem+0x86/0xa0 [ 14.784948][ T237] hardirqs last disabled at (56710): [] console_emit_next_record+0x3f8/0x4f0 [ 14.784949][ T237] softirqs last enabled at (56550): [] packet_setsockopt+0xcdf/0x21e0 [ 14.784951][ T237] softirqs last disabled at (56548): [] release_sock+0x21/0x240 [ 14.784955][ T237] Preemption disabled at: [ 14.784955][ T237] [] vprintk_emit+0x31b/0x3e0 [ 14.784961][ T237] CPU: 1 UID: 72 PID: 237 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.784964][ T237] Tainted: [W]=WARN [ 14.784965][ T237] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.784967][ T237] Call Trace: [ 14.784968][ T237] [ 14.784970][ T237] dump_stack_lvl+0x6f/0xa0 [ 14.784975][ T237] ? vprintk_emit+0x31b/0x3e0 [ 14.784977][ T237] __might_resched.cold+0x1fe/0x2c1 [ 14.784982][ T237] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.784986][ T237] ? __kmalloc_noprof+0xdb/0x760 [ 14.784991][ T237] __kmalloc_noprof+0x443/0x760 [ 14.784994][ T237] ? alloc_buf.isra.0+0x4b/0x260 [ 14.785000][ T237] ? do_raw_spin_unlock+0x59/0x250 [ 14.785002][ T237] alloc_buf.isra.0+0x4b/0x260 [ 14.785012][ T237] put_chars+0x1e1/0x2f0 [ 14.785015][ T237] ? check_prev_add+0xef/0xe90 [ 14.785018][ T237] ? __send_to_port+0x420/0x420 [ 14.785021][ T237] ? validate_chain+0x34a/0xc20 [ 14.785027][ T237] hvc_console_print+0x292/0x780 [ 14.785034][ T237] ? hvc_write+0x3a0/0x3a0 [ 14.785037][ T237] ? rcu_is_watching+0x16/0xd0 [ 14.785041][ T237] ? lock_acquire+0x13c/0x160 [ 14.785045][ T237] console_emit_next_record+0x252/0x4f0 [ 14.785049][ T237] ? devkmsg_read+0x4e0/0x4e0 [ 14.785053][ T237] ? rcu_is_watching+0x16/0xd0 [ 14.785055][ T237] ? lock_acquire+0x13c/0x160 [ 14.785059][ T237] console_flush_one_record+0x46f/0x710 [ 14.785063][ T237] ? console_emit_next_record+0x4f0/0x4f0 [ 14.785064][ T237] ? __lock_acquire+0x518/0xc20 [ 14.785070][ T237] console_unlock+0xee/0x1f0 [ 14.785072][ T237] ? console_flush_one_record+0x710/0x710 [ 14.785074][ T237] ? rcu_is_watching+0x16/0xd0 [ 14.785076][ T237] ? lock_acquire+0x60/0x160 [ 14.785080][ T237] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.785082][ T237] ? vprintk_emit+0x320/0x3e0 [ 14.785085][ T237] vprintk_emit+0x37c/0x3e0 [ 14.785088][ T237] ? wake_up_klogd_work_func+0x90/0x90 [ 14.785092][ T237] ? __lock_acquire+0x518/0xc20 [ 14.785095][ T237] _printk+0xc7/0x100 [ 14.785099][ T237] ? snapshot_read.cold+0x21/0x21 [ 14.785101][ T237] ? lock_acquire.part.0+0xd4/0x280 [ 14.785105][ T237] ? rcu_is_watching+0x16/0xd0 [ 14.785106][ T237] ? netdev_name+0x43/0x60 [ 14.785110][ T237] ? __netdev_printk+0x17f/0x1d0 [ 14.785113][ T237] netdev_info+0xe2/0x116 [ 14.785116][ T237] ? netdev_notice+0x120/0x120 [ 14.785117][ T237] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 14.785120][ T237] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.785124][ T237] ? ww_mutex_lock+0x160/0x160 [ 14.785126][ T237] ? lock_acquire.part.0+0xd4/0x280 [ 14.785129][ T237] ? ref_tracker_alloc+0x430/0x430 [ 14.785132][ T237] ? packet_release+0x363/0xc40 [ 14.785134][ T237] ? __fput+0x363/0xac0 [ 14.785137][ T237] ? mutex_is_locked+0x1c/0x50 [ 14.785140][ T237] __dev_set_promiscuity.cold+0x7a/0x104 [ 14.785144][ T237] netif_set_promiscuity+0x4c/0xc0 [ 14.785149][ T237] dev_set_promiscuity+0xa1/0x230 [ 14.785153][ T237] packet_release+0x4cb/0xc40 [ 14.785157][ T237] ? packet_set_ring+0x1740/0x1740 [ 14.785161][ T237] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 14.785165][ T237] __sock_release+0xb8/0x280 [ 14.785169][ T237] sock_close+0x18/0x20 [ 14.785171][ T237] __fput+0x363/0xac0 [ 14.785177][ T237] fput_close_sync+0xde/0x1b0 [ 14.785179][ T237] ? alloc_file_clone+0xe0/0xe0 [ 14.785182][ T237] ? do_raw_spin_unlock+0x59/0x250 [ 14.785185][ T237] __x64_sys_close+0x8b/0xf0 [ 14.785188][ T237] do_syscall_64+0xff/0x530 [ 14.785190][ T237] ? irq_exit_rcu+0x1a/0x30 [ 14.785194][ T237] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.785197][ T237] RIP: 0033:0x7fced296454e [ 14.785201][ T237] 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.785203][ T237] RSP: 002b:00007ffe2c783150 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 14.785205][ T237] RAX: ffffffffffffffda RBX: 0000558e34e2d690 RCX: 00007fced296454e [ 14.785207][ T237] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 14.785207][ T237] RBP: 00007ffe2c783160 R08: 0000000000000000 R09: 0000000000000000 [ 14.785208][ T237] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 14.785209][ T237] R13: 00000000fffffffe R14: 0000558df5a07760 R15: 0000000000000001 [ 14.785216][ T237] [ 14.811400][ T237] eth0: left promiscuous mode [ 14.811798][ T237] eth1: left promiscuous mode [ 15.507119][ T266] eth0: entered promiscuous mode [ 17.479682][ T266] eth0: left promiscuous mode [ 17.479701][ T266] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.479703][ T266] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 266, name: tcpdump [ 17.479705][ T266] preempt_count: 1, expected: 0 [ 17.479706][ T266] RCU nest depth: 0, expected: 0 [ 17.479707][ T266] locks held by tcpdump/266: 6, last CPU#1: [ 17.479709][ T266] #0: ff1100000cc240f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 17.479722][ T266] #1: ffffffff87322700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 17.479728][ T266] #2: ffffffff86b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.479733][ T266] #3: ffffffff86b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.479736][ T266] #4: ffffffff86a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.479739][ T266] #5: ffffffff86a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 17.479742][ T266] irq event stamp: 51986 [ 17.479743][ T266] hardirqs last enabled at (51985): [] __down_trylock_console_sem+0x86/0xa0 [ 17.479747][ T266] hardirqs last disabled at (51986): [] console_emit_next_record+0x3f8/0x4f0 [ 17.479748][ T266] softirqs last enabled at (51836): [] packet_setsockopt+0xcdf/0x21e0 [ 17.479750][ T266] softirqs last disabled at (51834): [] release_sock+0x21/0x240 [ 17.479754][ T266] Preemption disabled at: [ 17.479754][ T266] [] vprintk_emit+0x31b/0x3e0 [ 17.479760][ T266] CPU: 1 UID: 72 PID: 266 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.479763][ T266] Tainted: [W]=WARN [ 17.479764][ T266] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.479766][ T266] Call Trace: [ 17.479767][ T266] [ 17.479769][ T266] dump_stack_lvl+0x6f/0xa0 [ 17.479774][ T266] ? vprintk_emit+0x31b/0x3e0 [ 17.479776][ T266] __might_resched.cold+0x1fe/0x2c1 [ 17.479780][ T266] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.479784][ T266] ? __kmalloc_noprof+0xdb/0x760 [ 17.479790][ T266] __kmalloc_noprof+0x443/0x760 [ 17.479792][ T266] ? alloc_buf.isra.0+0x4b/0x260 [ 17.479798][ T266] ? do_raw_spin_unlock+0x59/0x250 [ 17.479800][ T266] alloc_buf.isra.0+0x4b/0x260 [ 17.479804][ T266] put_chars+0x1e1/0x2f0 [ 17.479807][ T266] ? __send_to_port+0x420/0x420 [ 17.479810][ T266] ? validate_chain+0x38b/0xc20 [ 17.479816][ T266] hvc_console_print+0x292/0x780 [ 17.479823][ T266] ? hvc_write+0x3a0/0x3a0 [ 17.479826][ T266] ? rcu_is_watching+0x16/0xd0 [ 17.479830][ T266] ? lock_acquire+0x13c/0x160 [ 17.479834][ T266] console_emit_next_record+0x252/0x4f0 [ 17.479837][ T266] ? devkmsg_read+0x4e0/0x4e0 [ 17.479841][ T266] ? rcu_is_watching+0x16/0xd0 [ 17.479843][ T266] ? lock_acquire+0x13c/0x160 [ 17.479847][ T266] console_flush_one_record+0x46f/0x710 [ 17.479851][ T266] ? console_emit_next_record+0x4f0/0x4f0 [ 17.479852][ T266] ? __lock_acquire+0x518/0xc20 [ 17.479857][ T266] console_unlock+0xee/0x1f0 [ 17.479860][ T266] ? console_flush_one_record+0x710/0x710 [ 17.479861][ T266] ? rcu_is_watching+0x16/0xd0 [ 17.479863][ T266] ? lock_acquire+0x60/0x160 [ 17.479867][ T266] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.479869][ T266] ? vprintk_emit+0x320/0x3e0 [ 17.479872][ T266] vprintk_emit+0x37c/0x3e0 [ 17.479875][ T266] ? wake_up_klogd_work_func+0x90/0x90 [ 17.479883][ T266] ? __lock_acquire+0x518/0xc20 [ 17.479886][ T266] _printk+0xc7/0x100 [ 17.479890][ T266] ? snapshot_read.cold+0x21/0x21 [ 17.479892][ T266] ? lock_acquire.part.0+0xd4/0x280 [ 17.479895][ T266] ? rcu_is_watching+0x16/0xd0 [ 17.479897][ T266] ? netdev_name+0x43/0x60 [ 17.479900][ T266] ? __netdev_printk+0x17f/0x1d0 [ 17.479903][ T266] netdev_info+0xe2/0x116 [ 17.479906][ T266] ? netdev_notice+0x120/0x120 [ 17.479907][ T266] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 17.479910][ T266] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 17.479914][ T266] ? ww_mutex_lock+0x160/0x160 [ 17.479916][ T266] ? lock_acquire.part.0+0xd4/0x280 [ 17.479918][ T266] ? ref_tracker_alloc+0x430/0x430 [ 17.479921][ T266] ? packet_release+0x363/0xc40 [ 17.479923][ T266] ? __fput+0x363/0xac0 [ 17.479926][ T266] ? mutex_is_locked+0x1c/0x50 [ 17.479929][ T266] __dev_set_promiscuity.cold+0x7a/0x104 [ 17.479933][ T266] netif_set_promiscuity+0x4c/0xc0 [ 17.479938][ T266] dev_set_promiscuity+0xa1/0x230 [ 17.479942][ T266] packet_release+0x4cb/0xc40 [ 17.479946][ T266] ? packet_set_ring+0x1740/0x1740 [ 17.479950][ T266] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 17.479954][ T266] __sock_release+0xb8/0x280 [ 17.479958][ T266] sock_close+0x18/0x20 [ 17.479960][ T266] __fput+0x363/0xac0 [ 17.479965][ T266] fput_close_sync+0xde/0x1b0 [ 17.479967][ T266] ? alloc_file_clone+0xe0/0xe0 [ 17.479969][ T266] ? do_raw_spin_unlock+0x59/0x250 [ 17.479973][ T266] __x64_sys_close+0x8b/0xf0 [ 17.479975][ T266] do_syscall_64+0xff/0x530 [ 17.479977][ T266] ? exc_page_fault+0xee/0x100 [ 17.479980][ T266] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.479982][ T266] RIP: 0033:0x7fc17c79a54e [ 17.479986][ T266] 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.479988][ T266] RSP: 002b:00007ffffbc0a470 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 17.479990][ T266] RAX: ffffffffffffffda RBX: 0000559d229c2690 RCX: 00007fc17c79a54e [ 17.479992][ T266] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 17.479992][ T266] RBP: 00007ffffbc0a480 R08: 0000000000000000 R09: 0000000000000000 [ 17.479993][ T266] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 17.479994][ T266] R13: 00000000fffffffe R14: 0000559cfee2f760 R15: 0000000000000001 [ 17.480001][ T266] [ 17.700631][ T278] eth0: entered promiscuous mode [ 18.761990][ T283] eth1: entered promiscuous mode [ 18.762007][ T283] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.762009][ T283] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 283, name: tcpdump [ 18.762011][ T283] preempt_count: 1, expected: 0 [ 18.762012][ T283] RCU nest depth: 0, expected: 0 [ 18.762013][ T283] locks held by tcpdump/283: 5, last CPU#0: [ 18.762015][ T283] #0: ffffffff87322700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 18.762032][ T283] #1: ffffffff86b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.762038][ T283] #2: ffffffff86b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.762041][ T283] #3: ffffffff86a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.762044][ T283] #4: ffffffff86a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 18.762048][ T283] irq event stamp: 47254 [ 18.762049][ T283] hardirqs last enabled at (47253): [] __down_trylock_console_sem+0x86/0xa0 [ 18.762052][ T283] hardirqs last disabled at (47254): [] console_emit_next_record+0x3f8/0x4f0 [ 18.762054][ T283] softirqs last enabled at (47234): [] packet_do_bind+0x4b2/0xc80 [ 18.762056][ T283] softirqs last disabled at (47232): [] release_sock+0x21/0x240 [ 18.762061][ T283] Preemption disabled at: [ 18.762061][ T283] [] vprintk_emit+0x31b/0x3e0 [ 18.762067][ T283] CPU: 0 UID: 0 PID: 283 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.762071][ T283] Tainted: [W]=WARN [ 18.762072][ T283] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.762073][ T283] Call Trace: [ 18.762075][ T283] [ 18.762077][ T283] dump_stack_lvl+0x6f/0xa0 [ 18.762082][ T283] ? vprintk_emit+0x31b/0x3e0 [ 18.762084][ T283] __might_resched.cold+0x1fe/0x2c1 [ 18.762088][ T283] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.762092][ T283] ? __kmalloc_noprof+0xdb/0x760 [ 18.762097][ T283] __kmalloc_noprof+0x443/0x760 [ 18.762099][ T283] ? alloc_buf.isra.0+0x4b/0x260 [ 18.762105][ T283] ? do_raw_spin_unlock+0x59/0x250 [ 18.762107][ T283] alloc_buf.isra.0+0x4b/0x260 [ 18.762111][ T283] put_chars+0x1e1/0x2f0 [ 18.762114][ T283] ? __send_to_port+0x420/0x420 [ 18.762116][ T283] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.762120][ T283] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.762123][ T283] ? validate_chain+0x38b/0xc20 [ 18.762129][ T283] hvc_console_print+0x292/0x780 [ 18.762132][ T283] ? __lock_acquire+0x518/0xc20 [ 18.762137][ T283] ? hvc_write+0x3a0/0x3a0 [ 18.762140][ T283] ? rcu_is_watching+0x16/0xd0 [ 18.762145][ T283] console_emit_next_record+0x252/0x4f0 [ 18.762148][ T283] ? devkmsg_read+0x4e0/0x4e0 [ 18.762152][ T283] ? rcu_is_watching+0x16/0xd0 [ 18.762154][ T283] ? lock_acquire+0x13c/0x160 [ 18.762158][ T283] console_flush_one_record+0x46f/0x710 [ 18.762162][ T283] ? console_emit_next_record+0x4f0/0x4f0 [ 18.762163][ T283] ? __lock_acquire+0x518/0xc20 [ 18.762168][ T283] console_unlock+0xee/0x1f0 [ 18.762171][ T283] ? console_flush_one_record+0x710/0x710 [ 18.762172][ T283] ? rcu_is_watching+0x16/0xd0 [ 18.762174][ T283] ? lock_acquire+0x60/0x160 [ 18.762178][ T283] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.762179][ T283] ? vprintk_emit+0x320/0x3e0 [ 18.762182][ T283] vprintk_emit+0x37c/0x3e0 [ 18.762186][ T283] ? wake_up_klogd_work_func+0x90/0x90 [ 18.762187][ T283] ? kasan_save_stack+0x3d/0x50 [ 18.762189][ T283] ? kasan_save_track+0x14/0x30 [ 18.762191][ T283] ? __kasan_kmalloc+0x7b/0x90 [ 18.762192][ T283] ? __kmalloc_cache_noprof+0x29a/0x620 [ 18.762194][ T283] ? packet_mc_add+0x13b/0x890 [ 18.762195][ T283] ? packet_setsockopt+0x1953/0x21e0 [ 18.762197][ T283] ? do_sock_setsockopt+0x115/0x490 [ 18.762200][ T283] _printk+0xc7/0x100 [ 18.762204][ T283] ? snapshot_read.cold+0x21/0x21 [ 18.762208][ T283] ? netdev_name+0x43/0x60 [ 18.762211][ T283] ? __netdev_printk+0x17f/0x1d0 [ 18.762215][ T283] netdev_info+0xe2/0x116 [ 18.762217][ T283] ? netdev_notice+0x120/0x120 [ 18.762224][ T283] ? mutex_is_locked+0x1c/0x50 [ 18.762226][ T283] __dev_set_promiscuity.cold+0x7a/0x104 [ 18.762230][ T283] netif_set_promiscuity+0x4c/0xc0 [ 18.762235][ T283] dev_set_promiscuity+0xa1/0x230 [ 18.762237][ T283] ? __asan_memset+0x27/0x50 [ 18.762241][ T283] packet_mc_add+0x54e/0x890 [ 18.762243][ T283] ? __might_fault+0x97/0x140 [ 18.762247][ T283] ? __might_fault+0x97/0x140 [ 18.762250][ T283] ? _copy_from_user+0x42/0x90 [ 18.762254][ T283] packet_setsockopt+0x1953/0x21e0 [ 18.762258][ T283] ? packet_bind+0x170/0x170 [ 18.762261][ T283] ? do_sock_getsockopt+0x6f6/0xb20 [ 18.762266][ T283] ? sock_poll+0x6b0/0x6b0 [ 18.762269][ T283] ? rcu_is_watching+0x16/0xd0 [ 18.762271][ T283] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.762275][ T283] ? __local_bh_enable_ip+0xaa/0x150 [ 18.762279][ T283] do_sock_setsockopt+0x115/0x490 [ 18.762283][ T283] ? put_user_ifreq+0x90/0x90 [ 18.762289][ T283] __sys_setsockopt+0xe4/0x150 [ 18.762293][ T283] __x64_sys_setsockopt+0xbd/0x180 [ 18.762295][ T283] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.762297][ T283] ? lockdep_hardirqs_on+0x91/0x130 [ 18.762300][ T283] ? do_syscall_64+0xa6/0x530 [ 18.762301][ T283] do_syscall_64+0xff/0x530 [ 18.762302][ T283] ? exc_page_fault+0xee/0x100 [ 18.762305][ T283] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.762307][ T283] RIP: 0033:0x7fbf51aad2de [ 18.762311][ 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.762313][ T283] RSP: 002b:00007ffeeba33a58 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 18.762315][ T283] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fbf51aad2de [ 18.762317][ T283] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 18.762318][ T283] RBP: 00007ffeeba33b90 R08: 0000000000000010 R09: 000055ca961f3530 [ 18.762319][ T283] R10: 00007ffeeba33ad0 R11: 0000000000000246 R12: 0000000000000001 [ 18.762319][ T283] R13: 000055ca961f3918 R14: 000055ca961f3690 R15: 0000000000000000 [ 18.762326][ T283] [ 20.736979][ T278] eth0: left promiscuous mode [ 20.736998][ T278] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.737000][ T278] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 278, name: tcpdump [ 20.737002][ T278] preempt_count: 1, expected: 0 [ 20.737003][ T278] RCU nest depth: 0, expected: 0 [ 20.737004][ T278] locks held by tcpdump/278: 6, last CPU#3: [ 20.737006][ T278] #0: ff1100000cc27938 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 20.737020][ T278] #1: ffffffff87322700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 20.737032][ T278] #2: ffffffff86b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.737038][ T278] #3: ffffffff86b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.737043][ T278] #4: ffffffff86a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.737047][ T278] #5: ffffffff86a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 20.737051][ T278] irq event stamp: 48034 [ 20.737052][ T278] hardirqs last enabled at (48033): [] __down_trylock_console_sem+0x86/0xa0 [ 20.737056][ T278] hardirqs last disabled at (48034): [] console_emit_next_record+0x3f8/0x4f0 [ 20.737057][ T278] softirqs last enabled at (47946): [] handle_softirqs+0x67c/0x900 [ 20.737061][ T278] softirqs last disabled at (47939): [] __irq_exit_rcu+0x145/0x1c0 [ 20.737064][ T278] Preemption disabled at: [ 20.737065][ T278] [] vprintk_emit+0x31b/0x3e0 [ 20.737070][ T278] CPU: 3 UID: 72 PID: 278 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.737074][ T278] Tainted: [W]=WARN [ 20.737075][ T278] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.737077][ T278] Call Trace: [ 20.737079][ T278] [ 20.737080][ T278] dump_stack_lvl+0x6f/0xa0 [ 20.737086][ T278] ? vprintk_emit+0x31b/0x3e0 [ 20.737088][ T278] __might_resched.cold+0x1fe/0x2c1 [ 20.737093][ T278] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.737096][ T278] ? __kmalloc_noprof+0xdb/0x760 [ 20.737102][ T278] __kmalloc_noprof+0x443/0x760 [ 20.737104][ T278] ? alloc_buf.isra.0+0x4b/0x260 [ 20.737111][ T278] ? do_raw_spin_unlock+0x59/0x250 [ 20.737113][ T278] alloc_buf.isra.0+0x4b/0x260 [ 20.737117][ T278] put_chars+0x1e1/0x2f0 [ 20.737121][ T278] ? __send_to_port+0x420/0x420 [ 20.737124][ T278] ? validate_chain+0x38b/0xc20 [ 20.737130][ T278] hvc_console_print+0x292/0x780 [ 20.737138][ T278] ? hvc_write+0x3a0/0x3a0 [ 20.737141][ T278] ? rcu_is_watching+0x16/0xd0 [ 20.737144][ T278] ? lock_acquire+0x13c/0x160 [ 20.737148][ T278] console_emit_next_record+0x252/0x4f0 [ 20.737152][ T278] ? devkmsg_read+0x4e0/0x4e0 [ 20.737156][ T278] ? rcu_is_watching+0x16/0xd0 [ 20.737158][ T278] ? lock_acquire+0x13c/0x160 [ 20.737162][ T278] console_flush_one_record+0x46f/0x710 [ 20.737166][ T278] ? console_emit_next_record+0x4f0/0x4f0 [ 20.737167][ T278] ? __lock_acquire+0x518/0xc20 [ 20.737173][ T278] console_unlock+0xee/0x1f0 [ 20.737175][ T278] ? console_flush_one_record+0x710/0x710 [ 20.737176][ T278] ? rcu_is_watching+0x16/0xd0 [ 20.737178][ T278] ? lock_acquire+0x60/0x160 [ 20.737182][ T278] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.737184][ T278] ? vprintk_emit+0x320/0x3e0 [ 20.737187][ T278] vprintk_emit+0x37c/0x3e0 [ 20.737190][ T278] ? wake_up_klogd_work_func+0x90/0x90 [ 20.737194][ T278] ? __lock_acquire+0x518/0xc20 [ 20.737197][ T278] _printk+0xc7/0x100 [ 20.737201][ T278] ? snapshot_read.cold+0x21/0x21 [ 20.737203][ T278] ? lock_acquire.part.0+0xd4/0x280 [ 20.737206][ T278] ? rcu_is_watching+0x16/0xd0 [ 20.737208][ T278] ? netdev_name+0x43/0x60 [ 20.737211][ T278] ? __netdev_printk+0x17f/0x1d0 [ 20.737215][ T278] netdev_info+0xe2/0x116 [ 20.737217][ T278] ? netdev_notice+0x120/0x120 [ 20.737218][ T278] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 20.737221][ T278] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 20.737225][ T278] ? ww_mutex_lock+0x160/0x160 [ 20.737227][ T278] ? lock_acquire.part.0+0xd4/0x280 [ 20.737229][ T278] ? ref_tracker_alloc+0x430/0x430 [ 20.737233][ T278] ? packet_release+0x363/0xc40 [ 20.737235][ T278] ? __fput+0x363/0xac0 [ 20.737238][ T278] ? mutex_is_locked+0x1c/0x50 [ 20.737241][ T278] __dev_set_promiscuity.cold+0x7a/0x104 [ 20.737245][ T278] netif_set_promiscuity+0x4c/0xc0 [ 20.737250][ T278] dev_set_promiscuity+0xa1/0x230 [ 20.737253][ T278] packet_release+0x4cb/0xc40 [ 20.737258][ T278] ? packet_set_ring+0x1740/0x1740 [ 20.737261][ T278] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 20.737265][ T278] __sock_release+0xb8/0x280 [ 20.737269][ T278] sock_close+0x18/0x20 [ 20.737271][ T278] __fput+0x363/0xac0 [ 20.737276][ T278] fput_close_sync+0xde/0x1b0 [ 20.737278][ T278] ? alloc_file_clone+0xe0/0xe0 [ 20.737281][ T278] ? do_raw_spin_unlock+0x59/0x250 [ 20.737285][ T278] __x64_sys_close+0x8b/0xf0 [ 20.737287][ T278] do_syscall_64+0xff/0x530 [ 20.737289][ T278] ? exc_page_fault+0xee/0x100 [ 20.737293][ T278] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.737295][ T278] RIP: 0033:0x7f9540a6c54e [ 20.737299][ 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.737301][ T278] RSP: 002b:00007ffe3c682450 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 20.737303][ T278] RAX: ffffffffffffffda RBX: 0000557160165690 RCX: 00007f9540a6c54e [ 20.737304][ T278] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 20.737305][ T278] RBP: 00007ffe3c682460 R08: 0000000000000000 R09: 0000000000000000 [ 20.737306][ T278] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 20.737307][ T278] R13: 00000000fffffffe R14: 000055714d448760 R15: 0000000000000001 [ 20.737314][ T278] [ 20.834661][ T283] eth1: left promiscuous mode [ 21.483864][ T316] eth1: entered promiscuous mode [ 23.473988][ T316] eth1: left promiscuous mode [ 23.474008][ T316] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.474011][ T316] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 316, name: tcpdump [ 23.474013][ T316] preempt_count: 1, expected: 0 [ 23.474013][ T316] RCU nest depth: 0, expected: 0 [ 23.474014][ T316] locks held by tcpdump/316: 6, last CPU#2: [ 23.474017][ T316] #0: ff11000004df0ef8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 23.474031][ T316] #1: ffffffff87322700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 23.474043][ T316] #2: ffffffff86b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.474050][ T316] #3: ffffffff86b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.474053][ T316] #4: ffffffff86a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.474057][ T316] #5: ffffffff86a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 23.474061][ T316] irq event stamp: 56586 [ 23.474062][ T316] hardirqs last enabled at (56585): [] __down_trylock_console_sem+0x86/0xa0 [ 23.474066][ T316] hardirqs last disabled at (56586): [] console_emit_next_record+0x3f8/0x4f0 [ 23.474067][ T316] softirqs last enabled at (56502): [] handle_softirqs+0x67c/0x900 [ 23.474071][ T316] softirqs last disabled at (56469): [] __irq_exit_rcu+0x145/0x1c0 [ 23.474074][ T316] Preemption disabled at: [ 23.474075][ T316] [] vprintk_emit+0x31b/0x3e0 [ 23.474081][ T316] CPU: 2 UID: 72 PID: 316 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.474084][ T316] Tainted: [W]=WARN [ 23.474085][ T316] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.474087][ T316] Call Trace: [ 23.474089][ T316] [ 23.474090][ T316] dump_stack_lvl+0x6f/0xa0 [ 23.474096][ T316] ? vprintk_emit+0x31b/0x3e0 [ 23.474098][ T316] __might_resched.cold+0x1fe/0x2c1 [ 23.474103][ T316] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.474107][ T316] ? __kmalloc_noprof+0xdb/0x760 [ 23.474113][ T316] __kmalloc_noprof+0x443/0x760 [ 23.474116][ T316] ? alloc_buf.isra.0+0x4b/0x260 [ 23.474123][ T316] ? do_raw_spin_unlock+0x59/0x250 [ 23.474126][ T316] alloc_buf.isra.0+0x4b/0x260 [ 23.474130][ T316] put_chars+0x1e1/0x2f0 [ 23.474133][ T316] ? __send_to_port+0x420/0x420 [ 23.474137][ T316] ? validate_chain+0x38b/0xc20 [ 23.474144][ T316] hvc_console_print+0x292/0x780 [ 23.474153][ T316] ? hvc_write+0x3a0/0x3a0 [ 23.474156][ T316] ? rcu_is_watching+0x16/0xd0 [ 23.474160][ T316] ? lock_acquire+0x13c/0x160 [ 23.474165][ T316] console_emit_next_record+0x252/0x4f0 [ 23.474169][ T316] ? devkmsg_read+0x4e0/0x4e0 [ 23.474174][ T316] ? rcu_is_watching+0x16/0xd0 [ 23.474176][ T316] ? lock_acquire+0x13c/0x160 [ 23.474181][ T316] console_flush_one_record+0x46f/0x710 [ 23.474185][ T316] ? console_emit_next_record+0x4f0/0x4f0 [ 23.474186][ T316] ? __lock_acquire+0x518/0xc20 [ 23.474193][ T316] console_unlock+0xee/0x1f0 [ 23.474195][ T316] ? console_flush_one_record+0x710/0x710 [ 23.474197][ T316] ? rcu_is_watching+0x16/0xd0 [ 23.474199][ T316] ? lock_acquire+0x60/0x160 [ 23.474203][ T316] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.474205][ T316] ? vprintk_emit+0x320/0x3e0 [ 23.474209][ T316] vprintk_emit+0x37c/0x3e0 [ 23.474212][ T316] ? wake_up_klogd_work_func+0x90/0x90 [ 23.474216][ T316] ? __lock_acquire+0x518/0xc20 [ 23.474220][ T316] _printk+0xc7/0x100 [ 23.474224][ T316] ? snapshot_read.cold+0x21/0x21 [ 23.474226][ T316] ? lock_acquire.part.0+0xd4/0x280 [ 23.474230][ T316] ? rcu_is_watching+0x16/0xd0 [ 23.474232][ T316] ? netdev_name+0x43/0x60 [ 23.474235][ T316] ? __netdev_printk+0x17f/0x1d0 [ 23.474239][ T316] netdev_info+0xe2/0x116 [ 23.474242][ T316] ? netdev_notice+0x120/0x120 [ 23.474243][ T316] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 23.474246][ T316] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 23.474250][ T316] ? ww_mutex_lock+0x160/0x160 [ 23.474252][ T316] ? lock_acquire.part.0+0xd4/0x280 [ 23.474254][ T316] ? ref_tracker_alloc+0x430/0x430 [ 23.474258][ T316] ? packet_release+0x363/0xc40 [ 23.474260][ T316] ? __fput+0x363/0xac0 [ 23.474263][ T316] ? mutex_is_locked+0x1c/0x50 [ 23.474266][ T316] __dev_set_promiscuity.cold+0x7a/0x104 [ 23.474270][ T316] netif_set_promiscuity+0x4c/0xc0 [ 23.474275][ T316] dev_set_promiscuity+0xa1/0x230 [ 23.474279][ T316] packet_release+0x4cb/0xc40 [ 23.474284][ T316] ? packet_set_ring+0x1740/0x1740 [ 23.474288][ T316] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 23.474293][ T316] __sock_release+0xb8/0x280 [ 23.474297][ T316] sock_close+0x18/0x20 [ 23.474299][ T316] __fput+0x363/0xac0 [ 23.474304][ T316] fput_close_sync+0xde/0x1b0 [ 23.474307][ T316] ? alloc_file_clone+0xe0/0xe0 [ 23.474309][ T316] ? do_raw_spin_unlock+0x59/0x250 [ 23.474313][ T316] __x64_sys_close+0x8b/0xf0 [ 23.474316][ T316] do_syscall_64+0xff/0x530 [ 23.474318][ T316] ? exc_page_fault+0xee/0x100 [ 23.474321][ T316] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.474323][ T316] RIP: 0033:0x7f7a7bec154e [ 23.474327][ 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.474329][ T316] RSP: 002b:00007ffc447267f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 23.474331][ T316] RAX: ffffffffffffffda RBX: 000055fb46b3f690 RCX: 00007f7a7bec154e [ 23.474333][ T316] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 23.474334][ T316] RBP: 00007ffc44726800 R08: 0000000000000000 R09: 0000000000000000 [ 23.474334][ T316] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 23.474335][ T316] R13: 00000000fffffffe R14: 000055fb44ce2760 R15: 0000000000000001 [ 23.474343][ T316] [ 23.706819][ T328] eth0: entered promiscuous mode [ 24.741712][ T333] eth1: entered promiscuous mode [ 24.741729][ T333] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.741731][ T333] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 333, name: tcpdump [ 24.741733][ T333] preempt_count: 1, expected: 0 [ 24.741734][ T333] RCU nest depth: 0, expected: 0 [ 24.741735][ T333] locks held by tcpdump/333: 5, last CPU#2: [ 24.741738][ T333] #0: ffffffff87322700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 24.741750][ T333] #1: ffffffff86b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.741756][ T333] #2: ffffffff86b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.741759][ T333] #3: ffffffff86a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.741763][ T333] #4: ffffffff86a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.741766][ T333] irq event stamp: 41284 [ 24.741767][ T333] hardirqs last enabled at (41283): [] __down_trylock_console_sem+0x86/0xa0 [ 24.741771][ T333] hardirqs last disabled at (41284): [] console_emit_next_record+0x3f8/0x4f0 [ 24.741772][ T333] softirqs last enabled at (41264): [] packet_do_bind+0x4b2/0xc80 [ 24.741774][ T333] softirqs last disabled at (41262): [] release_sock+0x21/0x240 [ 24.741779][ T333] Preemption disabled at: [ 24.741779][ T333] [] vprintk_emit+0x31b/0x3e0 [ 24.741785][ T333] CPU: 2 UID: 0 PID: 333 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.741789][ T333] Tainted: [W]=WARN [ 24.741789][ T333] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.741791][ T333] Call Trace: [ 24.741793][ T333] [ 24.741794][ T333] dump_stack_lvl+0x6f/0xa0 [ 24.741799][ T333] ? vprintk_emit+0x31b/0x3e0 [ 24.741801][ T333] __might_resched.cold+0x1fe/0x2c1 [ 24.741806][ T333] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.741809][ T333] ? __kmalloc_noprof+0xdb/0x760 [ 24.741815][ T333] __kmalloc_noprof+0x443/0x760 [ 24.741817][ T333] ? alloc_buf.isra.0+0x4b/0x260 [ 24.741823][ T333] ? do_raw_spin_unlock+0x59/0x250 [ 24.741825][ T333] alloc_buf.isra.0+0x4b/0x260 [ 24.741828][ T333] put_chars+0x1e1/0x2f0 [ 24.741832][ T333] ? __send_to_port+0x420/0x420 [ 24.741833][ T333] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.741838][ T333] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.741841][ T333] ? validate_chain+0x38b/0xc20 [ 24.741846][ T333] hvc_console_print+0x292/0x780 [ 24.741849][ T333] ? __lock_acquire+0x518/0xc20 [ 24.741855][ T333] ? hvc_write+0x3a0/0x3a0 [ 24.741857][ T333] ? rcu_is_watching+0x16/0xd0 [ 24.741862][ T333] console_emit_next_record+0x252/0x4f0 [ 24.741866][ T333] ? devkmsg_read+0x4e0/0x4e0 [ 24.741870][ T333] ? rcu_is_watching+0x16/0xd0 [ 24.741871][ T333] ? lock_acquire+0x13c/0x160 [ 24.741876][ T333] console_flush_one_record+0x46f/0x710 [ 24.741883][ T333] ? console_emit_next_record+0x4f0/0x4f0 [ 24.741884][ T333] ? __lock_acquire+0x518/0xc20 [ 24.741890][ T333] console_unlock+0xee/0x1f0 [ 24.741892][ T333] ? console_flush_one_record+0x710/0x710 [ 24.741894][ T333] ? rcu_is_watching+0x16/0xd0 [ 24.741895][ T333] ? lock_acquire+0x60/0x160 [ 24.741899][ T333] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.741901][ T333] ? vprintk_emit+0x320/0x3e0 [ 24.741904][ T333] vprintk_emit+0x37c/0x3e0 [ 24.741907][ T333] ? wake_up_klogd_work_func+0x90/0x90 [ 24.741908][ T333] ? kasan_save_stack+0x3d/0x50 [ 24.741911][ T333] ? kasan_save_track+0x14/0x30 [ 24.741912][ T333] ? __kasan_kmalloc+0x7b/0x90 [ 24.741913][ T333] ? __kmalloc_cache_noprof+0x29a/0x620 [ 24.741915][ T333] ? packet_mc_add+0x13b/0x890 [ 24.741916][ T333] ? packet_setsockopt+0x1953/0x21e0 [ 24.741918][ T333] ? do_sock_setsockopt+0x115/0x490 [ 24.741922][ T333] _printk+0xc7/0x100 [ 24.741925][ T333] ? snapshot_read.cold+0x21/0x21 [ 24.741929][ T333] ? netdev_name+0x43/0x60 [ 24.741933][ T333] ? __netdev_printk+0x17f/0x1d0 [ 24.741936][ T333] netdev_info+0xe2/0x116 [ 24.741938][ T333] ? netdev_notice+0x120/0x120 [ 24.741945][ T333] ? mutex_is_locked+0x1c/0x50 [ 24.741947][ T333] __dev_set_promiscuity.cold+0x7a/0x104 [ 24.741951][ T333] netif_set_promiscuity+0x4c/0xc0 [ 24.741956][ T333] dev_set_promiscuity+0xa1/0x230 [ 24.741958][ T333] ? __asan_memset+0x27/0x50 [ 24.741962][ T333] packet_mc_add+0x54e/0x890 [ 24.741964][ T333] ? __might_fault+0x97/0x140 [ 24.741968][ T333] ? __might_fault+0x97/0x140 [ 24.741970][ T333] ? _copy_from_user+0x42/0x90 [ 24.741975][ T333] packet_setsockopt+0x1953/0x21e0 [ 24.741978][ T333] ? packet_bind+0x170/0x170 [ 24.741982][ T333] ? do_sock_getsockopt+0x6f6/0xb20 [ 24.741987][ T333] ? sock_poll+0x6b0/0x6b0 [ 24.741990][ T333] ? rcu_is_watching+0x16/0xd0 [ 24.741992][ T333] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.741996][ T333] ? __local_bh_enable_ip+0xaa/0x150 [ 24.742001][ T333] do_sock_setsockopt+0x115/0x490 [ 24.742004][ T333] ? put_user_ifreq+0x90/0x90 [ 24.742010][ T333] __sys_setsockopt+0xe4/0x150 [ 24.742015][ T333] __x64_sys_setsockopt+0xbd/0x180 [ 24.742016][ T333] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.742018][ T333] ? lockdep_hardirqs_on+0x91/0x130 [ 24.742021][ T333] ? do_syscall_64+0xa6/0x530 [ 24.742023][ T333] do_syscall_64+0xff/0x530 [ 24.742024][ T333] ? exc_page_fault+0xee/0x100 [ 24.742026][ T333] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.742028][ T333] RIP: 0033:0x7f86e01412de [ 24.742032][ 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.742034][ T333] RSP: 002b:00007ffe3f82c128 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 24.742036][ T333] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f86e01412de [ 24.742038][ T333] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 24.742039][ T333] RBP: 00007ffe3f82c260 R08: 0000000000000010 R09: 000055c95eeb9530 [ 24.742040][ T333] R10: 00007ffe3f82c1a0 R11: 0000000000000246 R12: 0000000000000001 [ 24.742040][ T333] R13: 000055c95eeb9918 R14: 000055c95eeb9690 R15: 0000000000000000 [ 24.742052][ T333] [ 26.724114][ T328] eth0: left promiscuous mode [ 26.724136][ T328] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.724139][ T328] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 328, name: tcpdump [ 26.724141][ T328] preempt_count: 1, expected: 0 [ 26.724142][ T328] RCU nest depth: 0, expected: 0 [ 26.724143][ T328] locks held by tcpdump/328: 6, last CPU#2: [ 26.724146][ T328] #0: ff1100000cc272f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 26.724161][ T328] #1: ffffffff87322700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 26.724169][ T328] #2: ffffffff86b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.724176][ T328] #3: ffffffff86b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.724180][ T328] #4: ffffffff86a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.724185][ T328] #5: ffffffff86a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.724190][ T328] irq event stamp: 67658 [ 26.724191][ T328] hardirqs last enabled at (67657): [] __down_trylock_console_sem+0x86/0xa0 [ 26.724195][ T328] hardirqs last disabled at (67658): [] console_emit_next_record+0x3f8/0x4f0 [ 26.724197][ T328] softirqs last enabled at (67532): [] handle_softirqs+0x67c/0x900 [ 26.724201][ T328] softirqs last disabled at (67519): [] __irq_exit_rcu+0x145/0x1c0 [ 26.724204][ T328] Preemption disabled at: [ 26.724205][ T328] [] vprintk_emit+0x31b/0x3e0 [ 26.724212][ T328] CPU: 2 UID: 72 PID: 328 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.724216][ T328] Tainted: [W]=WARN [ 26.724217][ T328] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.724219][ T328] Call Trace: [ 26.724221][ T328] [ 26.724223][ T328] dump_stack_lvl+0x6f/0xa0 [ 26.724230][ T328] ? vprintk_emit+0x31b/0x3e0 [ 26.724232][ T328] __might_resched.cold+0x1fe/0x2c1 [ 26.724239][ T328] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.724244][ T328] ? __kmalloc_noprof+0xdb/0x760 [ 26.724252][ T328] __kmalloc_noprof+0x443/0x760 [ 26.724256][ T328] ? alloc_buf.isra.0+0x4b/0x260 [ 26.724265][ T328] ? do_raw_spin_unlock+0x59/0x250 [ 26.724267][ T328] alloc_buf.isra.0+0x4b/0x260 [ 26.724273][ T328] put_chars+0x1e1/0x2f0 [ 26.724278][ T328] ? __send_to_port+0x420/0x420 [ 26.724283][ T328] ? validate_chain+0x38b/0xc20 [ 26.724292][ T328] hvc_console_print+0x292/0x780 [ 26.724303][ T328] ? hvc_write+0x3a0/0x3a0 [ 26.724308][ T328] ? rcu_is_watching+0x16/0xd0 [ 26.724312][ T328] ? lock_acquire+0x13c/0x160 [ 26.724319][ T328] console_emit_next_record+0x252/0x4f0 [ 26.724325][ T328] ? devkmsg_read+0x4e0/0x4e0 [ 26.724332][ T328] ? rcu_is_watching+0x16/0xd0 [ 26.724335][ T328] ? lock_acquire+0x13c/0x160 [ 26.724342][ T328] console_flush_one_record+0x46f/0x710 [ 26.724348][ T328] ? console_emit_next_record+0x4f0/0x4f0 [ 26.724350][ T328] ? __lock_acquire+0x518/0xc20 [ 26.724360][ T328] console_unlock+0xee/0x1f0 [ 26.724364][ T328] ? console_flush_one_record+0x710/0x710 [ 26.724366][ T328] ? rcu_is_watching+0x16/0xd0 [ 26.724369][ T328] ? lock_acquire+0x60/0x160 [ 26.724376][ T328] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.724379][ T328] ? vprintk_emit+0x320/0x3e0 [ 26.724384][ T328] vprintk_emit+0x37c/0x3e0 [ 26.724390][ T328] ? wake_up_klogd_work_func+0x90/0x90 [ 26.724396][ T328] ? __lock_acquire+0x518/0xc20 [ 26.724402][ T328] _printk+0xc7/0x100 [ 26.724407][ T328] ? snapshot_read.cold+0x21/0x21 [ 26.724410][ T328] ? lock_acquire.part.0+0xd4/0x280 [ 26.724416][ T328] ? rcu_is_watching+0x16/0xd0 [ 26.724419][ T328] ? netdev_name+0x43/0x60 [ 26.724425][ T328] ? __netdev_printk+0x17f/0x1d0 [ 26.724432][ T328] netdev_info+0xe2/0x116 [ 26.724436][ T328] ? netdev_notice+0x120/0x120 [ 26.724438][ T328] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 26.724442][ T328] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 26.724448][ T328] ? ww_mutex_lock+0x160/0x160 [ 26.724451][ T328] ? lock_acquire.part.0+0xd4/0x280 [ 26.724455][ T328] ? ref_tracker_alloc+0x430/0x430 [ 26.724459][ T328] ? packet_release+0x363/0xc40 [ 26.724463][ T328] ? __fput+0x363/0xac0 [ 26.724467][ T328] ? mutex_is_locked+0x1c/0x50 [ 26.724472][ T328] __dev_set_promiscuity.cold+0x7a/0x104 [ 26.724479][ T328] netif_set_promiscuity+0x4c/0xc0 [ 26.724485][ T328] dev_set_promiscuity+0xa1/0x230 [ 26.724491][ T328] packet_release+0x4cb/0xc40 [ 26.724498][ T328] ? packet_set_ring+0x1740/0x1740 [ 26.724504][ T328] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 26.724512][ T328] __sock_release+0xb8/0x280 [ 26.724519][ T328] sock_close+0x18/0x20 [ 26.724522][ T328] __fput+0x363/0xac0 [ 26.724531][ T328] fput_close_sync+0xde/0x1b0 [ 26.724534][ T328] ? alloc_file_clone+0xe0/0xe0 [ 26.724538][ T328] ? do_raw_spin_unlock+0x59/0x250 [ 26.724545][ T328] __x64_sys_close+0x8b/0xf0 [ 26.724549][ T328] do_syscall_64+0xff/0x530 [ 26.724552][ T328] ? exc_page_fault+0xee/0x100 [ 26.724557][ T328] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.724560][ T328] RIP: 0033:0x7f4b7d30f54e [ 26.724565][ 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.724567][ T328] RSP: 002b:00007ffef2bce260 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 26.724571][ T328] RAX: ffffffffffffffda RBX: 000055c2d1f32690 RCX: 00007f4b7d30f54e [ 26.724573][ T328] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 26.724575][ T328] RBP: 00007ffef2bce270 R08: 0000000000000000 R09: 0000000000000000 [ 26.724576][ T328] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 26.724577][ T328] R13: 00000000fffffffe R14: 000055c2c1383760 R15: 0000000000000001 [ 26.724590][ T328] [ 26.837099][ T333] eth1: left promiscuous mode [ 27.187070][ T211] test_team1: Port device eth1 removed [ 27.190701][ T211] test_team1: Port device eth0 removed [ 27.229082][ T211] teamd (211) used greatest stack depth: 23912 bytes left [ 27.371461][ T215] test_team2: Port device eth1 removed [ 27.375596][ T215] test_team2: Port device eth0 removed