kernel: protection fault trap, code=0 Stopped at lf_findoverlap+0xbb: movq 0x18(%rbx),%rax ddb{1}> ddb{1}> set $lines = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace lf_findoverlap(c402ccdea93b9e1d,0,ffffff00658a18c0,ffff8000042dffe0,128) at lf_findoverlap+0xbb sys/kern/vfs_lockf.c:621 lf_setlock() at lf_setlock+0xbc lf_getblock sys/kern/vfs_lockf.c:586 [inline] lf_setlock() at lf_setlock+0xbc sys/kern/vfs_lockf.c:314 VOP_ADVLOCK(b28dd0186e424696,ffffff00661c0c40,5,3,ffffff00662564c0) at VOP_ADVLOCK+0x6e sys/kern/vfs_vops.c:699 sys_flock(7fcfcc51fbf585ae,830,ffff800021062018) at sys_flock+0x163 syscall(fbd352b7b73d6092) at syscall+0x473 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(fbd352b7b73d6092) at syscall+0x473 sys/arch/amd64/amd64/trap.c:583 Xsyscall(6,0,ffffffffffffff4f,0,2,6413b2cf010) at Xsyscall+0x128 end of kernel end trace frame: 0x643e81db900, count: -6 ddb{1}> show registers rdi 0xdeaf4152deaf4152 rsi 0xffffffff81976bd5 lf_findoverlap+0x95 rbp 0xffff8000211371e0 rbx 0xdeaf4152deaf4152 rdx 0xffff8000018da000 rcx 0x352 rax 0xffff8000018da000 r8 0xffff800021137218 r9 0x1 r10 0x8c9645dd9fe0cfee r11 0xc279657a56e1467f r12 0x2 r13 0xffffff00658a18c0 r14 0xffff800021137218 r15 0 rip 0xffffffff81976bfb lf_findoverlap+0xbb cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800021137180 ss 0x10 lf_findoverlap+0xbb: movq 0x18(%rbx),%rax ddb{1}> show proc PROC (syz-executor0) pid=2128 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff8000210624c8,0xffff800021063090 process=0xffff800021064d30 user=0xffff800021132000, vmspace=0xffffff0065877a58 estcpu=25, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 6565 76428 24992 65534 2 0x10 syz-executor0 * 6565 2128 24992 65534 7 0x4000010 syz-executor0 6565 444017 24992 65534 7 0x4000010 syz-executor0 6565 82334 24992 65534 2 0x4000010 syz-executor0 16597 17301 37788 65534 3 0x90 nanosleep syz-executor1 16597 172356 37788 65534 3 0x4000090 ttyout syz-executor1 16597 278810 37788 65534 3 0x4000090 fsleep syz-executor1 37788 186901 83622 65534 3 0x90 nanosleep syz-executor1 83622 425185 88017 0 3 0x82 wait syz-executor1 24992 295450 68207 65534 3 0x90 nanosleep syz-executor0 68207 200793 88017 0 3 0x82 wait syz-executor0 34643 279299 0 0 3 0x14200 bored sosplice 88017 147695 40180 0 3 0x82 thrsleep syz-fuzzer 88017 389232 40180 0 3 0x4000082 thrsleep syz-fuzzer 88017 293442 40180 0 3 0x4000082 thrsleep syz-fuzzer 88017 5337 40180 0 3 0x4000082 thrsleep syz-fuzzer 88017 220624 40180 0 3 0x4000082 thrsleep syz-fuzzer 88017 483281 40180 0 3 0x4000082 thrsleep syz-fuzzer 88017 417943 40180 0 3 0x4000082 thrsleep syz-fuzzer 88017 152832 40180 0 3 0x4000082 thrsleep syz-fuzzer 88017 73378 40180 0 3 0x4000082 thrsleep syz-fuzzer 88017 357812 40180 0 3 0x4000082 thrsleep syz-fuzzer 88017 372887 40180 0 3 0x4000082 thrsleep syz-fuzzer 88017 299393 40180 0 3 0x4000082 kqread syz-fuzzer 40180 169177 52422 0 3 0x10008a pause ksh 52422 259791 13629 0 3 0x92 select sshd 65360 105438 1 0 3 0x100083 ttyin getty 13629 369923 1 0 3 0x80 select sshd 58410 487433 80195 73 3 0x100090 kqread syslogd 80195 457669 1 0 3 0x100082 netio syslogd 51087 460600 1 77 3 0x100090 poll dhclient 45600 166366 1 0 3 0x80 poll dhclient 81681 80292 0 0 3 0x14200 pgzero zerothread 85595 261626 0 0 3 0x14200 aiodoned aiodoned 85431 453769 0 0 3 0x14200 syncer update 49436 340695 0 0 3 0x14200 cleaner cleaner 64001 231406 0 0 3 0x14200 reaper reaper 35653 197104 0 0 3 0x14200 pgdaemon pagedaemon 32941 315859 0 0 3 0x14200 bored crynlk 51035 373947 0 0 3 0x14200 bored crypto 75805 280293 0 0 3 0x40014200 acpi0 acpi0 57186 191515 0 0 3 0x40014200 idle1 45862 491207 0 0 3 0x14200 bored softnet 77800 333283 0 0 3 0x14200 bored systqmp 107 237923 0 0 3 0x14200 bored systq 48608 16861 0 0 3 0x40014200 bored softclock 88641 291421 0 0 3 0x40014200 idle0 1 434061 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper