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,ffffff007448bd88,ffff8000040e23e0,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(ffffff006878f878,5,2,ffffff0073148240,ffffff006e9231b0) at VOP_ADVLOCK+0x61 sys/kern/vfs_vops.c:699 sys_flock(830,ffff8000210a2bd0,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,ea898f65010) at Xsyscall+0x128 end of kernel end trace frame: 0xeab3d45ff10, count: -6 ddb{0}> show registers rdi 0xdead4110dead4110 rsi 0xffffffff81b2d0b5 lf_findoverlap+0x85 rbp 0xffff8000210ddb80 rbx 0xdead4110dead4110 rdx 0xffff8000018d8000 rcx 0x14e rax 0xffff8000018d8000 r8 0xffff8000210ddbc0 r9 0 r10 0xaa91e30e7458164d r11 0xffffffff810ec2c0 copy_fault r12 0x2 r13 0xffffff007448bd88 r14 0xffff8000210ddbc0 r15 0 rip 0xffffffff81b2d0db lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000210ddb30 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{0}> show proc PROC (syz-executor0) pid=79051 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000210a3080,0xffff8000210a3540 process=0xffff8000210b75f8 user=0xffff8000210d8000, vmspace=0xffffff00699a9d70 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 24440 447009 35314 65534 2 0x10 syz-executor1 24440 353210 35314 65534 7 0x4000010 syz-executor1 34576 495345 58511 65534 2 0x10 syz-executor0 *34576 79051 58511 65534 7 0x4000010 syz-executor0 34576 448236 58511 65534 3 0x4000090 fsleep syz-executor0 34576 445665 58511 65534 2 0x4000010 syz-executor0 58511 293617 96563 65534 3 0x90 nanosleep syz-executor0 96563 479457 90151 0 3 0x82 wait syz-executor0 35314 362444 50333 65534 3 0x90 nanosleep syz-executor1 50333 304407 90151 0 3 0x82 wait syz-executor1 25019 221298 0 0 3 0x14200 bored sosplice 90151 175739 19637 0 3 0x82 thrsleep syz-fuzzer 90151 466135 19637 0 3 0x4000082 thrsleep syz-fuzzer 90151 114143 19637 0 3 0x4000082 thrsleep syz-fuzzer 90151 239767 19637 0 3 0x4000082 thrsleep syz-fuzzer 90151 261832 19637 0 3 0x4000082 thrsleep syz-fuzzer 90151 192559 19637 0 3 0x4000082 thrsleep syz-fuzzer 90151 470046 19637 0 3 0x4000082 thrsleep syz-fuzzer 90151 22829 19637 0 3 0x4000082 thrsleep syz-fuzzer 90151 146918 19637 0 3 0x4000082 kqread syz-fuzzer 90151 36989 19637 0 3 0x4000082 thrsleep syz-fuzzer 90151 250041 19637 0 3 0x4000082 thrsleep syz-fuzzer 19637 23702 16755 0 3 0x10008a pause ksh 16755 172703 92081 0 3 0x92 select sshd 69481 95144 1 0 3 0x100083 ttyin getty 92081 417993 1 0 3 0x80 select sshd 1341 338390 1656 73 3 0x100090 kqread syslogd 1656 90351 1 0 3 0x100082 netio syslogd 58588 52409 1 77 3 0x100090 poll dhclient 58344 221758 1 0 3 0x80 poll dhclient 65036 112602 0 0 2 0x14200 zerothread 95502 230697 0 0 3 0x14200 aiodoned aiodoned 35774 4542 0 0 3 0x14200 syncer update 62375 255287 0 0 3 0x14200 cleaner cleaner 74083 374019 0 0 3 0x14200 reaper reaper 59391 451381 0 0 3 0x14200 pgdaemon pagedaemon 30335 192526 0 0 3 0x14200 bored crynlk 50741 312284 0 0 3 0x14200 bored crypto 18469 403026 0 0 3 0x40014200 acpi0 acpi0 10866 90695 0 0 3 0x40014200 idle1 58553 352618 0 0 3 0x14200 bored softnet 85153 126970 0 0 3 0x14200 bored systqmp 25752 378339 0 0 3 0x14200 bored systq 18131 168664 0 0 3 0x40014200 bored softclock 28613 97661 0 0 3 0x40014200 idle0 1 450246 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper