kernel: protection fault trap, code=0 Stopped at lf_findoverlap+0xbb: 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(8bcbcefac9d4643f,0,ffffff0070ab7068,ffff8000042defe0,128) at lf_findoverlap+0xbb sys/kern/vfs_lockf.c:621 lf_setlock() at lf_setlock+0xbc lf_getblock sys/kern/vfs_lockf.c:586 [inline] lf_setlock() at lf_setlock+0xbc sys/kern/vfs_lockf.c:314 VOP_ADVLOCK(9216925fa9d8a5a6,ffffff0070b52f18,5,3,ffffff006991d328) at VOP_ADVLOCK+0x6e sys/kern/vfs_vops.c:699 sys_flock(7205f0e130d40482,830,ffff800021063c38) at sys_flock+0x163 syscall(645f2b2bb3750ec0) at syscall+0x473 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(645f2b2bb3750ec0) at syscall+0x473 sys/arch/amd64/amd64/trap.c:583 Xsyscall(6,0,ffffffffffffff4f,0,2,f22299ec010) at Xsyscall+0x128 end of kernel end trace frame: 0xf2446575e30, count: -6 ddb{0}> show registers rdi 0xdead4110dead4110 rsi 0xffffffff810eaa15 lf_findoverlap+0x95 rbp 0xffff800021149c90 rbx 0xdead4110dead4110 rdx 0xffff8000042e2000 rcx 0x143 rax 0xffff8000042e2000 r8 0xffff800021149cc8 r9 0 r10 0x96680a946b7c8855 r11 0x1a40eedb9bdc5cb r12 0x2 r13 0xffffff0070ab7068 r14 0xffff800021149cc8 r15 0 rip 0xffffffff810eaa3b lf_findoverlap+0xbb cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800021149c30 ss 0x10 lf_findoverlap+0xbb: movq 0x18(%rbx),%rax ddb{0}> show proc PROC (syz-executor0) pid=308480 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=69, nice=20 forw=0xffffffffffffffff, list=0xffff800021063788,0xffff8000210639f0 process=0xffff8000210646a0 user=0xffff800021144000, vmspace=0xffffff00658dfb60 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 40942 322591 21246 65534 2 0x10 syz-executor0 *40942 308480 21246 65534 7 0x4000010 syz-executor0 40942 216320 21246 65534 2 0x4000010 syz-executor0 40942 331216 21246 65534 7 0x4000090 syz-executor0 15752 255812 43681 65534 3 0x90 nanosleep syz-executor1 15752 183643 43681 65534 3 0x4000090 lockf syz-executor1 15752 388758 43681 65534 3 0x4000090 fsleep syz-executor1 21246 84162 990 65534 3 0x90 nanosleep syz-executor0 990 115478 53387 0 3 0x82 wait syz-executor0 43681 58545 69975 65534 3 0x90 nanosleep syz-executor1 69975 371382 53387 0 3 0x82 wait syz-executor1 65817 293253 0 0 3 0x14200 bored sosplice 53387 261544 22639 0 3 0x82 thrsleep syz-fuzzer 53387 57960 22639 0 3 0x4000082 thrsleep syz-fuzzer 53387 444181 22639 0 3 0x4000082 thrsleep syz-fuzzer 53387 383204 22639 0 3 0x4000082 thrsleep syz-fuzzer 53387 486296 22639 0 3 0x4000082 thrsleep syz-fuzzer 53387 349561 22639 0 3 0x4000082 thrsleep syz-fuzzer 53387 144412 22639 0 3 0x4000082 thrsleep syz-fuzzer 53387 221613 22639 0 3 0x4000082 thrsleep syz-fuzzer 53387 300794 22639 0 3 0x4000082 kqread syz-fuzzer 53387 10293 22639 0 3 0x4000082 thrsleep syz-fuzzer 53387 189659 22639 0 3 0x4000082 thrsleep syz-fuzzer 53387 84787 22639 0 3 0x4000082 thrsleep syz-fuzzer 22639 45514 45322 0 3 0x10008a pause ksh 45322 255502 26490 0 3 0x92 select sshd 15216 476114 1 0 3 0x100083 ttyin getty 26490 398218 1 0 3 0x80 select sshd 49689 56344 77479 73 3 0x100090 kqread syslogd 77479 303785 1 0 3 0x100082 netio syslogd 95615 409991 1 77 3 0x100090 poll dhclient 14638 520662 1 0 3 0x80 poll dhclient 75669 63288 0 0 3 0x14200 pgzero zerothread 65899 35690 0 0 3 0x14200 aiodoned aiodoned 47660 487332 0 0 3 0x14200 syncer update 16423 523439 0 0 3 0x14200 cleaner cleaner 59470 84706 0 0 3 0x14200 reaper reaper 96329 396396 0 0 3 0x14200 pgdaemon pagedaemon 96613 483438 0 0 3 0x14200 bored crynlk 3840 317960 0 0 3 0x14200 bored crypto 996 250052 0 0 3 0x40014200 acpi0 acpi0 49859 148448 0 0 3 0x40014200 idle1 74918 278783 0 0 3 0x14200 bored softnet 28699 419043 0 0 3 0x14200 bored systqmp 84114 347945 0 0 3 0x14200 bored systq 13565 387989 0 0 3 0x40014200 bored softclock 8547 349633 0 0 3 0x40014200 idle0 1 363582 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper