kernel: protection fault trap, code=0 Stopped at lf_findoverlap+0xea: movq 0x18(%r15),%rax ddb{0}> ddb{0}> set $lines = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace lf_findoverlap(3cd63ab7d07a0a11,0,fffffd8065837a98,ffff8000043476e0,20) at lf_findoverlap+0xea sys/kern/vfs_lockf.c:621 lf_setlock() at lf_setlock+0xdc lf_getblock sys/kern/vfs_lockf.c:586 [inline] lf_setlock() at lf_setlock+0xdc sys/kern/vfs_lockf.c:314 VOP_ADVLOCK(7b247372fa2dcd2e,fffffd80753a9358,ffff800020fe3530,0,fffffd80728c6378) at VOP_ADVLOCK+0x74 sys/kern/vfs_vops.c:699 sys_flock(a4a7261cbae9ddc2,10,ffff800020fe3530) at sys_flock+0x1c8 syscall(272913ced2199013) at syscall+0x5a0 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(272913ced2199013) at syscall+0x5a0 sys/arch/amd64/amd64/trap.c:583 Xsyscall(6,0,ffffffffffffff4f,0,2,3f1abb830d8) at Xsyscall+0x128 end of kernel end trace frame: 0x3f4933c00f0, count: -6 ddb{0}> show registers rdi 0xffffffff8181dbb5 lf_findoverlap+0xc5 rsi 0x24c rbp 0xffff800021111c50 rbx 0xfffffd8065837a98 rdx 0x24d rcx 0xffff800004348000 rax 0xffff800004348000 r8 0xffff800021111c98 r9 0 r10 0x32d3e46821c7f07c r11 0xc329c54851fbc12d r12 0x2 r13 0 r14 0xffff800021111c98 r15 0xdeaf4152deaf4152 rip 0xffffffff8181dbda lf_findoverlap+0xea cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800021111bf0 ss 0x10 lf_findoverlap+0xea: movq 0x18(%r15),%rax ddb{0}> show proc PROC (syz-executor0) pid=189917 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff800020fe3c38,0xffff800020fe2028 process=0xffff80002101b710 user=0xffff80002110c000, vmspace=0xfffffd806686d950 estcpu=26, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 28343 441048 29812 32767 7 0x10 syz-executor1 28343 193855 29812 32767 2 0x4000010 syz-executor1 3279 479873 45019 32767 2 0x10 syz-executor0 3279 203855 45019 32767 3 0x4000090 lockf syz-executor0 * 3279 189917 45019 32767 7 0x4000010 syz-executor0 3279 95870 45019 32767 3 0x4000090 fsleep syz-executor0 3279 17355 45019 32767 2 0x4000010 syz-executor0 29812 224223 28414 32767 3 0x90 nanosleep syz-executor1 28414 443848 36183 0 3 0x82 wait syz-executor1 45019 279269 84374 32767 3 0x90 nanosleep syz-executor0 84374 2143 36183 0 3 0x82 wait syz-executor0 74271 14992 0 0 3 0x14200 bored sosplice 36183 456574 82771 0 3 0x82 thrsleep syz-fuzzer 36183 311018 82771 0 3 0x4000082 thrsleep syz-fuzzer 36183 309306 82771 0 3 0x4000082 thrsleep syz-fuzzer 36183 99692 82771 0 3 0x4000082 thrsleep syz-fuzzer 36183 207881 82771 0 3 0x4000082 thrsleep syz-fuzzer 36183 355730 82771 0 3 0x4000082 thrsleep syz-fuzzer 36183 79032 82771 0 3 0x4000082 thrsleep syz-fuzzer 36183 93275 82771 0 3 0x4000082 thrsleep syz-fuzzer 36183 182509 82771 0 3 0x4000082 thrsleep syz-fuzzer 36183 307946 82771 0 3 0x4000082 kqread syz-fuzzer 82771 68790 28568 0 3 0x10008a pause ksh 28568 161256 22679 0 3 0x92 select sshd 76300 291367 1 0 3 0x100083 ttyin getty 22679 308954 1 0 3 0x80 select sshd 85106 264968 99521 73 3 0x100090 kqread syslogd 99521 295749 1 0 3 0x100082 netio syslogd 32622 516090 1 77 3 0x100090 poll dhclient 93382 337311 1 0 3 0x80 poll dhclient 66974 243905 0 0 3 0x14200 pgzero zerothread 27642 235956 0 0 3 0x14200 aiodoned aiodoned 84428 379432 0 0 3 0x14200 syncer update 85295 34975 0 0 3 0x14200 cleaner cleaner 15920 180840 0 0 3 0x14200 reaper reaper 45416 220531 0 0 3 0x14200 pgdaemon pagedaemon 74525 386178 0 0 3 0x14200 bored crynlk 89585 368115 0 0 3 0x14200 bored crypto 12457 249590 0 0 3 0x40014200 acpi0 acpi0 3880 292836 0 0 3 0x40014200 idle1 80685 121360 0 0 3 0x14200 bored softnet 77793 289206 0 0 3 0x14200 bored systqmp 68258 499852 0 0 3 0x14200 bored systq 56307 306630 0 0 3 0x40014200 bored softclock 62327 262108 0 0 3 0x40014200 idle0 1 323888 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper