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(653e216a83ee1a3b,0,ffffff00775f99d8,ffff800000ad5ba0,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(d828453b46e4547,ffffff0077a4eb50,9,2,ffffff00777bed30) at VOP_ADVLOCK+0x6e sys/kern/vfs_vops.c:699 sys_flock(7521ff6827e0a5cd,830,ffff800021062270) at sys_flock+0x163 syscall(653e216a83dcd7a3) at syscall+0x473 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(653e216a83dcd7a3) at syscall+0x473 sys/arch/amd64/amd64/trap.c:583 Xsyscall(6,0,ffffffffffffff4f,0,2,cb2e7fcc268) at Xsyscall+0x128 end of kernel end trace frame: 0xcb515bdd7d0, count: -6 ddb{1}> show registers rdi 0xdeafbeaddeafbead rsi 0xffffffff818d9af5 lf_findoverlap+0x95 rbp 0xffff80002118bbe0 rbx 0xdeafbeaddeafbead rdx 0xffff8000030e4000 rcx 0x1305 __ALIGN_SIZE+0x305 rax 0xffff8000030e4000 r8 0xffff80002118bc18 r9 0x1 r10 0xf6d1ad83491d11c5 r11 0x48ebe85f7f2485b7 r12 0x2 r13 0xffffff00775f99d8 r14 0xffff80002118bc18 r15 0 rip 0xffffffff818d9b1b lf_findoverlap+0xbb cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002118bb80 ss 0x10 lf_findoverlap+0xbb: movq 0x18(%rbx),%rax ddb{1}> show proc PROC (syz-executor1) pid=368162 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff800021062720,0xffffffff81f97498 process=0xffff8000210653c0 user=0xffff800021186000, vmspace=0xffffff00659b3950 estcpu=29, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 2465 330477 21541 65534 2 0x10 syz-executor1 2465 193240 21541 65534 3 0x4000090 lockf syz-executor1 2465 280554 21541 65534 2 0x4000010 syz-executor1 2465 104739 21541 65534 7 0x4000010 syz-executor1 * 2465 368162 21541 65534 7 0x4000010 syz-executor1 21541 478546 76889 65534 3 0x90 nanosleep syz-executor1 76889 330575 72493 0 3 0x82 wait syz-executor1 42995 393193 20723 65534 3 0x90 piperd syz-executor0 20723 387647 72493 0 3 0x82 wait syz-executor0 48531 329839 0 0 3 0x14200 bored sosplice 72493 163452 30928 0 3 0x82 thrsleep syz-fuzzer 72493 156623 30928 0 3 0x4000082 thrsleep syz-fuzzer 72493 518872 30928 0 3 0x4000082 thrsleep syz-fuzzer 72493 26094 30928 0 3 0x4000082 thrsleep syz-fuzzer 72493 100516 30928 0 3 0x4000082 thrsleep syz-fuzzer 72493 473012 30928 0 3 0x4000082 thrsleep syz-fuzzer 72493 368506 30928 0 3 0x4000082 kqread syz-fuzzer 72493 72932 30928 0 3 0x4000082 thrsleep syz-fuzzer 72493 207290 30928 0 3 0x4000082 thrsleep syz-fuzzer 72493 179535 30928 0 3 0x4000082 thrsleep syz-fuzzer 30928 293959 10330 0 3 0x10008a pause ksh 10330 136364 83372 0 3 0x92 select sshd 90850 120362 1 0 3 0x100083 ttyin getty 83372 61548 1 0 3 0x80 select sshd 37010 465788 33397 73 3 0x100090 kqread syslogd 33397 460732 1 0 3 0x100082 netio syslogd 5608 20760 1 77 3 0x100090 poll dhclient 26575 47463 1 0 3 0x80 poll dhclient 40493 152341 0 0 3 0x14200 pgzero zerothread 55048 454121 0 0 3 0x14200 aiodoned aiodoned 1473 7181 0 0 3 0x14200 syncer update 77970 380213 0 0 3 0x14200 cleaner cleaner 97171 355794 0 0 3 0x14200 reaper reaper 83027 515473 0 0 3 0x14200 pgdaemon pagedaemon 67122 414431 0 0 3 0x14200 bored crynlk 5295 200131 0 0 3 0x14200 bored crypto 7948 159646 0 0 3 0x40014200 acpi0 acpi0 11425 328871 0 0 3 0x40014200 idle1 38217 362602 0 0 3 0x14200 bored softnet 65642 503497 0 0 3 0x14200 bored systqmp 85003 381035 0 0 3 0x14200 bored systq 55430 245949 0 0 3 0x40014200 bored softclock 81130 514219 0 0 3 0x40014200 idle0 1 4426 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper