login: 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,ffffff0071708101,ffff800000ac9ba0,ffffff0006e7bd98,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(ffffff0007b488f0,9,3,ffffff0071708158,ffffff006e925ba0) at VOP_ADVLOCK+0x67 sys/kern/vfs_vops.c:699 sys_flock(830,ffff8000210a3788,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,7bac5cf4010) at Xsyscall+0x128 end of kernel end trace frame: 0x7bd9bb41ea0, count: -6 ddb{1}> show registers rdi 0xdeafbeaddeafbead rsi 0xffffffff810c3945 lf_findoverlap+0x85 rbp 0xffff8000210dcd80 rbx 0xdeafbeaddeafbead rdx 0xffff800000ad7000 rcx 0xf8 rax 0xffff800000ad7000 r8 0xffff8000210dcdc0 r9 0x1 r10 0xa3c4b8c454f2455b r11 0xffffffff81aea880 pvclock_get_timecount r12 0x2 r13 0xffffff0006e7bd98 r14 0xffff8000210dcdc0 r15 0 rip 0xffffffff810c396b lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000210dcd30 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{1}> show proc PROC (syz-executor0) pid=361348 stat=onproc flags process=0 proc=4000000 pri=40, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff8000210a2720,0xffff8000210a39f0 process=0xffff8000210b6fe8 user=0xffff8000210d8000, vmspace=0xffffff007f124a50 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 48557 306873 51694 0 2 0 syz-executor0 *48557 361348 51694 0 7 0x4000000 syz-executor0 48557 415763 51694 0 2 0x4000000 syz-executor0 48557 517864 51694 0 7 0x4000080 syz-executor0 50697 309443 1 0 3 0x100083 ttyin getty 20321 56210 0 0 3 0x14200 bored sosplice 51901 390936 23870 0 3 0x82 nanosleep syz-executor1 51694 236870 23870 0 3 0x82 nanosleep syz-executor0 23870 286552 9250 0 3 0x82 thrsleep syz-fuzzer 23870 200393 9250 0 3 0x4000082 thrsleep syz-fuzzer 23870 330204 9250 0 3 0x4000082 thrsleep syz-fuzzer 23870 16631 9250 0 3 0x4000082 thrsleep syz-fuzzer 23870 173860 9250 0 3 0x4000082 thrsleep syz-fuzzer 23870 24068 9250 0 3 0x4000082 thrsleep syz-fuzzer 23870 193400 9250 0 3 0x4000082 thrsleep syz-fuzzer 23870 203065 9250 0 3 0x4000082 thrsleep syz-fuzzer 23870 3968 9250 0 3 0x4000082 thrsleep syz-fuzzer 23870 149775 9250 0 3 0x4000082 kqread syz-fuzzer 9250 26093 99797 0 3 0x10008a pause ksh 99797 405047 80080 0 3 0x92 select sshd 80080 286129 1 0 3 0x80 select sshd 62128 355227 79633 73 3 0x100090 kqread syslogd 79633 198 1 0 3 0x100082 netio syslogd 27686 236019 1 77 3 0x100090 poll dhclient 52740 117345 1 0 3 0x80 poll dhclient 49145 339300 0 0 3 0x14200 pgzero zerothread 56390 69104 0 0 3 0x14200 aiodoned aiodoned 99715 224786 0 0 3 0x14200 syncer update 47446 255522 0 0 3 0x14200 cleaner cleaner 24575 12532 0 0 3 0x14200 reaper reaper 10424 72454 0 0 3 0x14200 pgdaemon pagedaemon 88351 395157 0 0 3 0x14200 bored crynlk 14933 45634 0 0 3 0x14200 bored crypto 17611 193858 0 0 3 0x40014200 acpi0 acpi0 24934 273400 0 0 3 0x40014200 idle1 36122 237662 0 0 3 0x14200 bored softnet 59865 204445 0 0 3 0x14200 bored systqmp 24421 100586 0 0 3 0x14200 bored systq 40510 513389 0 0 3 0x40014200 bored softclock 37599 481067 0 0 3 0x40014200 idle0 1 240933 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper