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,ffffff007b8dce70,ffff8000040dc9a0,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(ffffff00691449e0,5,2,ffffff0069cc60d8,ffffff007f7c64f8) at VOP_ADVLOCK+0x61 sys/kern/vfs_vops.c:699 sys_flock(830,ffff8000210b6720,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,8c5800c3010) at Xsyscall+0x128 end of kernel end trace frame: 0x8c805042390, count: -6 ddb{1}> show registers rdi 0xdeadbeefdeadbeef rsi 0xffffffff81a52745 lf_findoverlap+0x85 rbp 0xffff8000211df600 rbx 0xdeadbeefdeadbeef rdx 0xffff800000ad7000 rcx 0x136 rax 0xffff800000ad7000 r8 0xffff8000211df640 r9 0x1 r10 0x8be550ea08732eaf r11 0xffff800021084710 r12 0x2 r13 0xffffff007b8dce70 r14 0xffff8000211df640 r15 0 rip 0xffffffff81a5276b lf_findoverlap+0xab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000211df5b0 ss 0x10 lf_findoverlap+0xab: movq 0x18(%rbx),%rax ddb{1}> show proc PROC (syz-executor0) pid=461059 stat=onproc flags process=10 proc=4000000 pri=40, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff8000210b79e0,0xffff8000210b6988 process=0xffff8000210a2658 user=0xffff8000211da000, vmspace=0xffffff00658d1b60 estcpu=28, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 58893 386550 62410 65534 2 0x10 syz-executor1 58893 28066 62410 65534 3 0x4000090 ttyout syz-executor1 58893 194232 62410 65534 2 0x4000010 syz-executor1 89556 331695 6457 65534 2 0x10 syz-executor0 *89556 461059 6457 65534 7 0x4000010 syz-executor0 89556 129174 6457 65534 2 0x4000090 syz-executor0 89556 193167 6457 65534 2 0x4000090 syz-executor0 89556 6107 6457 65534 7 0x4000090 syz-executor0 62410 246250 69906 65534 3 0x90 nanosleep syz-executor1 69906 394066 17382 0 3 0x82 wait syz-executor1 6457 431411 25807 65534 3 0x90 nanosleep syz-executor0 25807 266926 17382 0 3 0x82 wait syz-executor0 77416 314261 0 0 3 0x14200 bored sosplice 17382 233268 1149 0 3 0x82 thrsleep syz-fuzzer 17382 519579 1149 0 3 0x4000082 thrsleep syz-fuzzer 17382 473508 1149 0 3 0x4000082 thrsleep syz-fuzzer 17382 22248 1149 0 3 0x4000082 thrsleep syz-fuzzer 17382 263545 1149 0 3 0x4000082 thrsleep syz-fuzzer 17382 483001 1149 0 3 0x4000082 thrsleep syz-fuzzer 17382 440401 1149 0 3 0x4000082 thrsleep syz-fuzzer 17382 299003 1149 0 3 0x4000082 thrsleep syz-fuzzer 17382 13460 1149 0 3 0x4000082 thrsleep syz-fuzzer 17382 293691 1149 0 3 0x4000082 kqread syz-fuzzer 17382 443069 1149 0 3 0x4000082 thrsleep syz-fuzzer 1149 343271 75365 0 3 0x10008a pause ksh 75365 115404 12754 0 3 0x92 select sshd 5680 34008 1 0 3 0x100083 ttyin getty 12754 101759 1 0 3 0x80 select sshd 90471 340866 38171 73 3 0x100090 kqread syslogd 38171 428400 1 0 3 0x100082 netio syslogd 16891 127171 1 77 3 0x100090 poll dhclient 8513 81476 1 0 3 0x80 poll dhclient 12329 165613 0 0 2 0x14200 zerothread 94125 55735 0 0 3 0x14200 aiodoned aiodoned 5458 438348 0 0 3 0x14200 syncer update 54557 424698 0 0 3 0x14200 cleaner cleaner 69466 405332 0 0 3 0x14200 reaper reaper 47133 216441 0 0 3 0x14200 pgdaemon pagedaemon 27649 422807 0 0 3 0x14200 bored crynlk 45110 494009 0 0 3 0x14200 bored crypto 17304 448564 0 0 3 0x40014200 acpi0 acpi0 86108 357645 0 0 3 0x40014200 idle1 52876 43257 0 0 3 0x14200 bored softnet 47974 518504 0 0 3 0x14200 bored systqmp 41848 17385 0 0 3 0x14200 bored systq 52115 191420 0 0 3 0x40014200 bored softclock 63131 232178 0 0 3 0x40014200 idle0 1 330088 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper