[ 13.058998][ C2] [ 13.059216][ C2] ================================ [ 13.059437][ C2] WARNING: inconsistent lock state [ 13.059649][ C2] 6.15.0-virtme #1 Not tainted [ 13.059863][ C2] -------------------------------- [ 13.060074][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.060338][ C2] modprobe/233 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.060604][ C2] ffffffffb8595218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 13.060988][ C2] {SOFTIRQ-ON-W} state was registered at: [ 13.061201][ C2] __lock_acquire+0x20b/0x7e0 [ 13.061421][ C2] lock_acquire.part.0+0xb6/0x240 [ 13.061637][ C2] _raw_spin_lock+0x33/0x40 [ 13.061861][ C2] xa_store+0x1c/0x50 [ 13.062032][ C2] ref_tracker_dir_debugfs+0x168/0x1b0 [ 13.062253][ C2] init_net_debugfs+0x15/0x70 [ 13.062471][ C2] do_one_initcall+0x8c/0x1e0 [ 13.062685][ C2] do_initcalls+0x176/0x280 [ 13.062904][ C2] kernel_init_freeable+0x22d/0x300 [ 13.063118][ C2] kernel_init+0x20/0x200 [ 13.063333][ C2] ret_from_fork+0x240/0x320 [ 13.063550][ C2] ret_from_fork_asm+0x1a/0x30 [ 13.063762][ C2] irq event stamp: 3430 [ 13.063924][ C2] hardirqs last enabled at (3430): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.064354][ C2] hardirqs last disabled at (3429): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.064728][ C2] softirqs last enabled at (1960): [] fpu_flush_thread+0x2b7/0x390 [ 13.065105][ C2] softirqs last disabled at (2151): [] __irq_exit_rcu+0xfa/0x160 [ 13.065478][ C2] [ 13.065478][ C2] other info that might help us debug this: [ 13.065795][ C2] Possible unsafe locking scenario: [ 13.065795][ C2] [ 13.066111][ C2] CPU0 [ 13.066268][ C2] ---- [ 13.066437][ C2] lock(&xa->xa_lock#8); [ 13.066603][ C2] [ 13.066765][ C2] lock(&xa->xa_lock#8); [ 13.066979][ C2] [ 13.066979][ C2] *** DEADLOCK *** [ 13.066979][ C2] [ 13.067298][ C2] 2 locks held by modprobe/233: [ 13.067514][ C2] #0: ffff88800bbef5a0 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0xde/0x2e0 [ 13.067904][ C2] #1: ffffffffb5b793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.068282][ C2] [ 13.068282][ C2] stack backtrace: [ 13.068551][ C2] CPU: 2 UID: 0 PID: 233 Comm: modprobe Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.068556][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.068558][ C2] Call Trace: [ 13.068560][ C2] [ 13.068562][ C2] dump_stack_lvl+0x82/0xd0 [ 13.068568][ C2] print_usage_bug.part.0+0x25f/0x360 [ 13.068572][ C2] mark_lock_irq+0x343/0x400 [ 13.068579][ C2] mark_lock+0x174/0x2f0 [ 13.068582][ C2] mark_usage+0x46/0x150 [ 13.068585][ C2] __lock_acquire+0x20b/0x7e0 [ 13.068587][ C2] ? unwind_next_frame+0x4f8/0x1e10 [ 13.068593][ C2] ? kmem_cache_alloc_noprof+0x10b/0x330 [ 13.068598][ C2] lock_acquire.part.0+0xb6/0x240 [ 13.068601][ C2] ? xa_set_mark+0x73/0x120 [ 13.068604][ C2] ? rcu_is_watching+0x12/0xc0 [ 13.068607][ C2] ? lock_acquire+0x10c/0x170 [ 13.068609][ C2] ? xa_set_mark+0x73/0x120 [ 13.068613][ C2] _raw_spin_lock+0x33/0x40 [ 13.068616][ C2] ? xa_set_mark+0x73/0x120 [ 13.068618][ C2] xa_set_mark+0x73/0x120 [ 13.068621][ C2] ? __pfx_xa_set_mark+0x10/0x10 [ 13.068623][ C2] ? __lock_acquire+0x44d/0x7e0 [ 13.068628][ C2] ? find_held_lock+0x2b/0x80 [ 13.068632][ C2] ref_tracker_dir_exit+0xb2/0x740 [ 13.068637][ C2] ? mark_held_locks+0x49/0x80 [ 13.068640][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.068643][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.068647][ C2] ? ref_tracker_free+0x35d/0x900 [ 13.068651][ C2] ? __lock_acquire+0x44d/0x7e0 [ 13.068653][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.068657][ C2] ? __sk_destruct+0x383/0x780 [ 13.068662][ C2] ? rcu_do_batch+0x34f/0xf20 [ 13.068665][ C2] ? rcu_core+0x2bb/0x500 [ 13.068667][ C2] ? handle_softirqs+0x21b/0x620 [ 13.068671][ C2] __put_net+0x83/0x140 [ 13.068675][ C2] ? kasan_save_track+0x14/0x30 [ 13.068680][ C2] ? __pfx___put_net+0x10/0x10 [ 13.068684][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 13.068689][ C2] __sk_destruct+0x58a/0x780 [ 13.068693][ C2] ? rcu_do_batch+0x34a/0xf20 [ 13.068696][ C2] rcu_do_batch+0x34f/0xf20 [ 13.068700][ C2] ? find_held_lock+0x2b/0x80 [ 13.068703][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.068707][ C2] ? mark_held_locks+0x49/0x80 [ 13.068710][ C2] ? note_gp_changes+0x182/0x1e0 [ 13.068713][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.068719][ C2] rcu_core+0x2bb/0x500 [ 13.068722][ C2] handle_softirqs+0x21b/0x620 [ 13.068726][ C2] __irq_exit_rcu+0xfa/0x160 [ 13.068729][ C2] irq_exit_rcu+0xe/0x30 [ 13.068731][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.068735][ C2] [ 13.068736][ C2] [ 13.068737][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.068741][ C2] RIP: 0010:unwind_get_return_address+0x77/0xa0 [ 13.068745][ C2] Code: ea 03 80 3c 02 00 75 36 48 8b 7b 58 e8 e2 13 0e 00 85 c0 74 cf 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 00 <75> 1c 48 8b 43 58 5b 5d e9 bc 66 9e 02 e8 07 a7 90 00 eb a0 48 89 [ 13.068747][ C2] RSP: 0018:ffffc90000af7130 EFLAGS: 00000246 [ 13.068750][ C2] RAX: dffffc0000000000 RBX: ffffc90000af7148 RCX: ffffc90000af6ff4 [ 13.068752][ C2] RDX: 1ffff9200015ee34 RSI: ffffffffb568fd19 RDI: ffffffffb29b9248 [ 13.068754][ C2] RBP: ffffc90000af71a0 R08: 0000000000000000 R09: ffffc90000af7189 [ 13.068756][ C2] R10: 0000000000000000 R11: ffffc90000af7188 R12: ffffc90000af7210 [ 13.068757][ C2] R13: 0000000000000000 R14: ffff88800b7bc5c0 R15: 0000000000092cc0 [ 13.068762][ C2] ? exec_binprm+0x258/0x640 [ 13.068766][ C2] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 13.068770][ C2] arch_stack_walk+0xa1/0xf0 [ 13.068777][ C2] ? exec_binprm+0x258/0x640 [ 13.068780][ C2] stack_trace_save+0x93/0xd0 [ 13.068784][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 13.068788][ C2] ? validate_chain+0x166/0x4d0 [ 13.068792][ C2] kasan_save_stack+0x24/0x50 [ 13.068795][ C2] ? kasan_save_stack+0x24/0x50 [ 13.068797][ C2] ? kasan_save_track+0x14/0x30 [ 13.068800][ C2] ? __kasan_slab_alloc+0x59/0x70 [ 13.068803][ C2] ? kmem_cache_alloc_noprof+0x10b/0x330 [ 13.068805][ C2] ? __alloc_object+0x2f/0x2e0 [ 13.068810][ C2] ? __create_object+0x22/0xb0 [ 13.068813][ C2] ? kmem_cache_alloc_noprof+0x288/0x330 [ 13.068815][ C2] ? vm_area_alloc+0x20/0x160 [ 13.068820][ C2] ? __mmap_region+0x97d/0x1b10 [ 13.068824][ C2] ? do_mmap+0x9fb/0xf90 [ 13.068827][ C2] ? vm_mmap_pgoff+0x151/0x2e0 [ 13.068829][ C2] ? elf_load+0x123/0x700 [ 13.068834][ C2] ? load_elf_binary+0x9c2/0x2960 [ 13.068837][ C2] ? find_held_lock+0x2b/0x80 [ 13.068841][ C2] ? mark_held_locks+0x49/0x80 [ 13.068844][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.068847][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.068851][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.068854][ C2] ? get_partial_node.part.0+0x1c2/0x3b0 [ 13.068859][ C2] ? ___slab_alloc+0x4b2/0x1170 [ 13.068862][ C2] ? __alloc_object+0x2f/0x2e0 [ 13.068867][ C2] kasan_save_track+0x14/0x30 [ 13.068870][ C2] __kasan_slab_alloc+0x59/0x70 [ 13.068873][ C2] kmem_cache_alloc_noprof+0x10b/0x330 [ 13.068876][ C2] ? vm_area_alloc+0x20/0x160 [ 13.068881][ C2] __alloc_object+0x2f/0x2e0 [ 13.068884][ C2] __create_object+0x22/0xb0 [ 13.068888][ C2] kmem_cache_alloc_noprof+0x288/0x330 [ 13.068891][ C2] ? vma_merge_new_range+0x860/0xb40 [ 13.068896][ C2] vm_area_alloc+0x20/0x160 [ 13.068899][ C2] __mmap_region+0x97d/0x1b10 [ 13.068904][ C2] ? __pfx___mmap_region+0x10/0x10 [ 13.068909][ C2] ? find_held_lock+0x2b/0x80 [ 13.068912][ C2] ? __virt_addr_valid+0x22e/0x450 [ 13.068916][ C2] ? __lock_release+0x5d/0x170 [ 13.068924][ C2] ? vms_complete_munmap_vmas+0x53c/0x9c0 [ 13.068937][ C2] ? mmap_region+0xe1/0x2e0 [ 13.068941][ C2] ? __pfx_ovl_mmap+0x10/0x10 [ 13.068946][ C2] do_mmap+0x9fb/0xf90 [ 13.068951][ C2] ? __pfx_do_mmap+0x10/0x10 [ 13.068953][ C2] ? down_write_killable+0x15e/0x250 [ 13.068956][ C2] ? __pfx_down_write_killable+0x10/0x10 [ 13.068959][ C2] ? __lock_release+0x5d/0x170 [ 13.068963][ C2] vm_mmap_pgoff+0x151/0x2e0 [ 13.068967][ C2] ? __pfx_vm_mmap_pgoff+0x10/0x10 [ 13.068971][ C2] ? __pfx_get_random_u64+0x10/0x10 [ 13.068976][ C2] elf_load+0x123/0x700 [ 13.068981][ C2] load_elf_binary+0x9c2/0x2960 [ 13.068989][ C2] ? find_held_lock+0x2b/0x80 [ 13.068992][ C2] ? __pfx_load_elf_binary+0x10/0x10 [ 13.068995][ C2] ? exec_binprm+0x237/0x640 [ 13.069000][ C2] exec_binprm+0x258/0x640 [ 13.069004][ C2] ? __pfx_exec_binprm+0x10/0x10 [ 13.069006][ C2] ? bprm_execve+0x93/0x490 [ 13.069011][ C2] bprm_execve+0x1af/0x490 [ 13.069013][ C2] kernel_execve+0x252/0x2f0 [ 13.069017][ C2] call_usermodehelper_exec_async+0x23e/0x460 [ 13.069022][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.069025][ C2] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 13.069028][ C2] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 13.069032][ C2] ret_from_fork+0x240/0x320 [ 13.069034][ C2] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 13.069038][ C2] ret_from_fork_asm+0x1a/0x30 [ 13.069044][ C2] [ 13.599769][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 14.617634][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 14.619099][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 15.641591][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 15.643004][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 16.665591][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 16.666963][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 17.689652][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 17.691035][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 18.713656][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 18.715033][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 19.737591][ C3] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK