kernel: protection fault trap, code=0 Stopped at pool_do_put+0x115: movq 0x8(%rbx),%rbx ddb{0}> show panic the kernel did not panic ddb{0}> trace pool_do_put(ffffffff82d778d0,fffffd806f518200) at pool_do_put+0x115 pool_put(ffffffff82d778d0,fffffd806f518200) at pool_put+0x8f sys/kern/subr_pool.c:799 soclose(fffffd806f518200,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 soo_close(fffffd806bc0def0,ffff8000211ac578) at soo_close+0x44 fdrop(fffffd806bc0def0,ffff8000211ac578) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806bc0def0,ffff8000211ac578) at closef+0x120 sys/kern/kern_descrip.c:1258 fdfree(ffff8000211ac578) at fdfree+0xf4 sys/kern/kern_descrip.c:1190 exit1(ffff8000211ac578,1,0,1) at exit1+0x37d sys/kern/kern_exit.c:197 sys_exit(ffff8000211ac578,ffff80002128d8f0,ffff80002128d940) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002128d9c0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002128d9c0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x784585ae4990, count: -11 ddb{0}> show registers rdi 0 rsi 0xfffffd806f5185d0 rbp 0xffff80002128d660 rbx 0x2c4e9b35515b30dd rdx 0 rcx 0xffff8000211ac578 rax 0xffffffff82c08ff0 cpu_info_full_primary+0x1ff0 r8 0x90 r9 0x4e r10 0x48edcbc048e61f1b r11 0x2bb38dd5eaee45c r12 0xfffffd806f518200 r13 0x81f074b4a12f847c r14 0xffffffff82d778d0 socket_pool r15 0xfffffd806f518f90 rip 0xffffffff814aa405 pool_do_put+0x115 cs 0x8 rflags 0x10292 __ALIGN_SIZE+0xf292 rsp 0xffff80002128d5b0 ss 0x10 pool_do_put+0x115: movq 0x8(%rbx),%rbx ddb{0}> show proc PROC (login_passwd) pid=202096 stat=onproc flags process=10003b proc=2000 pri=43, usrpri=43, nice=16 forw=0xffffffffffffffff, list=0xffff80002129f090,0xffffffff82c56890 process=0xffff8000212cd938 user=0xffff800021288000, vmspace=0xfffffd8008a0e570 estcpu=1, cpticks=3, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 27818 333197 45757 0 3 0x3000 suspend syz-executor.6 27818 403574 45757 0 3 0x4081001 kernel: protection fault trap, code=0 Faulted in DDB; continuing... ddb{0}> show all locks CPU 0: exclusive mutex sockpl r = 0 (0xffffffff82d778e0) #0 witness_lock+0x447 #1 mtx_enter_try+0x104 #2 mtx_enter+0x4f sys/kern/kern_lock.c:266 #3 pool_put+0x84 sys/kern/subr_pool.c:797 #4 soclose+0x4ba sys/kern/uipc_socket.c:440 #5 soo_close+0x44 #6 fdrop+0xcb sys/kern/kern_descrip.c:1274 #7 closef+0x120 sys/kern/kern_descrip.c:1258 #8 fdfree+0xf4 sys/kern/kern_descrip.c:1190 #9 exit1+0x37d sys/kern/kern_exit.c:197 #10 sys_exit+0x1a sys/kern/kern_exit.c:89 #11 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #11 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #12 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10205 6505K 8580K 78643K 15980 0 pcb 13 16K 18K 78643K 1133 0 rtable 237 7K 7K 78643K 3386 0 pf 35 10K 10K 78643K 461 0 ifaddr 46 17K 18K 78643K 500 0 ifgroup 60 2K 2K 78643K 783 0 sysctl 3 1K 1K 78643K 5 0 counters 62 36K 36K 78643K 468 0 ioctlops 0 0K 4K 78643K 2202 0 iov 0 0K 28K 78643K 2118 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1648 103K 103K 78643K 8247 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 253 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1967 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 12 41K 78K 78643K 23055 0 sigio 0 0K 0K 78643K 603 0 proc 63 79K 128K 78643K 3996 0 subproc 104 6K 8K 78643K 1199 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1155 0 in_multi 99 7K 7K 78643K 1170 0 ether_multi 1 0K 0K 78643K 16 0 mrt 1 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 97 440K 440K 78643K 97 0 exec 0 0K 1K 78643K 4826 0 pfkey data 0 0K 0K 78643K 8 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 478 96K 109K 78643K 213673 0 UVM aobj 131 4K 4K 78643K 140 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 391 0 NDP 13 0K 2K 78643K 392 0 temp 82 5877K 6008K 78643K 207544 0 kqueue 12 18K 26K 78643K 1150 0 SYN cache 2 16K 24K 78643K 3 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 907 0 904 15 14 1 3 0 8 0 rtentry 112 1121 0 1011 4 0 4 4 0 8 0 unpcb 144 16561 0 16543 184 183 1 10 0 8 0 syncache 296 140 0 140 33 33 0 1 0 8 0 tcpqe 32 434 0 434 20 20 0 1 0 8 0 tcpcb 808 4941 0 4937 207 206 1 14 0 8 0 arp 120 180 0 162 1 0 1 1 0 8 0 inpcb 368 11379 0 11372 264 263 1 16 0 8 0 nd6 136 277 0 253 1 0 1 1 0 8 0 pkpcb 40 36 0 36 11 11 0 1 0 8 0 kcovpl 48 89 0 81 1 0 1 1 0 8 0 ppxss 1256 49 0 49 18 18 0 1 0 8 0 pffrag 232 195 0 195 7 7 0 1 0 482 0 pffrnode 88 193 0 193 7 7 0 1 0 8 0 pffrent 40 535 0 535 7 7 0 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 692 0 690 1 0 1 1 0 8 0 pfstkey 128 692 0 690 2 1 1 2 0 8 0 pfstate 376 692 0 690 17 16 1 5 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4056 0 3594 38 9 29 30 0 8 0 art_table 32 4057 0 3594 4 0 4 4 0 8 0 art_node 16 1007 0 907 1 0 1 1 0 8 0 sysvmsgpl 40 43 0 37 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 1965 0 1955 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 31470 0 29840 102 0 102 102 0 8 0 ffsino 272 31470 0 29840 109 0 109 109 0 8 0 nchpl 144 63874 0 63384 63 40 23 63 0 8 0 uvmvnodes 80 9501 0 0 194 0 194 194 0 8 0 vnodes 216 9501 0 0 528 0 528 528 0 8 0 namei 1024 256795 0 256795 13 12 1 2 0 8 1 percpumem 16 247 0 203 1 0 1 1 0 8 0 kstatmem 264 432 0 406 3 1 2 3 0 8 0 scxspl 216 192446 0 192446 34 33 1 8 1 8 1 plimitpl 152 2592 0 2576 1 0 1 1 0 8 0 sigapl 424 23243 0 23175 10 2 8 9 0 8 0 futexpl 64 209946 0 209945 10 9 1 1 0 8 0 knotepl 120 829 0 0 12 1 11 11 0 8 0 kqueuepl 216 3663 0 3654 88 87 1 10 0 8 0 pipepl 320 4748 0 4720 140 137 3 13 0 8 0 fdescpl 496 23196 0 23170 8 4 4 5 0 8 0 filepl 152 166552 0 166304 331 320 11 27 0 8 0 lockfpl 104 4208 0 4206 4 3 1 2 0 8 0 lockfspl 48 1099 0 1097 1 0 1 1 0 8 0 sessionpl 144 105 0 88 1 0 1 1 0 8 0 pgrppl 48 651 0 634 1 0 1 1 0 8 0 ucredpl 104 20096 0 20078 1 0 1 1 0 8 0 zombiepl 144 23180 0 23175 3 2 1 1 0 8 0 processpl 1072 23243 0 23175 5 0 5 5 0 8 0 procpl 696 57397 0 57311 52 43 9 10 0 8 0 srpgc 96 6 0 6 3 3 0 1 0 8 0 sosppl 168 276 0 276 29 29 0 1 0 8 0 sockpl 488 28958 0 28929 784 780 4 34 0 8 0 sockpl: pool(0xffffffff82d778d0:sockpl): free list modified: page 0xfffffd806f518000; item ordinal 2; addr 0xfffffd806f5187bb (p 0xfffffd806f518000); offset 0x0=0x2f847c371897a135 pool(sockpl): free list modified: page 0xfffffd806f518000; item ordinal 2; addr 0xfffffd806f5187bb (p 0xfffffd806f518000); offset 0x0=0xadbeefde sockpl: pool(0xffffffff82d778d0:sockpl): page inconsistency: page 0xfffffd806f518000; item ordinal 3; addr 0x2c4e9b35515b30dd mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 11 0 0 2 0 2 2 0 8 0 mcl12k 12288 15 0 0 2 0 2 2 0 8 0 mcl9k 9216 14 0 0 1 0 1 1 0 8 0 mcl8k 8192 13 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 330 0 0 39 7 32 39 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 30864 0 0 1874 0 1874 1874 0 8 0 bufpl 288 41990 0 32487 680 0 680 680 0 8 0 anonpl 24 2291127 0 2277700 293 182 111 129 0 186 0 amapchunkpl 152 672980 0 672139 123 85 38 49 0 158 0 amappl16 200 48139 0 47598 386 355 31 42 0 8 0 amappl15 192 39 0 38 1 0 1 1 0 8 0 amappl14 184 489 0 465 2 0 2 2 0 8 0 amappl13 176 24 0 24 6 6 0 1 0 8 0 amappl12 168 25116 0 25079 3 1 2 2 0 8 0 amappl11 160 59 0 44 1 0 1 1 0 8 0 amappl10 152 223 0 207 1 0 1 1 0 8 0 amappl9 144 377 0 377 48 48 0 1 0 8 0 amappl8 136 1520 0 1271 10 0 10 10 0 8 0 amappl7 128 172 0 154 2 0 2 2 0 8 0 amappl6 120 1126 0 1097 2 1 1 2 0 8 0 amappl5 112 921 0 910 1 0 1 1 0 8 0 amappl4 104 1451 0 1393 2 0 2 2 0 8 0 amappl3 96 133778 0 133701 4 1 3 3 0 8 0 amappl2 88 23944 0 23859 3 1 2 3 0 8 0 amappl1 80 96754 0 96186 23 10 13 23 0 8 0 amappl 88 211954 0 211704 8 1 7 8 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 23196 0 23170 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 23196 0 23170 1 0 1 1 0 8 0 vmmpekpl 168 162528 0 162460 4 0 4 4 0 8 0 vmmpepl 168 1396303 0 1393688 687 541 146 204 0 357 0 vmsppl 464 23195 0 23170 5 1 4 5 0 8 0 rwobjpl 56 324915 0 313383 197 34 163 164 0 8 0 pdppl 4096 46399 0 46340 1316 1257 59 77 0 8 0 pvpl 32 6620693 0 6600981 774 576 198 351 0 265 0 pmappl 248 23195 0 23170 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 4676 0 1774 84 0 84 84 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pool_do_put(ffffffff82d778d0,fffffd806f518200) at pool_do_put+0x115 pool_put(ffffffff82d778d0,fffffd806f518200) at pool_put+0x8f sys/kern/subr_pool.c:799 soclose(fffffd806f518200,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 soo_close(fffffd806bc0def0,ffff8000211ac578) at soo_close+0x44 fdrop(fffffd806bc0def0,ffff8000211ac578) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806bc0def0,ffff8000211ac578) at closef+0x120 sys/kern/kern_descrip.c:1258 fdfree(ffff8000211ac578) at fdfree+0xf4 sys/kern/kern_descrip.c:1190 exit1(ffff8000211ac578,1,0,1) at exit1+0x37d sys/kern/kern_exit.c:197 sys_exit(ffff8000211ac578,ffff80002128d8f0,ffff80002128d940) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002128d9c0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002128d9c0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x784585ae4990, count: -11 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d58ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d58ff0) at sched_idle+0x41e sys/kern/kern_sched.c:199 end trace frame: 0x0, count: -5