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,ffffff0073f0d101,ffff8000040dda20,ffffff0063b86250,0) at lf_findoverlap+0xab sys/kern/vfs_lockf.c:621 lf_setlock() at lf_setlock+0xad lf_getblock sys/kern/vfs_lockf.c:586 [inline] lf_setlock() at lf_setlock+0xad sys/kern/vfs_lockf.c:314 VOP_ADVLOCK(ffffff007e6600f8,6,2,ffffff0073f0d170,ffffff006e921358) at VOP_ADVLOCK+0x67 sys/kern/vfs_vops.c:699 sys_flock(830,ffff800021084008,0) at sys_flock+0x156 syscall(0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:583 Xsyscall(6,0,ffffffffffffff4f,0,2,9989fa46010) at Xsyscall+0x128 end of kernel end trace frame: 0x99abaf0a150, count: -6 ddb{1}> show registers rdi 0xdeafbeaddeafbead rsi 0xffffffff819e6745 lf_findoverlap+0x85 rbp 0xffff800021192d50 rbx 0xdeafbeaddeafbead rdx 0xffff8000020d8000 rcx 0x22e rax 0xffff8000020d8000 r8 0xffff800021192d90 r9 0x1 r10 0xa428422835d1eb98 r11 0xffffffff814ef8c0 pvclock_get_timecount r12 0x2 r13 0xffffff0063b86250 r14 0xffff800021192d90 r15 0 rip 0xffffffff819e676b lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800021192d00 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{1}> show proc PROC (syz-executor1) pid=234626 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=71, nice=20 forw=0xffffffffffffffff, list=0xffff800021084260,0xffff800021085530 process=0xffff8000210b6990 user=0xffff80002118e000, vmspace=0xffffff007f125b58 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 79024 474161 95754 65534 2 0x10 syz-executor1 *79024 234626 95754 65534 7 0x4000010 syz-executor1 79024 279825 95754 65534 7 0x4000010 syz-executor1 79024 417459 95754 65534 2 0x4000010 syz-executor1 95754 50628 56369 65534 3 0x90 nanosleep syz-executor1 56369 14414 57633 0 3 0x82 wait syz-executor1 74909 253520 22785 65534 3 0x90 piperd syz-executor0 22785 379395 57633 0 3 0x82 wait syz-executor0 57811 455866 0 0 3 0x14200 bored sosplice 57633 128067 48686 0 3 0x82 thrsleep syz-fuzzer 57633 205763 48686 0 3 0x4000082 thrsleep syz-fuzzer 57633 91436 48686 0 3 0x4000082 thrsleep syz-fuzzer 57633 470065 48686 0 3 0x4000082 thrsleep syz-fuzzer 57633 417474 48686 0 3 0x4000082 thrsleep syz-fuzzer 57633 294671 48686 0 3 0x4000082 thrsleep syz-fuzzer 57633 224499 48686 0 3 0x4000082 thrsleep syz-fuzzer 57633 429991 48686 0 3 0x4000082 thrsleep syz-fuzzer 57633 349946 48686 0 3 0x4000082 kqread syz-fuzzer 57633 164143 48686 0 3 0x4000082 thrsleep syz-fuzzer 57633 274235 48686 0 3 0x4000082 thrsleep syz-fuzzer 57633 278746 48686 0 3 0x4000082 thrsleep syz-fuzzer 48686 211164 32819 0 3 0x10008a pause ksh 32819 177910 96088 0 3 0x92 select sshd 72575 378385 1 0 3 0x100083 ttyin getty 96088 43810 1 0 3 0x80 select sshd 4030 264639 53412 73 3 0x100090 kqread syslogd 53412 358806 1 0 3 0x100082 netio syslogd 54268 406138 1 77 3 0x100090 poll dhclient 42593 300487 1 0 3 0x80 poll dhclient 77538 399689 0 0 3 0x14200 pgzero zerothread 91733 404352 0 0 3 0x14200 aiodoned aiodoned 64275 121517 0 0 3 0x14200 syncer update 60287 381270 0 0 3 0x14200 cleaner cleaner 39182 489130 0 0 3 0x14200 reaper reaper 98415 459640 0 0 3 0x14200 pgdaemon pagedaemon 20880 69000 0 0 3 0x14200 bored crynlk 37319 293281 0 0 3 0x14200 bored crypto 22267 239337 0 0 3 0x40014200 acpi0 acpi0 52594 383601 0 0 3 0x40014200 idle1 8525 456613 0 0 3 0x14200 bored softnet 13396 222516 0 0 3 0x14200 bored systqmp 97356 203997 0 0 3 0x14200 bored systq 80501 116470 0 0 3 0x40014200 bored softclock 62651 85159 0 0 3 0x40014200 idle0 1 497983 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper