kernel: protection fault trap, code=0 Stopped at lf_advlock+0x2f1: incl 0x28(%r12) ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace lf_advlock(ffff8000014a5c60,0,fffffd80699be718,2,ffff80003a52b910,40) at lf_advlock+0x2f1 ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff8000014a5c60,0,fffffd80699be718,2,ffff80003a52b910,40) at lf_advlock+0x2f1 sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8064c517c8,fffffd80699be718,2,ffff80003a52b910,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:623 closef(fffffd807df9c078,ffff80002a7cd770) at closef+0x13f sys/kern/kern_descrip.c:-1 fdfree(ffff80002a7cd770) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7cd770,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7cd770,ffff80003a52bb40,ffff80003a52ba90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a52bb40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a52bb40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7986dd67eae0, count: -8 ddb> show registers rdi 0xffff80002a7cd774 rsi 0xffff80002a7cd774 rbp 0xffff80003a52b860 rbx 0 rdx 0 rcx 0xffffffff8380cff0 cpu_info_full_primary+0x1ff0 rax 0xffff80002a7cd770 r8 0xa0 r9 0 r10 0x115d3747b9fad2cd r11 0x4ac03d9f27f13529 r12 0xdeafbeaddeafbead r13 0x2 r14 0xffff80003a52b910 r15 0x1 rip 0xffffffff81df0d81 lf_advlock+0x2f1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003a52b7d0 ss 0x10 lf_advlock+0x2f1: incl 0x28(%r12) ddb> show proc PROC (syz-executor) tid=68617 pid=60160 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=78, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7cd770 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7987f0,0xffff80002a7cdcb0 process=0xffff8000ffffa418 user=0xffff80003a526000, vmspace=0xfffffd80699f2a20 estcpu=28, cpticks=9, pctcpu=0.4, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 34292 504966 59117 60929 2 0x10 syz-executor 34292 407760 59117 60929 3 0x4000090 fsleep syz-executor 34292 280191 59117 60929 3 0x4000090 fsleep syz-executor 34292 371222 59117 60929 2 0x4000010 syz-executor 70607 486309 36794 0 2 0 syz-executor 70607 505986 36794 0 3 0x4000080 nanoslp syz-executor 70607 272982 36794 0 2 0x4000000 syz-executor 70607 261226 36794 0 3 0x4000080 fsleep syz-executor 66765 301697 28488 0 2 0 syz-executor 66765 278277 28488 0 3 0x4000080 fsleep syz-executor 40032 25548 85855 0 3 0x82 nanoslp syz-executor 36794 428258 85855 0 3 0x82 nanoslp syz-executor 28488 268898 85855 0 3 0x82 nanoslp syz-executor 64167 237460 85855 0 2 0x2 syz-executor 91936 44978 85855 0 2 0x2 syz-executor 79487 13960 85855 0 3 0x82 nanoslp syz-executor 59117 285838 85855 0 3 0x82 nanoslp syz-executor 62491 217354 85855 0 2 0x2 syz-executor 85855 191410 86514 0 3 0x82 kqread syz-executor 86514 163249 14411 0 3 0x10008a sigsusp ksh 14411 516594 65501 0 3 0x98 kqread sshd-session 65501 189244 1462 0 3 0x92 kqread sshd-session 60215 267547 1 0 3 0x100083 ttyopn getty 1462 139168 1 0 3 0x88 kqread sshd 78037 477502 70049 73 3 0x1100090 kqread syslogd 70049 193926 1 0 3 0x100082 sbwait syslogd 97822 94803 1 0 3 0x100080 kqread resolvd 48851 5888 96769 77 3 0x100092 kqread dhcpleased 17892 81570 96769 77 3 0x100092 kqread dhcpleased 96769 245197 1 0 3 0x80 kqread dhcpleased 18303 79159 0 0 3 0x14200 bored smr 54192 18453 0 0 2 0x14200 zerothread 891 260058 0 0 3 0x14200 aiodoned aiodoned 48389 26945 0 0 3 0x14200 syncer update 60279 254825 0 0 3 0x14200 cleaner cleaner 27758 434000 0 0 2 0x14200 reaper 95591 147104 0 0 3 0x14200 pgdaemon pagedaemon 81025 140675 0 0 3 0x14200 bored viomb 767 86637 0 0 3 0x40014200 acpi0 acpi0 16404 366676 0 0 3 0x14200 bored softnet0 84910 520966 0 0 3 0x14200 bored systqmp 72246 293457 0 0 3 0x14200 bored systq 26136 37072 0 0 3 0x40014200 tmoslp softclock 14123 795 0 0 3 0x40014200 idle0 1 418682 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10167 11036K 11559K 166960K 11567 0 pcb 17 14K 16K 166960K 145 0 rtable 214 6K 6K 166960K 288 0 pf 30 12K 13K 166960K 42 0 ifaddr 43 7K 7K 166960K 52 0 ifgroup 50 2K 2K 166960K 60 0 sysctl 1 1K 9K 166960K 7 0 counters 32 17K 17K 166960K 37 0 ioctlops 0 0K 4K 166960K 48 0 iov 0 0K 16K 166960K 45 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1378 87K 87K 166960K 1493 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 9 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 261 0 sigio 0 0K 0K 166960K 1 0 proc 60 59K 124K 166960K 511 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 22 0 in_multi 99 7K 7K 166960K 110 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 49 228K 228K 166960K 49 0 exec 0 0K 1K 166960K 373 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 206 150K 159K 166960K 3916 0 UVM aobj 72 7K 7K 166960K 72 0 pinsyscall 37 74K 96K 166960K 1319 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 11 0K 2K 166960K 33 0 temp 40 8635K 8699K 166960K 7673 0 kqueue 15 24K 26K 166960K 38 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 77 0 74 2 0 2 2 0 8 1 rtentry 136 107 0 10 4 0 4 4 0 8 0 unpcb 144 177 0 162 3 2 1 3 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 41 0 37 1 0 1 1 0 8 0 arp 96 12 0 1 1 0 1 1 0 8 0 inpcb 328 230 0 222 9 5 4 7 0 8 3 ip6q 72 34 0 33 1 0 1 1 0 8 0 ip6af 40 67 0 66 1 0 1 1 0 8 0 nd6 112 18 0 2 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 4 0 4 2 1 1 1 0 8 1 pfrule 1344 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 482 0 42 30 2 28 28 0 8 0 art_table 40 483 0 42 5 0 5 5 0 8 0 art_node 32 107 0 21 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semapl 112 7 0 2 1 0 1 1 0 8 0 shmpl 112 69 0 0 2 0 2 2 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1765 0 258 95 0 95 95 0 8 0 ffsino 256 1765 0 258 95 0 95 95 0 8 0 nchpl 144 2120 0 439 63 0 63 63 0 8 0 vnodes 216 1943 0 0 108 0 108 108 0 8 0 namei 1024 6605 0 6603 2 1 1 2 0 8 0 kstatmem 264 30 0 8 2 0 2 2 0 8 0 scxspl 216 7412 0 7412 8 7 1 8 1 8 1 plimitpl 152 41 0 24 1 0 1 1 0 8 0 sigapl 424 536 0 494 6 1 5 6 0 8 0 knotepl 120 7521 0 7243 9 0 9 9 0 8 0 kqueuepl 184 54 0 43 1 0 1 1 0 8 0 pipepl 304 175 0 148 5 2 3 5 0 8 0 fdescpl 448 523 0 495 5 1 4 5 0 8 0 filepl 120 2520 0 2310 13 4 9 12 0 8 0 lockfpl 104 114 0 112 2 0 2 2 0 8 1 lockfspl 48 57 0 55 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 166 0 154 1 0 1 1 0 8 0 zombiepl 144 526 0 524 2 1 1 1 0 8 0 processpl 1152 536 0 494 4 0 4 4 0 8 0 procpl 664 718 0 669 6 0 6 6 0 8 1 sockpl 552 488 0 462 14 9 5 12 0 8 2 mcl64k 65536 11 0 11 2 1 1 1 0 8 1 mcl8k 8192 4 0 4 1 1 0 1 0 8 0 mcl4k 4096 2598 0 2546 13 6 7 13 0 8 0 mcl2k 2048 381 0 379 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 5424 0 5264 35 17 18 27 0 8 6 bufpl 280 3218 0 117 222 0 222 222 0 8 0 anonpl 24 109973 0 106983 23 1 22 23 0 187 0 amapchunkpl 152 11565 0 11144 21 0 21 21 0 158 3 amappl16 200 2155 0 2133 5 2 3 5 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 103 0 93 1 0 1 1 0 8 0 amappl13 176 20 0 20 1 1 0 1 0 8 0 amappl12 168 1156 0 1130 3 1 2 3 0 8 0 amappl11 160 52 0 42 1 0 1 1 0 8 0 amappl10 152 9 0 9 1 1 0 1 0 8 0 amappl9 144 251 0 250 1 0 1 1 0 8 0 amappl8 136 30 0 28 1 0 1 1 0 8 0 amappl7 128 112 0 102 1 0 1 1 0 8 0 amappl6 120 178 0 175 1 0 1 1 0 8 0 amappl5 112 120 0 114 1 0 1 1 0 8 0 amappl4 104 267 0 251 1 0 1 1 0 8 0 amappl3 96 1946 0 1853 3 0 3 3 0 8 0 amappl2 88 624 0 570 2 0 2 2 0 8 0 amappl1 80 8439 0 7900 13 1 12 13 0 8 0 amappl 88 3242 0 3099 4 0 4 4 0 92 0 uvmvnodes 80 1943 0 0 40 0 40 40 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 71 0 0 2 0 2 2 0 8 0 uaddrrnd 24 523 0 495 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 523 0 495 1 0 1 1 0 8 0 vmmpekpl 168 5789 0 5747 3 0 3 3 0 8 0 vmmpepl 168 39614 0 37912 84 0 84 84 0 357 1 vmsppl 368 522 0 494 4 1 3 4 0 8 0 rwobjpl 40 15521 0 12682 29 0 29 29 0 8 0 pdppl 4096 1053 0 988 101 32 69 83 0 8 4 pvpl 32 251395 0 243416 78 0 78 78 0 265 4 pmappl 216 522 0 494 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 393 0 65 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace lf_advlock(ffff8000014a5c60,0,fffffd80699be718,2,ffff80003a52b910,40) at lf_advlock+0x2f1 ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff8000014a5c60,0,fffffd80699be718,2,ffff80003a52b910,40) at lf_advlock+0x2f1 sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8064c517c8,fffffd80699be718,2,ffff80003a52b910,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:623 closef(fffffd807df9c078,ffff80002a7cd770) at closef+0x13f sys/kern/kern_descrip.c:-1 fdfree(ffff80002a7cd770) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7cd770,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7cd770,ffff80003a52bb40,ffff80003a52ba90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a52bb40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a52bb40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7986dd67eae0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace lf_advlock(ffff8000014a5c60,0,fffffd80699be718,2,ffff80003a52b910,40) at lf_advlock+0x2f1 ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff8000014a5c60,0,fffffd80699be718,2,ffff80003a52b910,40) at lf_advlock+0x2f1 sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8064c517c8,fffffd80699be718,2,ffff80003a52b910,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:623 closef(fffffd807df9c078,ffff80002a7cd770) at closef+0x13f sys/kern/kern_descrip.c:-1 fdfree(ffff80002a7cd770) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7cd770,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7cd770,ffff80003a52bb40,ffff80003a52ba90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a52bb40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a52bb40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7986dd67eae0, count: -8