======================================
| [ 1217.951592][ C0] 1 lock held by swapper/0/0:
| [ 1217.951815][ C0] #0: ffffc90000007d60 ((&icsk->icsk_retransmit_timer)){+.-.}-{0:0}, at: call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1737)
| [ 1217.952271][ C0]
| [ 1217.952271][ C0] stack backtrace:
[ 1217.952554][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 1217.952556][ C0] Call Trace:
[ 1217.952558][ C0]
[ 1217.952561][ C0] dump_stack_lvl (lib/dump_stack.c:123)
[ 1217.952570][ C0] print_usage_bug.part.0 (kernel/locking/lockdep.c:4048)
[ 1217.952576][ C0] mark_lock_irq (kernel/locking/lockdep.c:4013 kernel/locking/lockdep.c:4059 kernel/locking/lockdep.c:4270)
[ 1217.952581][ C0] ? save_trace (kernel/locking/lockdep.c:595)
[ 1217.952589][ C0] mark_lock (kernel/locking/lockdep.c:4756)
[ 1217.952593][ C0] mark_usage (kernel/locking/lockdep.c:4645)
[ 1217.952596][ C0] __lock_acquire (kernel/locking/lockdep.c:5194)
[ 1217.952599][ C0] ? unwind_next_frame (./include/linux/rcupdate.h:874 ./include/linux/rcupdate.h:1155 arch/x86/kernel/unwind_orc.c:479)
[ 1217.952608][ C0] ? do_idle (kernel/sched/idle.c:325)
[ 1217.952616][ C0] lock_acquire.part.0 (kernel/locking/lockdep.c:473 kernel/locking/lockdep.c:5873)
[ 1217.952619][ C0] ? xa_set_mark (lib/xarray.c:2076 lib/xarray.c:2146)
[ 1217.952623][ C0] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 1217.952632][ C0] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5834)
[ 1217.952635][ C0] ? xa_set_mark (lib/xarray.c:2076 lib/xarray.c:2146)
[ 1217.952638][ C0] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154)
[ 1217.952642][ C0] ? xa_set_mark (lib/xarray.c:2076 lib/xarray.c:2146)
[ 1217.952644][ C0] xa_set_mark (lib/xarray.c:2076 lib/xarray.c:2146)
[ 1217.952647][ C0] ? __pfx_xa_set_mark (lib/xarray.c:2144)
[ 1217.952649][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5240)
[ 1217.952654][ C0] ? find_held_lock (kernel/locking/lockdep.c:5353)
[ 1217.952659][ C0] ref_tracker_dir_exit (lib/ref_tracker.c:54 lib/ref_tracker.c:223)
[ 1217.952664][ C0] ? trace_kfree (./include/trace/events/kmem.h:94 (discriminator 21))
[ 1217.952673][ C0] ? kfree (mm/slub.c:4831)
[ 1217.952677][ C0] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194)
[ 1217.952681][ C0] ? __pfx_ref_tracker_dir_exit (lib/ref_tracker.c:213)
[ 1217.952685][ C0] ? ref_tracker_free (lib/ref_tracker.c:281)
[ 1217.952688][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5240)
[ 1217.952691][ C0] ? __pfx_ref_tracker_free (lib/ref_tracker.c:281)
[ 1217.952694][ C0] ? __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:2368)
[ 1217.952707][ C0] ? call_timer_fn (kernel/time/timer.c:1747)
[ 1217.952709][ C0] ? __run_timers (kernel/time/timer.c:1799 kernel/time/timer.c:2372)
[ 1217.952718][ C0] ? run_timer_base (kernel/time/timer.c:2385 kernel/time/timer.c:2376 kernel/time/timer.c:2393)
[ 1217.952725][ C0] __put_net (./include/linux/llist.h:238 ./include/linux/llist.h:265 net/core/net_namespace.c:732)
[ 1217.952744][ C0] ? default_idle_call (./include/linux/cpuidle.h:143 kernel/sched/idle.c:118)
[ 1217.952750][ C0] ? __pfx___put_net (net/core/net_namespace.c:729)
[ 1217.952757][ C0] ? bpf_sk_storage_free (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/bpf_sk_storage.c:61)
[ 1217.952767][ C0] __sk_destruct (./include/net/net_namespace.h:288 ./include/net/net_namespace.h:390 net/core/sock.c:2368)
[ 1217.952771][ C0] ? __pfx_tcp_write_timer (net/ipv4/tcp_timer.c:727)
[ 1217.952783][ C0] call_timer_fn (kernel/time/timer.c:1747)
[ 1217.952786][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1737)
[ 1217.952788][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1737)
[ 1217.952790][ C0] ? __pfx_call_timer_fn (kernel/time/timer.c:1724)
[ 1217.952795][ C0] ? __run_timers (kernel/time/timer.c:1798 kernel/time/timer.c:2372)
[ 1217.952797][ C0] ? __lock_release (kernel/locking/lockdep.c:5539)
[ 1217.952800][ C0] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 1217.952804][ C0] __run_timers (kernel/time/timer.c:1799 kernel/time/timer.c:2372)
[ 1217.952807][ C0] ? __pfx_tcp_write_timer (net/ipv4/tcp_timer.c:727)
[ 1217.952812][ C0] ? __pfx___run_timers (kernel/time/timer.c:2343)
[ 1217.952816][ C0] ? 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)
[ 1217.952820][ C0] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 1217.952823][ C0] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5834)
[ 1217.952825][ C0] ? run_timer_base (kernel/time/timer.c:2384 kernel/time/timer.c:2376 kernel/time/timer.c:2393)
[ 1217.952830][ C0] run_timer_base (kernel/time/timer.c:2385 kernel/time/timer.c:2376 kernel/time/timer.c:2393)
[ 1217.952832][ C0] run_timer_softirq (kernel/time/timer.c:2404)
[ 1217.952835][ C0] handle_softirqs (kernel/softirq.c:580)
[ 1217.952841][ C0] __irq_exit_rcu (kernel/softirq.c:614 kernel/softirq.c:453 kernel/softirq.c:680)
[ 1217.952843][ C0] irq_exit_rcu (kernel/softirq.c:698)
[ 1217.952846][ C0] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1050 arch/x86/kernel/apic/apic.c:1050)
[ 1217.952851][ C0]
[ 1217.952852][ C0]
[ 1217.952853][ C0] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702)
[ 1217.952862][ C0] RIP: 0010:pv_native_safe_halt (arch/x86/kernel/paravirt.c:82)
[ 1217.952867][ C0] Code: b4 cc 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 53 87 24 00 fb f4 cc 58 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90
All code
========
0: b4 cc mov $0xcc,%ah
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 53 87 24 00 verw 0x248753(%rip) # 0x24877b
28: fb sti
29: f4 hlt
2a:* e9 cc 58 02 00 jmp 0x258fb <-- 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 cc 58 02 00 jmp 0x258d1
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
[ 1217.952872][ C0] RSP: 0018:ffffffff8ae07df8 EFLAGS: 00000246
[ 1217.952879][ C0] RAX: 0000000000e19ced RBX: 1ffffffff15c0fc3 RCX: ffffffff8a04c3c9
[ 1217.952881][ C0] RDX: 0000000000000000 RSI: ffffffff8acbc1ba RDI: ffffffff8a45f220
[ 1217.952883][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c06702
[ 1217.952884][ C0] R10: ffff888036033813 R11: ffffffff8ae11288 R12: 0000000000000000
[ 1217.952886][ C0] R13: ffffffff8ae1f280 R14: dffffc0000000000 R15: 0000000000014770
[ 1217.952890][ C0] ? ct_kernel_exit.constprop.0 (kernel/context_tracking.c:146)
[ 1217.952896][ C0] default_idle (./arch/x86/include/asm/paravirt.h:107 arch/x86/kernel/process.c:743)
[ 1217.952898][ C0] default_idle_call (./include/linux/cpuidle.h:143 kernel/sched/idle.c:118)
[ 1217.952901][ C0] cpuidle_idle_call (kernel/sched/idle.c:186)
[ 1217.952904][ C0] ? __pfx_cpuidle_idle_call (kernel/sched/idle.c:168)
[ 1217.952908][ C0] ? tsc_verify_tsc_adjust (arch/x86/kernel/tsc_sync.c:60)
[ 1217.952915][ C0] do_idle (kernel/sched/idle.c:325)
[ 1217.952919][ C0] cpu_startup_entry (kernel/sched/idle.c:422 (discriminator 1))
[ 1217.952922][ C0] rest_init (./include/linux/rcupdate.h:842 init/main.c:715)
[ 1217.952925][ C0] start_kernel (init/main.c:1050 (discriminator 1))
[ 1217.952930][ C0] x86_64_start_reservations (arch/x86/kernel/head64.c:295)
[ 1217.952935][ C0] x86_64_start_kernel (arch/x86/kernel/head64.c:231 (discriminator 17))
Finger prints:
mark_lock_irq:mark_lock:mark_usage:__lock_acquire:_raw_spin_lock