[ 9.657135][ T191] ip (191) used greatest stack depth: 24344 bytes left [ 9.657155][ T191] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.657158][ T191] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 191, name: ip [ 9.657160][ T191] preempt_count: 2, expected: 0 [ 9.657161][ T191] RCU nest depth: 0, expected: 0 [ 9.657162][ T191] locks held by ip/191: 5, last CPU#0: [ 9.657165][ T191] #0: ffffffffa84027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.657180][ T191] #1: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.657187][ T191] #2: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.657192][ T191] #3: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.657197][ T191] #4: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.657203][ T191] irq event stamp: 21938 [ 9.657204][ T191] hardirqs last enabled at (21937): [] __down_trylock_console_sem+0x86/0xa0 [ 9.657209][ T191] hardirqs last disabled at (21938): [] console_emit_next_record+0x3f8/0x4f0 [ 9.657211][ T191] softirqs last enabled at (21580): [] handle_softirqs+0x67c/0x900 [ 9.657214][ T191] softirqs last disabled at (21571): [] __irq_exit_rcu+0x145/0x1c0 [ 9.657218][ T191] Preemption disabled at: [ 9.657219][ T191] [<0000000000000000>] 0x0 [ 9.657227][ T191] CPU: 0 UID: 0 PID: 191 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.657232][ T191] Tainted: [W]=WARN [ 9.657233][ T191] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.657235][ T191] Call Trace: [ 9.657238][ T191] [ 9.657240][ T191] dump_stack_lvl+0x6f/0xa0 [ 9.657247][ T191] __might_resched.cold+0x1fe/0x2c1 [ 9.657253][ T191] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.657258][ T191] ? __kmalloc_noprof+0xdb/0x760 [ 9.657265][ T191] __kmalloc_noprof+0x443/0x760 [ 9.657269][ T191] ? alloc_buf.isra.0+0x4b/0x260 [ 9.657278][ T191] ? do_raw_spin_unlock+0x59/0x250 [ 9.657281][ T191] alloc_buf.isra.0+0x4b/0x260 [ 9.657287][ T191] put_chars+0x1e1/0x2f0 [ 9.657292][ T191] ? __send_to_port+0x420/0x420 [ 9.657295][ T191] ? printk_get_next_message+0x2fe/0x7d0 [ 9.657300][ T191] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.657304][ T191] ? validate_chain+0x38b/0xc20 [ 9.657312][ T191] hvc_console_print+0x292/0x780 [ 9.657317][ T191] ? __lock_acquire+0x518/0xc20 [ 9.657319][ T191] ? __lock_acquire+0x518/0xc20 [ 9.657327][ T191] ? hvc_write+0x3a0/0x3a0 [ 9.657333][ T191] ? rcu_is_watching+0x16/0xd0 [ 9.657337][ T191] ? lock_acquire+0x13c/0x160 [ 9.657343][ T191] console_emit_next_record+0x252/0x4f0 [ 9.657349][ T191] ? devkmsg_read+0x4e0/0x4e0 [ 9.657355][ T191] ? rcu_is_watching+0x16/0xd0 [ 9.657358][ T191] ? lock_acquire+0x13c/0x160 [ 9.657365][ T191] console_flush_one_record+0x46f/0x710 [ 9.657371][ T191] ? console_emit_next_record+0x4f0/0x4f0 [ 9.657373][ T191] ? __lock_acquire+0x518/0xc20 [ 9.657382][ T191] console_unlock+0xee/0x1f0 [ 9.657386][ T191] ? console_flush_one_record+0x710/0x710 [ 9.657389][ T191] ? rcu_is_watching+0x16/0xd0 [ 9.657392][ T191] ? lock_acquire+0x60/0x160 [ 9.657398][ T191] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.657401][ T191] ? vprintk_emit+0x320/0x3e0 [ 9.657405][ T191] vprintk_emit+0x37c/0x3e0 [ 9.657411][ T191] ? wake_up_klogd_work_func+0x90/0x90 [ 9.657415][ T191] ? __lock_acquire+0x518/0xc20 [ 9.657422][ T191] _printk+0xc7/0x100 [ 9.657427][ T191] ? snapshot_read.cold+0x21/0x21 [ 9.657431][ T191] ? do_raw_spin_lock+0x131/0x280 [ 9.657435][ T191] ? __rwlock_init+0x150/0x150 [ 9.657440][ T191] ? do_raw_spin_lock+0x131/0x280 [ 9.657444][ T191] do_exit.cold+0x82/0x9c [ 9.657449][ T191] ? exit_notify+0x890/0x890 [ 9.657451][ T191] ? __lock_release.isra.0+0x69/0x1a0 [ 9.657456][ T191] ? rcu_is_watching+0x16/0xd0 [ 9.657462][ T191] do_group_exit+0xb8/0x370 [ 9.657467][ T191] __x64_sys_exit_group+0x3c/0x50 [ 9.657470][ T191] x64_sys_call+0x1567/0x1570 [ 9.657473][ T191] do_syscall_64+0xff/0x530 [ 9.657477][ T191] ? exc_page_fault+0xee/0x100 [ 9.657482][ T191] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.657486][ T191] RIP: 0033:0x7f4dda4011b8 [ 9.657489][ T191] Code: Unable to access opcode bytes at 0x7f4dda40118e. [ 9.657490][ T191] RSP: 002b:00007ffc0ae5c0a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.657494][ T191] RAX: ffffffffffffffda RBX: 00007f4dda531f88 RCX: 00007f4dda4011b8 [ 9.657495][ T191] RDX: 00007f4dda14bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.657497][ T191] RBP: 00007ffc0ae5c100 R08: 0000000000000000 R09: 0000000000000050 [ 9.657498][ T191] R10: 00007ffc0ae5bec0 R11: 0000000000000246 R12: 0000000000000001 [ 9.657499][ T191] R13: 0000000000000000 R14: 00007f4dda530680 R15: 00007f4dda531fa0 [ 9.657511][ T191] [ 10.055006][ T200] ip (200) used greatest stack depth: 24176 bytes left [ 10.287319][ T210] test_team1: Mode changed to "activebackup" [ 10.291003][ T210] test_team1: Port device eth0 added [ 10.298374][ T210] test_team1: Port device eth1 added [ 10.669597][ T214] test_team2: Mode changed to "activebackup" [ 10.669615][ T214] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.669617][ T214] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 214, name: teamd [ 10.669619][ T214] preempt_count: 1, expected: 0 [ 10.669620][ T214] RCU nest depth: 0, expected: 0 [ 10.669621][ T214] locks held by teamd/214: 7, last CPU#2: [ 10.669623][ T214] #0: ffffffffa8d87708 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 10.669635][ T214] #1: ffffffffa8d877c0 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x128/0x160 [ 10.669639][ T214] #2: ffffffffa8d22700 (rtnl_mutex){+.+.}-{4:4}, at: team_nl_options_set_doit+0xa7/0xd00 [ 10.669645][ T214] #3: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.669650][ T214] #4: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.669653][ T214] #5: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.669656][ T214] #6: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.669659][ T214] irq event stamp: 9210 [ 10.669660][ T214] hardirqs last enabled at (9209): [] __down_trylock_console_sem+0x86/0xa0 [ 10.669664][ T214] hardirqs last disabled at (9210): [] console_emit_next_record+0x3f8/0x4f0 [ 10.669666][ T214] softirqs last enabled at (9164): [] handle_softirqs+0x67c/0x900 [ 10.669669][ T214] softirqs last disabled at (9155): [] __irq_exit_rcu+0x145/0x1c0 [ 10.669672][ T214] Preemption disabled at: [ 10.669672][ T214] [] vprintk_emit+0x31b/0x3e0 [ 10.669678][ T214] CPU: 2 UID: 0 PID: 214 Comm: teamd Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.669681][ T214] Tainted: [W]=WARN [ 10.669682][ T214] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.669683][ T214] Call Trace: [ 10.669685][ T214] [ 10.669687][ T214] dump_stack_lvl+0x6f/0xa0 [ 10.669692][ T214] ? vprintk_emit+0x31b/0x3e0 [ 10.669694][ T214] __might_resched.cold+0x1fe/0x2c1 [ 10.669698][ T214] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.669702][ T214] ? __kmalloc_noprof+0xdb/0x760 [ 10.669707][ T214] __kmalloc_noprof+0x443/0x760 [ 10.669710][ T214] ? alloc_buf.isra.0+0x4b/0x260 [ 10.669716][ T214] ? do_raw_spin_unlock+0x59/0x250 [ 10.669718][ T214] alloc_buf.isra.0+0x4b/0x260 [ 10.669722][ T214] put_chars+0x1e1/0x2f0 [ 10.669725][ T214] ? __send_to_port+0x420/0x420 [ 10.669727][ T214] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.669731][ T214] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.669734][ T214] ? validate_chain+0x38b/0xc20 [ 10.669740][ T214] hvc_console_print+0x292/0x780 [ 10.669743][ T214] ? __lock_acquire+0x518/0xc20 [ 10.669749][ T214] ? hvc_write+0x3a0/0x3a0 [ 10.669753][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.669757][ T214] console_emit_next_record+0x252/0x4f0 [ 10.669761][ T214] ? devkmsg_read+0x4e0/0x4e0 [ 10.669765][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.669767][ T214] ? lock_acquire+0x13c/0x160 [ 10.669771][ T214] console_flush_one_record+0x46f/0x710 [ 10.669775][ T214] ? console_emit_next_record+0x4f0/0x4f0 [ 10.669776][ T214] ? __lock_acquire+0x518/0xc20 [ 10.669782][ T214] console_unlock+0xee/0x1f0 [ 10.669784][ T214] ? console_flush_one_record+0x710/0x710 [ 10.669785][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.669787][ T214] ? lock_acquire+0x60/0x160 [ 10.669791][ T214] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.669793][ T214] ? vprintk_emit+0x320/0x3e0 [ 10.669796][ T214] vprintk_emit+0x37c/0x3e0 [ 10.669799][ T214] ? wake_up_klogd_work_func+0x90/0x90 [ 10.669802][ T214] ? __team_carrier_check.part.0+0x140/0x140 [ 10.669806][ T214] _printk+0xc7/0x100 [ 10.669810][ T214] ? snapshot_read.cold+0x21/0x21 [ 10.669814][ T214] ? team_nl_fill_one_port_get+0x530/0x530 [ 10.669816][ T214] ? netdev_name+0x43/0x60 [ 10.669819][ T214] ? __netdev_printk+0x17f/0x1d0 [ 10.669822][ T214] netdev_info+0xe2/0x116 [ 10.669825][ T214] ? netdev_notice+0x120/0x120 [ 10.669829][ T214] ? __lock_release.isra.0+0x69/0x1a0 [ 10.669832][ T214] ? team_options_register+0x26/0x30 [ 10.669836][ T214] team_mode_option_set.cold+0x45/0xe3 [ 10.669841][ T214] team_nl_options_set_doit+0x59d/0xd00 [ 10.669847][ T214] ? team_nl_options_get_doit+0x3e0/0x3e0 [ 10.669850][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.669856][ T214] ? __nla_parse+0x22/0x30 [ 10.669860][ T214] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 10.669864][ T214] ? genl_family_rcv_msg_doit+0x206/0x300 [ 10.669866][ T214] genl_family_rcv_msg_doit+0x206/0x300 [ 10.669870][ T214] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 10.669876][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.669878][ T214] ? cap_capable+0x1d7/0x3d0 [ 10.669881][ T214] ? write_profile+0xf0/0xf0 [ 10.669884][ T214] ? unwind_get_return_address+0x67/0xd0 [ 10.669889][ T214] genl_family_rcv_msg+0x3a4/0x640 [ 10.669893][ T214] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 10.669896][ T214] ? team_nl_options_get_doit+0x3e0/0x3e0 [ 10.669898][ T214] ? __lock_acquire+0x518/0xc20 [ 10.669904][ T214] genl_rcv_msg+0xbb/0x160 [ 10.669907][ T214] netlink_rcv_skb+0x14e/0x3a0 [ 10.669909][ T214] ? genl_family_rcv_msg+0x640/0x640 [ 10.669912][ T214] ? netlink_ack+0xcd0/0xcd0 [ 10.669919][ T214] ? netlink_deliver_tap+0xc5/0x330 [ 10.669921][ T214] ? netlink_deliver_tap+0x13c/0x330 [ 10.669924][ T214] genl_rcv+0x28/0x40 [ 10.669926][ T214] netlink_unicast+0x486/0x750 [ 10.669930][ T214] ? netlink_attachskb+0x810/0x810 [ 10.669933][ T214] ? __lock_acquire+0x518/0xc20 [ 10.669937][ T214] netlink_sendmsg+0x735/0xc60 [ 10.669941][ T214] ? netlink_unicast+0x750/0x750 [ 10.669945][ T214] ? __might_fault+0x97/0x140 [ 10.669951][ T214] ____sys_sendmsg+0x415/0x880 [ 10.669954][ T214] ? copy_msghdr_from_user+0x279/0x420 [ 10.669956][ T214] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 10.669957][ T214] ? move_addr_to_kernel+0x40/0x40 [ 10.669961][ T214] ? __lock_acquire+0x518/0xc20 [ 10.669963][ T214] ? ddebug_proc_write+0x66/0xd0 [ 10.669966][ T214] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.669969][ T214] ___sys_sendmsg+0x14e/0x1d0 [ 10.669972][ T214] ? copy_msghdr_from_user+0x420/0x420 [ 10.669974][ T214] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.669980][ T214] ? __lock_acquire+0x518/0xc20 [ 10.669987][ T214] ? __lock_release.isra.0+0x69/0x1a0 [ 10.669989][ T214] ? __lock_release.isra.0+0x69/0x1a0 [ 10.669994][ T214] __sys_sendmsg+0x12c/0x1d0 [ 10.669996][ T214] ? __sys_sendmsg_sock+0x20/0x20 [ 10.669998][ T214] ? do_pipe2+0x142/0x1b0 [ 10.670004][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.670006][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.670009][ T214] do_syscall_64+0xff/0x530 [ 10.670012][ T214] ? exc_page_fault+0xee/0x100 [ 10.670015][ T214] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.670018][ T214] RIP: 0033:0x7f70b959654e [ 10.670022][ T214] 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.670024][ T214] RSP: 002b:00007ffed3fff680 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.670026][ T214] RAX: ffffffffffffffda RBX: 000056161ef46300 RCX: 00007f70b959654e [ 10.670028][ T214] RDX: 0000000000000000 RSI: 00007ffed3fff720 RDI: 0000000000000007 [ 10.670029][ T214] RBP: 00007ffed3fff690 R08: 0000000000000000 R09: 0000000000000000 [ 10.670029][ T214] R10: 0000000000000000 R11: 0000000000000202 R12: 000056161ef468e0 [ 10.670030][ T214] R13: 00007ffed3fff720 R14: 000056161ef46210 R15: 0000000000000000 [ 10.670037][ T214] [ 10.720108][ T214] test_team2: Port device eth0 added [ 10.723712][ T214] test_team2: Port device eth1 added [ 12.374824][ T236] test_team2: entered promiscuous mode [ 12.374842][ T236] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.374844][ T236] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 236, name: tcpdump [ 12.374846][ T236] preempt_count: 1, expected: 0 [ 12.374847][ T236] RCU nest depth: 0, expected: 0 [ 12.374848][ T236] locks held by tcpdump/236: 5, last CPU#2: [ 12.374850][ T236] #0: ffffffffa8d22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 12.374862][ T236] #1: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.374869][ T236] #2: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.374872][ T236] #3: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.374875][ T236] #4: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.374878][ T236] irq event stamp: 48292 [ 12.374879][ T236] hardirqs last enabled at (48291): [] __down_trylock_console_sem+0x86/0xa0 [ 12.374883][ T236] hardirqs last disabled at (48292): [] console_emit_next_record+0x3f8/0x4f0 [ 12.374884][ T236] softirqs last enabled at (48262): [] packet_do_bind+0x4b2/0xc80 [ 12.374886][ T236] softirqs last disabled at (48260): [] release_sock+0x21/0x240 [ 12.374891][ T236] Preemption disabled at: [ 12.374891][ T236] [] vprintk_emit+0x31b/0x3e0 [ 12.374897][ T236] CPU: 2 UID: 0 PID: 236 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.374900][ T236] Tainted: [W]=WARN [ 12.374901][ T236] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.374903][ T236] Call Trace: [ 12.374905][ T236] [ 12.374906][ T236] dump_stack_lvl+0x6f/0xa0 [ 12.374911][ T236] ? vprintk_emit+0x31b/0x3e0 [ 12.374913][ T236] __might_resched.cold+0x1fe/0x2c1 [ 12.374918][ T236] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.374921][ T236] ? __kmalloc_noprof+0xdb/0x760 [ 12.374927][ T236] __kmalloc_noprof+0x443/0x760 [ 12.374929][ T236] ? alloc_buf.isra.0+0x4b/0x260 [ 12.374936][ T236] ? do_raw_spin_unlock+0x59/0x250 [ 12.374938][ T236] alloc_buf.isra.0+0x4b/0x260 [ 12.374941][ T236] put_chars+0x1e1/0x2f0 [ 12.374945][ T236] ? __send_to_port+0x420/0x420 [ 12.374947][ T236] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.374951][ T236] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.374954][ T236] ? validate_chain+0x38b/0xc20 [ 12.374959][ T236] hvc_console_print+0x292/0x780 [ 12.374963][ T236] ? __lock_acquire+0x518/0xc20 [ 12.374968][ T236] ? hvc_write+0x3a0/0x3a0 [ 12.374971][ T236] ? rcu_is_watching+0x16/0xd0 [ 12.374976][ T236] console_emit_next_record+0x252/0x4f0 [ 12.374980][ T236] ? devkmsg_read+0x4e0/0x4e0 [ 12.374984][ T236] ? rcu_is_watching+0x16/0xd0 [ 12.374986][ T236] ? lock_acquire+0x13c/0x160 [ 12.374990][ T236] console_flush_one_record+0x46f/0x710 [ 12.374993][ T236] ? console_emit_next_record+0x4f0/0x4f0 [ 12.374995][ T236] ? __lock_acquire+0x518/0xc20 [ 12.375000][ T236] console_unlock+0xee/0x1f0 [ 12.375002][ T236] ? console_flush_one_record+0x710/0x710 [ 12.375004][ T236] ? rcu_is_watching+0x16/0xd0 [ 12.375006][ T236] ? lock_acquire+0x60/0x160 [ 12.375009][ T236] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.375011][ T236] ? vprintk_emit+0x320/0x3e0 [ 12.375014][ T236] vprintk_emit+0x37c/0x3e0 [ 12.375018][ T236] ? wake_up_klogd_work_func+0x90/0x90 [ 12.375019][ T236] ? kasan_save_stack+0x3d/0x50 [ 12.375021][ T236] ? kasan_save_track+0x14/0x30 [ 12.375023][ T236] ? __kasan_kmalloc+0x7b/0x90 [ 12.375024][ T236] ? __kmalloc_cache_noprof+0x29a/0x620 [ 12.375026][ T236] ? packet_mc_add+0x13b/0x890 [ 12.375027][ T236] ? packet_setsockopt+0x1953/0x21e0 [ 12.375029][ T236] ? do_sock_setsockopt+0x115/0x490 [ 12.375033][ T236] _printk+0xc7/0x100 [ 12.375037][ T236] ? snapshot_read.cold+0x21/0x21 [ 12.375041][ T236] ? netdev_name+0x43/0x60 [ 12.375044][ T236] ? __netdev_printk+0x17f/0x1d0 [ 12.375048][ T236] netdev_info+0xe2/0x116 [ 12.375050][ T236] ? netdev_notice+0x120/0x120 [ 12.375057][ T236] ? mutex_is_locked+0x1c/0x50 [ 12.375060][ T236] __dev_set_promiscuity.cold+0x7a/0x104 [ 12.375064][ T236] netif_set_promiscuity+0x4c/0xc0 [ 12.375068][ T236] dev_set_promiscuity+0xa1/0x230 [ 12.375071][ T236] ? __asan_memset+0x27/0x50 [ 12.375074][ T236] packet_mc_add+0x54e/0x890 [ 12.375076][ T236] ? __might_fault+0x97/0x140 [ 12.375081][ T236] ? __might_fault+0x97/0x140 [ 12.375083][ T236] ? _copy_from_user+0x42/0x90 [ 12.375088][ T236] packet_setsockopt+0x1953/0x21e0 [ 12.375091][ T236] ? packet_bind+0x170/0x170 [ 12.375095][ T236] ? do_sock_getsockopt+0x6f6/0xb20 [ 12.375099][ T236] ? sock_poll+0x6b0/0x6b0 [ 12.375103][ T236] ? rcu_is_watching+0x16/0xd0 [ 12.375105][ T236] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.375109][ T236] ? __local_bh_enable_ip+0xaa/0x150 [ 12.375113][ T236] do_sock_setsockopt+0x115/0x490 [ 12.375117][ T236] ? put_user_ifreq+0x90/0x90 [ 12.375118][ T236] ? rcu_is_watching+0x16/0xd0 [ 12.375124][ T236] __sys_setsockopt+0xe4/0x150 [ 12.375128][ T236] __x64_sys_setsockopt+0xbd/0x180 [ 12.375130][ T236] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.375132][ T236] ? lockdep_hardirqs_on+0x91/0x130 [ 12.375139][ T236] ? do_syscall_64+0xa6/0x530 [ 12.375141][ T236] do_syscall_64+0xff/0x530 [ 12.375142][ T236] ? exc_page_fault+0xee/0x100 [ 12.375145][ T236] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.375147][ T236] RIP: 0033:0x7f0231be42de [ 12.375151][ 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.375153][ T236] RSP: 002b:00007fff2a1c4fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 12.375155][ T236] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f0231be42de [ 12.375157][ T236] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 12.375158][ T236] RBP: 00007fff2a1c50e0 R08: 0000000000000010 R09: 0000559be2832530 [ 12.375159][ T236] R10: 00007fff2a1c5020 R11: 0000000000000246 R12: 0000000000000001 [ 12.375159][ T236] R13: 0000559be2832918 R14: 0000559be2832690 R15: 0000000000000000 [ 12.375166][ T236] [ 12.403177][ T236] eth0: entered promiscuous mode [ 12.403592][ T236] eth1: entered promiscuous mode [ 14.349793][ T236] test_team2: left promiscuous mode [ 14.349911][ T236] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.349913][ T236] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 236, name: tcpdump [ 14.349914][ T236] preempt_count: 1, expected: 0 [ 14.349916][ T236] RCU nest depth: 0, expected: 0 [ 14.349917][ T236] locks held by tcpdump/236: 6, last CPU#1: [ 14.349919][ T236] #0: ff11000004c2c0f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 14.349932][ T236] #1: ffffffffa8d22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 14.349939][ T236] #2: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.349945][ T236] #3: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.349948][ T236] #4: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.349951][ T236] #5: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.349955][ T236] irq event stamp: 64412 [ 14.349956][ T236] hardirqs last enabled at (64411): [] __down_trylock_console_sem+0x86/0xa0 [ 14.349959][ T236] hardirqs last disabled at (64412): [] console_emit_next_record+0x3f8/0x4f0 [ 14.349961][ T236] softirqs last enabled at (64292): [] handle_softirqs+0x67c/0x900 [ 14.349964][ T236] softirqs last disabled at (64143): [] __irq_exit_rcu+0x145/0x1c0 [ 14.349967][ T236] Preemption disabled at: [ 14.349968][ T236] [] vprintk_emit+0x31b/0x3e0 [ 14.349973][ T236] CPU: 1 UID: 72 PID: 236 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.349977][ T236] Tainted: [W]=WARN [ 14.349978][ T236] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.349979][ T236] Call Trace: [ 14.349981][ T236] [ 14.349982][ T236] dump_stack_lvl+0x6f/0xa0 [ 14.349988][ T236] ? vprintk_emit+0x31b/0x3e0 [ 14.349989][ T236] __might_resched.cold+0x1fe/0x2c1 [ 14.349994][ T236] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.349997][ T236] ? __kmalloc_noprof+0xdb/0x760 [ 14.350003][ T236] __kmalloc_noprof+0x443/0x760 [ 14.350005][ T236] ? alloc_buf.isra.0+0x4b/0x260 [ 14.350012][ T236] ? do_raw_spin_unlock+0x59/0x250 [ 14.350014][ T236] alloc_buf.isra.0+0x4b/0x260 [ 14.350018][ T236] put_chars+0x1e1/0x2f0 [ 14.350020][ T236] ? check_prev_add+0xef/0xe90 [ 14.350023][ T236] ? __send_to_port+0x420/0x420 [ 14.350027][ T236] ? validate_chain+0x34a/0xc20 [ 14.350032][ T236] hvc_console_print+0x292/0x780 [ 14.350039][ T236] ? hvc_write+0x3a0/0x3a0 [ 14.350042][ T236] ? rcu_is_watching+0x16/0xd0 [ 14.350046][ T236] ? lock_acquire+0x13c/0x160 [ 14.350050][ T236] console_emit_next_record+0x252/0x4f0 [ 14.350053][ T236] ? devkmsg_read+0x4e0/0x4e0 [ 14.350057][ T236] ? rcu_is_watching+0x16/0xd0 [ 14.350059][ T236] ? lock_acquire+0x13c/0x160 [ 14.350064][ T236] console_flush_one_record+0x46f/0x710 [ 14.350068][ T236] ? console_emit_next_record+0x4f0/0x4f0 [ 14.350069][ T236] ? __lock_acquire+0x518/0xc20 [ 14.350075][ T236] console_unlock+0xee/0x1f0 [ 14.350077][ T236] ? console_flush_one_record+0x710/0x710 [ 14.350078][ T236] ? rcu_is_watching+0x16/0xd0 [ 14.350080][ T236] ? lock_acquire+0x60/0x160 [ 14.350084][ T236] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.350086][ T236] ? vprintk_emit+0x320/0x3e0 [ 14.350089][ T236] vprintk_emit+0x37c/0x3e0 [ 14.350092][ T236] ? wake_up_klogd_work_func+0x90/0x90 [ 14.350096][ T236] ? __lock_acquire+0x518/0xc20 [ 14.350099][ T236] _printk+0xc7/0x100 [ 14.350103][ T236] ? snapshot_read.cold+0x21/0x21 [ 14.350105][ T236] ? lock_acquire.part.0+0xd4/0x280 [ 14.350108][ T236] ? rcu_is_watching+0x16/0xd0 [ 14.350110][ T236] ? netdev_name+0x43/0x60 [ 14.350113][ T236] ? __netdev_printk+0x17f/0x1d0 [ 14.350117][ T236] netdev_info+0xe2/0x116 [ 14.350119][ T236] ? netdev_notice+0x120/0x120 [ 14.350121][ T236] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 14.350123][ T236] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.350128][ T236] ? ww_mutex_lock+0x160/0x160 [ 14.350129][ T236] ? lock_acquire.part.0+0xd4/0x280 [ 14.350132][ T236] ? ref_tracker_alloc+0x430/0x430 [ 14.350135][ T236] ? packet_release+0x363/0xc40 [ 14.350137][ T236] ? __fput+0x363/0xac0 [ 14.350146][ T236] ? mutex_is_locked+0x1c/0x50 [ 14.350149][ T236] __dev_set_promiscuity.cold+0x7a/0x104 [ 14.350154][ T236] netif_set_promiscuity+0x4c/0xc0 [ 14.350158][ T236] dev_set_promiscuity+0xa1/0x230 [ 14.350162][ T236] packet_release+0x4cb/0xc40 [ 14.350166][ T236] ? packet_set_ring+0x1740/0x1740 [ 14.350170][ T236] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 14.350175][ T236] __sock_release+0xb8/0x280 [ 14.350178][ T236] sock_close+0x18/0x20 [ 14.350180][ T236] __fput+0x363/0xac0 [ 14.350185][ T236] fput_close_sync+0xde/0x1b0 [ 14.350188][ T236] ? alloc_file_clone+0xe0/0xe0 [ 14.350190][ T236] ? do_raw_spin_unlock+0x59/0x250 [ 14.350194][ T236] __x64_sys_close+0x8b/0xf0 [ 14.350197][ T236] do_syscall_64+0xff/0x530 [ 14.350199][ T236] ? exc_page_fault+0xee/0x100 [ 14.350202][ T236] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.350204][ T236] RIP: 0033:0x7f0231b5b54e [ 14.350208][ 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.350210][ T236] RSP: 002b:00007fff2a1c5110 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 14.350213][ T236] RAX: ffffffffffffffda RBX: 0000559be2832690 RCX: 00007f0231b5b54e [ 14.350214][ T236] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 14.350215][ T236] RBP: 00007fff2a1c5120 R08: 0000000000000000 R09: 0000000000000000 [ 14.350216][ T236] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 14.350217][ T236] R13: 00000000fffffffe R14: 0000559baed40760 R15: 0000000000000001 [ 14.350224][ T236] [ 14.381917][ T236] eth0: left promiscuous mode [ 14.382681][ T236] eth1: left promiscuous mode [ 14.990020][ T265] eth0: entered promiscuous mode [ 16.980297][ T265] eth0: left promiscuous mode [ 16.980315][ T265] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.980318][ T265] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 265, name: tcpdump [ 16.980319][ T265] preempt_count: 1, expected: 0 [ 16.980320][ T265] RCU nest depth: 0, expected: 0 [ 16.980321][ T265] locks held by tcpdump/265: 6, last CPU#1: [ 16.980324][ T265] #0: ff1100000b71a1b8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 16.980337][ T265] #1: ffffffffa8d22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 16.980343][ T265] #2: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.980348][ T265] #3: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.980351][ T265] #4: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.980354][ T265] #5: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 16.980358][ T265] irq event stamp: 58896 [ 16.980359][ T265] hardirqs last enabled at (58895): [] __down_trylock_console_sem+0x86/0xa0 [ 16.980362][ T265] hardirqs last disabled at (58896): [] console_emit_next_record+0x3f8/0x4f0 [ 16.980364][ T265] softirqs last enabled at (58744): [] packet_setsockopt+0xcdf/0x21e0 [ 16.980366][ T265] softirqs last disabled at (58742): [] release_sock+0x21/0x240 [ 16.980369][ T265] Preemption disabled at: [ 16.980370][ T265] [] vprintk_emit+0x31b/0x3e0 [ 16.980375][ T265] CPU: 1 UID: 72 PID: 265 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.980378][ T265] Tainted: [W]=WARN [ 16.980379][ T265] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.980380][ T265] Call Trace: [ 16.980382][ T265] [ 16.980384][ T265] dump_stack_lvl+0x6f/0xa0 [ 16.980389][ T265] ? vprintk_emit+0x31b/0x3e0 [ 16.980390][ T265] __might_resched.cold+0x1fe/0x2c1 [ 16.980395][ T265] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.980399][ T265] ? __kmalloc_noprof+0xdb/0x760 [ 16.980404][ T265] __kmalloc_noprof+0x443/0x760 [ 16.980407][ T265] ? alloc_buf.isra.0+0x4b/0x260 [ 16.980413][ T265] ? do_raw_spin_unlock+0x59/0x250 [ 16.980415][ T265] alloc_buf.isra.0+0x4b/0x260 [ 16.980419][ T265] put_chars+0x1e1/0x2f0 [ 16.980422][ T265] ? __send_to_port+0x420/0x420 [ 16.980426][ T265] ? validate_chain+0x38b/0xc20 [ 16.980431][ T265] hvc_console_print+0x292/0x780 [ 16.980439][ T265] ? hvc_write+0x3a0/0x3a0 [ 16.980441][ T265] ? rcu_is_watching+0x16/0xd0 [ 16.980445][ T265] ? lock_acquire+0x13c/0x160 [ 16.980449][ T265] console_emit_next_record+0x252/0x4f0 [ 16.980453][ T265] ? devkmsg_read+0x4e0/0x4e0 [ 16.980457][ T265] ? rcu_is_watching+0x16/0xd0 [ 16.980459][ T265] ? lock_acquire+0x13c/0x160 [ 16.980463][ T265] console_flush_one_record+0x46f/0x710 [ 16.980467][ T265] ? console_emit_next_record+0x4f0/0x4f0 [ 16.980468][ T265] ? __lock_acquire+0x518/0xc20 [ 16.980473][ T265] console_unlock+0xee/0x1f0 [ 16.980476][ T265] ? console_flush_one_record+0x710/0x710 [ 16.980477][ T265] ? rcu_is_watching+0x16/0xd0 [ 16.980479][ T265] ? lock_acquire+0x60/0x160 [ 16.980483][ T265] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.980485][ T265] ? vprintk_emit+0x320/0x3e0 [ 16.980488][ T265] vprintk_emit+0x37c/0x3e0 [ 16.980491][ T265] ? wake_up_klogd_work_func+0x90/0x90 [ 16.980494][ T265] ? __lock_acquire+0x518/0xc20 [ 16.980498][ T265] _printk+0xc7/0x100 [ 16.980502][ T265] ? snapshot_read.cold+0x21/0x21 [ 16.980503][ T265] ? lock_acquire.part.0+0xd4/0x280 [ 16.980507][ T265] ? rcu_is_watching+0x16/0xd0 [ 16.980509][ T265] ? netdev_name+0x43/0x60 [ 16.980516][ T265] ? __netdev_printk+0x17f/0x1d0 [ 16.980520][ T265] netdev_info+0xe2/0x116 [ 16.980522][ T265] ? netdev_notice+0x120/0x120 [ 16.980524][ T265] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.980526][ T265] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 16.980531][ T265] ? ww_mutex_lock+0x160/0x160 [ 16.980533][ T265] ? lock_acquire.part.0+0xd4/0x280 [ 16.980535][ T265] ? ref_tracker_alloc+0x430/0x430 [ 16.980538][ T265] ? packet_release+0x363/0xc40 [ 16.980540][ T265] ? __fput+0x363/0xac0 [ 16.980544][ T265] ? mutex_is_locked+0x1c/0x50 [ 16.980547][ T265] __dev_set_promiscuity.cold+0x7a/0x104 [ 16.980551][ T265] netif_set_promiscuity+0x4c/0xc0 [ 16.980556][ T265] dev_set_promiscuity+0xa1/0x230 [ 16.980559][ T265] packet_release+0x4cb/0xc40 [ 16.980563][ T265] ? packet_set_ring+0x1740/0x1740 [ 16.980567][ T265] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 16.980571][ T265] __sock_release+0xb8/0x280 [ 16.980575][ T265] sock_close+0x18/0x20 [ 16.980577][ T265] __fput+0x363/0xac0 [ 16.980582][ T265] fput_close_sync+0xde/0x1b0 [ 16.980584][ T265] ? alloc_file_clone+0xe0/0xe0 [ 16.980587][ T265] ? do_raw_spin_unlock+0x59/0x250 [ 16.980591][ T265] __x64_sys_close+0x8b/0xf0 [ 16.980593][ T265] do_syscall_64+0xff/0x530 [ 16.980595][ T265] ? exc_page_fault+0xee/0x100 [ 16.980598][ T265] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.980600][ T265] RIP: 0033:0x7f38260c954e [ 16.980605][ 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 [ 16.980606][ T265] RSP: 002b:00007fff98ede8f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 16.980609][ T265] RAX: ffffffffffffffda RBX: 00005626bd2ed690 RCX: 00007f38260c954e [ 16.980611][ T265] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 16.980611][ T265] RBP: 00007fff98ede900 R08: 0000000000000000 R09: 0000000000000000 [ 16.980612][ T265] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 16.980613][ T265] R13: 00000000fffffffe R14: 00005626b7165760 R15: 0000000000000001 [ 16.980620][ T265] [ 17.204311][ T277] eth0: entered promiscuous mode [ 18.240537][ T282] eth1: entered promiscuous mode [ 18.240555][ T282] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.240557][ T282] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 282, name: tcpdump [ 18.240558][ T282] preempt_count: 1, expected: 0 [ 18.240559][ T282] RCU nest depth: 0, expected: 0 [ 18.240560][ T282] locks held by tcpdump/282: 5, last CPU#1: [ 18.240563][ T282] #0: ffffffffa8d22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 18.240574][ T282] #1: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.240580][ T282] #2: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.240583][ T282] #3: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.240586][ T282] #4: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 18.240590][ T282] irq event stamp: 37364 [ 18.240591][ T282] hardirqs last enabled at (37363): [] __down_trylock_console_sem+0x86/0xa0 [ 18.240594][ T282] hardirqs last disabled at (37364): [] console_emit_next_record+0x3f8/0x4f0 [ 18.240596][ T282] softirqs last enabled at (37342): [] packet_do_bind+0x4b2/0xc80 [ 18.240598][ T282] softirqs last disabled at (37340): [] release_sock+0x21/0x240 [ 18.240602][ T282] Preemption disabled at: [ 18.240603][ T282] [] vprintk_emit+0x31b/0x3e0 [ 18.240608][ T282] CPU: 1 UID: 0 PID: 282 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.240611][ T282] Tainted: [W]=WARN [ 18.240612][ T282] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.240614][ T282] Call Trace: [ 18.240615][ T282] [ 18.240617][ T282] dump_stack_lvl+0x6f/0xa0 [ 18.240622][ T282] ? vprintk_emit+0x31b/0x3e0 [ 18.240624][ T282] __might_resched.cold+0x1fe/0x2c1 [ 18.240628][ T282] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.240632][ T282] ? __kmalloc_noprof+0xdb/0x760 [ 18.240637][ T282] __kmalloc_noprof+0x443/0x760 [ 18.240640][ T282] ? alloc_buf.isra.0+0x4b/0x260 [ 18.240646][ T282] ? do_raw_spin_unlock+0x59/0x250 [ 18.240648][ T282] alloc_buf.isra.0+0x4b/0x260 [ 18.240651][ T282] put_chars+0x1e1/0x2f0 [ 18.240655][ T282] ? __send_to_port+0x420/0x420 [ 18.240657][ T282] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.240661][ T282] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.240664][ T282] ? validate_chain+0x38b/0xc20 [ 18.240670][ T282] hvc_console_print+0x292/0x780 [ 18.240673][ T282] ? __lock_acquire+0x518/0xc20 [ 18.240679][ T282] ? hvc_write+0x3a0/0x3a0 [ 18.240682][ T282] ? rcu_is_watching+0x16/0xd0 [ 18.240686][ T282] console_emit_next_record+0x252/0x4f0 [ 18.240690][ T282] ? devkmsg_read+0x4e0/0x4e0 [ 18.240694][ T282] ? rcu_is_watching+0x16/0xd0 [ 18.240696][ T282] ? lock_acquire+0x13c/0x160 [ 18.240700][ T282] console_flush_one_record+0x46f/0x710 [ 18.240704][ T282] ? console_emit_next_record+0x4f0/0x4f0 [ 18.240705][ T282] ? __lock_acquire+0x518/0xc20 [ 18.240710][ T282] console_unlock+0xee/0x1f0 [ 18.240713][ T282] ? console_flush_one_record+0x710/0x710 [ 18.240714][ T282] ? rcu_is_watching+0x16/0xd0 [ 18.240716][ T282] ? lock_acquire+0x60/0x160 [ 18.240720][ T282] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.240722][ T282] ? vprintk_emit+0x320/0x3e0 [ 18.240724][ T282] vprintk_emit+0x37c/0x3e0 [ 18.240728][ T282] ? wake_up_klogd_work_func+0x90/0x90 [ 18.240729][ T282] ? kasan_save_stack+0x3d/0x50 [ 18.240732][ T282] ? kasan_save_track+0x14/0x30 [ 18.240733][ T282] ? __kasan_kmalloc+0x7b/0x90 [ 18.240734][ T282] ? __kmalloc_cache_noprof+0x29a/0x620 [ 18.240736][ T282] ? packet_mc_add+0x13b/0x890 [ 18.240737][ T282] ? packet_setsockopt+0x1953/0x21e0 [ 18.240739][ T282] ? do_sock_setsockopt+0x115/0x490 [ 18.240743][ T282] _printk+0xc7/0x100 [ 18.240747][ T282] ? snapshot_read.cold+0x21/0x21 [ 18.240751][ T282] ? netdev_name+0x43/0x60 [ 18.240755][ T282] ? __netdev_printk+0x17f/0x1d0 [ 18.240758][ T282] netdev_info+0xe2/0x116 [ 18.240760][ T282] ? netdev_notice+0x120/0x120 [ 18.240767][ T282] ? mutex_is_locked+0x1c/0x50 [ 18.240770][ T282] __dev_set_promiscuity.cold+0x7a/0x104 [ 18.240774][ T282] netif_set_promiscuity+0x4c/0xc0 [ 18.240778][ T282] dev_set_promiscuity+0xa1/0x230 [ 18.240781][ T282] ? __asan_memset+0x27/0x50 [ 18.240784][ T282] packet_mc_add+0x54e/0x890 [ 18.240786][ T282] ? __might_fault+0x97/0x140 [ 18.240790][ T282] ? __might_fault+0x97/0x140 [ 18.240793][ T282] ? _copy_from_user+0x42/0x90 [ 18.240797][ T282] packet_setsockopt+0x1953/0x21e0 [ 18.240801][ T282] ? packet_bind+0x170/0x170 [ 18.240805][ T282] ? do_sock_getsockopt+0x6f6/0xb20 [ 18.240809][ T282] ? sock_poll+0x6b0/0x6b0 [ 18.240812][ T282] ? rcu_is_watching+0x16/0xd0 [ 18.240814][ T282] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.240818][ T282] ? __local_bh_enable_ip+0xaa/0x150 [ 18.240823][ T282] do_sock_setsockopt+0x115/0x490 [ 18.240826][ T282] ? put_user_ifreq+0x90/0x90 [ 18.240832][ T282] __sys_setsockopt+0xe4/0x150 [ 18.240837][ T282] __x64_sys_setsockopt+0xbd/0x180 [ 18.240838][ T282] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.240840][ T282] ? lockdep_hardirqs_on+0x91/0x130 [ 18.240843][ T282] ? do_syscall_64+0xa6/0x530 [ 18.240845][ T282] do_syscall_64+0xff/0x530 [ 18.240846][ T282] ? exc_page_fault+0xee/0x100 [ 18.240849][ T282] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.240851][ T282] RIP: 0033:0x7f26396a92de [ 18.240855][ T282] 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.240857][ T282] RSP: 002b:00007ffd30a3a838 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 18.240859][ T282] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f26396a92de [ 18.240861][ T282] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 18.240862][ T282] RBP: 00007ffd30a3a970 R08: 0000000000000010 R09: 00005639ac646530 [ 18.240862][ T282] R10: 00007ffd30a3a8b0 R11: 0000000000000246 R12: 0000000000000001 [ 18.240863][ T282] R13: 00005639ac646918 R14: 00005639ac646690 R15: 0000000000000000 [ 18.240870][ T282] [ 20.229315][ T277] eth0: left promiscuous mode [ 20.229334][ T277] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.229336][ T277] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 277, name: tcpdump [ 20.229338][ T277] preempt_count: 1, expected: 0 [ 20.229339][ T277] RCU nest depth: 0, expected: 0 [ 20.229340][ T277] locks held by tcpdump/277: 6, last CPU#1: [ 20.229342][ T277] #0: ff1100000b7188b8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 20.229355][ T277] #1: ffffffffa8d22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 20.229362][ T277] #2: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.229367][ T277] #3: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.229371][ T277] #4: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.229374][ T277] #5: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 20.229377][ T277] irq event stamp: 59286 [ 20.229378][ T277] hardirqs last enabled at (59285): [] __down_trylock_console_sem+0x86/0xa0 [ 20.229382][ T277] hardirqs last disabled at (59286): [] console_emit_next_record+0x3f8/0x4f0 [ 20.229384][ T277] softirqs last enabled at (59136): [] packet_setsockopt+0xcdf/0x21e0 [ 20.229386][ T277] softirqs last disabled at (59134): [] release_sock+0x21/0x240 [ 20.229389][ T277] Preemption disabled at: [ 20.229390][ T277] [] vprintk_emit+0x31b/0x3e0 [ 20.229396][ T277] CPU: 1 UID: 72 PID: 277 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.229399][ T277] Tainted: [W]=WARN [ 20.229400][ T277] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.229402][ T277] Call Trace: [ 20.229403][ T277] [ 20.229405][ T277] dump_stack_lvl+0x6f/0xa0 [ 20.229410][ T277] ? vprintk_emit+0x31b/0x3e0 [ 20.229412][ T277] __might_resched.cold+0x1fe/0x2c1 [ 20.229416][ T277] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.229420][ T277] ? __kmalloc_noprof+0xdb/0x760 [ 20.229425][ T277] __kmalloc_noprof+0x443/0x760 [ 20.229428][ T277] ? alloc_buf.isra.0+0x4b/0x260 [ 20.229434][ T277] ? do_raw_spin_unlock+0x59/0x250 [ 20.229437][ T277] alloc_buf.isra.0+0x4b/0x260 [ 20.229440][ T277] put_chars+0x1e1/0x2f0 [ 20.229444][ T277] ? __send_to_port+0x420/0x420 [ 20.229447][ T277] ? validate_chain+0x38b/0xc20 [ 20.229453][ T277] hvc_console_print+0x292/0x780 [ 20.229460][ T277] ? hvc_write+0x3a0/0x3a0 [ 20.229463][ T277] ? rcu_is_watching+0x16/0xd0 [ 20.229466][ T277] ? lock_acquire+0x13c/0x160 [ 20.229471][ T277] console_emit_next_record+0x252/0x4f0 [ 20.229474][ T277] ? devkmsg_read+0x4e0/0x4e0 [ 20.229478][ T277] ? rcu_is_watching+0x16/0xd0 [ 20.229481][ T277] ? lock_acquire+0x13c/0x160 [ 20.229485][ T277] console_flush_one_record+0x46f/0x710 [ 20.229489][ T277] ? console_emit_next_record+0x4f0/0x4f0 [ 20.229490][ T277] ? __lock_acquire+0x518/0xc20 [ 20.229496][ T277] console_unlock+0xee/0x1f0 [ 20.229498][ T277] ? console_flush_one_record+0x710/0x710 [ 20.229499][ T277] ? rcu_is_watching+0x16/0xd0 [ 20.229501][ T277] ? lock_acquire+0x60/0x160 [ 20.229505][ T277] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.229507][ T277] ? vprintk_emit+0x320/0x3e0 [ 20.229510][ T277] vprintk_emit+0x37c/0x3e0 [ 20.229516][ T277] ? wake_up_klogd_work_func+0x90/0x90 [ 20.229520][ T277] ? __lock_acquire+0x518/0xc20 [ 20.229523][ T277] _printk+0xc7/0x100 [ 20.229527][ T277] ? snapshot_read.cold+0x21/0x21 [ 20.229529][ T277] ? lock_acquire.part.0+0xd4/0x280 [ 20.229533][ T277] ? rcu_is_watching+0x16/0xd0 [ 20.229534][ T277] ? netdev_name+0x43/0x60 [ 20.229538][ T277] ? __netdev_printk+0x17f/0x1d0 [ 20.229541][ T277] netdev_info+0xe2/0x116 [ 20.229544][ T277] ? netdev_notice+0x120/0x120 [ 20.229545][ T277] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 20.229548][ T277] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 20.229552][ T277] ? ww_mutex_lock+0x160/0x160 [ 20.229554][ T277] ? lock_acquire.part.0+0xd4/0x280 [ 20.229556][ T277] ? ref_tracker_alloc+0x430/0x430 [ 20.229559][ T277] ? packet_release+0x363/0xc40 [ 20.229562][ T277] ? __fput+0x363/0xac0 [ 20.229565][ T277] ? mutex_is_locked+0x1c/0x50 [ 20.229568][ T277] __dev_set_promiscuity.cold+0x7a/0x104 [ 20.229572][ T277] netif_set_promiscuity+0x4c/0xc0 [ 20.229577][ T277] dev_set_promiscuity+0xa1/0x230 [ 20.229580][ T277] packet_release+0x4cb/0xc40 [ 20.229585][ T277] ? packet_set_ring+0x1740/0x1740 [ 20.229588][ T277] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 20.229593][ T277] __sock_release+0xb8/0x280 [ 20.229597][ T277] sock_close+0x18/0x20 [ 20.229599][ T277] __fput+0x363/0xac0 [ 20.229604][ T277] fput_close_sync+0xde/0x1b0 [ 20.229606][ T277] ? alloc_file_clone+0xe0/0xe0 [ 20.229609][ T277] ? do_raw_spin_unlock+0x59/0x250 [ 20.229612][ T277] __x64_sys_close+0x8b/0xf0 [ 20.229615][ T277] do_syscall_64+0xff/0x530 [ 20.229617][ T277] ? exc_page_fault+0xee/0x100 [ 20.229620][ T277] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.229623][ T277] RIP: 0033:0x7fd377ff254e [ 20.229627][ T277] 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.229629][ T277] RSP: 002b:00007fffb675ae30 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 20.229631][ T277] RAX: ffffffffffffffda RBX: 0000556bc08d4690 RCX: 00007fd377ff254e [ 20.229633][ T277] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 20.229633][ T277] RBP: 00007fffb675ae40 R08: 0000000000000000 R09: 0000000000000000 [ 20.229634][ T277] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 20.229635][ T277] R13: 00000000fffffffe R14: 0000556bad548760 R15: 0000000000000001 [ 20.229642][ T277] [ 20.312426][ T282] eth1: left promiscuous mode [ 20.987463][ T315] eth1: entered promiscuous mode [ 22.957047][ T315] eth1: left promiscuous mode [ 22.957066][ T315] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.957069][ T315] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 315, name: tcpdump [ 22.957071][ T315] preempt_count: 1, expected: 0 [ 22.957071][ T315] RCU nest depth: 0, expected: 0 [ 22.957072][ T315] locks held by tcpdump/315: 6, last CPU#1: [ 22.957075][ T315] #0: ff11000004cc27f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 22.957088][ T315] #1: ffffffffa8d22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 22.957093][ T315] #2: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.957099][ T315] #3: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.957102][ T315] #4: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.957105][ T315] #5: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 22.957109][ T315] irq event stamp: 57142 [ 22.957109][ T315] hardirqs last enabled at (57141): [] __down_trylock_console_sem+0x86/0xa0 [ 22.957113][ T315] hardirqs last disabled at (57142): [] console_emit_next_record+0x3f8/0x4f0 [ 22.957114][ T315] softirqs last enabled at (56992): [] packet_setsockopt+0xcdf/0x21e0 [ 22.957117][ T315] softirqs last disabled at (56990): [] release_sock+0x21/0x240 [ 22.957120][ T315] Preemption disabled at: [ 22.957120][ T315] [] vprintk_emit+0x31b/0x3e0 [ 22.957126][ T315] CPU: 1 UID: 72 PID: 315 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.957130][ T315] Tainted: [W]=WARN [ 22.957131][ T315] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.957132][ T315] Call Trace: [ 22.957134][ T315] [ 22.957135][ T315] dump_stack_lvl+0x6f/0xa0 [ 22.957140][ T315] ? vprintk_emit+0x31b/0x3e0 [ 22.957142][ T315] __might_resched.cold+0x1fe/0x2c1 [ 22.957147][ T315] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.957150][ T315] ? __kmalloc_noprof+0xdb/0x760 [ 22.957156][ T315] __kmalloc_noprof+0x443/0x760 [ 22.957158][ T315] ? alloc_buf.isra.0+0x4b/0x260 [ 22.957165][ T315] ? do_raw_spin_unlock+0x59/0x250 [ 22.957167][ T315] alloc_buf.isra.0+0x4b/0x260 [ 22.957176][ T315] put_chars+0x1e1/0x2f0 [ 22.957180][ T315] ? __send_to_port+0x420/0x420 [ 22.957183][ T315] ? validate_chain+0x38b/0xc20 [ 22.957189][ T315] hvc_console_print+0x292/0x780 [ 22.957196][ T315] ? hvc_write+0x3a0/0x3a0 [ 22.957199][ T315] ? rcu_is_watching+0x16/0xd0 [ 22.957202][ T315] ? lock_acquire+0x13c/0x160 [ 22.957207][ T315] console_emit_next_record+0x252/0x4f0 [ 22.957210][ T315] ? devkmsg_read+0x4e0/0x4e0 [ 22.957214][ T315] ? rcu_is_watching+0x16/0xd0 [ 22.957216][ T315] ? lock_acquire+0x13c/0x160 [ 22.957220][ T315] console_flush_one_record+0x46f/0x710 [ 22.957224][ T315] ? console_emit_next_record+0x4f0/0x4f0 [ 22.957225][ T315] ? __lock_acquire+0x518/0xc20 [ 22.957231][ T315] console_unlock+0xee/0x1f0 [ 22.957234][ T315] ? console_flush_one_record+0x710/0x710 [ 22.957235][ T315] ? rcu_is_watching+0x16/0xd0 [ 22.957237][ T315] ? lock_acquire+0x60/0x160 [ 22.957241][ T315] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.957243][ T315] ? vprintk_emit+0x320/0x3e0 [ 22.957246][ T315] vprintk_emit+0x37c/0x3e0 [ 22.957249][ T315] ? wake_up_klogd_work_func+0x90/0x90 [ 22.957252][ T315] ? __lock_acquire+0x518/0xc20 [ 22.957256][ T315] _printk+0xc7/0x100 [ 22.957260][ T315] ? snapshot_read.cold+0x21/0x21 [ 22.957261][ T315] ? lock_acquire.part.0+0xd4/0x280 [ 22.957265][ T315] ? rcu_is_watching+0x16/0xd0 [ 22.957267][ T315] ? netdev_name+0x43/0x60 [ 22.957270][ T315] ? __netdev_printk+0x17f/0x1d0 [ 22.957273][ T315] netdev_info+0xe2/0x116 [ 22.957276][ T315] ? netdev_notice+0x120/0x120 [ 22.957277][ T315] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 22.957280][ T315] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 22.957284][ T315] ? ww_mutex_lock+0x160/0x160 [ 22.957286][ T315] ? lock_acquire.part.0+0xd4/0x280 [ 22.957288][ T315] ? ref_tracker_alloc+0x430/0x430 [ 22.957291][ T315] ? packet_release+0x363/0xc40 [ 22.957293][ T315] ? __fput+0x363/0xac0 [ 22.957296][ T315] ? mutex_is_locked+0x1c/0x50 [ 22.957299][ T315] __dev_set_promiscuity.cold+0x7a/0x104 [ 22.957303][ T315] netif_set_promiscuity+0x4c/0xc0 [ 22.957308][ T315] dev_set_promiscuity+0xa1/0x230 [ 22.957311][ T315] packet_release+0x4cb/0xc40 [ 22.957315][ T315] ? packet_set_ring+0x1740/0x1740 [ 22.957319][ T315] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 22.957323][ T315] __sock_release+0xb8/0x280 [ 22.957327][ T315] sock_close+0x18/0x20 [ 22.957329][ T315] __fput+0x363/0xac0 [ 22.957334][ T315] fput_close_sync+0xde/0x1b0 [ 22.957337][ T315] ? alloc_file_clone+0xe0/0xe0 [ 22.957339][ T315] ? do_raw_spin_unlock+0x59/0x250 [ 22.957343][ T315] __x64_sys_close+0x8b/0xf0 [ 22.957345][ T315] do_syscall_64+0xff/0x530 [ 22.957347][ T315] ? exc_page_fault+0xee/0x100 [ 22.957350][ T315] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.957352][ T315] RIP: 0033:0x7f729e57954e [ 22.957356][ T315] 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 [ 22.957358][ T315] RSP: 002b:00007ffc4e41b120 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 22.957360][ T315] RAX: ffffffffffffffda RBX: 0000557476fa0690 RCX: 00007f729e57954e [ 22.957362][ T315] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 22.957362][ T315] RBP: 00007ffc4e41b130 R08: 0000000000000000 R09: 0000000000000000 [ 22.957363][ T315] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 22.957364][ T315] R13: 00000000fffffffe R14: 0000557449011760 R15: 0000000000000001 [ 22.957371][ T315] [ 23.167617][ T327] eth0: entered promiscuous mode [ 24.230792][ T332] eth1: entered promiscuous mode [ 24.230811][ T332] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.230813][ T332] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 332, name: tcpdump [ 24.230815][ T332] preempt_count: 1, expected: 0 [ 24.230816][ T332] RCU nest depth: 0, expected: 0 [ 24.230817][ T332] locks held by tcpdump/332: 5, last CPU#1: [ 24.230819][ T332] #0: ffffffffa8d22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 24.230831][ T332] #1: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.230837][ T332] #2: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.230841][ T332] #3: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.230844][ T332] #4: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.230847][ T332] irq event stamp: 45382 [ 24.230848][ T332] hardirqs last enabled at (45381): [] __down_trylock_console_sem+0x86/0xa0 [ 24.230852][ T332] hardirqs last disabled at (45382): [] console_emit_next_record+0x3f8/0x4f0 [ 24.230853][ T332] softirqs last enabled at (45362): [] packet_do_bind+0x4b2/0xc80 [ 24.230855][ T332] softirqs last disabled at (45360): [] release_sock+0x21/0x240 [ 24.230860][ T332] Preemption disabled at: [ 24.230860][ T332] [] vprintk_emit+0x31b/0x3e0 [ 24.230866][ T332] CPU: 1 UID: 0 PID: 332 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.230869][ T332] Tainted: [W]=WARN [ 24.230870][ T332] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.230872][ T332] Call Trace: [ 24.230874][ T332] [ 24.230875][ T332] dump_stack_lvl+0x6f/0xa0 [ 24.230881][ T332] ? vprintk_emit+0x31b/0x3e0 [ 24.230883][ T332] __might_resched.cold+0x1fe/0x2c1 [ 24.230887][ T332] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.230891][ T332] ? __kmalloc_noprof+0xdb/0x760 [ 24.230897][ T332] __kmalloc_noprof+0x443/0x760 [ 24.230899][ T332] ? alloc_buf.isra.0+0x4b/0x260 [ 24.230905][ T332] ? do_raw_spin_unlock+0x59/0x250 [ 24.230907][ T332] alloc_buf.isra.0+0x4b/0x260 [ 24.230911][ T332] put_chars+0x1e1/0x2f0 [ 24.230915][ T332] ? __send_to_port+0x420/0x420 [ 24.230916][ T332] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.230921][ T332] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.230924][ T332] ? validate_chain+0x38b/0xc20 [ 24.230929][ T332] hvc_console_print+0x292/0x780 [ 24.230933][ T332] ? __lock_acquire+0x518/0xc20 [ 24.230938][ T332] ? hvc_write+0x3a0/0x3a0 [ 24.230941][ T332] ? rcu_is_watching+0x16/0xd0 [ 24.230946][ T332] console_emit_next_record+0x252/0x4f0 [ 24.230950][ T332] ? devkmsg_read+0x4e0/0x4e0 [ 24.230953][ T332] ? rcu_is_watching+0x16/0xd0 [ 24.230955][ T332] ? lock_acquire+0x13c/0x160 [ 24.230959][ T332] console_flush_one_record+0x46f/0x710 [ 24.230963][ T332] ? console_emit_next_record+0x4f0/0x4f0 [ 24.230965][ T332] ? __lock_acquire+0x518/0xc20 [ 24.230970][ T332] console_unlock+0xee/0x1f0 [ 24.230972][ T332] ? console_flush_one_record+0x710/0x710 [ 24.230974][ T332] ? rcu_is_watching+0x16/0xd0 [ 24.230976][ T332] ? lock_acquire+0x60/0x160 [ 24.230979][ T332] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.230981][ T332] ? vprintk_emit+0x320/0x3e0 [ 24.230984][ T332] vprintk_emit+0x37c/0x3e0 [ 24.230988][ T332] ? wake_up_klogd_work_func+0x90/0x90 [ 24.230989][ T332] ? kasan_save_stack+0x3d/0x50 [ 24.230992][ T332] ? kasan_save_track+0x14/0x30 [ 24.230993][ T332] ? __kasan_kmalloc+0x7b/0x90 [ 24.230994][ T332] ? __kmalloc_cache_noprof+0x29a/0x620 [ 24.230996][ T332] ? packet_mc_add+0x13b/0x890 [ 24.230998][ T332] ? packet_setsockopt+0x1953/0x21e0 [ 24.231000][ T332] ? do_sock_setsockopt+0x115/0x490 [ 24.231004][ T332] _printk+0xc7/0x100 [ 24.231007][ T332] ? snapshot_read.cold+0x21/0x21 [ 24.231012][ T332] ? netdev_name+0x43/0x60 [ 24.231015][ T332] ? __netdev_printk+0x17f/0x1d0 [ 24.231018][ T332] netdev_info+0xe2/0x116 [ 24.231021][ T332] ? netdev_notice+0x120/0x120 [ 24.231027][ T332] ? mutex_is_locked+0x1c/0x50 [ 24.231030][ T332] __dev_set_promiscuity.cold+0x7a/0x104 [ 24.231035][ T332] netif_set_promiscuity+0x4c/0xc0 [ 24.231039][ T332] dev_set_promiscuity+0xa1/0x230 [ 24.231042][ T332] ? __asan_memset+0x27/0x50 [ 24.231045][ T332] packet_mc_add+0x54e/0x890 [ 24.231047][ T332] ? __might_fault+0x97/0x140 [ 24.231051][ T332] ? __might_fault+0x97/0x140 [ 24.231054][ T332] ? _copy_from_user+0x42/0x90 [ 24.231059][ T332] packet_setsockopt+0x1953/0x21e0 [ 24.231062][ T332] ? packet_bind+0x170/0x170 [ 24.231066][ T332] ? do_sock_getsockopt+0x6f6/0xb20 [ 24.231070][ T332] ? sock_poll+0x6b0/0x6b0 [ 24.231074][ T332] ? rcu_is_watching+0x16/0xd0 [ 24.231076][ T332] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.231080][ T332] ? __local_bh_enable_ip+0xaa/0x150 [ 24.231084][ T332] do_sock_setsockopt+0x115/0x490 [ 24.231087][ T332] ? put_user_ifreq+0x90/0x90 [ 24.231093][ T332] __sys_setsockopt+0xe4/0x150 [ 24.231098][ T332] __x64_sys_setsockopt+0xbd/0x180 [ 24.231099][ T332] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.231102][ T332] ? lockdep_hardirqs_on+0x91/0x130 [ 24.231105][ T332] ? do_syscall_64+0xa6/0x530 [ 24.231106][ T332] do_syscall_64+0xff/0x530 [ 24.231108][ T332] ? exc_page_fault+0xee/0x100 [ 24.231110][ T332] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.231112][ T332] RIP: 0033:0x7f0bdf97c2de [ 24.231117][ T332] 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.231118][ T332] RSP: 002b:00007ffcecc09df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 24.231121][ T332] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f0bdf97c2de [ 24.231122][ T332] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 24.231123][ T332] RBP: 00007ffcecc09f30 R08: 0000000000000010 R09: 0000556b81711530 [ 24.231124][ T332] R10: 00007ffcecc09e70 R11: 0000000000000246 R12: 0000000000000001 [ 24.231125][ T332] R13: 0000556b81711918 R14: 0000556b81711690 R15: 0000000000000000 [ 24.231131][ T332] [ 26.219479][ T327] eth0: left promiscuous mode [ 26.219497][ T327] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.219500][ T327] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 327, name: tcpdump [ 26.219502][ T327] preempt_count: 1, expected: 0 [ 26.219503][ T327] RCU nest depth: 0, expected: 0 [ 26.219504][ T327] locks held by tcpdump/327: 6, last CPU#1: [ 26.219506][ T327] #0: ff1100000b719538 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 26.219525][ T327] #1: ffffffffa8d22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 26.219531][ T327] #2: ffffffffa8599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.219536][ T327] #3: ffffffffa8599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.219540][ T327] #4: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.219543][ T327] #5: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.219546][ T327] irq event stamp: 50908 [ 26.219547][ T327] hardirqs last enabled at (50907): [] __down_trylock_console_sem+0x86/0xa0 [ 26.219551][ T327] hardirqs last disabled at (50908): [] console_emit_next_record+0x3f8/0x4f0 [ 26.219552][ T327] softirqs last enabled at (50756): [] packet_setsockopt+0xcdf/0x21e0 [ 26.219555][ T327] softirqs last disabled at (50754): [] release_sock+0x21/0x240 [ 26.219558][ T327] Preemption disabled at: [ 26.219558][ T327] [] vprintk_emit+0x31b/0x3e0 [ 26.219564][ T327] CPU: 1 UID: 72 PID: 327 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.219567][ T327] Tainted: [W]=WARN [ 26.219568][ T327] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.219569][ T327] Call Trace: [ 26.219571][ T327] [ 26.219572][ T327] dump_stack_lvl+0x6f/0xa0 [ 26.219577][ T327] ? vprintk_emit+0x31b/0x3e0 [ 26.219579][ T327] __might_resched.cold+0x1fe/0x2c1 [ 26.219584][ T327] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.219587][ T327] ? __kmalloc_noprof+0xdb/0x760 [ 26.219592][ T327] __kmalloc_noprof+0x443/0x760 [ 26.219595][ T327] ? alloc_buf.isra.0+0x4b/0x260 [ 26.219601][ T327] ? do_raw_spin_unlock+0x59/0x250 [ 26.219603][ T327] alloc_buf.isra.0+0x4b/0x260 [ 26.219607][ T327] put_chars+0x1e1/0x2f0 [ 26.219610][ T327] ? __send_to_port+0x420/0x420 [ 26.219614][ T327] ? validate_chain+0x38b/0xc20 [ 26.219619][ T327] hvc_console_print+0x292/0x780 [ 26.219627][ T327] ? hvc_write+0x3a0/0x3a0 [ 26.219629][ T327] ? rcu_is_watching+0x16/0xd0 [ 26.219633][ T327] ? lock_acquire+0x13c/0x160 [ 26.219637][ T327] console_emit_next_record+0x252/0x4f0 [ 26.219641][ T327] ? devkmsg_read+0x4e0/0x4e0 [ 26.219645][ T327] ? rcu_is_watching+0x16/0xd0 [ 26.219647][ T327] ? lock_acquire+0x13c/0x160 [ 26.219651][ T327] console_flush_one_record+0x46f/0x710 [ 26.219655][ T327] ? console_emit_next_record+0x4f0/0x4f0 [ 26.219656][ T327] ? __lock_acquire+0x518/0xc20 [ 26.219662][ T327] console_unlock+0xee/0x1f0 [ 26.219664][ T327] ? console_flush_one_record+0x710/0x710 [ 26.219665][ T327] ? rcu_is_watching+0x16/0xd0 [ 26.219667][ T327] ? lock_acquire+0x60/0x160 [ 26.219671][ T327] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.219673][ T327] ? vprintk_emit+0x320/0x3e0 [ 26.219676][ T327] vprintk_emit+0x37c/0x3e0 [ 26.219679][ T327] ? wake_up_klogd_work_func+0x90/0x90 [ 26.219682][ T327] ? __lock_acquire+0x518/0xc20 [ 26.219686][ T327] _printk+0xc7/0x100 [ 26.219689][ T327] ? snapshot_read.cold+0x21/0x21 [ 26.219691][ T327] ? lock_acquire.part.0+0xd4/0x280 [ 26.219695][ T327] ? rcu_is_watching+0x16/0xd0 [ 26.219696][ T327] ? netdev_name+0x43/0x60 [ 26.219699][ T327] ? __netdev_printk+0x17f/0x1d0 [ 26.219703][ T327] netdev_info+0xe2/0x116 [ 26.219705][ T327] ? netdev_notice+0x120/0x120 [ 26.219707][ T327] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 26.219709][ T327] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 26.219713][ T327] ? ww_mutex_lock+0x160/0x160 [ 26.219715][ T327] ? lock_acquire.part.0+0xd4/0x280 [ 26.219717][ T327] ? ref_tracker_alloc+0x430/0x430 [ 26.219720][ T327] ? packet_release+0x363/0xc40 [ 26.219723][ T327] ? __fput+0x363/0xac0 [ 26.219726][ T327] ? mutex_is_locked+0x1c/0x50 [ 26.219728][ T327] __dev_set_promiscuity.cold+0x7a/0x104 [ 26.219733][ T327] netif_set_promiscuity+0x4c/0xc0 [ 26.219738][ T327] dev_set_promiscuity+0xa1/0x230 [ 26.219741][ T327] packet_release+0x4cb/0xc40 [ 26.219746][ T327] ? packet_set_ring+0x1740/0x1740 [ 26.219750][ T327] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 26.219755][ T327] __sock_release+0xb8/0x280 [ 26.219758][ T327] sock_close+0x18/0x20 [ 26.219760][ T327] __fput+0x363/0xac0 [ 26.219765][ T327] fput_close_sync+0xde/0x1b0 [ 26.219768][ T327] ? alloc_file_clone+0xe0/0xe0 [ 26.219770][ T327] ? do_raw_spin_unlock+0x59/0x250 [ 26.219774][ T327] __x64_sys_close+0x8b/0xf0 [ 26.219776][ T327] do_syscall_64+0xff/0x530 [ 26.219778][ T327] ? exc_page_fault+0xee/0x100 [ 26.219781][ T327] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.219783][ T327] RIP: 0033:0x7fcf93ae454e [ 26.219787][ T327] 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.219789][ T327] RSP: 002b:00007ffd21f7e640 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 26.219792][ T327] RAX: ffffffffffffffda RBX: 000055854744f690 RCX: 00007fcf93ae454e [ 26.219793][ T327] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 26.219794][ T327] RBP: 00007ffd21f7e650 R08: 0000000000000000 R09: 0000000000000000 [ 26.219794][ T327] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 26.219795][ T327] R13: 00000000fffffffe R14: 0000558545ffa760 R15: 0000000000000001 [ 26.219802][ T327] [ 26.305495][ T332] eth1: left promiscuous mode [ 26.680456][ T210] test_team1: Port device eth1 removed [ 26.683546][ T210] test_team1: Port device eth0 removed [ 26.721795][ T210] teamd (210) used greatest stack depth: 23984 bytes left [ 26.845818][ T214] test_team2: Port device eth1 removed [ 26.847839][ T214] test_team2: Port device eth0 removed [ 26.887220][ T214] teamd (214) used greatest stack depth: 23912 bytes left