[ 9.628198][ T186] ip (186) used greatest stack depth: 24320 bytes left [ 9.628213][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.628215][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: ip [ 9.628217][ T186] preempt_count: 2, expected: 0 [ 9.628218][ T186] RCU nest depth: 0, expected: 0 [ 9.628219][ T186] locks held by ip/186: 5, last CPU#1: [ 9.628222][ T186] #0: ffffffff8d6027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.628235][ T186] #1: ffffffff8d799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.628240][ T186] #2: ffffffff8d799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.628244][ T186] #3: ffffffff8d689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.628247][ T186] #4: ffffffff8d689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.628250][ T186] irq event stamp: 42148 [ 9.628251][ T186] hardirqs last enabled at (42147): [] __down_trylock_console_sem+0x86/0xa0 [ 9.628255][ T186] hardirqs last disabled at (42148): [] console_emit_next_record+0x3f8/0x4f0 [ 9.628257][ T186] softirqs last enabled at (41646): [] handle_softirqs+0x67c/0x900 [ 9.628259][ T186] softirqs last disabled at (40387): [] __irq_exit_rcu+0x145/0x1c0 [ 9.628262][ T186] Preemption disabled at: [ 9.628263][ T186] [<0000000000000000>] 0x0 [ 9.628270][ T186] CPU: 1 UID: 0 PID: 186 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.628273][ T186] Tainted: [W]=WARN [ 9.628274][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.628276][ T186] Call Trace: [ 9.628277][ T186] [ 9.628279][ T186] dump_stack_lvl+0x6f/0xa0 [ 9.628285][ T186] __might_resched.cold+0x1fe/0x2c1 [ 9.628290][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.628294][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 9.628299][ T186] __kmalloc_noprof+0x443/0x760 [ 9.628302][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 9.628308][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 9.628311][ T186] alloc_buf.isra.0+0x4b/0x260 [ 9.628314][ T186] put_chars+0x1e1/0x2f0 [ 9.628318][ T186] ? __send_to_port+0x420/0x420 [ 9.628320][ T186] ? printk_get_next_message+0x2fe/0x7d0 [ 9.628323][ T186] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.628327][ T186] ? validate_chain+0x38b/0xc20 [ 9.628332][ T186] hvc_console_print+0x292/0x780 [ 9.628336][ T186] ? __lock_acquire+0x518/0xc20 [ 9.628338][ T186] ? __lock_acquire+0x518/0xc20 [ 9.628343][ T186] ? hvc_write+0x3a0/0x3a0 [ 9.628347][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.628349][ T186] ? lock_acquire+0x13c/0x160 [ 9.628353][ T186] console_emit_next_record+0x252/0x4f0 [ 9.628357][ T186] ? devkmsg_read+0x4e0/0x4e0 [ 9.628361][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.628363][ T186] ? lock_acquire+0x13c/0x160 [ 9.628367][ T186] console_flush_one_record+0x46f/0x710 [ 9.628371][ T186] ? console_emit_next_record+0x4f0/0x4f0 [ 9.628372][ T186] ? __lock_acquire+0x518/0xc20 [ 9.628378][ T186] console_unlock+0xee/0x1f0 [ 9.628380][ T186] ? console_flush_one_record+0x710/0x710 [ 9.628382][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.628384][ T186] ? lock_acquire+0x60/0x160 [ 9.628388][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.628390][ T186] ? vprintk_emit+0x320/0x3e0 [ 9.628393][ T186] vprintk_emit+0x37c/0x3e0 [ 9.628396][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 9.628399][ T186] ? __lock_acquire+0x518/0xc20 [ 9.628403][ T186] _printk+0xc7/0x100 [ 9.628407][ T186] ? snapshot_read.cold+0x21/0x21 [ 9.628410][ T186] ? do_raw_spin_lock+0x131/0x280 [ 9.628412][ T186] ? __rwlock_init+0x150/0x150 [ 9.628416][ T186] ? do_raw_spin_lock+0x131/0x280 [ 9.628418][ T186] do_exit.cold+0x82/0x9c [ 9.628422][ T186] ? exit_notify+0x890/0x890 [ 9.628423][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 9.628426][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.628430][ T186] do_group_exit+0xb8/0x370 [ 9.628433][ T186] __x64_sys_exit_group+0x3c/0x50 [ 9.628435][ T186] x64_sys_call+0x1567/0x1570 [ 9.628438][ T186] do_syscall_64+0xff/0x530 [ 9.628441][ T186] ? exc_page_fault+0xee/0x100 [ 9.628444][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.628446][ T186] RIP: 0033:0x7f99ddc051b8 [ 9.628449][ T186] Code: Unable to access opcode bytes at 0x7f99ddc0518e. [ 9.628450][ T186] RSP: 002b:00007ffedb1db738 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.628452][ T186] RAX: ffffffffffffffda RBX: 00007f99ddd35f88 RCX: 00007f99ddc051b8 [ 9.628453][ T186] RDX: 00007f99dd94ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.628454][ T186] RBP: 00007ffedb1db790 R08: 0000000000000000 R09: 0000000000008010 [ 9.628455][ T186] R10: 00007ffedb1db550 R11: 0000000000000246 R12: 0000000000000001 [ 9.628456][ T186] R13: 0000000000000000 R14: 00007f99ddd34680 R15: 00007f99ddd35fa0 [ 9.628463][ T186] [ 9.947522][ T196] test-bond1: (slave test-bond0): making interface the new active one [ 9.948612][ T196] test-bond1: (slave test-bond0): Enslaving as an active interface with an up link [ 10.162627][ T206] test-bond1: entered promiscuous mode [ 10.162906][ T206] test-bond0: entered promiscuous mode [ 11.196188][ T206] test-bond1: left promiscuous mode [ 11.196248][ T206] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.196250][ T206] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 206, name: tcpdump [ 11.196252][ T206] preempt_count: 1, expected: 0 [ 11.196253][ T206] RCU nest depth: 0, expected: 0 [ 11.196254][ T206] locks held by tcpdump/206: 6, last CPU#0: [ 11.196256][ T206] #0: ff1100000cc140f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 11.196268][ T206] #1: ffffffff8df22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 11.196274][ T206] #2: ffffffff8d799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.196279][ T206] #3: ffffffff8d799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.196283][ T206] #4: ffffffff8d689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.196285][ T206] #5: ffffffff8d689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.196289][ T206] irq event stamp: 40338 [ 11.196290][ T206] hardirqs last enabled at (40337): [] __down_trylock_console_sem+0x86/0xa0 [ 11.196293][ T206] hardirqs last disabled at (40338): [] console_emit_next_record+0x3f8/0x4f0 [ 11.196294][ T206] softirqs last enabled at (40134): [] packet_setsockopt+0xcdf/0x21e0 [ 11.196297][ T206] softirqs last disabled at (40132): [] release_sock+0x21/0x240 [ 11.196300][ T206] Preemption disabled at: [ 11.196300][ T206] [] vprintk_emit+0x31b/0x3e0 [ 11.196306][ T206] CPU: 0 UID: 72 PID: 206 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.196309][ T206] Tainted: [W]=WARN [ 11.196310][ T206] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.196312][ T206] Call Trace: [ 11.196313][ T206] [ 11.196315][ T206] dump_stack_lvl+0x6f/0xa0 [ 11.196320][ T206] ? vprintk_emit+0x31b/0x3e0 [ 11.196321][ T206] __might_resched.cold+0x1fe/0x2c1 [ 11.196326][ T206] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.196330][ T206] ? __kmalloc_noprof+0xdb/0x760 [ 11.196335][ T206] __kmalloc_noprof+0x443/0x760 [ 11.196338][ T206] ? alloc_buf.isra.0+0x4b/0x260 [ 11.196344][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 11.196346][ T206] alloc_buf.isra.0+0x4b/0x260 [ 11.196350][ T206] put_chars+0x1e1/0x2f0 [ 11.196352][ T206] ? check_prev_add+0xef/0xe90 [ 11.196355][ T206] ? __send_to_port+0x420/0x420 [ 11.196358][ T206] ? validate_chain+0x34a/0xc20 [ 11.196363][ T206] hvc_console_print+0x292/0x780 [ 11.196371][ T206] ? hvc_write+0x3a0/0x3a0 [ 11.196374][ T206] ? rcu_is_watching+0x16/0xd0 [ 11.196377][ T206] ? lock_acquire+0x13c/0x160 [ 11.196382][ T206] console_emit_next_record+0x252/0x4f0 [ 11.196385][ T206] ? devkmsg_read+0x4e0/0x4e0 [ 11.196389][ T206] ? rcu_is_watching+0x16/0xd0 [ 11.196391][ T206] ? lock_acquire+0x13c/0x160 [ 11.196395][ T206] console_flush_one_record+0x46f/0x710 [ 11.196399][ T206] ? console_emit_next_record+0x4f0/0x4f0 [ 11.196401][ T206] ? __lock_acquire+0x518/0xc20 [ 11.196406][ T206] console_unlock+0xee/0x1f0 [ 11.196409][ T206] ? console_flush_one_record+0x710/0x710 [ 11.196410][ T206] ? rcu_is_watching+0x16/0xd0 [ 11.196412][ T206] ? lock_acquire+0x60/0x160 [ 11.196416][ T206] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.196418][ T206] ? vprintk_emit+0x320/0x3e0 [ 11.196421][ T206] vprintk_emit+0x37c/0x3e0 [ 11.196424][ T206] ? wake_up_klogd_work_func+0x90/0x90 [ 11.196428][ T206] ? __lock_acquire+0x518/0xc20 [ 11.196431][ T206] _printk+0xc7/0x100 [ 11.196435][ T206] ? snapshot_read.cold+0x21/0x21 [ 11.196436][ T206] ? lock_acquire.part.0+0xd4/0x280 [ 11.196440][ T206] ? rcu_is_watching+0x16/0xd0 [ 11.196442][ T206] ? netdev_name+0x43/0x60 [ 11.196445][ T206] ? __netdev_printk+0x17f/0x1d0 [ 11.196448][ T206] netdev_info+0xe2/0x116 [ 11.196451][ T206] ? netdev_notice+0x120/0x120 [ 11.196452][ T206] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 11.196455][ T206] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 11.196459][ T206] ? ww_mutex_lock+0x160/0x160 [ 11.196461][ T206] ? lock_acquire.part.0+0xd4/0x280 [ 11.196463][ T206] ? ref_tracker_alloc+0x430/0x430 [ 11.196466][ T206] ? packet_release+0x363/0xc40 [ 11.196468][ T206] ? __fput+0x363/0xac0 [ 11.196471][ T206] ? mutex_is_locked+0x1c/0x50 [ 11.196474][ T206] __dev_set_promiscuity.cold+0x7a/0x104 [ 11.196479][ T206] netif_set_promiscuity+0x4c/0xc0 [ 11.196483][ T206] dev_set_promiscuity+0xa1/0x230 [ 11.196487][ T206] packet_release+0x4cb/0xc40 [ 11.196492][ T206] ? packet_set_ring+0x1740/0x1740 [ 11.196495][ T206] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 11.196500][ T206] __sock_release+0xb8/0x280 [ 11.196504][ T206] sock_close+0x18/0x20 [ 11.196506][ T206] __fput+0x363/0xac0 [ 11.196511][ T206] fput_close_sync+0xde/0x1b0 [ 11.196513][ T206] ? alloc_file_clone+0xe0/0xe0 [ 11.196516][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 11.196519][ T206] __x64_sys_close+0x8b/0xf0 [ 11.196522][ T206] do_syscall_64+0xff/0x530 [ 11.196524][ T206] ? exc_page_fault+0xee/0x100 [ 11.196527][ T206] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.196529][ T206] RIP: 0033:0x7f08fdd8354e [ 11.196533][ T206] 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 [ 11.196535][ T206] RSP: 002b:00007fff5ce6b340 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 11.196538][ T206] RAX: ffffffffffffffda RBX: 000055c20bda1690 RCX: 00007f08fdd8354e [ 11.196539][ T206] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 11.196540][ T206] RBP: 00007fff5ce6b350 R08: 0000000000000000 R09: 0000000000000000 [ 11.196541][ T206] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 11.196542][ T206] R13: 0000000000000000 R14: 000055c1fa256800 R15: 0000000000000001 [ 11.196548][ T206] [ 11.225051][ T206] test-bond0: left promiscuous mode [ 12.769221][ T208] test-dummy0: entered promiscuous mode [ 12.769359][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.769361][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: python3 [ 12.769363][ T208] preempt_count: 1, expected: 0 [ 12.769364][ T208] RCU nest depth: 0, expected: 0 [ 12.769365][ T208] locks held by python3/208: 6, last CPU#1: [ 12.769367][ T208] #0: ffffffff8df22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 12.769379][ T208] #1: ff1100000a56cde0 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: dev_set_promiscuity+0x96/0x230 [ 12.769385][ T208] #2: ffffffff8d799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.769391][ T208] #3: ffffffff8d799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.769394][ T208] #4: ffffffff8d689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.769397][ T208] #5: ffffffff8d689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.769401][ T208] irq event stamp: 884250 [ 12.769401][ T208] hardirqs last enabled at (884249): [] __down_trylock_console_sem+0x86/0xa0 [ 12.769405][ T208] hardirqs last disabled at (884250): [] console_emit_next_record+0x3f8/0x4f0 [ 12.769406][ T208] softirqs last enabled at (884234): [] sk_setsockopt+0xe09/0x4900 [ 12.769409][ T208] softirqs last disabled at (884232): [] release_sock+0x21/0x240 [ 12.769412][ T208] Preemption disabled at: [ 12.769413][ T208] [] vprintk_emit+0x31b/0x3e0 [ 12.769419][ T208] CPU: 1 UID: 0 PID: 208 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.769422][ T208] Tainted: [W]=WARN [ 12.769423][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.769425][ T208] Call Trace: [ 12.769426][ T208] [ 12.769428][ T208] dump_stack_lvl+0x6f/0xa0 [ 12.769432][ T208] ? vprintk_emit+0x31b/0x3e0 [ 12.769434][ T208] __might_resched.cold+0x1fe/0x2c1 [ 12.769439][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.769442][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 12.769448][ T208] __kmalloc_noprof+0x443/0x760 [ 12.769450][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 12.769456][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 12.769458][ T208] alloc_buf.isra.0+0x4b/0x260 [ 12.769462][ T208] put_chars+0x1e1/0x2f0 [ 12.769465][ T208] ? __send_to_port+0x420/0x420 [ 12.769469][ T208] ? validate_chain+0x34a/0xc20 [ 12.769475][ T208] hvc_console_print+0x292/0x780 [ 12.769478][ T208] ? __lock_acquire+0x518/0xc20 [ 12.769484][ T208] ? hvc_write+0x3a0/0x3a0 [ 12.769487][ T208] ? rcu_is_watching+0x16/0xd0 [ 12.769493][ T208] console_emit_next_record+0x252/0x4f0 [ 12.769496][ T208] ? devkmsg_read+0x4e0/0x4e0 [ 12.769500][ T208] ? rcu_is_watching+0x16/0xd0 [ 12.769502][ T208] ? lock_acquire+0x13c/0x160 [ 12.769506][ T208] console_flush_one_record+0x46f/0x710 [ 12.769510][ T208] ? console_emit_next_record+0x4f0/0x4f0 [ 12.769511][ T208] ? __lock_acquire+0x518/0xc20 [ 12.769517][ T208] console_unlock+0xee/0x1f0 [ 12.769519][ T208] ? console_flush_one_record+0x710/0x710 [ 12.769521][ T208] ? rcu_is_watching+0x16/0xd0 [ 12.769523][ T208] ? lock_acquire+0x60/0x160 [ 12.769526][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.769528][ T208] ? vprintk_emit+0x320/0x3e0 [ 12.769531][ T208] vprintk_emit+0x37c/0x3e0 [ 12.769534][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 12.769537][ T208] ? __lock_acquire+0x518/0xc20 [ 12.769539][ T208] ? init_object+0x41/0xc0 [ 12.769543][ T208] _printk+0xc7/0x100 [ 12.769547][ T208] ? snapshot_read.cold+0x21/0x21 [ 12.769550][ T208] ? lock_acquire+0x13c/0x160 [ 12.769552][ T208] ? rcu_is_watching+0x16/0xd0 [ 12.769553][ T208] ? rcu_is_watching+0x16/0xd0 [ 12.769554][ T208] ? netdev_name+0x43/0x60 [ 12.769558][ T208] ? __netdev_printk+0x17f/0x1d0 [ 12.769561][ T208] netdev_info+0xe2/0x116 [ 12.769563][ T208] ? netdev_notice+0x120/0x120 [ 12.769565][ T208] ? ww_mutex_lock+0x160/0x160 [ 12.769574][ T208] __dev_set_promiscuity.cold+0x7a/0x104 [ 12.769578][ T208] netif_set_promiscuity+0x4c/0xc0 [ 12.769581][ T208] dev_set_promiscuity+0xa1/0x230 [ 12.769583][ T208] ? __asan_memset+0x27/0x50 [ 12.769586][ T208] packet_mc_add+0x54e/0x890 [ 12.769588][ T208] ? __might_fault+0x97/0x140 [ 12.769592][ T208] ? __might_fault+0x97/0x140 [ 12.769595][ T208] ? _copy_from_user+0x42/0x90 [ 12.769599][ T208] packet_setsockopt+0x1953/0x21e0 [ 12.769604][ T208] ? packet_bind+0x170/0x170 [ 12.769606][ T208] ? rcu_is_watching+0x16/0xd0 [ 12.769608][ T208] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.769611][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 12.769613][ T208] ? lockdep_hardirqs_on+0x91/0x130 [ 12.769615][ T208] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 12.769618][ T208] ? rcu_is_watching+0x16/0xd0 [ 12.769619][ T208] ? __create_object+0x78/0x110 [ 12.769622][ T208] ? __raw_spin_lock_init+0x44/0x120 [ 12.769623][ T208] ? lockdep_init_map_type+0x5d/0x250 [ 12.769627][ T208] ? trace_kfree+0xd2/0x100 [ 12.769630][ T208] ? kfree+0x22/0x590 [ 12.769634][ T208] do_sock_setsockopt+0x115/0x490 [ 12.769638][ T208] ? put_user_ifreq+0x90/0x90 [ 12.769640][ T208] ? fd_install+0x18c/0x3d0 [ 12.769648][ T208] __sys_setsockopt+0xe4/0x150 [ 12.769652][ T208] __x64_sys_setsockopt+0xbd/0x180 [ 12.769660][ T208] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.769663][ T208] ? lockdep_hardirqs_on+0x91/0x130 [ 12.769664][ T208] ? do_syscall_64+0xa6/0x530 [ 12.769666][ T208] do_syscall_64+0xff/0x530 [ 12.769667][ T208] ? exc_page_fault+0xee/0x100 [ 12.769670][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.769672][ T208] RIP: 0033:0x7f7b970cf2de [ 12.769676][ T208] 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.769678][ T208] RSP: 002b:00007fff4cbfb4d8 EFLAGS: 00000202 ORIG_RAX: 0000000000000036 [ 12.769681][ T208] RAX: ffffffffffffffda RBX: 00007f7b930636f0 RCX: 00007f7b970cf2de [ 12.769682][ T208] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000006 [ 12.769683][ T208] RBP: 00007fff4cbfb560 R08: 0000000000000010 R09: 00007fff4cbfb400 [ 12.769684][ T208] R10: 00007f7b92e6ff90 R11: 0000000000000202 R12: 00007f7b93064600 [ 12.769685][ T208] R13: 0000000000000003 R14: 00007f7b93064600 R15: 00007fff4cbfb838 [ 12.769691][ T208] [ 14.842277][ T208] test-dummy0: left promiscuous mode [ 14.842301][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.842304][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: python3 [ 14.842307][ T208] preempt_count: 1, expected: 0 [ 14.842308][ T208] RCU nest depth: 0, expected: 0 [ 14.842310][ T208] locks held by python3/208: 6, last CPU#1: [ 14.842313][ T208] #0: ffffffff8df22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_setsockopt+0x220/0x21e0 [ 14.842327][ T208] #1: ff1100000a56cde0 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: dev_set_promiscuity+0x96/0x230 [ 14.842337][ T208] #2: ffffffff8d799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.842344][ T208] #3: ffffffff8d799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.842350][ T208] #4: ffffffff8d689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.842355][ T208] #5: ffffffff8d689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.842361][ T208] irq event stamp: 890712 [ 14.842362][ T208] hardirqs last enabled at (890711): [] __down_trylock_console_sem+0x86/0xa0 [ 14.842366][ T208] hardirqs last disabled at (890712): [] console_emit_next_record+0x3f8/0x4f0 [ 14.842369][ T208] softirqs last enabled at (890688): [] __dev_queue_xmit+0x93b/0x1a20 [ 14.842372][ T208] softirqs last disabled at (890654): [] __dev_queue_xmit+0x243/0x1a20 [ 14.842375][ T208] Preemption disabled at: [ 14.842376][ T208] [] vprintk_emit+0x31b/0x3e0 [ 14.842383][ T208] CPU: 1 UID: 0 PID: 208 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.842388][ T208] Tainted: [W]=WARN [ 14.842389][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.842392][ T208] Call Trace: [ 14.842394][ T208] [ 14.842396][ T208] dump_stack_lvl+0x6f/0xa0 [ 14.842403][ T208] ? vprintk_emit+0x31b/0x3e0 [ 14.842405][ T208] __might_resched.cold+0x1fe/0x2c1 [ 14.842412][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.842417][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 14.842425][ T208] __kmalloc_noprof+0x443/0x760 [ 14.842429][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 14.842439][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 14.842442][ T208] alloc_buf.isra.0+0x4b/0x260 [ 14.842448][ T208] put_chars+0x1e1/0x2f0 [ 14.842453][ T208] ? __send_to_port+0x420/0x420 [ 14.842459][ T208] ? validate_chain+0x38b/0xc20 [ 14.842468][ T208] hvc_console_print+0x292/0x780 [ 14.842480][ T208] ? hvc_write+0x3a0/0x3a0 [ 14.842485][ T208] ? rcu_is_watching+0x16/0xd0 [ 14.842489][ T208] ? lock_acquire+0x13c/0x160 [ 14.842497][ T208] console_emit_next_record+0x252/0x4f0 [ 14.842503][ T208] ? devkmsg_read+0x4e0/0x4e0 [ 14.842510][ T208] ? rcu_is_watching+0x16/0xd0 [ 14.842513][ T208] ? lock_acquire+0x13c/0x160 [ 14.842521][ T208] console_flush_one_record+0x46f/0x710 [ 14.842527][ T208] ? console_emit_next_record+0x4f0/0x4f0 [ 14.842529][ T208] ? __lock_acquire+0x518/0xc20 [ 14.842539][ T208] console_unlock+0xee/0x1f0 [ 14.842543][ T208] ? console_flush_one_record+0x710/0x710 [ 14.842545][ T208] ? rcu_is_watching+0x16/0xd0 [ 14.842549][ T208] ? lock_acquire+0x60/0x160 [ 14.842555][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.842558][ T208] ? vprintk_emit+0x320/0x3e0 [ 14.842563][ T208] vprintk_emit+0x37c/0x3e0 [ 14.842569][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 14.842573][ T208] ? __lock_acquire+0x518/0xc20 [ 14.842581][ T208] _printk+0xc7/0x100 [ 14.842587][ T208] ? snapshot_read.cold+0x21/0x21 [ 14.842592][ T208] ? rcu_is_watching+0x16/0xd0 [ 14.842595][ T208] ? lock_acquire+0x13c/0x160 [ 14.842598][ T208] ? rcu_is_watching+0x16/0xd0 [ 14.842600][ T208] ? rcu_is_watching+0x16/0xd0 [ 14.842602][ T208] ? netdev_name+0x43/0x60 [ 14.842606][ T208] ? __netdev_printk+0x17f/0x1d0 [ 14.842613][ T208] netdev_info+0xe2/0x116 [ 14.842616][ T208] ? netdev_notice+0x120/0x120 [ 14.842621][ T208] ? ww_mutex_lock+0x160/0x160 [ 14.842629][ T208] ? __might_fault+0x97/0x140 [ 14.842639][ T208] __dev_set_promiscuity.cold+0x7a/0x104 [ 14.842646][ T208] netif_set_promiscuity+0x4c/0xc0 [ 14.842651][ T208] dev_set_promiscuity+0xa1/0x230 [ 14.842657][ T208] packet_setsockopt+0x1bd1/0x21e0 [ 14.842670][ T208] ? packet_bind+0x170/0x170 [ 14.842673][ T208] ? free_object+0x9/0x80 [ 14.842678][ T208] ? debug_object_free+0x27a/0x530 [ 14.842681][ T208] ? hrtimer_sleeper_start_expires+0x64/0x160 [ 14.842690][ T208] ? rt_mutex_postunlock+0x70/0x70 [ 14.842695][ T208] ? __asan_memset+0x27/0x50 [ 14.842704][ T208] ? hrtimer_nanosleep+0x2b6/0x340 [ 14.842708][ T208] ? nanosleep_copyout+0x120/0x120 [ 14.842713][ T208] do_sock_setsockopt+0x115/0x490 [ 14.842719][ T208] ? hrtimer_hres_workfn+0x20/0x20 [ 14.842722][ T208] ? put_user_ifreq+0x90/0x90 [ 14.842730][ T208] ? common_nsleep_timens+0x83/0x1d0 [ 14.842737][ T208] __sys_setsockopt+0xe4/0x150 [ 14.842746][ T208] __x64_sys_setsockopt+0xbd/0x180 [ 14.842748][ T208] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.842754][ T208] ? lockdep_hardirqs_on+0x91/0x130 [ 14.842757][ T208] ? do_syscall_64+0xa6/0x530 [ 14.842759][ T208] do_syscall_64+0xff/0x530 [ 14.842761][ T208] ? irq_exit_rcu+0x1a/0x30 [ 14.842767][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.842771][ T208] RIP: 0033:0x7f7b970cf2de [ 14.842776][ T208] 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 [ 14.842779][ T208] RSP: 002b:00007fff4cbfba88 EFLAGS: 00000202 ORIG_RAX: 0000000000000036 [ 14.842784][ T208] RAX: ffffffffffffffda RBX: 00007f7b93061d00 RCX: 00007f7b970cf2de [ 14.842786][ T208] RDX: 0000000000000002 RSI: 0000000000000107 RDI: 0000000000000006 [ 14.842787][ T208] RBP: 00007fff4cbfbb10 R08: 0000000000000010 R09: 00007fff4cbfb9b0 [ 14.842789][ T208] R10: 00007f7b92e81710 R11: 0000000000000202 R12: 00007f7b93064600 [ 14.842790][ T208] R13: 0000000000000003 R14: 00007f7b93064600 R15: 00007fff4cbfbde8 [ 14.842803][ T208] [ 15.141505][ T212] test-bond1 (unregistering): (slave test-bond0): Releasing backup interface [ 15.155556][ T212] test-bond1 (unregistering): Released all slaves [ 15.232501][ T213] test-bond0 (unregistering): Released all slaves