kernel: protection fault trap, code=0 Stopped at lf_advlock+0x2ee: incl 0x28(%r12) ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace lf_advlock(ffff80000150d3a0,0,fffffd806fb8cdd8,2,ffff80002a832e80,40) at lf_advlock+0x2ee ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff80000150d3a0,0,fffffd806fb8cdd8,2,ffff80002a832e80,40) at lf_advlock+0x2ee sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8061d11cf8,fffffd806fb8cdd8,2,ffff80002a832e80,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:623 sys_fcntl(ffff800031525c58,ffff80002a832ff0,ffff80002a832f40) at sys_fcntl+0x11b3 sys/kern/kern_descrip.c:559 syscall(ffff80002a832ff0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a832ff0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb6b98142cc0, count: -5 ddb> show registers rdi 0xffff800031525c5c rsi 0xffff800031525c5c rbp 0xffff80002a832db0 rbx 0x20002 acpi_pdirpa+0xbe73 rdx 0 rcx 0xffffffff83791ff0 cpu_info_full_primary+0x1ff0 rax 0xffff800031525c58 r8 0xa0 r9 0 r10 0x80c81f41241be6cf r11 0x37da1e0dc21d7542 r12 0xdeafbeaddeafbead r13 0x2 r14 0xffff80000150d3a0 r15 0xffffffffffffffff rip 0xffffffff815bba0e lf_advlock+0x2ee cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a832d20 ss 0x10 lf_advlock+0x2ee: incl 0x28(%r12) ddb> show proc PROC (syz-executor) tid=451295 pid=36277 tcnt=4 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=79, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800031524f88,0xffff80002a80cf88 process=0xffff800031520db8 user=0xffff80002a82e000, vmspace=0xfffffd806bf425b8 estcpu=29, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 99261 216250 21345 -1 2 0x10 syz-executor 99261 140755 21345 -1 3 0x4000090 fsleep syz-executor 99261 334055 21345 -1 2 0x4000010 syz-executor 76134 135509 87624 0 2 0 syz-executor 76134 301449 87624 0 3 0x4000080 fsleep syz-executor 36277 367858 7274 0 2 0x10 syz-executor 36277 8799 7274 0 3 0x4000090 kqsel syz-executor *36277 451295 7274 0 7 0x4000010 syz-executor 36277 330358 7274 0 3 0x4000090 fsleep syz-executor 44925 370336 0 0 3 0x14200 acct acct 27431 485763 32612 0 2 0x2 syz-executor 87624 235553 32612 0 3 0x82 nanoslp syz-executor 21345 478538 32612 0 3 0x82 nanoslp syz-executor 7274 77289 32612 0 3 0x82 nanoslp syz-executor 27867 314335 0 0 3 0x14200 bored sosplice 538 355660 32612 0 2 0x2 syz-executor 29817 491262 32612 0 3 0x82 nanoslp syz-executor 57660 297630 32612 0 3 0x82 piperd syz-executor 32612 169932 55905 0 3 0x82 wait syz-executor 55905 24869 12124 0 3 0x10008a sigsusp ksh 12124 82430 8571 0 3 0x98 kqread sshd-session 8571 109296 37577 0 3 0x92 kqread sshd-session 24035 155023 1 0 3 0x100083 ttyopn getty 37577 103448 1 0 3 0x88 kqread sshd 12807 449922 41282 73 3 0x1100090 kqread syslogd 41282 463619 1 0 3 0x100082 sbwait syslogd 9411 3788 1 0 3 0x100080 kqread resolvd 58667 158263 69766 77 3 0x100092 kqread dhcpleased 40956 149634 69766 77 3 0x100092 kqread dhcpleased 69766 131389 1 0 3 0x80 kqread dhcpleased 24534 488007 0 0 3 0x14200 bored smr 7987 309576 0 0 2 0x14200 zerothread 59624 254127 0 0 3 0x14200 aiodoned aiodoned 99009 298491 0 0 3 0x14200 syncer update 99274 150023 0 0 3 0x14200 cleaner cleaner 2150 420143 0 0 2 0x14200 reaper 6788 260419 0 0 3 0x14200 pgdaemon pagedaemon 23630 274498 0 0 3 0x14200 bored viomb 57174 175917 0 0 3 0x40014200 acpi0 acpi0 92905 483321 0 0 3 0x14200 bored softnet7 86404 486614 0 0 3 0x14200 bored softnet6 18656 473184 0 0 3 0x14200 bored softnet5 67435 315186 0 0 3 0x14200 bored softnet4 85808 225517 0 0 3 0x14200 bored softnet3 40886 281232 0 0 3 0x14200 bored softnet2 9249 403036 0 0 3 0x14200 bored softnet1 64281 12475 0 0 3 0x14200 bored softnet0 60254 136394 0 0 3 0x14200 smrbar systqmp 46762 402192 0 0 3 0x14200 bored systq 91374 84608 0 0 3 0x40014200 tmoslp softclock 26002 283763 0 0 3 0x40014200 idle0 1 431738 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10256 11115K 11558K 166960K 14130 0 pcb 17 18K 20K 166960K 548 0 rtable 160 7K 8K 166960K 943 0 pf 31 13K 20K 166960K 182 0 ifaddr 30 5K 7K 166960K 197 0 ifgroup 42 1K 2K 166960K 242 0 sysctl 4 1K 9K 166960K 23 0 counters 30 17K 18K 166960K 99 0 ioctlops 0 0K 4K 166960K 406 0 iov 0 0K 20K 166960K 100 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1437 90K 91K 166960K 3404 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 30 0 VM map 2 1K 1K 166960K 2 0 sem 23 32K 32K 166960K 67 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 13 45K 240K 166960K 1952 0 sigio 0 0K 0K 166960K 32 0 proc 60 59K 108K 166960K 1358 0 subproc 72 4K 4K 166960K 306 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 250 0 in_multi 55 4K 7K 166960K 443 0 ether_multi 1 0K 0K 166960K 18 0 mrt 1 0K 0K 166960K 11 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 927 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 200 142K 167K 166960K 17885 0 UVM aobj 49 5K 5K 166960K 55 0 pinsyscall 34 68K 92K 166960K 3670 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 90 0 NDP 9 0K 2K 166960K 138 0 temp 76 8674K 8750K 166960K 69153 0 kqueue 14 22K 30K 166960K 257 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 222 0 219 1 0 1 1 0 8 0 rtentry 136 379 0 323 4 0 4 4 0 8 0 unpcb 144 1250 0 1235 7 3 4 4 0 8 3 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpqe 32 6 0 6 2 1 1 1 0 8 1 tcpcb 736 449 0 438 8 3 5 5 0 8 3 arp 88 46 0 36 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 4 0 4 1 0 1 1 0 8 1 inpcb 328 2148 0 2134 21 11 10 13 0 8 8 ip6q 72 42 0 39 1 0 1 1 0 8 0 ip6af 40 81 0 79 1 0 1 1 0 8 0 nd6 104 73 0 64 1 0 1 1 0 8 0 pkpcb 40 10 0 10 2 1 1 1 0 8 1 kcovpl 48 34 0 26 1 0 1 1 0 8 0 ppxss 1072 32 0 32 2 1 1 1 0 8 1 pppxif 1384 2 0 2 2 1 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 7 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 1 1 0 1 1 0 8 0 pfstate 384 5 0 1 1 0 1 1 0 8 0 pfrule 1344 3 0 3 2 1 1 1 0 8 1 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 4 0 1 4 0 4 4 0 8 1 art_heap4 256 1785 0 1463 30 5 25 30 0 8 3 art_table 40 1789 0 1464 5 0 5 5 0 8 0 art_node 32 376 0 322 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 9 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 61 0 40 1 0 1 1 0 8 0 shmpl 112 52 0 6 2 0 2 2 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 4454 0 2912 97 0 97 97 0 8 0 ffsino 248 4454 0 2912 97 0 97 97 0 8 0 nchpl 144 6704 0 4905 67 0 67 67 0 8 0 rtmask 32 5 0 5 2 1 1 1 0 8 1 uvmvnodes 80 5842 0 0 120 0 120 120 0 8 0 vnodes 216 5842 0 0 325 0 325 325 0 8 0 namei 1024 26175 0 26174 3 2 1 2 0 8 0 kstatmem 264 140 0 122 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 7 0 7 2 1 1 1 0 8 1 scxspl 216 24051 0 24051 9 7 2 8 1 8 2 plimitpl 152 459 0 442 1 0 1 1 0 8 0 sigapl 424 2173 0 2125 7 1 6 7 0 8 0 knotepl 120 346159 0 346105 40 29 11 17 0 8 8 kqueuepl 184 618 0 606 4 0 4 4 0 8 3 pipepl 296 480 0 453 9 1 8 8 0 8 5 fdescpl 440 2150 0 2125 5 1 4 5 0 8 0 filepl 120 14532 0 14319 20 8 12 16 0 8 1 lockfpl 104 1220 0 1218 2 0 2 2 0 8 1 lockfspl 48 559 0 557 1 0 1 1 0 8 0 sessionpl 144 53 0 45 1 0 1 1 0 8 0 pgrppl 48 138 0 122 1 0 1 1 0 8 0 ucredpl 104 2577 0 2564 1 0 1 1 0 8 0 zombiepl 144 2729 0 2727 1 0 1 1 0 8 0 processpl 1160 2173 0 2125 5 1 4 5 0 8 0 procpl 656 4545 0 4491 6 0 6 6 0 8 0 sosppl 168 12 0 12 2 1 1 1 0 8 1 sockpl 528 3733 0 3701 23 12 11 14 0 8 8 mcl64k 65536 47 0 47 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 21 0 21 2 1 1 1 0 8 1 mcl4k 4096 4470 0 4424 14 6 8 13 0 8 1 mcl2k 2048 2919 0 2912 4 1 3 3 0 8 1 mtagpl 96 139 0 125 3 0 3 3 0 8 2 mbufpl 256 22354 0 22251 29 12 17 29 0 8 6 bufpl 280 7812 0 1585 446 0 446 446 0 8 0 anonpl 24 330327 0 322278 81 1 80 80 0 187 4 amapchunkpl 152 60083 0 59622 40 8 32 36 0 158 8 amappl16 200 6266 0 6008 32 4 28 28 0 8 1 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 167 0 157 1 0 1 1 0 8 0 amappl13 176 5 0 5 2 1 1 1 0 8 1 amappl12 168 3243 0 3218 2 0 2 2 0 8 0 amappl11 160 49 0 39 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 26 0 24 1 0 1 1 0 8 0 amappl7 128 156 0 146 1 0 1 1 0 8 0 amappl6 120 450 0 446 1 0 1 1 0 8 0 amappl5 112 222 0 215 1 0 1 1 0 8 0 amappl4 104 328 0 311 1 0 1 1 0 8 0 amappl3 96 11715 0 11630 4 0 4 4 0 8 1 amappl2 88 1022 0 961 2 0 2 2 0 8 0 amappl1 80 17604 0 17076 13 0 13 13 0 8 0 amappl 88 16507 0 16371 5 0 5 5 0 92 0 dma4096 4096 2 0 2 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 1 1 1 0 8 1 dma128 128 256 0 256 2 1 1 1 0 8 1 dma64 64 9 0 9 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 54 0 6 1 0 1 1 0 8 0 uaddrrnd 24 2150 0 2125 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2150 0 2125 1 0 1 1 0 8 0 vmmpekpl 168 17321 0 17272 3 0 3 3 0 8 0 vmmpepl 168 145913 0 144004 115 3 112 112 0 357 8 vmsppl 360 2149 0 2124 4 1 3 4 0 8 0 rwobjpl 32 43225 0 36279 57 0 57 57 0 8 0 pdppl 4096 4307 0 4248 149 80 69 79 0 8 10 pvpl 32 924545 0 911798 184 20 164 166 0 265 16 pmappl 216 2149 0 2124 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 352 0 115 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace lf_advlock(ffff80000150d3a0,0,fffffd806fb8cdd8,2,ffff80002a832e80,40) at lf_advlock+0x2ee ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff80000150d3a0,0,fffffd806fb8cdd8,2,ffff80002a832e80,40) at lf_advlock+0x2ee sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8061d11cf8,fffffd806fb8cdd8,2,ffff80002a832e80,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:623 sys_fcntl(ffff800031525c58,ffff80002a832ff0,ffff80002a832f40) at sys_fcntl+0x11b3 sys/kern/kern_descrip.c:559 syscall(ffff80002a832ff0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a832ff0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb6b98142cc0, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace lf_advlock(ffff80000150d3a0,0,fffffd806fb8cdd8,2,ffff80002a832e80,40) at lf_advlock+0x2ee ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff80000150d3a0,0,fffffd806fb8cdd8,2,ffff80002a832e80,40) at lf_advlock+0x2ee sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8061d11cf8,fffffd806fb8cdd8,2,ffff80002a832e80,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:623 sys_fcntl(ffff800031525c58,ffff80002a832ff0,ffff80002a832f40) at sys_fcntl+0x11b3 sys/kern/kern_descrip.c:559 syscall(ffff80002a832ff0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a832ff0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb6b98142cc0, count: -5