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,ffffff0068d19b10,ffff8000018d7660,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(ffffff007ba71790,8,3,ffffff006995c588,ffffff007f7c64f8) 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,20ea9ed3010) at Xsyscall+0x128 end of kernel end trace frame: 0x21115af24c0, count: -6 ddb{0}> show registers rdi 0xdeaf4152deaf4152 rsi 0xffffffff81b2d0b5 lf_findoverlap+0x85 rbp 0xffff8000211bf800 rbx 0xdeaf4152deaf4152 rdx 0xffff8000020d8000 rcx 0x178 rax 0xffff8000020d8000 r8 0xffff8000211bf840 r9 0 r10 0x4cf5a327c2b79d4a r11 0xffff8000210a3c38 r12 0x2 r13 0xffffff0068d19b10 r14 0xffff8000211bf840 r15 0 rip 0xffffffff81b2d0db lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000211bf7b0 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{0}> show proc PROC (syz-executor1) pid=263176 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000210a3080,0xffff8000210a2730 process=0xffff8000210b6338 user=0xffff8000211ba000, vmspace=0xffffff0065953a58 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 14646 175255 54034 65534 2 0x10 syz-executor0 14646 217912 54034 65534 3 0x4000090 pipewr syz-executor0 14646 323438 54034 65534 3 0x4000090 fsleep syz-executor0 285 215044 87606 65534 2 0x10 syz-executor1 * 285 263176 87606 65534 7 0x4000010 syz-executor1 285 93445 87606 65534 2 0x4000010 syz-executor1 285 158902 87606 65534 7 0x4000090 syz-executor1 54034 487240 9272 65534 3 0x90 nanosleep syz-executor0 9272 387593 77911 0 3 0x82 wait syz-executor0 87606 457996 49500 65534 3 0x90 nanosleep syz-executor1 49500 25630 77911 0 3 0x82 wait syz-executor1 33597 87029 0 0 3 0x14200 bored sosplice 77911 228533 83725 0 3 0x82 thrsleep syz-fuzzer 77911 306209 83725 0 3 0x4000082 thrsleep syz-fuzzer 77911 61694 83725 0 3 0x4000082 thrsleep syz-fuzzer 77911 302328 83725 0 3 0x4000082 thrsleep syz-fuzzer 77911 407953 83725 0 3 0x4000082 thrsleep syz-fuzzer 77911 428288 83725 0 3 0x4000082 thrsleep syz-fuzzer 77911 406560 83725 0 3 0x4000082 thrsleep syz-fuzzer 77911 69557 83725 0 3 0x4000082 thrsleep syz-fuzzer 77911 248797 83725 0 3 0x4000082 thrsleep syz-fuzzer 77911 128142 83725 0 3 0x4000082 kqread syz-fuzzer 83725 362882 32144 0 3 0x10008a pause ksh 32144 428055 5059 0 3 0x92 select sshd 94843 365877 1 0 3 0x100083 ttyin getty 5059 326738 1 0 3 0x80 select sshd 9155 484178 81500 73 3 0x100090 kqread syslogd 81500 66611 1 0 3 0x100082 netio syslogd 52998 130527 1 77 3 0x100090 poll dhclient 74536 321442 1 0 3 0x80 poll dhclient 60569 157185 0 0 3 0x14200 pgzero zerothread 1528 376459 0 0 3 0x14200 aiodoned aiodoned 60913 178164 0 0 3 0x14200 syncer update 77871 449940 0 0 3 0x14200 cleaner cleaner 16751 54727 0 0 3 0x14200 reaper reaper 15238 166793 0 0 3 0x14200 pgdaemon pagedaemon 15918 499943 0 0 3 0x14200 bored crynlk 91656 372765 0 0 3 0x14200 bored crypto 84346 451034 0 0 3 0x40014200 acpi0 acpi0 50430 391426 0 0 3 0x40014200 idle1 7744 346418 0 0 3 0x14200 bored softnet 91043 144554 0 0 3 0x14200 bored systqmp 9885 354162 0 0 3 0x14200 bored systq 67181 125636 0 0 3 0x40014200 bored softclock 78937 27587 0 0 3 0x40014200 idle0 1 285872 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper