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(ffffffff82d3b978,fffffd807b3e11e8) at pool_do_put+0x115 pool_put(ffffffff82d3b978,fffffd807b3e11e8) at pool_put+0x6b sys/kern/subr_pool.c:799 soclose(fffffd807b3e11e8,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 soo_close(fffffd806bbe7000,ffff800021717ff0) at soo_close+0x44 fdrop(fffffd806bbe7000,ffff800021717ff0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806bbe7000,ffff800021717ff0) at closef+0x11b sys/kern/kern_descrip.c:1258 syscall(ffff80002e880b70) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5e4ed787d60, count: -8 ddb> show registers rdi 0xffff800027fd7000 rsi 0x195 rbp 0xffff80002e880920 rbx 0xbdd02d3a2c1ad949 rdx 0xffff800027fd7000 rcx 0x194 rax 0xffffffff8273f0d3 pool_do_put+0x123 r8 0xffffffff81541fa0 uvm_map_inentry_pc r9 0x14 r10 0xbf6b6ece28558668 r11 0x2a449620c1ce9317 r12 0xfffffd807b3e11e8 r13 0x37dd1b80022a255 r14 0xffffffff82d3b978 socket_pool r15 0xfffffd807b3e1f90 rip 0xffffffff8273f0c5 pool_do_put+0x115 cs 0x8 rflags 0x10216 __ALIGN_SIZE+0xf216 rsp 0xffff80002e880870 ss 0x10 pool_do_put+0x115: movq 0x8(%rbx),%rbx ddb> show proc PROC (syz-executor.3) tid=191132 pid=61112 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=61, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff8000217187e8,0xffffffff82c98328 process=0xffff8000216ddb90 user=0xffff80002e87b000, vmspace=0xfffffd806ec5a458 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 61112 345672 39953 0 2 0 syz-executor.3 *61112 191132 39953 0 7 0x4000000 syz-executor.3 70892 328324 24951 0 2 0 syz-executor.5 70892 407524 24951 0 2 0x4000000 syz-executor.5 70892 471252 24951 0 3 0x4000080 fsleep syz-executor.5 70061 460055 6 0 2 0 syz-executor.1 70061 511233 6 0 2 0x4000000 syz-executor.1 76536 421516 55601 0 3 0x80 nanoslp syz-executor.4 76536 475674 55601 0 3 0x4000080 fsleep syz-executor.4 76536 493895 55601 0 3 0x4000080 fsleep syz-executor.4 2302 222001 94205 0 2 0 syz-executor.6 2302 75512 94205 0 3 0x4000080 kqpoll syz-executor.6 25162 310190 12658 0 3 0x80 nanoslp syz-executor.7 25162 328225 12658 0 3 0x4000080 lockf syz-executor.7 25162 18087 12658 0 3 0x4000080 fsleep syz-executor.7 25162 249102 12658 0 3 0x4000080 fsleep syz-executor.7 34774 449187 0 0 3 0x14200 bored sosplice 94205 249818 69226 0 3 0x82 nanoslp syz-executor.6 12658 493641 69226 0 3 0x82 nanoslp syz-executor.7 55601 382593 69226 0 3 0x82 nanoslp syz-executor.4 39953 515129 69226 0 3 0x82 nanoslp syz-executor.3 13509 438146 69226 0 2 0x2 syz-executor.2 24951 325997 69226 0 3 0x82 nanoslp syz-executor.5 64605 439523 69226 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 10264 6821K 7372K 78643K 12247 0 pcb 13 8K 8K 78643K 22 0 rtable 234 6K 6K 78643K 360 0 pf 29 8K 8K 78643K 29 0 ifaddr 43 11K 11K 78643K 45 0 ifgroup 50 2K 2K 78643K 50 0 sysctl 3 1K 1K 78643K 3 0 counters 28 17K 17K 78643K 28 0 ioctlops 0 0K 2K 78643K 41 0 iov 0 0K 4K 78643K 6 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1349 84K 84K 78643K 1466 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 6 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 73K 78643K 245 0 proc 56 58K 75K 78643K 477 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 7K 7K 78643K 99 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 380 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 316 82K 82K 78643K 4311 0 UVM aobj 84 3K 5K 78643K 85 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 2 0 NDP 11 0K 1K 78643K 27 0 temp 36 5902K 5967K 78643K 4364 0 kqueue 13 20K 22K 78643K 30 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 50 0 45 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 144 116 0 103 1 0 1 1 0 8 0 syncache 312 4 0 4 1 1 0 1 0 8 0 tcpqe 32 556 0 556 3 3 0 2 0 8 0 tcpcb 808 21 0 16 1 0 1 1 0 8 0 arp 88 18 0 0 1 0 1 1 0 8 0 inpcb 336 90 0 83 1 0 1 1 0 8 0 nd6 104 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 452 0 0 29 0 29 29 0 8 0 art_table 32 453 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 82 0 1 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1665 0 224 91 0 91 91 0 8 0 ffsino 240 1665 0 224 85 0 85 85 0 8 0 nchpl 144 2126 0 440 63 0 63 63 0 8 0 uvmvnodes 80 1909 0 0 39 0 39 39 0 8 0 vnodes 216 1909 0 0 107 0 107 107 0 8 0 namei 1024 7762 0 7761 3 2 1 3 0 8 0 vcpupl 2048 6 0 0 1 0 1 1 0 8 0 vmpool 664 6 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 7097 0 7097 11 8 3 8 1 8 3 plimitpl 152 36 0 21 1 0 1 1 0 8 0 sigapl 424 545 0 501 6 0 6 6 0 8 0 futexpl 64 1778 0 1773 1 0 1 1 0 8 0 knotepl 120 5336 0 5256 4 0 4 4 0 8 1 kqueuepl 184 33 0 24 1 0 1 1 0 8 0 pipepl 288 160 0 131 3 0 3 3 0 8 0 fdescpl 432 528 0 501 4 0 4 4 0 8 0 filepl 120 2637 0 2324 10 0 10 10 0 8 0 lockfpl 104 250 0 176 2 0 2 2 0 8 0 lockfspl 48 143 0 70 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 7 1 0 1 1 0 8 0 ucredpl 104 225 0 215 1 0 1 1 0 8 0 zombiepl 144 501 0 501 1 0 1 1 0 8 1 processpl 1008 545 0 501 7 1 6 6 0 8 0 procpl 680 772 0 705 6 0 6 6 0 8 0 sosppl 168 6 0 6 1 0 1 1 0 8 1 sockpl 456 256 0 230 5 0 5 5 0 8 1 sockpl: pool(0xffffffff82d3b978:sockpl): free list modified: page 0xfffffd807b3e1000; item ordinal 1; addr 0xfffffd807b3e157a (p 0xfffffd807b3e1000); offset 0x0=0xb1e58c3d1d32cded pool(sockpl): free list modified: page 0xfffffd807b3e1000; item ordinal 1; addr 0xfffffd807b3e157a (p 0xfffffd807b3e1000); offset 0x0=0xbeaddeaf sockpl: pool(0xffffffff82d3b978:sockpl): page inconsistency: page 0xfffffd807b3e1000; item ordinal 2; addr 0xbdd02d3a2c1ad949 mcl64k 65536 5 0 5 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 1 1 0 1 0 8 0 mcl12k 12288 6 0 6 2 1 1 1 0 8 1 mcl8k 8192 29 0 29 2 1 1 1 0 8 1 mcl4k 4096 26 0 26 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 66405 0 66353 58 50 8 29 0 8 0 mtagpl 96 218 0 4 7 1 6 6 0 8 0 mbufpl 256 106421 0 106022 43 14 29 29 0 8 1 bufpl 288 4154 0 140 287 0 287 287 0 8 0 anonpl 24 194771 0 181588 80 0 80 80 0 188 0 amapchunkpl 152 14582 0 13691 35 0 35 35 0 158 0 amappl16 200 5143 0 4791 21 1 20 20 0 8 0 amappl15 192 16 0 15 2 1 1 1 0 8 0 amappl14 184 144 0 134 2 1 1 2 0 8 0 amappl13 176 11 0 11 1 1 0 1 0 8 0 amappl12 168 1157 0 1129 2 0 2 2 0 8 0 amappl11 160 53 0 42 1 0 1 1 0 8 0 amappl10 152 31 0 23 3 2 1 1 0 8 0 amappl9 144 191 0 190 1 0 1 1 0 8 0 amappl8 136 205 0 158 2 0 2 2 0 8 0 amappl7 128 171 0 155 2 0 2 2 0 8 0 amappl6 120 252 0 244 1 0 1 1 0 8 0 amappl5 112 137 0 129 1 0 1 1 0 8 0 amappl4 104 462 0 438 2 1 1 2 0 8 0 amappl3 96 3155 0 3070 3 0 3 3 0 8 0 amappl2 88 998 0 927 3 1 2 3 0 8 0 amappl1 80 10025 0 9520 22 11 11 22 0 8 0 amappl 88 3822 0 3595 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 84 0 1 2 0 2 2 0 8 0 uaddrrnd 24 534 0 501 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 534 0 501 1 0 1 1 0 8 0 vmmpekpl 168 10156 0 10109 3 0 3 3 0 8 0 vmmpepl 168 54762 0 52650 125 11 114 125 0 357 22 vmsppl 368 533 0 501 3 0 3 3 0 8 0 rwobjpl 24 22252 0 18921 21 0 21 21 0 8 0 pdppl 4096 1074 0 1008 117 50 67 68 0 8 1 pvpl 32 423379 0 404917 333 19 314 333 0 265 165 pmappl 216 533 0 501 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 743 0 123 18 0 18 18 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pool_do_put(ffffffff82d3b978,fffffd807b3e11e8) at pool_do_put+0x115 pool_put(ffffffff82d3b978,fffffd807b3e11e8) at pool_put+0x6b sys/kern/subr_pool.c:799 soclose(fffffd807b3e11e8,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 soo_close(fffffd806bbe7000,ffff800021717ff0) at soo_close+0x44 fdrop(fffffd806bbe7000,ffff800021717ff0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806bbe7000,ffff800021717ff0) at closef+0x11b sys/kern/kern_descrip.c:1258 syscall(ffff80002e880b70) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5e4ed787d60, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace pool_do_put(ffffffff82d3b978,fffffd807b3e11e8) at pool_do_put+0x115 pool_put(ffffffff82d3b978,fffffd807b3e11e8) at pool_put+0x6b sys/kern/subr_pool.c:799 soclose(fffffd807b3e11e8,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 soo_close(fffffd806bbe7000,ffff800021717ff0) at soo_close+0x44 fdrop(fffffd806bbe7000,ffff800021717ff0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806bbe7000,ffff800021717ff0) at closef+0x11b sys/kern/kern_descrip.c:1258 syscall(ffff80002e880b70) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5e4ed787d60, count: -8