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,ffffff0069bde0e0,ffff8000016d7ba0,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(ffffff007daa1438,7,3,ffffff0067b8f078,ffffff006e92d358) at VOP_ADVLOCK+0x61 sys/kern/vfs_vops.c:699 sys_flock(830,ffff800021084968,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,3b39be94010) at Xsyscall+0x128 end of kernel end trace frame: 0x3b5cf6ec650, count: -6 ddb{0}> show registers rdi 0xdeaf4152deaf4152 rsi 0xffffffff810cdc35 lf_findoverlap+0x85 rbp 0xffff800021191850 rbx 0xdeaf4152deaf4152 rdx 0xffff8000040dd000 rcx 0x14b rax 0xffff8000040dd000 r8 0xffff800021191890 r9 0 r10 0xdda7db3ac5540c9a r11 0xffff800021084e18 r12 0x2 r13 0xffffff0069bde0e0 r14 0xffff800021191890 r15 0 rip 0xffffffff810cdc5b lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800021191800 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{0}> show proc PROC (syz-executor0) pid=392103 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff800021084260,0xffff800021084e28 process=0xffff8000210da6a8 user=0xffff80002118c000, vmspace=0xffffff0073d6e958 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 83440 244305 24758 65534 2 0x10 syz-executor0 *83440 392103 24758 65534 7 0x4000010 syz-executor0 83440 246665 24758 65534 2 0x4000010 syz-executor0 83440 520248 24758 65534 7 0x4000090 syz-executor0 69010 452178 63846 65534 2 0x10 syz-executor1 63846 79949 76230 0 3 0x82 wait syz-executor1 24758 367645 54389 65534 3 0x90 nanosleep syz-executor0 54389 38129 76230 0 3 0x82 wait syz-executor0 53617 194250 0 0 3 0x14200 bored sosplice 76230 31915 29997 0 3 0x82 kqread syz-fuzzer 76230 159364 29997 0 3 0x4000082 nanosleep syz-fuzzer 76230 350906 29997 0 3 0x4000082 thrsleep syz-fuzzer 76230 253265 29997 0 3 0x4000082 thrsleep syz-fuzzer 76230 359052 29997 0 3 0x4000082 thrsleep syz-fuzzer 76230 369934 29997 0 3 0x4000082 thrsleep syz-fuzzer 76230 279849 29997 0 3 0x4000082 thrsleep syz-fuzzer 76230 156295 29997 0 3 0x4000082 thrsleep syz-fuzzer 76230 174045 29997 0 3 0x4000082 thrsleep syz-fuzzer 76230 316863 29997 0 3 0x4000082 thrsleep syz-fuzzer 76230 326499 29997 0 3 0x4000082 thrsleep syz-fuzzer 29997 416597 51314 0 3 0x10008a pause ksh 51314 41619 61727 0 3 0x92 select sshd 43711 256115 1 0 3 0x100083 ttyin getty 61727 346423 1 0 3 0x80 select sshd 25208 54150 92925 73 3 0x100090 kqread syslogd 92925 341495 1 0 3 0x100082 netio syslogd 18799 167554 1 77 3 0x100090 poll dhclient 1975 505735 1 0 3 0x80 poll dhclient 85446 164614 0 0 3 0x14200 pgzero zerothread 44494 97759 0 0 3 0x14200 aiodoned aiodoned 57642 264347 0 0 3 0x14200 syncer update 787 39883 0 0 3 0x14200 cleaner cleaner 30811 435221 0 0 3 0x14200 reaper reaper 7547 226534 0 0 3 0x14200 pgdaemon pagedaemon 14316 260777 0 0 3 0x14200 bored crynlk 14483 53102 0 0 3 0x14200 bored crypto 39746 345586 0 0 3 0x40014200 acpi0 acpi0 7903 61727 0 0 3 0x40014200 idle1 80013 322175 0 0 3 0x14200 bored softnet 41741 404599 0 0 3 0x14200 bored systqmp 5204 177252 0 0 3 0x14200 bored systq 71538 194949 0 0 3 0x40014200 bored softclock 65370 372436 0 0 3 0x40014200 idle0 1 235748 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper