kernel: protection fault trap, code=0 Stopped at lf_findoverlap+0xab: 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(0,ffffff00635b2b68,ffff8000040dcb20,128,0) at lf_findoverlap+0xab sys/kern/vfs_lockf.c:621 lf_setlock() at lf_setlock+0xac lf_getblock sys/kern/vfs_lockf.c:586 [inline] lf_setlock() at lf_setlock+0xac sys/kern/vfs_lockf.c:314 VOP_ADVLOCK(ffffff007d7c84c0,5,3,ffffff00662305f8,ffffff007f7c66a0) at VOP_ADVLOCK+0x61 sys/kern/vfs_vops.c:699 sys_flock(830,ffff8000210a2270,0) at sys_flock+0x156 syscall(0) at syscall+0x466 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(0) at syscall+0x466 sys/arch/amd64/amd64/trap.c:583 Xsyscall(6,0,ffffffffffffff4f,0,2,f3516dd6010) at Xsyscall+0x128 end of kernel end trace frame: 0xf371de78cf0, count: -6 ddb{1}> show registers rdi 0xdeadbeefdeadbeef rsi 0xffffffff813c1445 lf_findoverlap+0x85 rbp 0xffff800021177640 rbx 0xdeadbeefdeadbeef rdx 0xffff8000040de000 rcx 0xbe6 rax 0xffff8000040de000 r8 0xffff800021177680 r9 0x1 r10 0xffff800021177548 r11 0x8 r12 0x2 r13 0xffffff00635b2b68 r14 0xffff800021177680 r15 0 rip 0xffffffff813c146b lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000211775f0 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{1}> show proc PROC (syz-executor0) pid=286281 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=74, nice=20 forw=0xffffffffffffffff, list=0xffff8000210a2978,0xffff8000210a3798 process=0xffff8000210b6c98 user=0xffff800021172000, vmspace=0xffffff00659da428 estcpu=24, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 2095 324809 5210 65534 2 0x10 syz-executor0 * 2095 286281 5210 65534 7 0x4000010 syz-executor0 2095 29996 5210 65534 7 0x4000010 syz-executor0 2095 329299 5210 65534 2 0x4000010 syz-executor0 93134 512772 61450 65534 3 0x90 nanosleep syz-executor1 93134 11119 61450 65534 3 0x4000090 netio syz-executor1 93134 36097 61450 65534 3 0x4000090 fsleep syz-executor1 61450 52442 53620 65534 3 0x90 nanosleep syz-executor1 53620 280882 20239 0 3 0x82 wait syz-executor1 5210 216126 67229 65534 3 0x90 nanosleep syz-executor0 67229 293295 20239 0 3 0x82 wait syz-executor0 11180 139507 0 0 3 0x14200 bored sosplice 20239 96835 90174 0 3 0x82 thrsleep syz-fuzzer 20239 461192 90174 0 3 0x4000082 thrsleep syz-fuzzer 20239 240979 90174 0 3 0x4000082 thrsleep syz-fuzzer 20239 133769 90174 0 3 0x4000082 thrsleep syz-fuzzer 20239 100079 90174 0 3 0x4000082 thrsleep syz-fuzzer 20239 225893 90174 0 3 0x4000082 thrsleep syz-fuzzer 20239 306890 90174 0 3 0x4000082 thrsleep syz-fuzzer 20239 33845 90174 0 3 0x4000082 thrsleep syz-fuzzer 20239 223949 90174 0 3 0x4000082 thrsleep syz-fuzzer 20239 125168 90174 0 3 0x4000082 kqread syz-fuzzer 90174 192818 87362 0 3 0x10008a pause ksh 87362 370309 60120 0 3 0x92 select sshd 4138 117265 1 0 3 0x100083 ttyin getty 60120 178428 1 0 3 0x80 select sshd 49374 106602 26491 73 3 0x100090 kqread syslogd 26491 450240 1 0 3 0x100082 netio syslogd 89887 185624 1 77 3 0x100090 poll dhclient 43538 270838 1 0 3 0x80 poll dhclient 14560 362783 0 0 3 0x14200 pgzero zerothread 35957 444324 0 0 3 0x14200 aiodoned aiodoned 55679 500310 0 0 3 0x14200 syncer update 67593 159431 0 0 3 0x14200 cleaner cleaner 6999 65532 0 0 3 0x14200 reaper reaper 88072 459788 0 0 3 0x14200 pgdaemon pagedaemon 51068 350588 0 0 3 0x14200 bored crynlk 83812 105767 0 0 3 0x14200 bored crypto 17727 423293 0 0 3 0x40014200 acpi0 acpi0 68205 350529 0 0 3 0x40014200 idle1 6721 233129 0 0 3 0x14200 bored softnet 99969 471018 0 0 3 0x14200 bored systqmp 62755 181627 0 0 3 0x14200 bored systq 49099 470597 0 0 3 0x40014200 bored softclock 98560 76976 0 0 3 0x40014200 idle0 1 336916 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper