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,ffffff006794dd28,ffff8000040dc020,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(ffffff0067939000,7,2,ffffff0074775e10,ffffff007f7c61a8) at VOP_ADVLOCK+0x61 sys/kern/vfs_vops.c:699 sys_flock(830,ffff8000210a2018,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,a047eba00d8) at Xsyscall+0x128 end of kernel end trace frame: 0xa0731fb2630, count: -6 ddb{0}> show registers rdi 0xdeadbeefdeadbeef rsi 0xffffffff81a52745 lf_findoverlap+0x85 rbp 0xffff8000211d3c80 rbx 0xdeadbeefdeadbeef rdx 0xffff8000022d8000 rcx 0x10f rax 0xffff8000022d8000 r8 0xffff8000211d3cc0 r9 0 r10 0x4f3c8e93d53364c9 r11 0xffff8000210a3530 r12 0x2 r13 0xffffff006794dd28 r14 0xffff8000211d3cc0 r15 0 rip 0xffffffff81a5276b lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000211d3c30 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{0}> show proc PROC (syz-executor1) pid=113605 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=61, nice=20 forw=0xffffffffffffffff, list=0xffff8000210a2978,0xffff800021084270 process=0xffff8000210b6658 user=0xffff8000211ce000, vmspace=0xffffff0065995c68 estcpu=11, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 72930 382626 42018 65534 3 0x90 nanosleep syz-executor0 72930 370150 42018 65534 3 0x4000090 fsleep syz-executor0 72930 505236 42018 65534 3 0x4000090 fsleep syz-executor0 72930 180196 42018 65534 2 0x4000010 syz-executor0 72930 516310 42018 65534 3 0x4000090 fsleep syz-executor0 3039 161676 48417 65534 7 0x10 syz-executor1 3039 177487 48417 65534 3 0x4000090 lockf syz-executor1 * 3039 113605 48417 65534 7 0x4000010 syz-executor1 3039 360151 48417 65534 3 0x4000090 fsleep syz-executor1 3039 512685 48417 65534 3 0x4000090 fsleep syz-executor1 3039 227545 48417 65534 3 0x4000090 fsleep syz-executor1 48417 284514 84222 65534 3 0x90 nanosleep syz-executor1 84222 226086 60018 0 3 0x82 wait syz-executor1 42018 65876 25267 65534 3 0x90 nanosleep syz-executor0 25267 261566 60018 0 3 0x82 wait syz-executor0 8017 457976 0 0 3 0x14200 bored sosplice 60018 500577 10390 0 3 0x82 thrsleep syz-fuzzer 60018 197030 10390 0 3 0x4000082 thrsleep syz-fuzzer 60018 122239 10390 0 3 0x4000082 thrsleep syz-fuzzer 60018 307245 10390 0 3 0x4000082 thrsleep syz-fuzzer 60018 15513 10390 0 3 0x4000082 thrsleep syz-fuzzer 60018 332743 10390 0 3 0x4000082 thrsleep syz-fuzzer 60018 66442 10390 0 3 0x4000082 thrsleep syz-fuzzer 60018 89549 10390 0 3 0x4000082 thrsleep syz-fuzzer 60018 46350 10390 0 3 0x4000082 kqread syz-fuzzer 60018 409973 10390 0 3 0x4000082 thrsleep syz-fuzzer 10390 28104 35691 0 3 0x10008a pause ksh 35691 177736 56641 0 3 0x92 select sshd 10138 55691 1 0 3 0x100083 ttyin getty 56641 342852 1 0 3 0x80 select sshd 79596 293097 98142 73 3 0x100090 kqread syslogd 98142 27754 1 0 3 0x100082 netio syslogd 6485 277509 1 77 3 0x100090 poll dhclient 27384 234164 1 0 3 0x80 poll dhclient 73076 245038 0 0 3 0x14200 pgzero zerothread 2245 21630 0 0 3 0x14200 aiodoned aiodoned 25139 179733 0 0 3 0x14200 syncer update 46953 114374 0 0 3 0x14200 cleaner cleaner 7849 108835 0 0 3 0x14200 reaper reaper 37748 251925 0 0 3 0x14200 pgdaemon pagedaemon 97064 63739 0 0 3 0x14200 bored crynlk 22422 364624 0 0 3 0x14200 bored crypto 72330 183077 0 0 3 0x40014200 acpi0 acpi0 44080 275343 0 0 3 0x40014200 idle1 94915 130955 0 0 3 0x14200 bored softnet 72323 113860 0 0 3 0x14200 bored systqmp 84684 248211 0 0 3 0x14200 bored systq 89226 304892 0 0 3 0x40014200 bored softclock 69626 109129 0 0 3 0x40014200 idle0 1 179334 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper