======================================
| [ 263.595716][ C1] 1 lock held by swapper/1/0:
| [ 263.595908][ C1] #0: ffffc900001c0d60 ((&icsk->icsk_retransmit_timer)){+.-.}-{0:0}, at: call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1737)
| [ 263.596297][ C1]
| [ 263.596297][ C1] stack backtrace:
[ 263.596538][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 263.596540][ C1] Call Trace:
[ 263.596542][ C1]
[ 263.596545][ C1] dump_stack_lvl (lib/dump_stack.c:123)
[ 263.596551][ C1] print_usage_bug.part.0 (kernel/locking/lockdep.c:4048)
[ 263.596556][ C1] mark_lock_irq (kernel/locking/lockdep.c:4013 kernel/locking/lockdep.c:4059 kernel/locking/lockdep.c:4270)
[ 263.596561][ C1] ? add_lock_to_list (kernel/locking/lockdep.c:1409 kernel/locking/lockdep.c:1437)
[ 263.596566][ C1] mark_lock (kernel/locking/lockdep.c:4756)
[ 263.596571][ C1] mark_usage (kernel/locking/lockdep.c:4645)
[ 263.596574][ C1] __lock_acquire (kernel/locking/lockdep.c:5194)
[ 263.596578][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5240)
[ 263.596582][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:473 kernel/locking/lockdep.c:5873)
[ 263.596586][ C1] ? simple_pin_fs (fs/libfs.c:1067)
[ 263.596590][ C1] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 263.596596][ C1] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5834)
[ 263.596599][ C1] ? simple_pin_fs (fs/libfs.c:1067)
[ 263.596604][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154)
[ 263.596607][ C1] ? simple_pin_fs (fs/libfs.c:1067)
[ 263.596610][ C1] simple_pin_fs (fs/libfs.c:1067)
[ 263.596614][ C1] debugfs_remove (fs/debugfs/inode.c:805 fs/debugfs/inode.c:799)
[ 263.596618][ C1] ref_tracker_dir_exit (lib/ref_tracker.c:411 lib/ref_tracker.c:195)
[ 263.596623][ C1] ? __pfx_ref_tracker_free (lib/ref_tracker.c:253)
[ 263.596626][ C1] ? __sk_destruct (./include/linux/instrumented.h:96 ./include/linux/atomic/atomic-instrumented.h:400 ./include/linux/refcount.h:389 ./include/linux/refcount.h:432 ./include/linux/refcount.h:450 ./include/net/net_namespace.h:287 ./include/net/net_namespace.h:390 net/core/sock.c:2376)
[ 263.596632][ C1] ? call_timer_fn (kernel/time/timer.c:1748)
[ 263.596636][ C1] ? __pfx_ref_tracker_dir_exit (lib/ref_tracker.c:189)
[ 263.596639][ C1] ? handle_softirqs (kernel/softirq.c:580)
[ 263.596642][ C1] ? __irq_exit_rcu (kernel/softirq.c:614 kernel/softirq.c:453 kernel/softirq.c:680)
[ 263.596646][ C1] ? irq_exit_rcu (kernel/softirq.c:698)
[ 263.596648][ C1] ? sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1050 arch/x86/kernel/apic/apic.c:1050)
[ 263.596652][ C1] ? asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702)
[ 263.596656][ C1] ? pv_native_safe_halt (arch/x86/kernel/paravirt.c:82)
[ 263.596659][ C1] ? default_idle (./arch/x86/include/asm/paravirt.h:107 arch/x86/kernel/process.c:743)
[ 263.596661][ C1] ? default_idle_call (./include/linux/cpuidle.h:143 kernel/sched/idle.c:118)
[ 263.596663][ C1] ? cpuidle_idle_call (kernel/sched/idle.c:186)
[ 263.596667][ C1] ? do_idle (kernel/sched/idle.c:325)
[ 263.596670][ C1] ? cpu_startup_entry (kernel/sched/idle.c:422 (discriminator 1))
[ 263.596675][ C1] __put_net (net/core/net_namespace.c:732)
[ 263.596679][ C1] __sk_destruct (./include/net/net_namespace.h:288 ./include/net/net_namespace.h:390 net/core/sock.c:2376)
[ 263.596683][ C1] ? __pfx_tcp_write_timer (net/ipv4/tcp_timer.c:727)
[ 263.596687][ C1] call_timer_fn (kernel/time/timer.c:1748)
[ 263.596690][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1737)
[ 263.596692][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1737)
[ 263.596695][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1724)
[ 263.596700][ C1] ? __run_timers (kernel/time/timer.c:1798 kernel/time/timer.c:2372)
[ 263.596703][ C1] ? __lock_release (kernel/locking/lockdep.c:5539)
[ 263.596707][ C1] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 263.596711][ C1] __run_timers (kernel/time/timer.c:1799 kernel/time/timer.c:2372)
[ 263.596715][ C1] ? __pfx_tcp_write_timer (net/ipv4/tcp_timer.c:727)
[ 263.596719][ C1] ? __pfx___run_timers (kernel/time/timer.c:2343)
[ 263.596724][ C1] ? do_raw_spin_lock (./arch/x86/include/asm/atomic.h:107 ./include/linux/atomic/atomic-arch-fallback.h:2170 ./include/linux/atomic/atomic-instrumented.h:1302 ./include/asm-generic/qspinlock.h:111 kernel/locking/spinlock_debug.c:116)
[ 263.596727][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 263.596730][ C1] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5834)
[ 263.596733][ C1] ? run_timer_base (kernel/time/timer.c:2384 kernel/time/timer.c:2376 kernel/time/timer.c:2393)
[ 263.596738][ C1] run_timer_base (kernel/time/timer.c:2385 kernel/time/timer.c:2376 kernel/time/timer.c:2393)
[ 263.596741][ C1] run_timer_softirq (kernel/time/timer.c:2404)
[ 263.596744][ C1] handle_softirqs (kernel/softirq.c:580)
[ 263.596750][ C1] __irq_exit_rcu (kernel/softirq.c:614 kernel/softirq.c:453 kernel/softirq.c:680)
[ 263.596753][ C1] irq_exit_rcu (kernel/softirq.c:698)
[ 263.596755][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1050 arch/x86/kernel/apic/apic.c:1050)
[ 263.596759][ C1]
[ 263.596760][ C1]
[ 263.596762][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702)
[ 263.596764][ C1] RIP: 0010:pv_native_safe_halt (arch/x86/kernel/paravirt.c:82)
[ 263.596768][ C1] Code: f2 ce 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 83 17 28 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90
All code
========
0: f2 ce repnz (bad)
2: 00 c3 add %al,%bl
4: cc int3
5: cc int3
6: cc int3
7: cc int3
8: 0f 1f 00 nopl (%rax)
b: 90 nop
c: 90 nop
d: 90 nop
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 90 nop
17: 90 nop
18: 90 nop
19: 90 nop
1a: 90 nop
1b: f3 0f 1e fa endbr64
1f: 66 90 xchg %ax,%ax
21: 0f 00 2d 83 17 28 00 verw 0x281783(%rip) # 0x2817ab
28: fb sti
29: f4 hlt
2a:* e9 fc 54 02 00 jmp 0x2552b <-- trapping instruction
2f: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
36: 00 00 00
39: 66 90 xchg %ax,%ax
3b: 90 nop
3c: 90 nop
3d: 90 nop
3e: 90 nop
3f: 90 nop
Code starting with the faulting instruction
===========================================
0: e9 fc 54 02 00 jmp 0x25501
5: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
c: 00 00 00
f: 66 90 xchg %ax,%ax
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
[ 263.596771][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246
[ 263.596774][ C1] RAX: 0000000000994603 RBX: 1ffff92000026fc1 RCX: ffffffff8ba125d9
[ 263.596776][ C1] RDX: 0000000000000000 RSI: ffffffff8c6a61cd RDI: ffffffff8be58be0
[ 263.596778][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c166fa
[ 263.596780][ C1] R10: ffff8880360b37d3 R11: ffffffff8c811288 R12: 0000000000000000
[ 263.596781][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000
[ 263.596785][ C1] ? ct_kernel_exit.constprop.0 (kernel/context_tracking.c:146)
[ 263.596790][ C1] default_idle (./arch/x86/include/asm/paravirt.h:107 arch/x86/kernel/process.c:743)
[ 263.596792][ C1] default_idle_call (./include/linux/cpuidle.h:143 kernel/sched/idle.c:118)
[ 263.596794][ C1] cpuidle_idle_call (kernel/sched/idle.c:186)
[ 263.596798][ C1] ? __pfx_cpuidle_idle_call (kernel/sched/idle.c:168)
[ 263.596802][ C1] ? tsc_verify_tsc_adjust (arch/x86/kernel/tsc_sync.c:60)
[ 263.596809][ C1] do_idle (kernel/sched/idle.c:325)
[ 263.596812][ C1] cpu_startup_entry (kernel/sched/idle.c:422 (discriminator 1))
[ 263.596816][ C1] start_secondary (arch/x86/kernel/smpboot.c:203 arch/x86/kernel/smpboot.c:283)
[ 263.596819][ C1] ? __pfx_start_secondary (arch/x86/kernel/smpboot.c:233)
[ 263.596824][ C1] common_startup_64 (arch/x86/kernel/head_64.S:419)
| [ 263.615305][ C1] RCU nest depth: 0, expected: 0
| [ 263.615594][ C1] INFO: lockdep is turned off.
| [ 263.615772][ C1] Preemption disabled at:
| [ 263.615773][ C1] 0x0
[ 263.616085][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 263.616086][ C1] Call Trace:
[ 263.616088][ C1]
[ 263.616090][ C1] dump_stack_lvl (lib/dump_stack.c:123)
[ 263.616097][ C1] __might_resched (kernel/sched/core.c:8796)
[ 263.616102][ C1] down_write (./include/linux/kernel.h:73 kernel/locking/rwsem.c:1576)
[ 263.616106][ C1] ? __pfx_down_write (kernel/locking/rwsem.c:1575)
[ 263.616109][ C1] ? simple_recursive_removal (fs/libfs.c:614)
[ 263.616113][ C1] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 263.616120][ C1] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141)
[ 263.616125][ C1] simple_recursive_removal (./include/linux/dcache.h:409 ./include/linux/dcache.h:424 ./include/linux/dcache.h:434 fs/libfs.c:617)
[ 263.616128][ C1] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141)
[ 263.616130][ C1] ? __pfx_remove_one (fs/debugfs/inode.c:780)
[ 263.616136][ C1] debugfs_remove (fs/debugfs/inode.c:806 fs/debugfs/inode.c:799)
[ 263.616139][ C1] ref_tracker_dir_exit (lib/ref_tracker.c:411 lib/ref_tracker.c:195)
[ 263.616144][ C1] ? __pfx_ref_tracker_free (lib/ref_tracker.c:253)
[ 263.616147][ C1] ? __sk_destruct (./include/linux/instrumented.h:96 ./include/linux/atomic/atomic-instrumented.h:400 ./include/linux/refcount.h:389 ./include/linux/refcount.h:432 ./include/linux/refcount.h:450 ./include/net/net_namespace.h:287 ./include/net/net_namespace.h:390 net/core/sock.c:2376)
[ 263.616153][ C1] ? call_timer_fn (kernel/time/timer.c:1748)
[ 263.616159][ C1] ? __pfx_ref_tracker_dir_exit (lib/ref_tracker.c:189)
[ 263.616162][ C1] ? handle_softirqs (kernel/softirq.c:580)
[ 263.616167][ C1] ? __irq_exit_rcu (kernel/softirq.c:614 kernel/softirq.c:453 kernel/softirq.c:680)
[ 263.616171][ C1] ? irq_exit_rcu (kernel/softirq.c:698)
[ 263.616173][ C1] ? sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1050 arch/x86/kernel/apic/apic.c:1050)
[ 263.616177][ C1] ? asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702)
[ 263.616180][ C1] ? pv_native_safe_halt (arch/x86/kernel/paravirt.c:82)
[ 263.616184][ C1] ? default_idle (./arch/x86/include/asm/paravirt.h:107 arch/x86/kernel/process.c:743)
[ 263.616187][ C1] ? default_idle_call (./include/linux/cpuidle.h:143 kernel/sched/idle.c:118)
[ 263.616189][ C1] ? cpuidle_idle_call (kernel/sched/idle.c:186)
[ 263.616193][ C1] ? do_idle (kernel/sched/idle.c:325)
[ 263.616196][ C1] ? cpu_startup_entry (kernel/sched/idle.c:422 (discriminator 1))
[ 263.616201][ C1] __put_net (net/core/net_namespace.c:732)
[ 263.616205][ C1] __sk_destruct (./include/net/net_namespace.h:288 ./include/net/net_namespace.h:390 net/core/sock.c:2376)
[ 263.616209][ C1] ? __pfx_tcp_write_timer (net/ipv4/tcp_timer.c:727)
[ 263.616213][ C1] call_timer_fn (kernel/time/timer.c:1748)
[ 263.616216][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1737)
[ 263.616219][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1737)
[ 263.616222][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1724)
[ 263.616226][ C1] ? __run_timers (kernel/time/timer.c:1798 kernel/time/timer.c:2372)
[ 263.616229][ C1] ? __lock_release (kernel/locking/lockdep.c:5539)
[ 263.616234][ C1] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 263.616238][ C1] __run_timers (kernel/time/timer.c:1799 kernel/time/timer.c:2372)
[ 263.616242][ C1] ? __pfx_tcp_write_timer (net/ipv4/tcp_timer.c:727)
[ 263.616246][ C1] ? __pfx___run_timers (kernel/time/timer.c:2343)
[ 263.616250][ C1] ? do_raw_spin_lock (./arch/x86/include/asm/atomic.h:107 ./include/linux/atomic/atomic-arch-fallback.h:2170 ./include/linux/atomic/atomic-instrumented.h:1302 ./include/asm-generic/qspinlock.h:111 kernel/locking/spinlock_debug.c:116)
[ 263.616253][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 263.616256][ C1] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5834)
[ 263.616259][ C1] ? run_timer_base (kernel/time/timer.c:2384 kernel/time/timer.c:2376 kernel/time/timer.c:2393)
[ 263.616264][ C1] run_timer_base (kernel/time/timer.c:2385 kernel/time/timer.c:2376 kernel/time/timer.c:2393)
[ 263.616268][ C1] run_timer_softirq (kernel/time/timer.c:2404)
[ 263.616271][ C1] handle_softirqs (kernel/softirq.c:580)
[ 263.616276][ C1] __irq_exit_rcu (kernel/softirq.c:614 kernel/softirq.c:453 kernel/softirq.c:680)
[ 263.616280][ C1] irq_exit_rcu (kernel/softirq.c:698)
[ 263.616282][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1050 arch/x86/kernel/apic/apic.c:1050)
[ 263.616285][ C1]
[ 263.616286][ C1]
[ 263.616288][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702)
[ 263.616290][ C1] RIP: 0010:pv_native_safe_halt (arch/x86/kernel/paravirt.c:82)
[ 263.616294][ C1] Code: f2 ce 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 83 17 28 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90
All code
========
0: f2 ce repnz (bad)
2: 00 c3 add %al,%bl
4: cc int3
5: cc int3
6: cc int3
7: cc int3
8: 0f 1f 00 nopl (%rax)
b: 90 nop
c: 90 nop
d: 90 nop
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 90 nop
17: 90 nop
18: 90 nop
19: 90 nop
1a: 90 nop
1b: f3 0f 1e fa endbr64
1f: 66 90 xchg %ax,%ax
21: 0f 00 2d 83 17 28 00 verw 0x281783(%rip) # 0x2817ab
28: fb sti
29: f4 hlt
2a:* e9 fc 54 02 00 jmp 0x2552b <-- trapping instruction
2f: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
36: 00 00 00
39: 66 90 xchg %ax,%ax
3b: 90 nop
3c: 90 nop
3d: 90 nop
3e: 90 nop
3f: 90 nop
Code starting with the faulting instruction
===========================================
0: e9 fc 54 02 00 jmp 0x25501
5: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
c: 00 00 00
f: 66 90 xchg %ax,%ax
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
[ 263.616296][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246
[ 263.616299][ C1] RAX: 0000000000994603 RBX: 1ffff92000026fc1 RCX: ffffffff8ba125d9
[ 263.616301][ C1] RDX: 0000000000000000 RSI: ffffffff8c6a61cd RDI: ffffffff8be58be0
[ 263.616303][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c166fa
[ 263.616305][ C1] R10: ffff8880360b37d3 R11: ffffffff8c811288 R12: 0000000000000000
[ 263.616306][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000
[ 263.616310][ C1] ? ct_kernel_exit.constprop.0 (kernel/context_tracking.c:146)
[ 263.616314][ C1] default_idle (./arch/x86/include/asm/paravirt.h:107 arch/x86/kernel/process.c:743)
[ 263.616317][ C1] default_idle_call (./include/linux/cpuidle.h:143 kernel/sched/idle.c:118)
[ 263.616319][ C1] cpuidle_idle_call (kernel/sched/idle.c:186)
[ 263.616323][ C1] ? __pfx_cpuidle_idle_call (kernel/sched/idle.c:168)
[ 263.616327][ C1] ? tsc_verify_tsc_adjust (arch/x86/kernel/tsc_sync.c:60)
[ 263.616333][ C1] do_idle (kernel/sched/idle.c:325)
[ 263.616336][ C1] cpu_startup_entry (kernel/sched/idle.c:422 (discriminator 1))
[ 263.616340][ C1] start_secondary (arch/x86/kernel/smpboot.c:203 arch/x86/kernel/smpboot.c:283)
[ 263.616343][ C1] ? __pfx_start_secondary (arch/x86/kernel/smpboot.c:233)
Finger prints:
mark_lock_irq:mark_lock:mark_usage:__lock_acquire:_raw_spin_lock
__might_resched:down_write:simple_recursive_removal:debugfs_remove:ref_tracker_dir_exit