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,ffffff007b7f3e00,ffff80000003c9a0,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(ffffff0065aff018,5,2,ffffff006943ecc8,ffffff007f7c64f8) at VOP_ADVLOCK+0x61 sys/kern/vfs_vops.c:699 sys_flock(830,ffff8000210cb9e0,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,f097631b010) at Xsyscall+0x128 end of kernel end trace frame: 0xf0be55f6f00, count: -6 ddb{0}> show registers rdi 0xdeadbeefdeadbeef rsi 0xffffffff810cdc35 lf_findoverlap+0x85 rbp 0xffff80002119b230 rbx 0xdeadbeefdeadbeef rdx 0xffff800000ad7000 rcx 0xc8d rax 0xffff800000ad7000 r8 0xffff80002119b270 r9 0 r10 0xc2693959202a9d2e r11 0xffff8000210cbc38 r12 0x2 r13 0xffffff007b7f3e00 r14 0xffff80002119b270 r15 0 rip 0xffffffff810cdc5b lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002119b1e0 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{0}> show proc PROC (syz-executor0) pid=516672 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=73, nice=20 forw=0xffffffffffffffff, list=0xffff8000210cb788,0xffff8000210cb2e8 process=0xffff8000210db080 user=0xffff800021196000, vmspace=0xffffff0065994428 estcpu=23, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 39230 16181 14221 65534 2 0x10 syz-executor1 39230 190347 14221 65534 3 0x4000090 ttyout syz-executor1 39230 232382 14221 65534 2 0x4000010 syz-executor1 77615 46684 16248 65534 2 0x10 syz-executor0 *77615 516672 16248 65534 7 0x4000010 syz-executor0 77615 244207 16248 65534 7 0x4000090 syz-executor0 77615 407382 16248 65534 3 0x4000090 fsleep syz-executor0 77615 207754 16248 65534 2 0x4000010 syz-executor0 14221 33636 80265 65534 3 0x90 nanosleep syz-executor1 80265 177465 42603 0 3 0x82 wait syz-executor1 16248 303817 85070 65534 3 0x90 nanosleep syz-executor0 85070 191928 42603 0 3 0x82 wait syz-executor0 68472 32761 0 0 3 0x14200 bored sosplice 42603 247149 78706 0 3 0x82 thrsleep syz-fuzzer 42603 123195 78706 0 3 0x4000082 thrsleep syz-fuzzer 42603 269267 78706 0 3 0x4000082 thrsleep syz-fuzzer 42603 350684 78706 0 3 0x4000082 thrsleep syz-fuzzer 42603 196945 78706 0 3 0x4000082 thrsleep syz-fuzzer 42603 368569 78706 0 3 0x4000082 thrsleep syz-fuzzer 42603 492762 78706 0 3 0x4000082 thrsleep syz-fuzzer 42603 291311 78706 0 3 0x4000082 thrsleep syz-fuzzer 42603 272847 78706 0 3 0x4000082 thrsleep syz-fuzzer 42603 516471 78706 0 3 0x4000082 kqread syz-fuzzer 42603 225128 78706 0 3 0x4000082 thrsleep syz-fuzzer 78706 360507 71116 0 3 0x10008a pause ksh 71116 93766 51339 0 3 0x92 select sshd 32383 264834 1 0 3 0x100083 ttyin getty 51339 55847 1 0 3 0x80 select sshd 2032 462617 78663 73 3 0x100090 kqread syslogd 78663 246139 1 0 3 0x100082 netio syslogd 66552 129804 1 77 3 0x100090 poll dhclient 49727 449742 1 0 3 0x80 poll dhclient 80379 487796 0 0 2 0x14200 zerothread 22803 479344 0 0 3 0x14200 aiodoned aiodoned 16576 33760 0 0 3 0x14200 syncer update 87134 8799 0 0 3 0x14200 cleaner cleaner 2412 181692 0 0 3 0x14200 reaper reaper 11898 144404 0 0 3 0x14200 pgdaemon pagedaemon 85833 223645 0 0 3 0x14200 bored crynlk 8428 161580 0 0 3 0x14200 bored crypto 71672 134918 0 0 3 0x40014200 acpi0 acpi0 97432 197703 0 0 3 0x40014200 idle1 46414 356946 0 0 3 0x14200 bored softnet 19848 36345 0 0 3 0x14200 bored systqmp 3437 112739 0 0 3 0x14200 bored systq 92987 27996 0 0 3 0x40014200 bored softclock 87316 222771 0 0 3 0x40014200 idle0 1 12203 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper