[ 11.455789][ T182] ip (182) used greatest stack depth: 24072 bytes left [ 11.455807][ T182] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.455809][ T182] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 182, name: ip [ 11.455811][ T182] preempt_count: 2, expected: 0 [ 11.455812][ T182] RCU nest depth: 0, expected: 0 [ 11.455813][ T182] locks held by ip/182: 5, last CPU#3: [ 11.455815][ T182] #0: ffffffffa08027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.455827][ T182] #1: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.455833][ T182] #2: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.455836][ T182] #3: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.455839][ T182] #4: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.455843][ T182] irq event stamp: 26736 [ 11.455844][ T182] hardirqs last enabled at (26735): [] __down_trylock_console_sem+0x86/0xa0 [ 11.455847][ T182] hardirqs last disabled at (26736): [] console_emit_next_record+0x3f8/0x4f0 [ 11.455849][ T182] softirqs last enabled at (25162): [] netlink_release+0x17b/0xcf0 [ 11.455853][ T182] softirqs last disabled at (25160): [] netlink_release+0xd2/0xcf0 [ 11.455856][ T182] Preemption disabled at: [ 11.455856][ T182] [<0000000000000000>] 0x0 [ 11.455863][ T182] CPU: 3 UID: 0 PID: 182 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.455867][ T182] Tainted: [W]=WARN [ 11.455868][ T182] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.455870][ T182] Call Trace: [ 11.455871][ T182] [ 11.455873][ T182] dump_stack_lvl+0x6f/0xa0 [ 11.455879][ T182] __might_resched.cold+0x1fe/0x2c1 [ 11.455884][ T182] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.455888][ T182] ? __kmalloc_noprof+0xdb/0x760 [ 11.455893][ T182] __kmalloc_noprof+0x443/0x760 [ 11.455896][ T182] ? alloc_buf.isra.0+0x4b/0x260 [ 11.455902][ T182] ? do_raw_spin_unlock+0x59/0x250 [ 11.455904][ T182] alloc_buf.isra.0+0x4b/0x260 [ 11.455908][ T182] put_chars+0x1e1/0x2f0 [ 11.455912][ T182] ? __send_to_port+0x420/0x420 [ 11.455914][ T182] ? printk_get_next_message+0x2fe/0x7d0 [ 11.455917][ T182] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.455921][ T182] ? validate_chain+0x38b/0xc20 [ 11.455926][ T182] hvc_console_print+0x292/0x780 [ 11.455930][ T182] ? __lock_acquire+0x518/0xc20 [ 11.455932][ T182] ? __lock_acquire+0x518/0xc20 [ 11.455937][ T182] ? hvc_write+0x3a0/0x3a0 [ 11.455941][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.455943][ T182] ? lock_acquire+0x13c/0x160 [ 11.455948][ T182] console_emit_next_record+0x252/0x4f0 [ 11.455952][ T182] ? devkmsg_read+0x4e0/0x4e0 [ 11.455956][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.455958][ T182] ? lock_acquire+0x13c/0x160 [ 11.455963][ T182] console_flush_one_record+0x46f/0x710 [ 11.455967][ T182] ? console_emit_next_record+0x4f0/0x4f0 [ 11.455968][ T182] ? __lock_acquire+0x518/0xc20 [ 11.455978][ T182] console_unlock+0xee/0x1f0 [ 11.455980][ T182] ? console_flush_one_record+0x710/0x710 [ 11.455982][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.455984][ T182] ? lock_acquire+0x60/0x160 [ 11.455988][ T182] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.455990][ T182] ? vprintk_emit+0x320/0x3e0 [ 11.455993][ T182] vprintk_emit+0x37c/0x3e0 [ 11.455997][ T182] ? wake_up_klogd_work_func+0x90/0x90 [ 11.456000][ T182] ? __lock_acquire+0x518/0xc20 [ 11.456005][ T182] _printk+0xc7/0x100 [ 11.456008][ T182] ? snapshot_read.cold+0x21/0x21 [ 11.456011][ T182] ? do_raw_spin_lock+0x131/0x280 [ 11.456014][ T182] ? __rwlock_init+0x150/0x150 [ 11.456017][ T182] ? do_raw_spin_lock+0x131/0x280 [ 11.456020][ T182] do_exit.cold+0x82/0x9c [ 11.456024][ T182] ? exit_notify+0x890/0x890 [ 11.456025][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 11.456029][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.456033][ T182] do_group_exit+0xb8/0x370 [ 11.456036][ T182] __x64_sys_exit_group+0x3c/0x50 [ 11.456038][ T182] x64_sys_call+0x1567/0x1570 [ 11.456041][ T182] do_syscall_64+0xff/0x530 [ 11.456044][ T182] ? exc_page_fault+0xee/0x100 [ 11.456047][ T182] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.456049][ T182] RIP: 0033:0x7fdbf24a31b8 [ 11.456052][ T182] Code: Unable to access opcode bytes at 0x7fdbf24a318e. [ 11.456053][ T182] RSP: 002b:00007fff7c9f9e78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.456055][ T182] RAX: ffffffffffffffda RBX: 00007fdbf25d3f88 RCX: 00007fdbf24a31b8 [ 11.456056][ T182] RDX: 00007fdbf21edfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.456057][ T182] RBP: 00007fff7c9f9ed0 R08: 0000000000000000 R09: 0000000000000050 [ 11.456058][ T182] R10: 00007fff7c9f9c90 R11: 0000000000000246 R12: 0000000000000001 [ 11.456059][ T182] R13: 0000000000000000 R14: 00007fdbf25d2680 R15: 00007fdbf25d3fa0 [ 11.456067][ T182] [ 12.044479][ T204] bond0: (slave eth0): making interface the new active one [ 12.045635][ T204] bond0: (slave eth0): Enslaving as an active interface with an up link [ 12.063313][ T204] ip (204) used greatest stack depth: 23712 bytes left [ 12.089635][ T206] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 12.192961][ T209] Initializing XFRM netlink socket [ 12.330073][ T212] bond_xfrm_update_stats: eth0 doesn't support xdo_dev_state_update_stats [ 12.361953][ T217] bond_xfrm_update_stats: eth0 doesn't support xdo_dev_state_update_stats [ 12.405031][ T219] bond_xfrm_update_stats: eth0 doesn't support xdo_dev_state_update_stats [ 12.405656][ T219] bond_xfrm_update_stats: eth0 doesn't support xdo_dev_state_update_stats [ 13.329998][ C2] bond_xfrm_update_stats: eth0 doesn't support xdo_dev_state_update_stats [ 13.330047][ C2] [ 13.330049][ C2] ======================================================== [ 13.330050][ C2] WARNING: possible irq lock inversion dependency detected [ 13.330052][ C2] 7.2.0-virtme #1 Tainted: G W [ 13.330053][ C2] -------------------------------------------------------- [ 13.330054][ C2] swapper/2/0 just changed the state of lock: [ 13.330055][ C2] ffffffffa0889660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.330068][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 13.330070][ C2] (fs_reclaim){+.+.}-{0:0} [ 13.330071][ C2] [ 13.330071][ C2] [ 13.330071][ C2] and interrupts could create inverse lock ordering between them. [ 13.330071][ C2] [ 13.330072][ C2] [ 13.330072][ C2] other info that might help us debug this: [ 13.330073][ C2] Possible interrupt unsafe locking scenario: [ 13.330073][ C2] [ 13.330074][ C2] CPU0 CPU1 [ 13.330074][ C2] ---- ---- [ 13.330074][ C2] lock(fs_reclaim); [ 13.330075][ C2] local_irq_disable(); [ 13.330076][ C2] lock(console_owner); [ 13.330077][ C2] lock(fs_reclaim); [ 13.330078][ C2] [ 13.330078][ C2] lock(console_owner); [ 13.330079][ C2] [ 13.330079][ C2] *** DEADLOCK *** [ 13.330079][ C2] [ 13.330079][ C2] locks held by swapper/2/0: 4, last CPU#2: [ 13.330081][ C2] #0: ff110000051280c8 (&x->lock){+.-.}-{3:3}, at: xfrm_timer_handler+0x94/0xcb0 [ 13.330087][ C2] #1: ffffffffa09b0b00 (rcu_read_lock){....}-{1:3}, at: bond_xfrm_update_stats+0x25/0x1e0 [ 13.330093][ C2] #2: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.330096][ C2] #3: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.330099][ C2] [ 13.330099][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 13.330102][ C2] -> (fs_reclaim){+.+.}-{0:0} { [ 13.330105][ C2] HARDIRQ-ON-W at: [ 13.330106][ C2] __lock_acquire+0x388/0xc20 [ 13.330110][ C2] lock_acquire.part.0+0xd4/0x280 [ 13.330112][ C2] fs_reclaim_acquire+0xd5/0x120 [ 13.330115][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 13.330118][ C2] kthread_create_worker_on_node+0xea/0x210 [ 13.330121][ C2] workqueue_init+0x2a/0x680 [ 13.330125][ C2] kernel_init_freeable+0x2fe/0x630 [ 13.330127][ C2] kernel_init+0x21/0x150 [ 13.330131][ C2] ret_from_fork+0x474/0x6b0 [ 13.330134][ C2] ret_from_fork_asm+0x11/0x20 [ 13.330138][ C2] SOFTIRQ-ON-W at: [ 13.330139][ C2] __lock_acquire+0x388/0xc20 [ 13.330140][ C2] lock_acquire.part.0+0xd4/0x280 [ 13.330142][ C2] fs_reclaim_acquire+0xd5/0x120 [ 13.330143][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 13.330145][ C2] kthread_create_worker_on_node+0xea/0x210 [ 13.330147][ C2] workqueue_init+0x2a/0x680 [ 13.330148][ C2] kernel_init_freeable+0x2fe/0x630 [ 13.330149][ C2] kernel_init+0x21/0x150 [ 13.330150][ C2] ret_from_fork+0x474/0x6b0 [ 13.330152][ C2] ret_from_fork_asm+0x11/0x20 [ 13.330153][ C2] INITIAL USE at: [ 13.330154][ C2] __lock_acquire+0x388/0xc20 [ 13.330156][ C2] lock_acquire.part.0+0xd4/0x280 [ 13.330157][ C2] fs_reclaim_acquire+0xd5/0x120 [ 13.330159][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 13.330160][ C2] kthread_create_worker_on_node+0xea/0x210 [ 13.330162][ C2] workqueue_init+0x2a/0x680 [ 13.330163][ C2] kernel_init_freeable+0x2fe/0x630 [ 13.330164][ C2] kernel_init+0x21/0x150 [ 13.330166][ C2] ret_from_fork+0x474/0x6b0 [ 13.330167][ C2] ret_from_fork_asm+0x11/0x20 [ 13.330169][ C2] } [ 13.330169][ C2] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 13.330173][ C2] ... acquired at: [ 13.330174][ C2] __lock_acquire+0x518/0xc20 [ 13.330176][ C2] lock_acquire.part.0+0xd4/0x280 [ 13.330178][ C2] fs_reclaim_acquire+0xd5/0x120 [ 13.330179][ C2] __kmalloc_noprof+0xd3/0x760 [ 13.330181][ C2] alloc_buf.isra.0+0x4b/0x260 [ 13.330184][ C2] put_chars+0x1e1/0x2f0 [ 13.330185][ C2] hvc_console_print+0x292/0x780 [ 13.330188][ C2] console_emit_next_record+0x252/0x4f0 [ 13.330190][ C2] console_flush_one_record+0x46f/0x710 [ 13.330191][ C2] console_unlock+0xee/0x1f0 [ 13.330192][ C2] vprintk_emit+0x37c/0x3e0 [ 13.330193][ C2] _printk+0xc7/0x100 [ 13.330196][ C2] i8042_pnp_init+0xf7/0x3c0 [ 13.330198][ C2] i8042_platform_init+0x3f9/0x460 [ 13.330199][ C2] i8042_init+0x45/0x130 [ 13.330200][ C2] do_one_initcall+0x124/0x4f0 [ 13.330202][ C2] kernel_init_freeable+0x596/0x630 [ 13.330203][ C2] kernel_init+0x21/0x150 [ 13.330204][ C2] ret_from_fork+0x474/0x6b0 [ 13.330206][ C2] ret_from_fork_asm+0x11/0x20 [ 13.330207][ C2] [ 13.330208][ C2] -> (console_owner){..-.}-{0:0} { [ 13.330209][ C2] IN-SOFTIRQ-W at: [ 13.330213][ C2] __lock_acquire+0x388/0xc20 [ 13.330215][ C2] lock_acquire.part.0+0xd4/0x280 [ 13.330216][ C2] console_lock_spinning_enable+0x5c/0x60 [ 13.330218][ C2] console_emit_next_record+0x1f4/0x4f0 [ 13.330219][ C2] console_flush_one_record+0x46f/0x710 [ 13.330220][ C2] console_unlock+0xee/0x1f0 [ 13.330221][ C2] vprintk_emit+0x37c/0x3e0 [ 13.330222][ C2] _printk+0xc7/0x100 [ 13.330223][ C2] bond_xfrm_update_stats.cold+0x49/0x4e [ 13.330226][ C2] xfrm_timer_handler+0x10e/0xcb0 [ 13.330228][ C2] __run_hrtimer+0x281/0x560 [ 13.330230][ C2] __hrtimer_run_queues+0x123/0x270 [ 13.330232][ C2] hrtimer_run_softirq+0x1ba/0x320 [ 13.330233][ C2] handle_softirqs+0x1d3/0x900 [ 13.330236][ C2] __irq_exit_rcu+0x145/0x1c0 [ 13.330238][ C2] irq_exit_rcu+0xe/0x30 [ 13.330239][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.330241][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.330243][ C2] pv_native_safe_halt+0xf/0x10 [ 13.330244][ C2] default_idle+0x9/0x10 [ 13.330246][ C2] default_idle_call+0x6e/0xb0 [ 13.330247][ C2] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.330250][ C2] do_idle+0xd8/0x190 [ 13.330252][ C2] cpu_startup_entry+0x53/0x70 [ 13.330253][ C2] start_secondary+0x204/0x2b0 [ 13.330255][ C2] common_startup_64+0x13e/0x148 [ 13.330258][ C2] INITIAL USE at: [ 13.330259][ C2] } [ 13.330260][ C2] ... key at: [] console_owner_dep_map+0x0/0x60 [ 13.330263][ C2] ... acquired at: [ 13.330263][ C2] mark_lock+0x1d7/0xa00 [ 13.330265][ C2] mark_usage+0x42/0x170 [ 13.330266][ C2] __lock_acquire+0x388/0xc20 [ 13.330268][ C2] lock_acquire.part.0+0xd4/0x280 [ 13.330269][ C2] console_lock_spinning_enable+0x5c/0x60 [ 13.330271][ C2] console_emit_next_record+0x1f4/0x4f0 [ 13.330272][ C2] console_flush_one_record+0x46f/0x710 [ 13.330273][ C2] console_unlock+0xee/0x1f0 [ 13.330274][ C2] vprintk_emit+0x37c/0x3e0 [ 13.330275][ C2] _printk+0xc7/0x100 [ 13.330276][ C2] bond_xfrm_update_stats.cold+0x49/0x4e [ 13.330278][ C2] xfrm_timer_handler+0x10e/0xcb0 [ 13.330279][ C2] __run_hrtimer+0x281/0x560 [ 13.330280][ C2] __hrtimer_run_queues+0x123/0x270 [ 13.330281][ C2] hrtimer_run_softirq+0x1ba/0x320 [ 13.330283][ C2] handle_softirqs+0x1d3/0x900 [ 13.330284][ C2] __irq_exit_rcu+0x145/0x1c0 [ 13.330286][ C2] irq_exit_rcu+0xe/0x30 [ 13.330287][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.330288][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.330289][ C2] pv_native_safe_halt+0xf/0x10 [ 13.330291][ C2] default_idle+0x9/0x10 [ 13.330292][ C2] default_idle_call+0x6e/0xb0 [ 13.330293][ C2] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.330295][ C2] do_idle+0xd8/0x190 [ 13.330296][ C2] cpu_startup_entry+0x53/0x70 [ 13.330298][ C2] start_secondary+0x204/0x2b0 [ 13.330299][ C2] common_startup_64+0x13e/0x148 [ 13.330301][ C2] [ 13.330301][ C2] [ 13.330301][ C2] stack backtrace: [ 13.330304][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.330307][ C2] Tainted: [W]=WARN [ 13.330308][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.330311][ C2] Call Trace: [ 13.330312][ C2] [ 13.330315][ C2] dump_stack_lvl+0x6f/0xa0 [ 13.330318][ C2] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 13.330320][ C2] mark_lock_irq+0x989/0x9c0 [ 13.330324][ C2] mark_lock+0x1d7/0xa00 [ 13.330326][ C2] mark_usage+0x42/0x170 [ 13.330328][ C2] __lock_acquire+0x388/0xc20 [ 13.330330][ C2] lock_acquire.part.0+0xd4/0x280 [ 13.330332][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 13.330333][ C2] ? rcu_is_watching+0x16/0xd0 [ 13.330336][ C2] ? lock_acquire+0x13c/0x160 [ 13.330339][ C2] console_lock_spinning_enable+0x5c/0x60 [ 13.330340][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 13.330341][ C2] console_emit_next_record+0x1f4/0x4f0 [ 13.330343][ C2] ? devkmsg_read+0x4e0/0x4e0 [ 13.330345][ C2] ? rcu_is_watching+0x16/0xd0 [ 13.330346][ C2] ? lock_acquire+0x13c/0x160 [ 13.330348][ C2] console_flush_one_record+0x46f/0x710 [ 13.330350][ C2] ? console_emit_next_record+0x4f0/0x4f0 [ 13.330352][ C2] ? __lock_acquire+0x518/0xc20 [ 13.330354][ C2] console_unlock+0xee/0x1f0 [ 13.330355][ C2] ? console_flush_one_record+0x710/0x710 [ 13.330357][ C2] ? rcu_is_watching+0x16/0xd0 [ 13.330358][ C2] ? lock_acquire+0x60/0x160 [ 13.330360][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.330363][ C2] ? vprintk_emit+0x320/0x3e0 [ 13.330364][ C2] vprintk_emit+0x37c/0x3e0 [ 13.330366][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 13.330367][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 13.330370][ C2] _printk+0xc7/0x100 [ 13.330371][ C2] ? snapshot_read.cold+0x21/0x21 [ 13.330373][ C2] ? ___ratelimit+0x4e7/0xa00 [ 13.330376][ C2] ? idr_get_free+0x830/0x830 [ 13.330379][ C2] bond_xfrm_update_stats.cold+0x49/0x4e [ 13.330381][ C2] xfrm_timer_handler+0x10e/0xcb0 [ 13.330383][ C2] ? xfrm_state_delete+0x40/0x40 [ 13.330384][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 13.330386][ C2] ? rb_erase_linked+0xc5/0x1b0 [ 13.330388][ C2] ? rcu_is_watching+0x16/0xd0 [ 13.330389][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.330392][ C2] ? xfrm_state_delete+0x40/0x40 [ 13.330394][ C2] __run_hrtimer+0x281/0x560 [ 13.330396][ C2] __hrtimer_run_queues+0x123/0x270 [ 13.330398][ C2] hrtimer_run_softirq+0x1ba/0x320 [ 13.330400][ C2] handle_softirqs+0x1d3/0x900 [ 13.330402][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 13.330404][ C2] ? _local_bh_enable+0xc0/0xc0 [ 13.330406][ C2] __irq_exit_rcu+0x145/0x1c0 [ 13.330408][ C2] irq_exit_rcu+0xe/0x30 [ 13.330410][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.330412][ C2] [ 13.330412][ C2] [ 13.330413][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 13.330414][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.330416][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 13.330418][ C2] Code: 48 8b 3d 94 12 09 02 e8 1f 00 00 00 48 2b 05 58 a3 a6 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 56 1b 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 13.330420][ C2] RSP: 0018:ffa0000000157e00 EFLAGS: 00000282 [ 13.330422][ C2] RAX: 0000000000049e5f RBX: ff11000001bf46c0 RCX: ffffffff9d4fa307 [ 13.330423][ C2] RDX: ff11000001bf46c0 RSI: ffffffffa04a7f94 RDI: ffffffff9fe8f560 [ 13.330424][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 13.330425][ C2] R10: 0000000000000002 R11: 0000000000000001 R12: 1ff400000002afc3 [ 13.330426][ C2] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 13.330427][ C2] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.330430][ C2] default_idle+0x9/0x10 [ 13.330431][ C2] default_idle_call+0x6e/0xb0 [ 13.330433][ C2] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.330435][ C2] ? arch_cpu_idle_exit+0x40/0x40 [ 13.330437][ C2] ? mark_tsc_async_resets+0x30/0x30 [ 13.330439][ C2] ? rcu_is_watching+0x16/0xd0 [ 13.330441][ C2] do_idle+0xd8/0x190 [ 13.330442][ C2] cpu_startup_entry+0x53/0x70 [ 13.330444][ C2] start_secondary+0x204/0x2b0 [ 13.330446][ C2] ? set_cpu_sibling_map+0x2130/0x2130 [ 13.330448][ C2] common_startup_64+0x13e/0x148 [ 13.330451][ C2] [ 13.330456][ C2] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.330458][ C2] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/2 [ 13.330459][ C2] preempt_count: 103, expected: 0 [ 13.330460][ C2] RCU nest depth: 1, expected: 0 [ 13.330461][ C2] INFO: lockdep is turned off. [ 13.330461][ C2] irq event stamp: 302699 [ 13.330462][ C2] hardirqs last enabled at (302698): [] __down_trylock_console_sem+0x86/0xa0 [ 13.330465][ C2] hardirqs last disabled at (302699): [] console_emit_next_record+0x3f8/0x4f0 [ 13.330466][ C2] softirqs last enabled at (302652): [] handle_softirqs+0x67c/0x900 [ 13.330468][ C2] softirqs last disabled at (302689): [] __irq_exit_rcu+0x145/0x1c0 [ 13.330470][ C2] Preemption disabled at: [ 13.330470][ C2] [<0000000000000000>] 0x0 [ 13.330474][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.330476][ C2] Tainted: [W]=WARN [ 13.330476][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.330477][ C2] Call Trace: [ 13.330477][ C2] [ 13.330478][ C2] dump_stack_lvl+0x6f/0xa0 [ 13.330480][ C2] __might_resched.cold+0x1fe/0x2c1 [ 13.330483][ C2] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.330485][ C2] ? nbcon_get_cpu_emergency_nesting+0xa/0x30 [ 13.330487][ C2] ? rcu_is_watching+0x16/0xd0 [ 13.330489][ C2] __kmalloc_noprof+0x443/0x760 [ 13.330491][ C2] ? __rwlock_init+0x150/0x150 [ 13.330492][ C2] ? alloc_buf.isra.0+0x4b/0x260 [ 13.330494][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 13.330496][ C2] alloc_buf.isra.0+0x4b/0x260 [ 13.330498][ C2] put_chars+0x1e1/0x2f0 [ 13.330501][ C2] ? __send_to_port+0x420/0x420 [ 13.330503][ C2] ? mark_lock+0x1d7/0xa00 [ 13.330505][ C2] hvc_console_print+0x292/0x780 [ 13.330509][ C2] ? hvc_write+0x3a0/0x3a0 [ 13.330511][ C2] ? lock_acquire+0x13c/0x160 [ 13.330513][ C2] console_emit_next_record+0x252/0x4f0 [ 13.330515][ C2] ? devkmsg_read+0x4e0/0x4e0 [ 13.330517][ C2] ? rcu_is_watching+0x16/0xd0 [ 13.330518][ C2] ? lock_acquire+0x13c/0x160 [ 13.330520][ C2] console_flush_one_record+0x46f/0x710 [ 13.330522][ C2] ? console_emit_next_record+0x4f0/0x4f0 [ 13.330523][ C2] ? __lock_acquire+0x518/0xc20 [ 13.330526][ C2] console_unlock+0xee/0x1f0 [ 13.330527][ C2] ? console_flush_one_record+0x710/0x710 [ 13.330529][ C2] ? rcu_is_watching+0x16/0xd0 [ 13.330530][ C2] ? lock_acquire+0x60/0x160 [ 13.330532][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.330534][ C2] ? vprintk_emit+0x320/0x3e0 [ 13.330535][ C2] vprintk_emit+0x37c/0x3e0 [ 13.330537][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 13.330539][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 13.330541][ C2] _printk+0xc7/0x100 [ 13.330543][ C2] ? snapshot_read.cold+0x21/0x21 [ 13.330544][ C2] ? ___ratelimit+0x4e7/0xa00 [ 13.330547][ C2] ? idr_get_free+0x830/0x830 [ 13.330549][ C2] bond_xfrm_update_stats.cold+0x49/0x4e [ 13.330551][ C2] xfrm_timer_handler+0x10e/0xcb0 [ 13.330553][ C2] ? xfrm_state_delete+0x40/0x40 [ 13.330554][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 13.330556][ C2] ? rb_erase_linked+0xc5/0x1b0 [ 13.330558][ C2] ? rcu_is_watching+0x16/0xd0 [ 13.330559][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.330561][ C2] ? xfrm_state_delete+0x40/0x40 [ 13.330562][ C2] __run_hrtimer+0x281/0x560 [ 13.330564][ C2] __hrtimer_run_queues+0x123/0x270 [ 13.330567][ C2] hrtimer_run_softirq+0x1ba/0x320 [ 13.330569][ C2] handle_softirqs+0x1d3/0x900 [ 13.330571][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 13.330573][ C2] ? _local_bh_enable+0xc0/0xc0 [ 13.330575][ C2] __irq_exit_rcu+0x145/0x1c0 [ 13.330577][ C2] irq_exit_rcu+0xe/0x30 [ 13.330578][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.330580][ C2] [ 13.330580][ C2] [ 13.330581][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 13.330582][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.330584][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 13.330586][ C2] Code: 48 8b 3d 94 12 09 02 e8 1f 00 00 00 48 2b 05 58 a3 a6 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 56 1b 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 13.330587][ C2] RSP: 0018:ffa0000000157e00 EFLAGS: 00000282 [ 13.330588][ C2] RAX: 0000000000049e5f RBX: ff11000001bf46c0 RCX: ffffffff9d4fa307 [ 13.330589][ C2] RDX: ff11000001bf46c0 RSI: ffffffffa04a7f94 RDI: ffffffff9fe8f560 [ 13.330590][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 13.330590][ C2] R10: 0000000000000002 R11: 0000000000000001 R12: 1ff400000002afc3 [ 13.330591][ C2] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 13.330593][ C2] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.330595][ C2] default_idle+0x9/0x10 [ 13.330597][ C2] default_idle_call+0x6e/0xb0 [ 13.330598][ C2] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.330600][ C2] ? arch_cpu_idle_exit+0x40/0x40 [ 13.330602][ C2] ? mark_tsc_async_resets+0x30/0x30 [ 13.330604][ C2] ? rcu_is_watching+0x16/0xd0 [ 13.330605][ C2] do_idle+0xd8/0x190 [ 13.330607][ C2] cpu_startup_entry+0x53/0x70 [ 13.330609][ C2] start_secondary+0x204/0x2b0 [ 13.330611][ C2] ? set_cpu_sibling_map+0x2130/0x2130 [ 13.330613][ C2] common_startup_64+0x13e/0x148 [ 13.330616][ C2] [ 13.396229][ C2] bond_xfrm_update_stats: eth0 doesn't support xdo_dev_state_update_stats [ 13.689386][ T72] bond0: (slave eth0): link status definitely down, disabling slave [ 13.689643][ T72] bond0: (slave eth1): making interface the new active one [ 15.042270][ T72] bond0: (slave eth1): Releasing backup interface [ 15.042286][ T72] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.042289][ T72] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 72, name: kworker/u16:1 [ 15.042291][ T72] preempt_count: 1, expected: 0 [ 15.042291][ T72] RCU nest depth: 0, expected: 0 [ 15.042292][ T72] INFO: lockdep is turned off. [ 15.042294][ T72] irq event stamp: 802 [ 15.042295][ T72] hardirqs last enabled at (801): [] _raw_spin_unlock_irq+0x28/0x50 [ 15.042304][ T72] hardirqs last disabled at (802): [] __schedule+0x1246/0x20e0 [ 15.042308][ T72] softirqs last enabled at (758): [] __dev_queue_xmit+0x93b/0x1a20 [ 15.042311][ T72] softirqs last disabled at (710): [] __dev_queue_xmit+0x243/0x1a20 [ 15.042313][ T72] Preemption disabled at: [ 15.042314][ T72] [] vprintk_emit+0x31b/0x3e0 [ 15.042322][ T72] CPU: 2 UID: 0 PID: 72 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.042326][ T72] Tainted: [W]=WARN [ 15.042327][ T72] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.042329][ T72] Workqueue: netns cleanup_net [ 15.042334][ T72] Call Trace: [ 15.042336][ T72] [ 15.042337][ T72] dump_stack_lvl+0x6f/0xa0 [ 15.042342][ T72] ? vprintk_emit+0x31b/0x3e0 [ 15.042343][ T72] __might_resched.cold+0x1fe/0x2c1 [ 15.042347][ T72] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.042350][ T72] ? __asan_memcpy+0x3c/0x60 [ 15.042353][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042357][ T72] __kmalloc_noprof+0x443/0x760 [ 15.042360][ T72] ? __rwlock_init+0x150/0x150 [ 15.042362][ T72] ? alloc_buf.isra.0+0x4b/0x260 [ 15.042366][ T72] ? do_raw_spin_unlock+0x59/0x250 [ 15.042368][ T72] alloc_buf.isra.0+0x4b/0x260 [ 15.042370][ T72] put_chars+0x1e1/0x2f0 [ 15.042373][ T72] ? __send_to_port+0x420/0x420 [ 15.042375][ T72] ? desc_read+0x2f0/0x2f0 [ 15.042377][ T72] ? console_prepend_replay+0x20/0x20 [ 15.042378][ T72] ? desc_read+0x219/0x2f0 [ 15.042380][ T72] hvc_console_print+0x292/0x780 [ 15.042385][ T72] ? hvc_write+0x3a0/0x3a0 [ 15.042387][ T72] ? __rwlock_init+0x150/0x150 [ 15.042388][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042389][ T72] ? lock_acquire+0x13c/0x160 [ 15.042392][ T72] console_emit_next_record+0x252/0x4f0 [ 15.042394][ T72] ? devkmsg_read+0x4e0/0x4e0 [ 15.042395][ T72] ? _prb_read_valid+0x6e0/0x6e0 [ 15.042397][ T72] ? __asan_memmove+0x3c/0x60 [ 15.042399][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042400][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042401][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042402][ T72] ? lock_acquire+0x13c/0x160 [ 15.042404][ T72] ? console_flush_one_record+0x111/0x710 [ 15.042406][ T72] console_flush_one_record+0x46f/0x710 [ 15.042408][ T72] ? console_emit_next_record+0x4f0/0x4f0 [ 15.042410][ T72] console_unlock+0xee/0x1f0 [ 15.042411][ T72] ? lock_acquire+0x13c/0x160 [ 15.042413][ T72] ? console_flush_one_record+0x710/0x710 [ 15.042414][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042415][ T72] ? lock_release+0x184/0x1f0 [ 15.042417][ T72] ? lock_acquire+0x60/0x160 [ 15.042419][ T72] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 15.042420][ T72] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.042423][ T72] ? vprintk_emit+0x320/0x3e0 [ 15.042424][ T72] vprintk_emit+0x37c/0x3e0 [ 15.042427][ T72] ? wake_up_klogd_work_func+0x90/0x90 [ 15.042428][ T72] ? bond_slave_netdev_event.isra.0+0x23/0x820 [ 15.042431][ T72] _printk+0xc7/0x100 [ 15.042435][ T72] ? snapshot_read.cold+0x21/0x21 [ 15.042437][ T72] ? __netdev_upper_dev_unlink+0x16f/0x1e0 [ 15.042438][ T72] ? netdev_name+0x43/0x60 [ 15.042441][ T72] ? __netdev_printk+0x17f/0x1d0 [ 15.042443][ T72] netdev_info+0xe2/0x116 [ 15.042445][ T72] ? netdev_notice+0x120/0x120 [ 15.042446][ T72] ? netdev_upper_dev_unlink+0x79/0xa0 [ 15.042448][ T72] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 15.042450][ T72] __bond_release_one.cold+0x80/0xa60 [ 15.042454][ T72] ? __flush_work+0x70/0x1f0 [ 15.042457][ T72] ? bond_enslave+0x5100/0x5100 [ 15.042460][ T72] ? trace_hardirqs_on+0x36/0x40 [ 15.042463][ T72] ? __local_bh_enable_ip+0xaa/0x150 [ 15.042466][ T72] ? bond_slave_netdev_event.isra.0+0xaa/0x820 [ 15.042467][ T72] ? xfrm_dev_policy_flush+0x17c/0x220 [ 15.042471][ T72] bond_netdev_event+0x13f/0x300 [ 15.042472][ T72] notifier_call_chain+0xae/0x300 [ 15.042476][ T72] unregister_netdevice_many_notify+0xc5a/0x1b40 [ 15.042479][ T72] ? unregister_netdevice_queued+0x80/0x80 [ 15.042481][ T72] ? nsim_destroy+0x133/0x7c0 [netdevsim] [ 15.042487][ T72] ? netdev_run_todo+0x2a8/0xfd0 [ 15.042489][ T72] ? rtnl_is_locked+0x15/0x20 [ 15.042492][ T72] unregister_netdevice_queue+0x290/0x470 [ 15.042494][ T72] ? rtnl_net_dev_lock+0xdb/0x270 [ 15.042496][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042497][ T72] ? unregister_netdevice_many+0x20/0x20 [ 15.042500][ T72] nsim_destroy+0x1b1/0x7c0 [netdevsim] [ 15.042503][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042505][ T72] __nsim_dev_port_del+0x183/0x300 [netdevsim] [ 15.042508][ T72] nsim_dev_reload_destroy+0xe3/0x4b0 [netdevsim] [ 15.042511][ T72] nsim_dev_reload_down+0x5d/0xc0 [netdevsim] [ 15.042514][ T72] devlink_reload+0x16a/0x430 [ 15.042517][ T72] ? xas_find_conflict+0xa51/0xb10 [ 15.042520][ T72] ? devlink_notify_unregister+0x60/0x60 [ 15.042522][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042523][ T72] ? lock_release+0x184/0x1f0 [ 15.042526][ T72] devlink_pernet_pre_exit+0x1fd/0x330 [ 15.042527][ T72] ? devlink_free+0x480/0x480 [ 15.042529][ T72] ? lock_release+0x184/0x1f0 [ 15.042531][ T72] ? _raw_spin_unlock+0x2d/0x50 [ 15.042533][ T72] ops_undo_list+0x156/0x8f0 [ 15.042535][ T72] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 15.042536][ T72] ? idr_alloc+0xc0/0xc0 [ 15.042539][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042541][ T72] cleanup_net+0x431/0x890 [ 15.042543][ T72] ? net_passive_dec+0x230/0x230 [ 15.042544][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042546][ T72] ? lock_acquire+0x13c/0x160 [ 15.042547][ T72] ? rcu_is_watching+0x16/0xd0 [ 15.042549][ T72] process_one_work+0xe3e/0x1560 [ 15.042551][ T72] ? __queue_delayed_work+0x470/0x470 [ 15.042553][ T72] ? find_held_lock+0x2b/0x80 [ 15.042555][ T72] ? __rwlock_init+0x150/0x150 [ 15.042557][ T72] worker_thread+0x4f1/0xd60 [ 15.042559][ T72] ? rescuer_thread+0x1340/0x1340 [ 15.042560][ T72] ? __kthread_parkme+0xbd/0x210 [ 15.042563][ T72] ? rescuer_thread+0x1340/0x1340 [ 15.042565][ T72] ? rescuer_thread+0x1340/0x1340 [ 15.042566][ T72] kthread+0x367/0x460 [ 15.042567][ T72] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.042569][ T72] ? kthread_affine_preferred+0x4c0/0x4c0 [ 15.042571][ T72] ret_from_fork+0x474/0x6b0 [ 15.042575][ T72] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 15.042577][ T72] ? __switch_to+0x5a3/0xe00 [ 15.042580][ T72] ? kthread_affine_preferred+0x4c0/0x4c0 [ 15.042582][ T72] ret_from_fork_asm+0x11/0x20 [ 15.042586][ T72] [ 15.088184][ T72] bond0: (slave eth0): Releasing backup interface [ 15.128012][ T72] bond0 (unregistering): Released all slaves