kernel: protection fault trap, code=0 Stopped at pool_do_put+0x115: movq 0x8(%rbx),%rbx ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace pool_do_put(ffffffff82ab5930,fffffd807e85e1f8) at pool_do_put+0x115 pool_put(ffffffff82ab5930,fffffd807e85e1f8) at pool_put+0x67 sys/kern/subr_pool.c:799 soclose(fffffd807e85e1f8,0) at soclose+0x4aa sys/kern/uipc_socket.c:432 soo_close(fffffd80731cabb8,ffff80002662a7f0) at soo_close+0x40 fdrop(fffffd80731cabb8,ffff80002662a7f0) at fdrop+0xc7 sys/kern/kern_descrip.c:1274 closef(fffffd80731cabb8,ffff80002662a7f0) at closef+0x117 sys/kern/kern_descrip.c:1258 fdfree(ffff80002662a7f0) at fdfree+0xe3 sys/kern/kern_descrip.c:1190 exit1(ffff80002662a7f0,1,0,1) at exit1+0x35d sys/kern/kern_exit.c:196 sys_exit(ffff80002662a7f0,ffff8000249fd990,ffff8000249fd9e0) at sys_exit+0x16 sys/kern/kern_exit.c:89 syscall(ffff8000249fda60) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffedae0, count: -11 ddb> show registers rdi 0 rsi 0xfffffd807e85e918 rbp 0xffff8000249fd700 rbx 0x3f9d9bafe93c9745 rdx 0 rcx 0x1 rax 0xffff80002662a7f0 r8 0x90 r9 0 r10 0x4cb5edc9f944fc78 r11 0x9415726fe2e8feab r12 0xfffffd807e85e1f8 r13 0x92dc8b3d35b7aa70 r14 0xffffffff82ab5930 socket_pool r15 0xfffffd807e85ef90 rip 0xffffffff810968b5 pool_do_put+0x115 cs 0x8 rflags 0x10282 __ALIGN_SIZE+0xf282 rsp 0xffff8000249fd650 ss 0x10 pool_do_put+0x115: movq 0x8(%rbx),%rbx ddb> show proc PROC (ifconfig) pid=204628 stat=onproc flags process=a proc=2000 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80002662aa90,0xffff80002662b280 process=0xffff80002179afc0 user=0xffff8000249f8000, vmspace=0xfffffd8072e4daa0 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 39645 77826 24112 0 2 0x2 sh 90725 438215 88428 0 2 0x2 sh 57833 128850 48974 0 2 0x2 syz-executor.0 585 90432 47497 0 3 0x10008a sigsusp sh 88428 431886 48974 0 3 0x82 wait syz-executor.6 24112 426259 48974 0 3 0x82 wait syz-executor.7 47497 9422 48974 0 3 0x82 wait syz-executor.3 17166 52392 48974 0 3 0x3 kernel: protection fault trap, code=0 Faulted in DDB; continuing... ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10166 6397K 7192K 78643K 13053 0 pcb 13 8K 8K 78643K 171 0 rtable 82 3K 7K 78643K 543 0 ifaddr 56 15K 22K 78643K 147 0 counters 22 16K 17K 78643K 43 0 ioctlops 0 0K 4K 78643K 194 0 iov 0 0K 24K 78643K 83 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1308 82K 82K 78643K 2345 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 12 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 78 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 12 38K 73K 78643K 2292 0 proc 64 67K 83K 78643K 569 0 subproc 65 4K 6K 78643K 169 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 289 0 in_multi 32 2K 7K 78643K 211 0 ether_multi 1 0K 0K 78643K 26 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 79 360K 360K 78643K 79 0 exec 0 0K 1K 78643K 474 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 237 103K 128K 78643K 14788 0 UVM aobj 11 6K 6K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 61 0 NDP 5 0K 2K 78643K 42 0 temp 90 4688K 4754K 78643K 23897 0 kqueue 12 18K 28K 78643K 151 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 112 0 109 1 0 1 1 0 8 0 rtentry 112 159 0 128 4 1 3 4 0 8 0 unpcb 144 771 0 758 2 1 1 2 0 8 0 syncache 296 23 0 23 4 4 0 1 0 8 0 tcpqe 32 107 12 107 2 2 0 1 0 8 0 tcpcb 776 459 0 453 4 2 2 4 0 8 0 arp 88 22 0 18 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 1 0 1 1 1 0 1 0 8 0 inpcb 336 1150 0 1141 3 1 2 3 0 8 0 nd6 48 30 0 24 1 0 1 1 0 8 0 pkpcb 40 7 0 7 1 1 0 1 0 8 0 kcovpl 48 13 0 8 1 0 1 1 0 8 0 ppxss 1160 9 0 9 2 2 0 1 0 8 0 pppxif 1352 4 0 4 1 1 0 1 0 8 0 pfstscr 40 62 0 49 1 0 1 1 0 8 0 pfosfp 40 30 0 29 1 0 1 1 0 8 0 pfosfpen 112 30 0 29 1 0 1 1 0 8 0 pfanchor 1280 56 0 49 2 1 1 1 0 8 0 pfstitem 24 46 0 32 1 0 1 1 0 8 0 pfstkey 120 72 0 67 1 0 1 1 0 8 0 pfstate 352 38 0 31 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 740 0 563 31 18 13 30 0 8 0 art_table 32 741 0 563 4 0 4 4 0 8 0 art_node 16 158 0 132 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 12 1 1 0 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 71 0 61 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4379 0 2940 91 0 91 91 0 8 0 ffsino 240 4379 0 2940 86 0 86 86 0 8 0 nchpl 144 7269 0 5638 63 0 63 63 0 8 0 uvmvnodes 80 5325 0 0 109 0 109 109 0 8 0 vnodes 216 5325 0 0 296 0 296 296 0 8 0 namei 1024 19472 0 19470 5 4 1 2 0 8 0 vcpupl 2048 4 0 0 1 0 1 1 0 8 0 vmpool 536 4 0 0 1 0 1 1 0 8 0 kstatmem 264 44 0 34 2 0 2 2 0 8 0 scxspl 216 21261 0 21261 9 8 1 8 0 8 1 plimitpl 152 96 0 83 1 0 1 1 0 8 0 sigapl 424 2570 0 2530 6 0 6 6 0 8 0 futexpl 64 16880 0 16880 2 2 0 1 0 8 0 knotepl 120 24013 0 23933 21 17 4 21 0 8 0 kqueuepl 184 203 0 195 1 0 1 1 0 8 0 pipepl 288 214 0 190 3 0 3 3 0 8 0 fdescpl 432 2553 0 2530 4 1 3 4 0 8 0 filepl 120 8420 0 8239 9 1 8 9 0 8 0 lockfpl 104 569 0 567 1 0 1 1 0 8 0 lockfspl 48 209 0 207 1 0 1 1 0 8 0 sessionpl 144 28 0 15 1 0 1 1 0 8 0 pgrppl 48 35 0 22 1 0 1 1 0 8 0 ucredpl 104 1054 0 1044 1 0 1 1 0 8 0 zombiepl 144 2531 0 2530 4 3 1 1 0 8 0 processpl 1008 2570 0 2530 7 1 6 6 0 8 0 procpl 672 4981 0 4928 8 2 6 7 0 8 0 sosppl 168 13 0 13 1 1 0 1 0 8 0 sockpl 456 2041 0 2015 10 6 4 7 0 8 0 sockpl: pool(0xffffffff82ab5930:sockpl): free list modified: page 0xfffffd807e85e000; item ordinal 4; addr 0xfffffd807e85ecab (p 0xfffffd807e85e000); offset 0x0=0xb7aa701f6a120a74 pool(sockpl): free list modified: page 0xfffffd807e85e000; item ordinal 4; addr 0xfffffd807e85ecab (p 0xfffffd807e85e000); offset 0x0=0xad4110de sockpl: pool(0xffffffff82ab5930:sockpl): page inconsistency: page 0xfffffd807e85e000; item ordinal 5; addr 0x3f9d9bafe93c9745 mcl64k 65536 29 0 29 2 2 0 1 0 8 0 mcl16k 16384 17 0 17 1 1 0 1 0 8 0 mcl12k 12288 20 0 20 2 2 0 1 0 8 0 mcl8k 8192 59 0 59 3 3 0 1 0 8 0 mcl4k 4096 130 0 130 4 4 0 1 0 8 0 mcl2k 2048 19986 0 19907 49 36 13 36 0 8 0 mtagpl 96 216 0 184 5 1 4 4 0 8 0 mbufpl 256 70893 0 70676 79 53 26 67 0 8 0 bufpl 288 6661 0 259 458 0 458 458 0 8 0 anonpl 24 460212 0 454021 56 8 48 53 0 188 0 amapchunkpl 152 40583 0 40159 28 7 21 23 0 158 0 amappl16 200 4569 0 4456 14 6 8 12 0 8 0 amappl15 192 10 0 8 1 0 1 1 0 8 0 amappl14 184 169 0 157 2 0 2 2 0 8 0 amappl13 176 10 0 9 1 0 1 1 0 8 0 amappl12 168 434 0 427 1 0 1 1 0 8 0 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 40 0 31 1 0 1 1 0 8 0 amappl9 144 952 0 951 1 0 1 1 0 8 0 amappl8 136 179 0 127 2 0 2 2 0 8 0 amappl7 128 132 0 112 2 0 2 2 0 8 0 amappl6 120 159 0 145 1 0 1 1 0 8 0 amappl5 112 120 0 112 1 0 1 1 0 8 0 amappl4 104 478 0 450 2 1 1 2 0 8 0 amappl3 96 6352 0 6318 2 0 2 2 0 8 0 amappl2 88 2959 0 2892 3 1 2 3 0 8 0 amappl1 80 56654 0 56063 23 8 15 22 0 8 0 amappl 88 14266 0 14143 4 0 4 4 0 92 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2557 0 2530 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2557 0 2530 1 0 1 1 0 8 0 vmmpekpl 168 19345 0 19307 2 0 2 2 0 8 0 vmmpepl 168 226895 0 225174 120 23 97 109 0 357 1 vmsppl 272 2556 0 2530 4 1 3 3 0 8 0 rwobjpl 24 62189 0 55786 40 0 40 40 0 8 0 pdppl 4096 5120 0 5064 150 94 56 68 0 8 0 pvpl 32 1037114 0 1026484 257 149 108 257 0 265 0 pmappl 216 2556 0 2530 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 977 0 219 23 0 23 23 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pool_do_put(ffffffff82ab5930,fffffd807e85e1f8) at pool_do_put+0x115 pool_put(ffffffff82ab5930,fffffd807e85e1f8) at pool_put+0x67 sys/kern/subr_pool.c:799 soclose(fffffd807e85e1f8,0) at soclose+0x4aa sys/kern/uipc_socket.c:432 soo_close(fffffd80731cabb8,ffff80002662a7f0) at soo_close+0x40 fdrop(fffffd80731cabb8,ffff80002662a7f0) at fdrop+0xc7 sys/kern/kern_descrip.c:1274 closef(fffffd80731cabb8,ffff80002662a7f0) at closef+0x117 sys/kern/kern_descrip.c:1258 fdfree(ffff80002662a7f0) at fdfree+0xe3 sys/kern/kern_descrip.c:1190 exit1(ffff80002662a7f0,1,0,1) at exit1+0x35d sys/kern/kern_exit.c:196 sys_exit(ffff80002662a7f0,ffff8000249fd990,ffff8000249fd9e0) at sys_exit+0x16 sys/kern/kern_exit.c:89 syscall(ffff8000249fda60) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffedae0, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace pool_do_put(ffffffff82ab5930,fffffd807e85e1f8) at pool_do_put+0x115 pool_put(ffffffff82ab5930,fffffd807e85e1f8) at pool_put+0x67 sys/kern/subr_pool.c:799 soclose(fffffd807e85e1f8,0) at soclose+0x4aa sys/kern/uipc_socket.c:432 soo_close(fffffd80731cabb8,ffff80002662a7f0) at soo_close+0x40 fdrop(fffffd80731cabb8,ffff80002662a7f0) at fdrop+0xc7 sys/kern/kern_descrip.c:1274 closef(fffffd80731cabb8,ffff80002662a7f0) at closef+0x117 sys/kern/kern_descrip.c:1258 fdfree(ffff80002662a7f0) at fdfree+0xe3 sys/kern/kern_descrip.c:1190 exit1(ffff80002662a7f0,1,0,1) at exit1+0x35d sys/kern/kern_exit.c:196 sys_exit(ffff80002662a7f0,ffff8000249fd990,ffff8000249fd9e0) at sys_exit+0x16 sys/kern/kern_exit.c:89 syscall(ffff8000249fda60) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffedae0, count: -11