kernel: protection fault trap, code=0 Stopped at lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{0}> ddb{0}> set $lines = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace lf_findoverlap(0,ffffff007b147101,ffff8000014d7f60,ffffff0069052d38,0) at lf_findoverlap+0xab sys/kern/vfs_lockf.c:621 lf_setlock() at lf_setlock+0xad lf_getblock sys/kern/vfs_lockf.c:586 [inline] lf_setlock() at lf_setlock+0xad sys/kern/vfs_lockf.c:314 VOP_ADVLOCK(ffffff00631aa690,7,2,ffffff007b147180,ffffff007f7c6848) at VOP_ADVLOCK+0x67 sys/kern/vfs_vops.c:699 sys_flock(830,ffff8000210a3530,0) at sys_flock+0x156 syscall(0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:583 Xsyscall(6,0,ffffffffffffff4f,0,2,5733a3e30d8) at Xsyscall+0x128 end of kernel end trace frame: 0x575e7d5ffc0, count: -6 ddb{0}> show registers rdi 0xdeaf4152deaf4152 rsi 0xffffffff815f7ca5 lf_findoverlap+0x85 rbp 0xffff8000211d15e0 rbx 0xdeaf4152deaf4152 rdx 0xffff8000044dd000 rcx 0x4d1 rax 0xffff8000044dd000 r8 0xffff8000211d1620 r9 0 r10 0x91ed087c32e9c854 r11 0xffffffff8178b9c0 pvclock_get_timecount r12 0x2 r13 0xffffff0069052d38 r14 0xffff8000211d1620 r15 0 rip 0xffffffff815f7ccb lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000211d1590 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{0}> show proc PROC (syz-executor1) pid=299435 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000210a3788,0xffff8000210a32e8 process=0xffff8000210b6340 user=0xffff8000211cc000, vmspace=0xffffff0065ca5a58 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 55687 85840 43810 65534 2 0x10 syz-executor0 55687 113197 43810 65534 7 0x4000010 syz-executor0 86333 341632 6050 65534 2 0x10 syz-executor1 86333 46170 6050 65534 3 0x4000090 lockf syz-executor1 *86333 299435 6050 65534 7 0x4000010 syz-executor1 86333 510108 6050 65534 2 0x4000010 syz-executor1 86333 19444 6050 65534 2 0x4000010 syz-executor1 6050 238745 57761 65534 3 0x90 nanosleep syz-executor1 57761 176068 69725 0 3 0x82 wait syz-executor1 43810 510196 96608 65534 3 0x90 nanosleep syz-executor0 96608 140366 69725 0 3 0x82 wait syz-executor0 76284 767 0 0 3 0x14200 bored sosplice 69725 60589 64359 0 3 0x82 kqread syz-fuzzer 69725 229829 64359 0 3 0x4000082 thrsleep syz-fuzzer 69725 40232 64359 0 3 0x4000082 thrsleep syz-fuzzer 69725 101855 64359 0 3 0x4000082 thrsleep syz-fuzzer 69725 126584 64359 0 3 0x4000082 thrsleep syz-fuzzer 69725 211432 64359 0 3 0x4000082 thrsleep syz-fuzzer 69725 182483 64359 0 3 0x4000082 thrsleep syz-fuzzer 69725 397411 64359 0 3 0x4000082 thrsleep syz-fuzzer 69725 481851 64359 0 3 0x4000082 thrsleep syz-fuzzer 69725 68191 64359 0 3 0x4000082 thrsleep syz-fuzzer 64359 314582 86596 0 3 0x10008a pause ksh 86596 504461 79690 0 3 0x92 select sshd 8764 411451 1 0 3 0x100083 ttyin getty 79690 463494 1 0 3 0x80 select sshd 87662 493647 74750 73 3 0x100090 kqread syslogd 74750 253663 1 0 3 0x100082 netio syslogd 47610 155671 1 77 3 0x100090 poll dhclient 16051 487877 1 0 3 0x80 poll dhclient 42283 59669 0 0 2 0x14200 zerothread 68743 185241 0 0 3 0x14200 aiodoned aiodoned 96790 268762 0 0 3 0x14200 syncer update 82237 393567 0 0 3 0x14200 cleaner cleaner 6179 369125 0 0 3 0x14200 reaper reaper 98961 68756 0 0 3 0x14200 pgdaemon pagedaemon 4202 304889 0 0 3 0x14200 bored crynlk 48525 234740 0 0 3 0x14200 bored crypto 20454 104753 0 0 3 0x40014200 acpi0 acpi0 25272 81628 0 0 3 0x40014200 idle1 6191 256607 0 0 3 0x14200 bored softnet 27684 222391 0 0 3 0x14200 bored systqmp 14866 98425 0 0 3 0x14200 bored systq 12768 302853 0 0 3 0x40014200 bored softclock 72523 1370 0 0 3 0x40014200 idle0 1 31298 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper