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(ffffffff82c7aca0,fffffd80596e1940) at pool_do_put+0x115 pool_put(ffffffff82c7aca0,fffffd80596e1940) at pool_put+0x6b sys/kern/subr_pool.c:799 soclose(fffffd80596e1940,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 fifo_close(ffff800024b79280) at fifo_close+0x14b sys/miscfs/fifofs/fifo_vnops.c:356 VOP_CLOSE(fffffd806bc06720,1,fffffd807f7d7410,ffff800023153610) at VOP_CLOSE+0xe2 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806f89ce10,ffff800023153610) at vn_closefile+0xd6 vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806f89ce10,ffff800023153610) at vn_closefile+0xd6 sys/kern/vfs_vnops.c:609 fdrop(fffffd806f89ce10,ffff800023153610) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806f89ce10,ffff800023153610) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023153610) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023153610,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023153610,ffff800024b79510,ffff800024b79560) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024b795e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79b3ffa88f10, count: -13 ddb> show registers rdi 0 rsi 0xfffffd80596e1778 rbp 0xffff800024b79190 rbx 0x1bfece944daa9271 rdx 0 rcx 0xfffffd8075d9e500 rax 0xffff800023153610 r8 0 r9 0 r10 0x84fe8767622b9142 r11 0xabd19ac2f2aefd08 r12 0xfffffd80596e1940 r13 0xa55394382412ef0d r14 0xffffffff82c7aca0 socket_pool r15 0xfffffd80596e1f90 rip 0xffffffff822b2c55 pool_do_put+0x115 cs 0x8 rflags 0x10296 __ALIGN_SIZE+0xf296 rsp 0xffff800024b790e0 ss 0x10 pool_do_put+0x115: movq 0x8(%rbx),%rbx ddb> show proc PROC (syz-executor.2) pid=111863 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800023152de8,0xffffffff82cc50c0 process=0xffff80002b432fc0 user=0xffff800024b74000, vmspace=0xfffffd8069a315d0 estcpu=36, cpticks=7, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89169 67763 12146 0 2 0 syz-executor.6 89169 46978 12146 0 3 0x4000080 fsleep syz-executor.6 89169 214349 12146 0 3 0x4000080 fsleep syz-executor.6 5835 101499 19812 0 3 0x1 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 10180 6431K 7130K 78643K 17017 0 pcb 13 11K 12K 78643K 230 0 rtable 238 6K 7K 78643K 809 0 pf 31 9K 10K 78643K 160 0 ifaddr 44 12K 13K 78643K 139 0 ifgroup 54 2K 2K 78643K 253 0 sysctl 3 1K 1K 78643K 5 0 counters 29 17K 17K 78643K 83 0 ioctlops 0 0K 2K 78643K 58 0 iov 0 0K 24K 78643K 165 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1344 84K 84K 78643K 3333 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 47 0 VM map 2 1K 1K 78643K 2 0 sem 10 0K 1K 78643K 48 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 77K 78643K 3978 0 sigio 0 0K 0K 78643K 159 0 proc 58 59K 75K 78643K 1074 0 subproc 104 6K 6K 78643K 247 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 424 0 in_multi 99 7K 7K 78643K 248 0 ether_multi 1 0K 0K 78643K 9 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 73 334K 334K 78643K 73 0 exec 0 0K 1K 78643K 1508 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 348 93K 108K 78643K 38729 0 UVM aobj 119 6K 6K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 104 0 NDP 12 0K 2K 78643K 104 0 temp 74 5912K 5990K 78643K 33930 0 kqueue 12 18K 26K 78643K 324 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 319 0 316 5 4 1 3 0 8 0 rtentry 112 239 0 127 4 0 4 4 0 8 0 unpcb 144 3240 0 3226 35 34 1 6 0 8 0 syncache 296 38 0 38 5 5 0 1 0 8 0 tcpqe 32 424 0 424 8 8 0 2 0 8 0 tcpcb 808 1064 0 1060 37 36 1 8 0 8 0 arp 88 42 0 23 1 0 1 1 0 8 0 ipq 40 7 0 7 2 2 0 1 0 8 0 ipqe 40 27 0 27 2 2 0 1 0 8 0 inpcb 336 2220 0 2210 40 38 2 8 0 8 0 nd6 104 62 0 37 1 0 1 1 0 8 0 pkpcb 40 18 0 18 4 4 0 1 0 8 0 kcovpl 48 19 0 11 1 0 1 1 0 8 0 ppxss 1160 19 0 19 3 3 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 964 0 496 30 0 30 30 0 8 0 art_table 32 965 0 496 4 0 4 4 0 8 0 art_node 16 238 0 136 1 0 1 1 0 8 0 sysvmsgpl 40 37 0 2 1 0 1 1 0 8 0 semupl 112 7 0 7 1 1 0 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 128 0 12 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6639 0 5159 93 0 93 93 0 8 0 ffsino 240 6639 0 5159 88 0 88 88 0 8 0 nchpl 144 13854 0 13359 63 41 22 63 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 46541 0 46540 4 3 1 3 0 8 0 kstatmem 264 132 0 108 2 0 2 2 0 8 0 scxspl 216 53396 0 53396 16 15 1 8 1 8 1 plimitpl 152 485 0 470 1 0 1 1 0 8 0 sigapl 424 4334 0 4269 8 0 8 8 0 8 0 futexpl 64 38875 0 38872 2 1 1 1 0 8 0 knotepl 120 38604 0 38524 14 11 3 10 0 8 0 kqueuepl 184 718 0 710 12 11 1 7 0 8 0 pipepl 288 821 0 793 13 10 3 7 0 8 0 fdescpl 432 4236 0 4212 5 1 4 4 0 8 0 filepl 120 28808 0 28570 41 33 8 16 0 8 0 lockfpl 104 1342 0 1340 3 2 1 2 0 8 0 lockfspl 48 482 0 480 1 0 1 1 0 8 0 sessionpl 144 34 0 18 1 0 1 1 0 8 0 pgrppl 48 58 0 42 1 0 1 1 0 8 0 ucredpl 104 3681 0 3671 1 0 1 1 0 8 0 zombiepl 144 4274 0 4269 1 0 1 1 0 8 0 processpl 1008 4334 0 4269 10 1 9 9 0 8 0 procpl 696 10103 0 10021 11 2 9 9 0 8 0 sosppl 168 76 0 76 4 4 0 1 0 8 0 sockpl 456 5829 0 5804 142 138 4 21 0 8 0 sockpl: pool(0xffffffff82c7aca0:sockpl): free list modified: page 0xfffffd80596e1000; item ordinal 3; addr 0xfffffd80596e1222 (p 0xfffffd80596e1000); offset 0x0=0xfabdf4208eb0cdaa pool(sockpl): free list modified: page 0xfffffd80596e1000; item ordinal 3; addr 0xfffffd80596e1222 (p 0xfffffd80596e1000); offset 0x0=0xbeaddeaf sockpl: pool(0xffffffff82c7aca0:sockpl): page inconsistency: page 0xfffffd80596e1000; item ordinal 4; addr 0x1bfece944daa9271 mcl64k 65536 177 0 177 4 3 1 1 0 8 1 mcl16k 16384 90 0 90 7 7 0 1 0 8 0 mcl12k 12288 143 0 143 6 6 0 1 0 8 0 mcl9k 9216 136 0 136 7 7 0 1 0 8 0 mcl8k 8192 416 0 416 5 4 1 1 0 8 1 mcl4k 4096 490 0 490 8 7 1 2 0 8 1 mcl2k2 2112 24 0 24 8 7 1 1 0 8 1 mcl2k 2048 74399 0 74334 51 41 10 39 0 8 1 mtagpl 96 810 0 530 12 4 8 9 0 8 0 mbufpl 256 151347 0 150942 101 67 34 68 0 8 0 bufpl 288 12240 0 5842 458 0 458 458 0 8 0 anonpl 24 591289 0 579888 176 41 135 154 0 188 48 amapchunkpl 152 127363 0 126619 71 29 42 62 0 158 10 amappl16 200 12403 0 11988 45 22 23 34 0 8 0 amappl15 192 15 0 15 1 1 0 1 0 8 0 amappl14 184 192 0 180 2 1 1 2 0 8 0 amappl13 176 22 0 22 2 2 0 1 0 8 0 amappl12 168 5022 0 4997 3 1 2 2 0 8 0 amappl11 160 54 0 42 1 0 1 1 0 8 0 amappl10 152 35 0 26 2 1 1 1 0 8 0 amappl9 144 116 0 115 1 0 1 1 0 8 0 amappl8 136 363 0 270 4 0 4 4 0 8 0 amappl7 128 96 0 82 2 0 2 2 0 8 0 amappl6 120 340 0 319 2 1 1 2 0 8 0 amappl5 112 272 0 263 1 0 1 1 0 8 0 amappl4 104 655 0 620 3 2 1 2 0 8 0 amappl3 96 25203 0 25139 4 1 3 3 0 8 0 amappl2 88 4570 0 4509 3 1 2 3 0 8 0 amappl1 80 24176 0 23682 22 10 12 22 0 8 0 amappl 88 38000 0 37798 6 0 6 6 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 130 0 12 3 0 3 3 0 8 0 uaddrrnd 24 4236 0 4212 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4236 0 4212 1 0 1 1 0 8 0 vmmpekpl 168 35304 0 35249 3 0 3 3 0 8 0 vmmpepl 168 268671 0 266592 198 80 118 124 0 357 17 vmsppl 368 4235 0 4212 3 0 3 3 0 8 0 rwobjpl 24 75454 0 67994 47 1 46 46 0 8 0 pdppl 4096 8478 0 8424 218 156 62 70 0 8 8 pvpl 32 1395450 0 1378614 443 187 256 360 0 265 95 pmappl 216 4235 0 4212 3 1 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1167 0 374 24 0 24 24 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pool_do_put(ffffffff82c7aca0,fffffd80596e1940) at pool_do_put+0x115 pool_put(ffffffff82c7aca0,fffffd80596e1940) at pool_put+0x6b sys/kern/subr_pool.c:799 soclose(fffffd80596e1940,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 fifo_close(ffff800024b79280) at fifo_close+0x14b sys/miscfs/fifofs/fifo_vnops.c:356 VOP_CLOSE(fffffd806bc06720,1,fffffd807f7d7410,ffff800023153610) at VOP_CLOSE+0xe2 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806f89ce10,ffff800023153610) at vn_closefile+0xd6 vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806f89ce10,ffff800023153610) at vn_closefile+0xd6 sys/kern/vfs_vnops.c:609 fdrop(fffffd806f89ce10,ffff800023153610) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806f89ce10,ffff800023153610) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023153610) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023153610,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023153610,ffff800024b79510,ffff800024b79560) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024b795e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79b3ffa88f10, count: -13 ddb> machine ddbcpu 1 No such command ddb> trace pool_do_put(ffffffff82c7aca0,fffffd80596e1940) at pool_do_put+0x115 pool_put(ffffffff82c7aca0,fffffd80596e1940) at pool_put+0x6b sys/kern/subr_pool.c:799 soclose(fffffd80596e1940,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 fifo_close(ffff800024b79280) at fifo_close+0x14b sys/miscfs/fifofs/fifo_vnops.c:356 VOP_CLOSE(fffffd806bc06720,1,fffffd807f7d7410,ffff800023153610) at VOP_CLOSE+0xe2 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806f89ce10,ffff800023153610) at vn_closefile+0xd6 vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806f89ce10,ffff800023153610) at vn_closefile+0xd6 sys/kern/vfs_vnops.c:609 fdrop(fffffd806f89ce10,ffff800023153610) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806f89ce10,ffff800023153610) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023153610) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023153610,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023153610,ffff800024b79510,ffff800024b79560) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024b795e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79b3ffa88f10, count: -13