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,ffffff006772a1a0,ffff800000ad3820,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(ffffff006777c450,5,2,ffffff007a8a8c08,ffffff007f7c64f8) 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,d8a4efcc0d8) at Xsyscall+0x128 end of kernel end trace frame: 0xd8d2ee39d10, count: -6 ddb{1}> show registers rdi 0xdeaf4152deaf4152 rsi 0xffffffff81a52745 lf_findoverlap+0x85 rbp 0xffff8000211a5190 rbx 0xdeaf4152deaf4152 rdx 0xffff8000018d9000 rcx 0x122e __ALIGN_SIZE+0x22e rax 0xffff8000018d9000 r8 0xffff8000211a51d0 r9 0x1 r10 0x2d67d2849e17d0bc r11 0xffff8000210a3c38 r12 0x2 r13 0xffffff006772a1a0 r14 0xffff8000211a51d0 r15 0 rip 0xffffffff81a5276b lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000211a5140 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{1}> show proc PROC (syz-executor0) pid=50121 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=71, nice=20 forw=0xffffffffffffffff, list=0xffff8000210a39e0,0xffff8000210a3798 process=0xffff8000210b7c38 user=0xffff8000211a0000, vmspace=0xffffff00659a1320 estcpu=21, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 97766 454846 30176 65534 2 0x10 syz-executor0 97766 447735 30176 65534 7 0x4000090 syz-executor0 *97766 50121 30176 65534 7 0x4000010 syz-executor0 97766 523014 30176 65534 2 0x4000010 syz-executor0 97766 469445 30176 65534 2 0x4000010 syz-executor0 95546 489643 16544 65534 3 0x90 piperd syz-executor1 16544 243223 78750 0 3 0x82 wait syz-executor1 30176 389473 44907 65534 3 0x90 nanosleep syz-executor0 44907 513104 78750 0 3 0x82 wait syz-executor0 56399 322285 0 0 3 0x14200 bored sosplice 78750 132644 22947 0 3 0x82 thrsleep syz-fuzzer 78750 511372 22947 0 3 0x4000082 nanosleep syz-fuzzer 78750 356658 22947 0 3 0x4000082 thrsleep syz-fuzzer 78750 228495 22947 0 3 0x4000082 thrsleep syz-fuzzer 78750 290312 22947 0 3 0x4000082 thrsleep syz-fuzzer 78750 57399 22947 0 3 0x4000082 thrsleep syz-fuzzer 78750 476852 22947 0 3 0x4000082 thrsleep syz-fuzzer 78750 438901 22947 0 3 0x4000082 thrsleep syz-fuzzer 78750 428561 22947 0 3 0x4000082 kqread syz-fuzzer 78750 74070 22947 0 3 0x4000082 thrsleep syz-fuzzer 78750 271300 22947 0 3 0x4000082 thrsleep syz-fuzzer 78750 5802 22947 0 3 0x4000082 thrsleep syz-fuzzer 22947 461068 77820 0 3 0x10008a pause ksh 77820 403329 1722 0 3 0x92 select sshd 97064 356746 1 0 3 0x100083 ttyin getty 1722 365080 1 0 3 0x80 select sshd 29587 25540 71303 73 3 0x100090 kqread syslogd 71303 26434 1 0 3 0x100082 netio syslogd 543 122857 1 77 3 0x100090 poll dhclient 57593 132968 1 0 3 0x80 poll dhclient 71178 142269 0 0 3 0x14200 pgzero zerothread 40711 108743 0 0 3 0x14200 aiodoned aiodoned 57858 212911 0 0 3 0x14200 syncer update 7700 138001 0 0 3 0x14200 cleaner cleaner 31866 164596 0 0 3 0x14200 reaper reaper 90939 344273 0 0 3 0x14200 pgdaemon pagedaemon 32517 189729 0 0 3 0x14200 bored crynlk 20978 25416 0 0 3 0x14200 bored crypto 40254 47901 0 0 3 0x40014200 acpi0 acpi0 10708 297173 0 0 3 0x40014200 idle1 36703 117861 0 0 3 0x14200 bored softnet 46756 300876 0 0 3 0x14200 bored systqmp 41902 92195 0 0 3 0x14200 bored systq 56064 310951 0 0 3 0x40014200 bored softclock 40077 421720 0 0 3 0x40014200 idle0 1 451735 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper