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(ffff8000015a6f20,0,fffffd806c095018,2,ffff800035d38ec0,40) at lf_advlock+0x2ee ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff8000015a6f20,0,fffffd806c095018,2,ffff800035d38ec0,40) at lf_advlock+0x2ee sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8066ccf878,fffffd806c095018,2,ffff800035d38ec0,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:620 closef(fffffd8068d3b1e8,ffff80002a7d2ce8) at closef+0x13c fdfree(ffff80002a7d2ce8) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80002a7d2ce8,0,0,3) at exit1+0x57f sys/kern/kern_exit.c:214 proc_suspend_check_locked(ffff80002a7d2ce8,0) at proc_suspend_check_locked+0x2d6 sys/kern/kern_sig.c:2190 userret(ffff80002a7d2ce8) at userret+0x9c sys/kern/kern_sig.c:2149 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x756dc05a81e0, count: -8 ddb> show registers rdi 0xffff80002a7d2cec rsi 0xffff80002a7d2cec rbp 0xffff800035d38e10 rbx 0 rdx 0 rcx 0xffffffff83780ff0 cpu_info_full_primary+0x1ff0 rax 0xffff80002a7d2ce8 r8 0xa0 r9 0 r10 0xd003fa86a50d0c2e r11 0xaefcd8920b36d1f4 r12 0xdead4110dead4110 r13 0x2 r14 0xffff8000015a6f20 r15 0xffffffffffffffff rip 0xffffffff82719bfe lf_advlock+0x2ee cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800035d38d80 ss 0x10 lf_advlock+0x2ee: incl 0x28(%r12) ddb> show proc PROC (syz-executor) tid=272434 pid=74463 tcnt=0 stat=onproc flags process=1008 proc=82000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a801c50 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7ab740,0xffff80002a800a70 process=0xffff800033924468 user=0xffff800035d34000, vmspace=0xfffffd8066ffb450 estcpu=31, cpticks=0, pctcpu=0.6, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 78093 365035 50451 0 2 0 syz-executor 78093 322814 50451 0 3 0x4000000 inode syz-executor 78093 352991 50451 0 3 0x4000080 fsleep syz-executor 78093 44575 50451 0 3 0x4000080 fsleep syz-executor 47312 185299 74287 0 2 0 syz-executor 47312 446894 74287 0 3 0x4000000 inode syz-executor 47312 492272 74287 0 3 0x4000080 fsleep syz-executor 22304 290972 61861 0 2 0 syz-executor 22304 266071 61861 0 3 0x4000080 fifow syz-executor 22304 256130 61861 0 3 0x4000080 fsleep syz-executor 22304 58860 61861 0 3 0x4000080 fsleep syz-executor 96984 102980 23382 0 2 0 syz-executor 96984 451719 23382 0 3 0x4000000 lockflk syz-executor 96984 409415 23382 0 3 0x4000080 fsleep syz-executor 96984 28105 23382 0 3 0x4000080 fsleep syz-executor 93750 409457 89860 0 3 0x80 nanoslp syz-executor 93750 21930 89860 0 3 0x4000080 kqread syz-executor 93750 509049 89860 0 2 0x4000000 syz-executor 93750 37433 89860 0 2 0x4000000 syz-executor 93750 40640 89860 0 3 0x4000080 fsleep syz-executor 93750 284094 89860 0 3 0x4000080 fsleep syz-executor 64013 207184 28975 0 3 0x80 nanoslp syz-executor 64013 177205 28975 0 2 0x4000000 syz-executor 64013 57634 28975 0 3 0x4000000 inode syz-executor 64013 70295 28975 0 3 0x4000080 fsleep syz-executor 9053 370183 0 0 3 0x14200 acct acct 25387 149080 0 0 3 0x14280 nfsidl nfsio 41331 296370 0 0 3 0x14280 nfsidl nfsio 58127 192587 0 0 3 0x14280 nfsidl nfsio 72338 305914 0 0 3 0x14280 nfsidl nfsio 19128 302293 0 0 3 0x14280 nfsidl nfsio 69255 280120 0 0 3 0x14280 nfsidl nfsio 83673 461314 0 0 3 0x14280 nfsidl nfsio 34441 506526 0 0 3 0x14280 nfsidl nfsio 24681 24958 0 0 3 0x14280 nfsidl nfsio 92676 35044 0 0 3 0x14280 nfsidl nfsio 86289 92469 0 0 3 0x14280 nfsidl nfsio 1461 433874 0 0 3 0x14280 nfsidl nfsio 24523 427743 0 0 3 0x14280 nfsidl nfsio 23720 98521 0 0 3 0x14280 nfsidl nfsio 79353 517908 0 0 3 0x14280 nfsidl nfsio 19217 259897 0 0 3 0x14280 nfsidl nfsio 95132 10334 0 0 3 0x14280 nfsidl nfsio 55748 350769 0 0 3 0x14280 nfsidl nfsio 86142 159851 0 0 3 0x14280 nfsidl nfsio 96451 463965 0 0 3 0x14280 nfsidl nfsio 15757 345888 0 0 3 0x14200 bored sosplice 50451 516443 36741 0 3 0x82 nanoslp syz-executor 1091 458168 36741 0 3 0x82 nanoslp syz-executor 47225 378797 36741 0 3 0x82 nanoslp syz-executor 23382 66933 36741 0 3 0x82 nanoslp syz-executor 28975 444705 36741 0 3 0x82 nanoslp syz-executor 74287 125914 36741 0 3 0x82 nanoslp syz-executor 61861 421043 36741 0 3 0x82 nanoslp syz-executor 89860 327 36741 0 3 0x82 nanoslp syz-executor 36741 512087 95187 0 3 0x82 kqread syz-executor 95187 425653 73824 0 3 0x10008a sigsusp ksh 73824 73700 20398 0 3 0x98 kqread sshd-session 20398 78556 40601 0 3 0x92 kqread sshd-session 89340 98583 1 0 3 0x100083 ttyin getty 40601 430525 1 0 3 0x88 kqread sshd 28138 201651 24669 73 3 0x1100090 kqread syslogd 24669 477110 1 0 3 0x100082 sbwait syslogd 94306 19574 1 0 3 0x100080 kqread resolvd 9679 247896 48362 77 3 0x100092 kqread dhcpleased 50587 194657 48362 77 3 0x100092 kqread dhcpleased 48362 385682 1 0 3 0x80 kqread dhcpleased 35154 161831 0 0 3 0x14200 bored smr 25011 194935 0 0 2 0x14200 zerothread 58020 315967 0 0 3 0x14200 aiodoned aiodoned 90537 219206 0 0 3 0x14200 syncer update 21676 74953 0 0 3 0x14200 cleaner cleaner 52990 184716 0 0 3 0x14200 reaper reaper 43970 267771 0 0 3 0x14200 pgdaemon pagedaemon 95708 479593 0 0 3 0x14200 bored viomb 16910 342943 0 0 3 0x40014200 acpi0 acpi0 25613 226677 0 0 3 0x14200 bored softnet3 39824 17682 0 0 3 0x14200 bored softnet2 44761 285919 0 0 3 0x14200 bored softnet1 30722 313849 0 0 3 0x14200 bored softnet0 76665 415453 0 0 3 0x14200 bored systqmp 63176 70611 0 0 3 0x14200 bored systq 56346 364810 0 0 3 0x40014200 tmoslp softclock 57578 43199 0 0 3 0x40014200 idle0 1 56693 0 0 3 0x80082 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 10210 11127K 15421K 166960K 13152 0 pcb 17 22K 24K 166960K 296 0 rtable 204 9K 11K 166960K 514 0 pf 34 13K 268K 166960K 103 0 ifaddr 37 6K 8K 166960K 71 0 ifgroup 50 2K 2K 166960K 102 0 sysctl 4 1K 1K 166960K 6 0 counters 30 17K 17K 166960K 56 0 ioctlops 0 0K 4K 166960K 130 0 iov 0 0K 16K 166960K 87 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1425 89K 90K 166960K 2546 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 25 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 85K 166960K 1035 0 sigio 0 0K 0K 166960K 150 0 proc 60 59K 91K 166960K 572 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 122 0 in_multi 80 6K 7K 166960K 130 0 ether_multi 1 0K 0K 166960K 10 0 mrt 1 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 554 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 258 77K 91K 166960K 11021 0 UVM aobj 21 3K 5K 166960K 25 0 pinsyscall 39 78K 89K 166960K 2057 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 59 0 NDP 11 0K 2K 166960K 48 0 temp 77 8636K 8716K 166960K 103066 0 kqueue 13 20K 28K 166960K 198 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 129 0 126 2 1 1 2 0 8 0 rtentry 136 130 0 44 4 0 4 4 0 8 0 unpcb 144 1136 0 1116 6 5 1 6 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 595 0 525 22 11 11 11 0 8 3 arp 88 22 0 5 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 0 1 0 1 1 0 8 0 inpcb 344 1820 0 1809 44 33 11 19 0 8 9 nd6 104 29 0 7 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 22 0 22 2 1 1 1 0 8 1 pppxif 1376 1 0 1 1 1 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 4 0 1 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 5 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 4 1 0 1 1 0 8 0 pfstate 344 4 0 3 1 0 1 1 0 8 0 pfrule 1344 8 0 7 2 1 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 494 0 136 30 2 28 30 0 8 0 art_table 32 496 0 136 4 0 4 4 0 8 0 art_node 16 128 0 50 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 22 0 4 1 0 1 1 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 3501 0 2011 95 0 95 95 0 8 0 ffsino 248 3501 0 2011 95 0 95 95 0 8 0 nchpl 144 4998 0 3316 63 0 63 63 0 8 0 uvmvnodes 80 4281 0 0 88 0 88 88 0 8 0 vnodes 216 4281 0 0 238 0 238 238 0 8 0 namei 1024 18298 0 18294 3 2 1 2 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 64 0 42 2 0 2 2 0 8 0 scsiplug 72 8 0 8 2 2 0 1 0 8 0 scxspl 216 14695 0 14695 10 9 1 8 1 8 1 plimitpl 152 411 0 394 1 0 1 1 0 8 0 sigapl 424 1339 0 1271 8 0 8 8 0 8 0 futexpl 64 15304 0 15294 1 0 1 1 0 8 0 knotepl 120 830163 0 830116 39 29 10 18 0 8 8 kqueuepl 184 320 0 309 1 0 1 1 0 8 0 pipepl 296 254 0 226 8 5 3 8 0 8 0 fdescpl 440 1296 0 1266 4 0 4 4 0 8 0 filepl 120 10779 0 10551 30 17 13 18 0 8 2 lockfpl 104 792 0 790 2 0 2 2 0 8 1 lockfspl 48 148 0 146 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 39 0 23 1 0 1 1 0 8 0 ucredpl 104 2179 0 2167 1 0 1 1 0 8 0 zombiepl 144 1403 0 1401 1 0 1 1 0 8 0 processpl 1104 1339 0 1271 5 0 5 5 0 8 0 procpl 656 2783 0 2696 9 1 8 8 0 8 0 sosppl 168 11 0 11 3 2 1 1 0 8 1 sockpl 528 3106 0 3072 39 30 9 18 0 8 6 mcl64k 65536 9 0 9 3 2 1 1 0 8 1 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 15 0 15 3 2 1 1 0 8 1 mcl4k 4096 3708 0 3657 15 8 7 14 0 8 0 mcl2k 2048 1188 0 1186 3 2 1 3 0 8 0 mtagpl 96 40 0 14 1 0 1 1 0 8 0 mbufpl 256 14403 0 14225 19 4 15 18 0 8 0 bufpl 280 4234 0 129 294 0 294 294 0 8 0 anonpl 24 207568 0 191579 124 4 120 120 0 187 0 amapchunkpl 152 37183 0 36491 53 15 38 38 0 158 11 amappl16 200 4430 0 3712 51 1 50 50 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 104 0 94 1 0 1 1 0 8 0 amappl13 176 78 0 78 1 1 0 1 0 8 0 amappl12 168 1907 0 1876 2 0 2 2 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 1 0 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 104 0 93 1 0 1 1 0 8 0 amappl6 120 234 0 230 1 0 1 1 0 8 0 amappl5 112 109 0 103 1 0 1 1 0 8 0 amappl4 104 293 0 278 1 0 1 1 0 8 0 amappl3 96 7257 0 7127 5 1 4 4 0 8 0 amappl2 88 612 0 556 2 0 2 2 0 8 0 amappl1 80 10244 0 9715 12 0 12 12 0 8 0 amappl 88 10600 0 10391 5 0 5 5 0 92 0 dma16384 16384 1 0 1 1 1 0 1 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 258 0 258 3 2 1 1 0 8 1 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 24 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1296 0 1266 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1296 0 1266 1 0 1 1 0 8 0 vmmpekpl 168 11577 0 11542 3 0 3 3 0 8 0 vmmpepl 168 83806 0 81261 122 6 116 118 0 357 0 vmsppl 360 1295 0 1266 4 1 3 4 0 8 0 rwobjpl 32 28060 0 22160 49 1 48 48 0 8 0 pdppl 4096 2598 0 2532 96 30 66 76 0 8 0 pvpl 32 565073 0 543270 222 16 206 208 0 265 11 pmappl 216 1295 0 1266 2 0 2 2 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 301 0 68 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace lf_advlock(ffff8000015a6f20,0,fffffd806c095018,2,ffff800035d38ec0,40) at lf_advlock+0x2ee ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff8000015a6f20,0,fffffd806c095018,2,ffff800035d38ec0,40) at lf_advlock+0x2ee sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8066ccf878,fffffd806c095018,2,ffff800035d38ec0,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:620 closef(fffffd8068d3b1e8,ffff80002a7d2ce8) at closef+0x13c fdfree(ffff80002a7d2ce8) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80002a7d2ce8,0,0,3) at exit1+0x57f sys/kern/kern_exit.c:214 proc_suspend_check_locked(ffff80002a7d2ce8,0) at proc_suspend_check_locked+0x2d6 sys/kern/kern_sig.c:2190 userret(ffff80002a7d2ce8) at userret+0x9c sys/kern/kern_sig.c:2149 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x756dc05a81e0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace lf_advlock(ffff8000015a6f20,0,fffffd806c095018,2,ffff800035d38ec0,40) at lf_advlock+0x2ee ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff8000015a6f20,0,fffffd806c095018,2,ffff800035d38ec0,40) at lf_advlock+0x2ee sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8066ccf878,fffffd806c095018,2,ffff800035d38ec0,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:620 closef(fffffd8068d3b1e8,ffff80002a7d2ce8) at closef+0x13c fdfree(ffff80002a7d2ce8) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80002a7d2ce8,0,0,3) at exit1+0x57f sys/kern/kern_exit.c:214 proc_suspend_check_locked(ffff80002a7d2ce8,0) at proc_suspend_check_locked+0x2d6 sys/kern/kern_sig.c:2190 userret(ffff80002a7d2ce8) at userret+0x9c sys/kern/kern_sig.c:2149 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x756dc05a81e0, count: -8