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(ffffffff82c1e018,fffffd807b270848) at pool_do_put+0x115 pool_put(ffffffff82c1e018,fffffd807b270848) at pool_put+0x67 sys/kern/subr_pool.c:799 soclose(fffffd807b270848,0) at soclose+0x4aa sys/kern/uipc_socket.c:442 soo_close(fffffd8066cedd38,ffff8000299e7b90) at soo_close+0x40 fdrop(fffffd8066cedd38,ffff8000299e7b90) at fdrop+0xc7 sys/kern/kern_descrip.c:1274 closef(fffffd8066cedd38,ffff8000299e7b90) at closef+0x117 sys/kern/kern_descrip.c:1258 fdfree(ffff8000299e7b90) at fdfree+0xe3 sys/kern/kern_descrip.c:1190 exit1(ffff8000299e7b90,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:196 sys_exit(ffff8000299e7b90,ffff8000231827a0,ffff8000231827f0) at sys_exit+0x16 sys/kern/kern_exit.c:89 syscall(ffff800023182870) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2670, count: -11 ddb> show registers rdi 0 rsi 0xfffffd807b270bd8 rbp 0xffff800023182510 rbx 0x15eceb2a8256d86 rdx 0 rcx 0xfffffd807e783ce0 rax 0xffff8000299e7b90 r8 0xffff800023182590 r9 0x20 r10 0xdda538c12b6c1e02 r11 0x6d8be1e36f0559c r12 0xfffffd807b270848 r13 0xeeb07ecc64412caa r14 0xffffffff82c1e018 socket_pool r15 0xfffffd807b270f90 rip 0xffffffff823672a5 pool_do_put+0x115 cs 0x8 rflags 0x10282 __ALIGN_SIZE+0xf282 rsp 0xffff800023182460 ss 0x10 pool_do_put+0x115: movq 0x8(%rbx),%rbx ddb> show proc PROC (syz-executor.4) pid=154646 stat=onproc flags process=1018 proc=2000 pri=32, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff8000299e6060,0xffff8000299e78e8 process=0xffff8000fffea3f8 user=0xffff80002317d000, vmspace=0xfffffd8069b44820 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 67812 379001 64170 0 2 0x4081010 syz-executor.5 67812 370614 64170 0 3 0x4003010 suspend syz-executor.5 54328 49659 11177 0 3 0x80 nanoslp syz-executor.0 54328 222848 11177 0 3 0x4000080 fsleep syz-executor.0 54328 359227 11177 0 3 0x4000001 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 10235 6489K 7705K 78643K 19594 0 pcb 13 12K 14K 78643K 233 0 rtable 152 14K 17K 78643K 704 0 ifaddr 65 18K 22K 78643K 276 0 sysctl 0 0K 2K 78643K 2 0 counters 26 17K 17K 78643K 161 0 ioctlops 0 0K 2K 78643K 336 0 iov 0 0K 12K 78643K 74 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1410 88K 89K 78643K 3652 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 16 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 81K 78643K 1834 0 sigio 0 0K 0K 78643K 9 0 proc 61 59K 75K 78643K 691 0 subproc 104 6K 6K 78643K 182 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 96 0 in_multi 59 4K 7K 78643K 264 0 ether_multi 1 0K 0K 78643K 18 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 211 943K 943K 78643K 211 0 exec 0 0K 1K 78643K 715 0 pfkey data 0 0K 0K 78643K 4 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 283 81K 94K 78643K 13313 0 UVM aobj 36 3K 3K 78643K 39 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 72 0 NDP 12 0K 1K 78643K 87 0 temp 145 5773K 71421K 78643K 36324 0 kqueue 12 18K 22K 78643K 157 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 182 0 179 3 2 1 3 0 8 0 rtentry 112 221 0 160 4 0 4 4 0 8 0 unpcb 144 3492 0 3472 21 17 4 11 0 8 3 syncache 296 28 0 28 5 4 1 1 0 8 1 tcpqe 32 335 0 335 6 5 1 2 0 8 1 tcpcb 776 611 0 606 18 14 4 8 0 8 3 arp 88 30 0 20 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 336 2003 0 1996 37 30 7 17 0 8 6 nd6 48 46 0 33 1 0 1 1 0 8 0 pkpcb 40 11 0 11 1 1 0 1 0 8 0 kcovpl 48 14 0 6 1 0 1 1 0 8 0 mppekey 1024 4 0 4 1 1 0 1 0 8 0 ppxss 1160 106 0 106 3 2 1 1 0 8 1 pppxif 1360 82 0 82 2 1 1 1 0 8 1 pfosfp 40 2 0 1 1 0 1 1 0 8 0 pfosfpen 112 2 0 1 1 0 1 1 0 8 0 pfanchor 1280 840 4 328 43 0 43 43 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 9 0 7 6 2 4 4 0 8 2 art_heap4 256 1046 0 753 32 8 24 29 0 8 3 art_table 32 1055 0 760 4 0 4 4 0 8 0 art_node 16 218 0 166 1 0 1 1 0 8 0 sysvmsgpl 40 34 0 11 2 1 1 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 36 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3987 0 2551 91 0 91 91 0 8 0 ffsino 240 3987 0 2551 85 0 85 85 0 8 0 nchpl 144 6737 0 5093 63 0 63 63 0 8 0 rtmask 32 5 0 5 1 1 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 26199 0 26199 4 3 1 3 0 8 1 kstatmem 264 112 0 88 2 0 2 2 0 8 0 scxspl 216 19471 0 19471 12 11 1 8 0 8 1 plimitpl 152 459 0 444 1 0 1 1 0 8 0 sigapl 424 2140 0 2077 8 0 8 8 0 8 0 futexpl 64 22204 0 22203 1 0 1 1 0 8 0 knotepl 120 33026 0 32943 27 19 8 12 0 8 4 kqueuepl 184 336 0 328 6 5 1 4 0 8 0 pipepl 288 444 0 416 11 8 3 7 0 8 0 fdescpl 432 2102 0 2077 4 0 4 4 0 8 0 filepl 120 18361 0 18114 36 24 12 17 0 8 3 lockfpl 104 401 0 399 2 1 1 2 0 8 0 lockfspl 48 195 0 193 1 0 1 1 0 8 0 sessionpl 144 32 0 16 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 2066 0 2053 1 0 1 1 0 8 0 zombiepl 144 2080 0 2077 1 0 1 1 0 8 0 processpl 1008 2140 0 2077 11 2 9 9 0 8 0 procpl 696 4858 0 4775 14 5 9 10 0 8 0 sosppl 168 31 0 31 3 2 1 1 0 8 1 sockpl 456 5691 0 5660 135 123 12 37 0 8 7 sockpl: pool(0xffffffff82c1e018:sockpl): free list modified: page 0xfffffd807b270000; item ordinal 4; addr 0xfffffd807b270a11 (p 0xfffffd807b270000); offset 0x0=0xaaa6fbc1a861811a pool(sockpl): free list modified: page 0xfffffd807b270000; item ordinal 4; addr 0xfffffd807b270a11 (p 0xfffffd807b270000); offset 0x0=0xefdeadbe sockpl: pool(0xffffffff82c1e018:sockpl): page inconsistency: page 0xfffffd807b270000; item ordinal 5; addr 0x15eceb2a8256d86 mcl64k 65536 106 0 106 5 4 1 1 0 8 1 mcl16k 16384 40 0 40 5 4 1 1 0 8 1 mcl12k 12288 69 0 69 3 2 1 1 0 8 1 mcl9k 9216 21 0 21 4 3 1 1 0 8 1 mcl8k 8192 130 0 130 4 3 1 1 0 8 1 mcl4k 4096 268 0 268 2 1 1 1 0 8 1 mcl2k2 2112 17 0 17 3 2 1 1 0 8 1 mcl2k 2048 79573 0 79481 61 48 13 33 0 8 0 mtagpl 96 1519 0 1068 21 2 19 20 0 8 1 mbufpl 256 152804 0 152140 337 266 71 147 0 8 6 bufpl 288 6545 0 162 456 0 456 456 0 8 0 anonpl 24 458751 0 440876 153 21 132 138 0 188 19 amapchunkpl 152 37371 0 36684 39 6 33 35 0 158 4 amappl16 200 5729 0 5113 53 17 36 48 0 8 2 amappl15 192 13 0 13 1 1 0 1 0 8 0 amappl14 184 181 0 168 2 1 1 2 0 8 0 amappl13 176 8 0 7 1 0 1 1 0 8 0 amappl12 168 467 0 465 1 0 1 1 0 8 0 amappl11 160 41 0 31 1 0 1 1 0 8 0 amappl10 152 41 0 31 1 0 1 1 0 8 0 amappl9 144 973 0 970 1 0 1 1 0 8 0 amappl8 136 170 0 116 2 0 2 2 0 8 0 amappl7 128 162 0 141 2 0 2 2 0 8 0 amappl6 120 199 0 187 2 1 1 2 0 8 0 amappl5 112 158 0 152 1 0 1 1 0 8 0 amappl4 104 523 0 495 2 1 1 2 0 8 0 amappl3 96 5561 0 5507 2 0 2 2 0 8 0 amappl2 88 2570 0 2499 3 1 2 3 0 8 0 amappl1 80 49693 0 48998 30 13 17 26 0 8 0 amappl 88 12721 0 12550 5 0 5 5 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 38 0 3 1 0 1 1 0 8 0 uaddrrnd 24 2102 0 2077 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2102 0 2077 1 0 1 1 0 8 0 vmmpekpl 168 20377 0 20307 4 0 4 4 0 8 0 vmmpepl 168 202067 0 199450 190 50 140 144 0 357 17 vmsppl 344 2101 0 2077 3 0 3 3 0 8 0 rwobjpl 24 59991 0 52329 47 0 47 47 0 8 0 pdppl 4096 4210 0 4154 156 92 64 72 0 8 8 pvpl 32 951100 0 928009 362 120 242 362 0 265 52 pmappl 216 2101 0 2077 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1301 0 473 26 1 25 25 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pool_do_put(ffffffff82c1e018,fffffd807b270848) at pool_do_put+0x115 pool_put(ffffffff82c1e018,fffffd807b270848) at pool_put+0x67 sys/kern/subr_pool.c:799 soclose(fffffd807b270848,0) at soclose+0x4aa sys/kern/uipc_socket.c:442 soo_close(fffffd8066cedd38,ffff8000299e7b90) at soo_close+0x40 fdrop(fffffd8066cedd38,ffff8000299e7b90) at fdrop+0xc7 sys/kern/kern_descrip.c:1274 closef(fffffd8066cedd38,ffff8000299e7b90) at closef+0x117 sys/kern/kern_descrip.c:1258 fdfree(ffff8000299e7b90) at fdfree+0xe3 sys/kern/kern_descrip.c:1190 exit1(ffff8000299e7b90,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:196 sys_exit(ffff8000299e7b90,ffff8000231827a0,ffff8000231827f0) at sys_exit+0x16 sys/kern/kern_exit.c:89 syscall(ffff800023182870) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2670, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace pool_do_put(ffffffff82c1e018,fffffd807b270848) at pool_do_put+0x115 pool_put(ffffffff82c1e018,fffffd807b270848) at pool_put+0x67 sys/kern/subr_pool.c:799 soclose(fffffd807b270848,0) at soclose+0x4aa sys/kern/uipc_socket.c:442 soo_close(fffffd8066cedd38,ffff8000299e7b90) at soo_close+0x40 fdrop(fffffd8066cedd38,ffff8000299e7b90) at fdrop+0xc7 sys/kern/kern_descrip.c:1274 closef(fffffd8066cedd38,ffff8000299e7b90) at closef+0x117 sys/kern/kern_descrip.c:1258 fdfree(ffff8000299e7b90) at fdfree+0xe3 sys/kern/kern_descrip.c:1190 exit1(ffff8000299e7b90,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:196 sys_exit(ffff8000299e7b90,ffff8000231827a0,ffff8000231827f0) at sys_exit+0x16 sys/kern/kern_exit.c:89 syscall(ffff800023182870) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2670, count: -11