kmemleak: 51 new suspected memory leaks (see /sys/kernel/debug/kmemleak) watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor:35220] Modules linked in: irq event stamp: 21340116 hardirqs last enabled at (21340115): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (21340116): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (16836656): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (16836259): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 35220 Comm: syz-executor Not tainted 5.10.96 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:__preempt_count_sub arch/x86/include/asm/preempt.h:84 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x25/0x40 kernel/locking/spinlock.c:191 Code: 80 00 00 00 00 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 0a fd 47 fd 48 89 ef e8 f2 b3 48 fd f6 c7 02 75 0c 53 9d <65> ff 0d 74 c4 23 7c 5b 5d c3 e8 1c 37 67 fd eb ed 66 2e 0f 1f 84 RSP: 0018:ffff88805596fd00 EFLAGS: 00000283 RAX: 0000000001459e8b RBX: 0000000000000283 RCX: 1ffffffff0cae9f2 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83deaad4 RBP: ffff88800c44ef30 R08: 0000000000000001 R09: ffffffff86555677 R10: fffffbfff0caaace R11: 0000000000000001 R12: 1ffff1100ab2dfa5 R13: ffff88805596fed0 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000555556b62400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d77a733c0 CR3: 0000000054cd0000 CR4: 0000000000350ef0 Call Trace: kmemleak_clear mm/kmemleak.c:1744 [inline] kmemleak_write+0x2d1/0x660 mm/kmemleak.c:1787 full_proxy_write+0x11d/0x190 fs/debugfs/file.c:236 vfs_write+0x29a/0xa20 fs/read_write.c:603 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f5d77a4b5c3 Code: 16 00 00 00 eb ae 90 b8 6e 00 00 00 eb a6 e8 44 ef 04 00 0f 1f 40 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 RSP: 002b:00007fffcbf18388 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fffcbf189c8 RCX: 00007f5d77a4b5c3 RDX: 0000000000000005 RSI: 00007f5d77afbc87 RDI: 0000000000000003 RBP: 0000000000000005 R08: 0000000000000000 R09: 00007fffcbf64090 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5d77fb0e42 R14: 00007f5d77fb0e42 R15: 00007f5d77fb0e42 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.10.96 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:__kasan_check_read+0x4/0x10 mm/kasan/common.c:71 Code: 84 00 00 00 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 fb ff ff ff c3 cc cc cc cc cc cc cc cc 48 8b 0c 24 <89> f6 31 d2 e9 83 21 00 00 0f 1f 00 48 8b 0c 24 89 f6 ba 01 00 00 RSP: 0018:ffff88800857fad0 EFLAGS: 00000057 RAX: 0000000000000000 RBX: 0000000000000039 RCX: ffffffff81264cd1 RDX: 1ffff110010a676a RSI: 0000000000000008 RDI: ffffffff86555620 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888008533280 R13: ffff888008533b30 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d77fb1000 CR3: 000000000e788000 CR4: 0000000000350ee0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:198 [inline] __lock_acquire+0xbb1/0x5b00 kernel/locking/lockdep.c:4949 lock_acquire kernel/locking/lockdep.c:5562 [inline] lock_acquire+0x197/0x490 kernel/locking/lockdep.c:5527 seqcount_lockdep_reader_access include/linux/seqlock.h:103 [inline] ktime_get+0x7f/0x1f0 kernel/time/timekeeping.c:831 tick_nohz_start_idle kernel/time/tick-sched.c:572 [inline] tick_nohz_irq_exit+0x73/0x100 kernel/time/tick-sched.c:1044 tick_irq_exit kernel/softirq.c:408 [inline] __irq_exit_rcu kernel/softirq.c:425 [inline] irq_exit_rcu+0x9c/0x1a0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:default_idle+0xe/0x10 arch/x86/kernel/process.c:690 Code: ff ff ff 4c 89 e7 e8 81 4e 8c fd eb 93 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 e9 07 00 00 00 0f 00 2d 34 9e 43 00 fb f4 cc 41 55 41 54 55 48 89 fd 53 e8 42 03 61 fd 48 8b 1d bb ed 03 RSP: 0018:ffff88800857fe78 EFLAGS: 00000202 RAX: ffffffff83de9e80 RBX: ffff888008533280 RCX: ffffffff83dd1e28 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83dea22f RBP: ffffed10010a6650 R08: 0000000000000001 R09: ffff88806cf3c06b R10: ffffed100d9e780d R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff85473288 R14: 0000000000000000 R15: dffffc0000000000 default_idle_call+0x87/0xd0 kernel/sched/idle.c:112 cpuidle_idle_call kernel/sched/idle.c:194 [inline] do_idle+0x3a9/0x520 kernel/sched/idle.c:300 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:396 secondary_startup_64_no_verify+0xc2/0xcb ---------------- Code disassembly (best guess): 0: 80 00 00 addb $0x0,(%rax) 3: 00 00 add %al,(%rax) 5: 55 push %rbp 6: 48 89 fd mov %rdi,%rbp 9: 48 83 c7 18 add $0x18,%rdi d: 53 push %rbx e: 48 89 f3 mov %rsi,%rbx 11: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 16: e8 0a fd 47 fd callq 0xfd47fd25 1b: 48 89 ef mov %rbp,%rdi 1e: e8 f2 b3 48 fd callq 0xfd48b415 23: f6 c7 02 test $0x2,%bh 26: 75 0c jne 0x34 28: 53 push %rbx 29: 9d popfq * 2a: 65 ff 0d 74 c4 23 7c decl %gs:0x7c23c474(%rip) # 0x7c23c4a5 <-- trapping instruction 31: 5b pop %rbx 32: 5d pop %rbp 33: c3 retq 34: e8 1c 37 67 fd callq 0xfd673755 39: eb ed jmp 0x28 3b: 66 data16 3c: 2e cs 3d: 0f .byte 0xf 3e: 1f (bad) 3f: 84 .byte 0x84