ci starts bisection 2023-03-24 06:00:31.23416276 +0000 UTC m=+45322.787597468 bisecting fixing commit since 4a7d37e824f57dbace61abf62f53843800bd245c building syzkaller on 42a4d50890beed97e5e9868be922faa6285f4a12 ensuring issue is reproducible on original commit 4a7d37e824f57dbace61abf62f53843800bd245c testing commit 4a7d37e824f57dbace61abf62f53843800bd245c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4c031da0cd781c7de0f31f0bb4bb198f577567e47cb9e15f5953512de4c4fb31 run #0: crashed: general protection fault in mm_update_next_owner run #1: crashed: kernel panic: corrupted stack end in corrupted run #2: crashed: KASAN: null-ptr-deref Read in __fput run #3: crashed: general protection fault in expire_timers run #4: crashed: general protection fault in cpuacct_account_field run #5: crashed: general protection fault in corrupted run #6: crashed: general protection fault in unlink_anon_vmas run #7: crashed: general protection fault in cfg80211_bss_update run #8: crashed: general protection fault in corrupted run #9: crashed: general protection fault in corrupted run #10: crashed: BUG: Bad rss-counter state run #11: crashed: general protection fault in timerqueue_add run #12: crashed: BUG: unable to handle kernel NULL pointer dereference in corrupted run #13: crashed: general protection fault in mm_update_next_owner run #14: crashed: BUG: Bad page map run #15: crashed: BUG: unable to handle kernel paging request in cpuacct_account_field run #16: crashed: general protection fault in expire_timers run #17: crashed: general protection fault in timerqueue_add run #18: crashed: general protection fault in account_system_index_time run #19: crashed: general protection fault in timerqueue_add testing current HEAD 1e760fa3596e8c7f08412712c168288b79670d78 testing commit 1e760fa3596e8c7f08412712c168288b79670d78 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: eac503d48f56d574291c53cc81550a56c5738cf41d56273fb657ce3a787800c0 run #0: crashed: BUG: unable to handle kernel paging request in corrupted run #1: crashed: fatal error: runtimer: bad p run #2: crashed: WARNING: locking bug in addrconf_dad_work run #3: crashed: kernel panic: corrupted stack end in corrupted run #4: crashed: general protection fault in debug_check_no_obj_freed run #5: crashed: general protection fault in expire_timers run #6: crashed: general protection fault in timerqueue_del run #7: crashed: stack segment fault in __stack_depot_save run #8: crashed: general protection fault in mas_walk run #9: crashed: WARNING: locking bug in try_to_wake_up revisions tested: 2, total time: 29m56.943128181s (build: 17m37.959972057s, test: 11m15.478429196s) the crash still happens on HEAD commit msg: Merge tag 'gfs2-v6.3-rc3-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 crash: WARNING: locking bug in try_to_wake_up ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 1 PID: 5602 at kernel/locking/lockdep.c:232 hlock_class kernel/locking/lockdep.c:232 [inline] WARNING: CPU: 1 PID: 5602 at kernel/locking/lockdep.c:232 hlock_class kernel/locking/lockdep.c:221 [inline] WARNING: CPU: 1 PID: 5602 at kernel/locking/lockdep.c:232 check_wait_context kernel/locking/lockdep.c:4730 [inline] WARNING: CPU: 1 PID: 5602 at kernel/locking/lockdep.c:232 __lock_acquire+0x1615/0x5d40 kernel/locking/lockdep.c:5006 Modules linked in: CPU: 1 PID: 5602 Comm: rm Not tainted 6.3.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:hlock_class kernel/locking/lockdep.c:232 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:221 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4730 [inline] RIP: 0010:__lock_acquire+0x1615/0x5d40 kernel/locking/lockdep.c:5006 Code: 08 84 d2 0f 85 b4 3d 00 00 8b 15 62 e7 0a 0c 85 d2 0f 85 31 fb ff ff 48 c7 c6 00 99 6b 89 48 c7 c7 40 8d 6b 89 e8 fb bf e8 ff <0f> 0b 31 ed e9 e9 ed ff ff e8 dd e3 5b 02 85 c0 0f 84 c1 fa ff ff RSP: 0000:ffffc900001e0ae8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff8880773fc370 RCX: 0000000000000000 RDX: 0000000000010005 RSI: 0000000000000004 RDI: 0000000000000001 RBP: 0000000000001d2b R08: 0000000000000001 R09: ffff8880b9b2898b R10: ffffed1017365131 R11: 0000000000002000 R12: ffff8880265044b0 R13: ffff888026503a00 R14: 0000000000044000 R15: 00000000000c5d2b FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 000000001fe04000 CR4: 0000000000350ee0 Call Trace: lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162 try_to_wake_up+0xab/0x1c40 kernel/sched/core.c:4159 hrtimer_wakeup+0x39/0x50 kernel/time/hrtimer.c:1939 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4d7/0x960 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x2f9/0x7a0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:console_flush_all+0x4a6/0xa30 kernel/printk/printk.c:2948 Code: 8b 04 24 44 88 38 e8 e9 49 00 00 4d 85 e4 0f 85 fd 01 00 00 9c 58 f6 c4 02 0f 85 3b 03 00 00 4d 85 e4 74 01 fb 48 8b 44 24 08 <48> 8b 14 24 0f b6 00 83 e2 07 38 d0 7f 08 84 c0 0f 85 b4 04 00 00 RSP: 0000:ffffc90004e8f560 EFLAGS: 00000206 RAX: fffff520009d1ed4 RBX: ffffffff8c201a00 RCX: 1ffffffff207445e RDX: 0000000000000000 RSI: ffffffff896b8e20 RDI: ffffffff89c25620 RBP: 0000000000000001 R08: 0000000000000001 R09: ffffffff903a1b87 R10: 0000000000000001 R11: 000000000000008b R12: 0000000000000200 R13: dffffc0000000000 R14: ffffffff8c201a58 R15: 0000000000000000 console_unlock+0x95/0x150 kernel/printk/printk.c:3016 vprintk_emit+0xac/0x3d0 kernel/printk/printk.c:2316 _printk+0xb2/0xe0 kernel/printk/printk.c:2337 __dump_page mm/debug.c:93 [inline] dump_page+0x2c9/0xdc0 mm/debug.c:132 pmd_ptlock_free include/linux/mm.h:2712 [inline] pgtable_pmd_page_dtor include/linux/mm.h:2751 [inline] ___pmd_free_tlb+0x13f/0x190 arch/x86/mm/pgtable.c:72 __pmd_free_tlb arch/x86/include/asm/pgalloc.h:93 [inline] free_pmd_range mm/memory.c:213 [inline] free_pud_range mm/memory.c:231 [inline] free_p4d_range mm/memory.c:265 [inline] free_pgd_range+0x6d6/0x8e0 mm/memory.c:345 free_pgtables+0x257/0x3b0 mm/memory.c:386 exit_mmap+0x1bb/0x540 mm/mmap.c:3045 __mmput+0xf3/0x440 kernel/fork.c:1209 exit_mm kernel/exit.c:563 [inline] do_exit+0x88d/0x2480 kernel/exit.c:856 do_group_exit+0xb4/0x250 kernel/exit.c:1019 get_signal+0x1d36/0x1fa0 kernel/signal.c:2859 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203 irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x4 Code: Unable to access opcode bytes at 0xffffffffffffffda. RSP: 002b:00007ffde39a0810 EFLAGS: 00010207 RAX: 00007ffa5167a000 RBX: 0000000000022000 RCX: 00007ffa519271f2 RDX: 0000000000000001 RSI: 0000000000004000 RDI: 00007ffa5167a000 RBP: 0000000000022000 R08: 0000000000000003 R09: 0000000000011000 R10: 0000000000000812 R11: 0000000000000206 R12: 00007ffde39a0810 R13: 00007ffde39a0870 R14: 0000000000000001 R15: 00007ffa51905a00 ---------------- Code disassembly (best guess): 0: 8b 04 24 mov (%rsp),%eax 3: 44 88 38 mov %r15b,(%rax) 6: e8 e9 49 00 00 callq 0x49f4 b: 4d 85 e4 test %r12,%r12 e: 0f 85 fd 01 00 00 jne 0x211 14: 9c pushfq 15: 58 pop %rax 16: f6 c4 02 test $0x2,%ah 19: 0f 85 3b 03 00 00 jne 0x35a 1f: 4d 85 e4 test %r12,%r12 22: 74 01 je 0x25 24: fb sti 25: 48 8b 44 24 08 mov 0x8(%rsp),%rax * 2a: 48 8b 14 24 mov (%rsp),%rdx <-- trapping instruction 2e: 0f b6 00 movzbl (%rax),%eax 31: 83 e2 07 and $0x7,%edx 34: 38 d0 cmp %dl,%al 36: 7f 08 jg 0x40 38: 84 c0 test %al,%al 3a: 0f 85 b4 04 00 00 jne 0x4f4