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(ffff800001497720,0,fffffd806c39b538,2,ffff80003a53d890,40) at lf_advlock+0x2ee ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff800001497720,0,fffffd806c39b538,2,ffff80003a53d890,40) at lf_advlock+0x2ee sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8069a35da0,fffffd806c39b538,2,ffff80003a53d890,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:620 closef(fffffd8069d29b48,ffff80003c98f750) at closef+0x13c fdfree(ffff80003c98f750) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c98f750,0,0,1) at exit1+0x57f sys/kern/kern_exit.c:216 sys_exit(ffff80003c98f750,ffff80003a53dad0,ffff80003a53da20) at sys_exit+0x1a syscall(ffff80003a53dad0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f77752d5d10, count: -8 ddb> show registers rdi 0xffff80003c98f754 rsi 0xffff80003c98f754 rbp 0xffff80003a53d7e0 rbx 0 rdx 0 rcx 0xffffffff837beff0 cpu_info_full_primary+0x1ff0 rax 0xffff80003c98f750 r8 0xa0 r9 0 r10 0x4beae5fcb217a4fb r11 0xdbfb46c922b45121 r12 0xdeaf4152deaf4152 r13 0x2 r14 0xffff800001497720 r15 0xffffffffffffffff rip 0xffffffff8269e8de lf_advlock+0x2ee cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003a53d750 ss 0x10 lf_advlock+0x2ee: incl 0x28(%r12) ddb> show proc PROC (syz-executor) tid=272329 pid=57558 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c98f750 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a800f80,0xffff80003c98ea90 process=0xffff800036927438 user=0xffff80003a538000, vmspace=0xfffffd806c0b4448 estcpu=34, cpticks=1, pctcpu=0.2, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 66288 1785 82435 0 2 0 syz-executor 66288 214040 82435 0 2 0x4000000 syz-executor 66288 511242 82435 0 3 0x4000080 fsleep syz-executor 88824 104824 51481 0 2 0 syz-executor 88824 74005 51481 0 3 0x4000080 fsleep syz-executor 88824 395354 51481 0 3 0x4000080 fsleep syz-executor 43241 112857 65912 0 2 0 syz-executor 43241 476500 65912 0 3 0x4000080 fsleep syz-executor 71091 25842 74753 0 2 0 syz-executor 71091 227035 74753 0 3 0x4000080 fsleep syz-executor 96366 204026 13648 0 2 0 syz-executor 96366 298488 13648 0 2 0x4000000 syz-executor 96366 504869 13648 0 3 0x4000080 fsleep syz-executor 96366 444608 13648 0 3 0x4000080 fsleep syz-executor 3105 376766 61445 0 2 0 syz-executor 3105 222098 61445 0 3 0x4000080 kqread syz-executor 3105 391185 61445 0 3 0x4000080 fsleep syz-executor 3105 565 61445 0 3 0x4000080 fsleep syz-executor 13648 71949 99571 0 3 0x82 nanoslp syz-executor 21250 193369 99571 0 3 0x82 nanoslp syz-executor 6737 238330 1 0 3 0x82 nanoslp getty 30070 437595 0 0 3 0x14200 acct acct 26651 366869 0 0 3 0x14200 bored sosplice 82435 403086 99571 0 3 0x82 nanoslp syz-executor 65912 89419 99571 0 3 0x82 nanoslp syz-executor 61445 488262 99571 0 3 0x82 nanoslp syz-executor 51481 501982 99571 0 3 0x82 nanoslp syz-executor 74753 456928 99571 0 3 0x82 nanoslp syz-executor 24402 247482 99571 0 3 0x82 nanoslp syz-executor 99571 39249 51222 0 3 0x82 kqread syz-executor 51222 254033 57585 0 3 0x10008a sigsusp ksh 57585 342643 70078 0 3 0x98 kqread sshd-session 70078 361937 13549 0 3 0x92 kqread sshd-session 13549 144304 1 0 3 0x88 kqread sshd 37086 484009 28604 73 3 0x1100090 kqread syslogd 28604 167302 1 0 3 0x100082 sbwait syslogd 47466 492842 1 0 3 0x100080 kqread resolvd 767 138736 395 77 3 0x100092 kqread dhcpleased 78406 303292 395 77 3 0x100092 kqread dhcpleased 395 247699 1 0 3 0x80 kqread dhcpleased 689 403938 0 0 3 0x14200 bored smr 15747 455122 0 0 2 0x14200 zerothread 77076 513486 0 0 3 0x14200 aiodoned aiodoned 68470 179291 0 0 3 0x14200 syncer update 15610 6229 0 0 3 0x14200 cleaner cleaner 97168 62830 0 0 2 0x14200 reaper 29828 461097 0 0 3 0x14200 pgdaemon pagedaemon 39505 463422 0 0 3 0x14200 bored viomb 39785 449526 0 0 3 0x40014200 acpi0 acpi0 19353 48212 0 0 3 0x14200 bored softnet3 84247 413198 0 0 3 0x14200 bored softnet2 6814 443608 0 0 3 0x14200 bored softnet1 16078 354030 0 0 3 0x14200 bored softnet0 5993 186645 0 0 3 0x14200 bored systqmp 76034 475237 0 0 3 0x14200 bored systq 54558 151673 0 0 3 0x40014200 tmoslp softclock 12225 98218 0 0 3 0x40014200 idle0 1 428203 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 10187 11124K 11492K 166960K 12182 0 pcb 19 14K 16K 166960K 207 0 rtable 231 9K 9K 166960K 509 0 pf 32 13K 15K 166960K 91 0 ifaddr 42 7K 8K 166960K 84 0 ifgroup 50 2K 2K 166960K 127 0 sysctl 2 1K 1K 166960K 2 0 counters 30 17K 17K 166960K 95 0 ioctlops 0 0K 4K 166960K 130 0 iov 0 0K 32K 166960K 52 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1399 88K 89K 166960K 2154 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 49 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 882 0 sigio 0 0K 0K 166960K 87 0 proc 60 59K 124K 166960K 616 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 121 0 in_multi 95 7K 7K 166960K 160 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 612 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 230 72K 88K 166960K 9604 0 UVM aobj 57 2K 2K 166960K 61 0 pinsyscall 38 76K 96K 166960K 1975 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 46 0 NDP 11 0K 2K 166960K 53 0 temp 63 8644K 8720K 166960K 24380 0 kqueue 14 22K 30K 166960K 164 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 95 0 90 1 0 1 1 0 8 0 rtentry 112 158 0 55 4 0 4 4 0 8 0 unpcb 144 843 0 825 11 5 6 6 0 8 5 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 3 0 3 1 0 1 1 0 8 1 tcpcb 808 265 0 257 11 3 8 8 0 8 7 arp 88 26 0 5 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 3 0 2 1 0 1 1 0 8 0 inpcb 344 1189 0 1173 14 6 8 8 0 8 6 nd6 104 36 0 13 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 1 1 1 0 8 1 ppxss 1072 53 0 53 1 0 1 1 0 8 1 pppxif 1376 38 0 38 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 344 1 0 1 1 0 1 1 0 8 1 pfrule 1344 6 0 6 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 655 0 203 30 1 29 29 0 8 0 art_table 32 657 0 203 4 0 4 4 0 8 0 art_node 16 155 0 64 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 6 1 0 1 1 0 8 0 semapl 112 47 0 37 1 0 1 1 0 8 0 shmpl 112 58 0 4 2 0 2 2 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 3133 0 1633 95 0 95 95 0 8 0 ffsino 248 3133 0 1633 95 0 95 95 0 8 0 nchpl 144 4382 0 2697 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 uvmvnodes 80 3586 0 0 74 0 74 74 0 8 0 vnodes 216 3586 0 0 200 0 200 200 0 8 0 namei 1024 15093 0 15091 4 2 2 2 0 8 1 kstatmem 264 66 0 44 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 13284 0 13284 8 7 1 8 1 8 1 plimitpl 152 276 0 259 1 0 1 1 0 8 0 sigapl 424 1181 0 1133 8 0 8 8 0 8 1 futexpl 64 11998 0 11989 1 0 1 1 0 8 0 knotepl 120 37148 0 37100 22 12 10 15 0 8 8 kqueuepl 184 367 0 357 4 3 1 4 0 8 0 pipepl 296 302 0 275 5 0 5 5 0 8 2 fdescpl 440 1143 0 1114 5 1 4 5 0 8 0 filepl 120 8100 0 7878 16 5 11 13 0 8 2 lockfpl 104 270 0 268 1 0 1 1 0 8 0 lockfspl 48 95 0 93 1 0 1 1 0 8 0 sessionpl 144 26 0 19 1 0 1 1 0 8 0 pgrppl 48 42 0 27 1 0 1 1 0 8 0 ucredpl 104 1790 0 1778 1 0 1 1 0 8 0 zombiepl 144 1400 0 1398 1 0 1 1 0 8 0 processpl 1112 1181 0 1133 5 0 5 5 0 8 0 procpl 656 2399 0 2339 9 1 8 8 0 8 0 sosppl 168 6 0 6 2 1 1 1 0 8 1 sockpl 528 2204 0 2166 21 10 11 12 0 8 8 mcl64k 65536 9 0 9 2 1 1 1 0 8 1 mcl16k 16384 4 0 4 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 12 0 12 2 1 1 1 0 8 1 mcl4k 4096 3374 0 3321 15 7 8 14 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 936 0 931 3 1 2 2 0 8 1 mtagpl 96 100 0 80 3 0 3 3 0 8 0 mbufpl 256 141748 0 141559 27 9 18 26 0 8 2 bufpl 280 4024 0 205 273 0 273 273 0 8 0 anonpl 24 154862 0 151531 42 10 32 32 0 187 2 amapchunkpl 152 32472 0 31938 41 12 29 34 0 158 7 amappl16 200 2343 0 2307 9 2 7 7 0 8 3 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 111 0 101 1 0 1 1 0 8 0 amappl13 176 19 0 19 1 1 0 1 0 8 0 amappl12 168 1794 0 1764 3 1 2 3 0 8 0 amappl11 160 47 0 36 1 0 1 1 0 8 0 amappl10 152 8 0 8 1 1 0 1 0 8 0 amappl9 144 254 0 253 2 1 1 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 106 0 95 1 0 1 1 0 8 0 amappl6 120 193 0 189 1 0 1 1 0 8 0 amappl5 112 121 0 115 1 0 1 1 0 8 0 amappl4 104 302 0 286 1 0 1 1 0 8 0 amappl3 96 6158 0 6038 4 0 4 4 0 8 0 amappl2 88 668 0 611 2 0 2 2 0 8 0 amappl1 80 10537 0 10008 14 1 13 13 0 8 0 amappl 88 9179 0 8996 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 7 0 7 2 1 1 1 0 8 1 dma128 128 254 0 254 2 1 1 1 0 8 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 60 0 4 2 0 2 2 0 8 0 uaddrrnd 24 1143 0 1113 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1143 0 1113 1 0 1 1 0 8 0 vmmpekpl 168 11053 0 11003 3 0 3 3 0 8 0 vmmpepl 168 74058 0 72236 88 1 87 87 0 357 4 vmsppl 360 1142 0 1113 4 1 3 4 0 8 0 rwobjpl 32 24675 0 20148 37 0 37 37 0 8 0 pdppl 4096 2292 0 2226 108 42 66 82 0 8 0 pvpl 32 470438 0 461295 125 25 100 103 0 265 15 pmappl 216 1142 0 1113 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 312 0 72 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace lf_advlock(ffff800001497720,0,fffffd806c39b538,2,ffff80003a53d890,40) at lf_advlock+0x2ee ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff800001497720,0,fffffd806c39b538,2,ffff80003a53d890,40) at lf_advlock+0x2ee sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8069a35da0,fffffd806c39b538,2,ffff80003a53d890,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:620 closef(fffffd8069d29b48,ffff80003c98f750) at closef+0x13c fdfree(ffff80003c98f750) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c98f750,0,0,1) at exit1+0x57f sys/kern/kern_exit.c:216 sys_exit(ffff80003c98f750,ffff80003a53dad0,ffff80003a53da20) at sys_exit+0x1a syscall(ffff80003a53dad0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f77752d5d10, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace lf_advlock(ffff800001497720,0,fffffd806c39b538,2,ffff80003a53d890,40) at lf_advlock+0x2ee ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff800001497720,0,fffffd806c39b538,2,ffff80003a53d890,40) at lf_advlock+0x2ee sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd8069a35da0,fffffd806c39b538,2,ffff80003a53d890,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:620 closef(fffffd8069d29b48,ffff80003c98f750) at closef+0x13c fdfree(ffff80003c98f750) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c98f750,0,0,1) at exit1+0x57f sys/kern/kern_exit.c:216 sys_exit(ffff80003c98f750,ffff80003a53dad0,ffff80003a53da20) at sys_exit+0x1a syscall(ffff80003a53dad0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f77752d5d10, count: -8