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(ffffffff82d03ec8,fffffd806774b430) at pool_do_put+0x115 pool_put(ffffffff82d03ec8,fffffd806774b430) at pool_put+0x6b sys/kern/subr_pool.c:799 soclose(fffffd806774b430,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 fifo_close(ffff800029a19600) at fifo_close+0x14b sys/miscfs/fifofs/fifo_vnops.c:356 VOP_CLOSE(fffffd807cbfb3b8,3,fffffd807f7d7888,ffff800021711d48) at VOP_CLOSE+0xe2 sys/kern/vfs_vops.c:156 vn_close(fffffd807cbfb3b8,3,fffffd807f7d7888,ffff800021711d48) at vn_close+0x77 sys/kern/vfs_vnops.c:292 vndioctl(2902,c0384600,ffff800029a19f00,1,ffff800021711d48) at vndioctl+0xb02 sys/dev/vnd.c:474 VOP_IOCTL(fffffd806eda2b58,c0384600,ffff800029a19f00,1,fffffd807f7d7888,ffff800021711d48) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80678d6810,c0384600,ffff800029a19f00,ffff800021711d48) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021711d48,ffff800029a1a010,ffff800029a1a060) at sys_ioctl+0x49e syscall(ffff800029a1a0e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2e57f0810b0, count: -12 ddb> show registers rdi 0 rsi 0xfffffd806774b268 rbp 0xffff800029a19510 rbx 0x3200972d85c6f6fd rdx 0 rcx 0xfffffd806fb93500 rax 0xffff800021711d48 r8 0x19 r9 0 r10 0xb16dd759bb4641e2 r11 0x4de18c8aa972a692 r12 0xfffffd806774b430 r13 0x6060f7da5f996f92 r14 0xffffffff82d03ec8 socket_pool r15 0xfffffd806774bf90 rip 0xffffffff82001b35 pool_do_put+0x115 cs 0x8 rflags 0x10296 __ALIGN_SIZE+0xf296 rsp 0xffff800029a19460 ss 0x10 pool_do_put+0x115: movq 0x8(%rbx),%rbx ddb> show proc PROC (syz-executor.3) tid=130767 pid=30357 tcnt=5 stat=onproc flags process=1000 proc=4080000 runpri=24, usrpri=81, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000216ac560 forw=0xffffffffffffffff, list=0xffff8000216ab020,0xffff800021712d48 process=0xffff8000265aa7e0 user=0xffff800029a15000, vmspace=0xfffffd8069b97740 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 30357 236085 58479 0 2 0x81080 syz-executor.3 *30357 130767 58479 0 7 0x4081000 syz-executor.3 30357 431002 58479 0 2 0x4081000 syz-executor.3 30357 193286 58479 0 2 0x4081080 syz-executor.3 30357 426435 58479 0 3 0x4003000 suspend syz-executor.3 18385 156256 20776 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 10195 6601K 7582K 78643K 19979 0 pcb 13 11K 13K 78643K 180 0 rtable 239 7K 7K 78643K 464 0 pf 34 9K 9K 78643K 85 0 ifaddr 45 12K 12K 78643K 75 0 ifgroup 57 2K 2K 78643K 134 0 sysctl 1 0K 0K 78643K 1 0 counters 30 17K 17K 78643K 51 0 ioctlops 0 0K 2K 78643K 31 0 iov 1 0K 16K 78643K 157 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1394 87K 87K 78643K 3194 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 38 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 73K 78643K 2104 0 sigio 0 0K 0K 78643K 15 0 proc 57 59K 83K 78643K 544 0 subproc 104 6K 7K 78643K 117 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 298 0 in_multi 99 7K 7K 78643K 134 0 ether_multi 1 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 455 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 307 83K 89K 78643K 21718 0 UVM aobj 130 5K 5K 78643K 133 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 56 0 NDP 13 0K 2K 78643K 52 0 temp 78 5920K 5988K 78643K 17606 0 kqueue 13 20K 24K 78643K 131 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 172 0 169 4 3 1 3 0 8 0 rtentry 112 123 0 12 4 0 4 4 0 8 0 unpcb 144 2265 0 2250 17 9 8 8 0 8 7 syncache 304 40 0 40 5 5 0 1 0 8 0 tcpqe 32 216 0 216 5 5 0 1 0 8 0 tcpcb 808 778 0 764 19 14 5 9 0 8 3 arp 88 21 0 2 1 0 1 1 0 8 0 inpcb 336 1496 0 1475 21 13 8 10 0 8 6 nd6 104 27 0 3 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1160 9 0 8 3 2 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 500 0 44 29 0 29 29 0 8 0 art_table 32 501 0 44 4 0 4 4 0 8 0 art_node 16 122 0 21 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semupl 112 10 0 10 2 2 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 130 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4113 0 2673 91 0 91 91 0 8 0 ffsino 240 4113 0 2673 86 0 86 86 0 8 0 nchpl 144 7678 0 7180 63 41 22 63 0 8 0 uvmvnodes 80 5829 0 0 119 0 119 119 0 8 0 vnodes 216 5829 0 0 324 0 324 324 0 8 0 namei 1024 26417 0 26415 6 5 1 2 0 8 0 kstatmem 264 68 0 42 2 0 2 2 0 8 0 scxspl 216 25366 0 25366 13 12 1 8 1 8 1 plimitpl 152 318 0 303 1 0 1 1 0 8 0 sigapl 424 2421 0 2356 8 0 8 8 0 8 0 futexpl 64 27328 0 27326 4 3 1 1 0 8 0 knotepl 120 20673 0 20592 4 0 4 4 0 8 0 kqueuepl 184 242 0 233 4 3 1 4 0 8 0 pipepl 288 784 0 756 13 6 7 7 0 8 4 fdescpl 432 2384 0 2359 4 0 4 4 0 8 0 filepl 120 17386 0 17138 33 18 15 15 0 8 7 lockfpl 104 638 0 636 2 1 1 2 0 8 0 lockfspl 48 237 0 235 1 0 1 1 0 8 0 sessionpl 144 25 0 9 1 0 1 1 0 8 0 pgrppl 48 40 0 24 1 0 1 1 0 8 0 ucredpl 104 1892 0 1881 1 0 1 1 0 8 0 zombiepl 144 2359 0 2356 1 0 1 1 0 8 0 processpl 1008 2421 0 2356 10 1 9 9 0 8 0 procpl 680 5460 0 5374 10 2 8 9 0 8 0 sosppl 168 23 0 23 2 2 0 1 0 8 0 sockpl 456 3936 0 3899 70 56 14 35 0 8 8 sockpl: pool(0xffffffff82d03ec8:sockpl): free list modified: page 0xfffffd806774b000; item ordinal 1; addr 0xfffffd806774b5f9 (p 0xfffffd806774b000); offset 0x0=0x92698e815332a3ae pool(sockpl): free list modified: page 0xfffffd806774b000; item ordinal 1; addr 0xfffffd806774b5f9 (p 0xfffffd806774b000); offset 0x0=0x52deaf41 sockpl: pool(0xffffffff82d03ec8:sockpl): page inconsistency: page 0xfffffd806774b000; item ordinal 2; addr 0x3200972d85c6f6fd mcl64k 65536 57 0 57 5 4 1 1 0 8 1 mcl16k 16384 31 0 31 7 7 0 1 0 8 0 mcl12k 12288 52 0 52 5 5 0 1 0 8 0 mcl9k 9216 30 0 30 6 5 1 1 0 8 1 mcl8k 8192 167 0 167 5 4 1 1 0 8 1 mcl4k 4096 490 0 490 5 4 1 2 0 8 1 mcl2k2 2112 20 0 20 5 4 1 1 0 8 1 mcl2k 2048 67036 0 66821 46 17 29 29 0 8 0 mtagpl 96 2314 0 764 39 1 38 38 0 8 0 mbufpl 256 129236 0 127556 279 170 109 136 0 8 0 bufpl 288 7771 0 1370 458 0 458 458 0 8 0 anonpl 24 406173 0 392662 133 44 89 111 0 188 1 amapchunkpl 152 70633 0 69865 55 19 36 44 0 158 3 amappl16 200 9754 0 9332 44 21 23 35 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 161 0 149 2 1 1 2 0 8 0 amappl13 176 23 0 22 1 0 1 1 0 8 0 amappl12 168 3040 0 3014 2 0 2 2 0 8 0 amappl11 160 72 0 62 1 0 1 1 0 8 0 amappl10 152 65 0 53 2 1 1 1 0 8 0 amappl9 144 153 0 152 2 1 1 1 0 8 0 amappl8 136 188 0 132 2 0 2 2 0 8 0 amappl7 128 82 0 76 1 0 1 1 0 8 0 amappl6 120 228 0 205 1 0 1 1 0 8 0 amappl5 112 180 0 171 1 0 1 1 0 8 0 amappl4 104 556 0 523 2 0 2 2 0 8 0 amappl3 96 14187 0 14118 3 0 3 3 0 8 0 amappl2 88 2704 0 2642 3 1 2 3 0 8 0 amappl1 80 17145 0 16642 22 10 12 22 0 8 0 amappl 88 21144 0 20944 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 132 0 3 3 0 3 3 0 8 0 uaddrrnd 24 2384 0 2359 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2384 0 2359 1 0 1 1 0 8 0 vmmpekpl 168 23789 0 23738 3 0 3 3 0 8 0 vmmpepl 168 159882 0 157782 150 49 101 120 0 357 1 vmsppl 368 2383 0 2359 3 0 3 3 0 8 0 rwobjpl 24 51339 0 43981 45 0 45 45 0 8 0 pdppl 4096 4774 0 4718 150 86 64 68 0 8 8 pvpl 32 948364 0 929442 315 102 213 315 0 265 52 pmappl 216 2383 0 2359 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1240 0 334 27 0 27 27 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pool_do_put(ffffffff82d03ec8,fffffd806774b430) at pool_do_put+0x115 pool_put(ffffffff82d03ec8,fffffd806774b430) at pool_put+0x6b sys/kern/subr_pool.c:799 soclose(fffffd806774b430,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 fifo_close(ffff800029a19600) at fifo_close+0x14b sys/miscfs/fifofs/fifo_vnops.c:356 VOP_CLOSE(fffffd807cbfb3b8,3,fffffd807f7d7888,ffff800021711d48) at VOP_CLOSE+0xe2 sys/kern/vfs_vops.c:156 vn_close(fffffd807cbfb3b8,3,fffffd807f7d7888,ffff800021711d48) at vn_close+0x77 sys/kern/vfs_vnops.c:292 vndioctl(2902,c0384600,ffff800029a19f00,1,ffff800021711d48) at vndioctl+0xb02 sys/dev/vnd.c:474 VOP_IOCTL(fffffd806eda2b58,c0384600,ffff800029a19f00,1,fffffd807f7d7888,ffff800021711d48) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80678d6810,c0384600,ffff800029a19f00,ffff800021711d48) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021711d48,ffff800029a1a010,ffff800029a1a060) at sys_ioctl+0x49e syscall(ffff800029a1a0e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2e57f0810b0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace pool_do_put(ffffffff82d03ec8,fffffd806774b430) at pool_do_put+0x115 pool_put(ffffffff82d03ec8,fffffd806774b430) at pool_put+0x6b sys/kern/subr_pool.c:799 soclose(fffffd806774b430,0) at soclose+0x4ba sys/kern/uipc_socket.c:440 fifo_close(ffff800029a19600) at fifo_close+0x14b sys/miscfs/fifofs/fifo_vnops.c:356 VOP_CLOSE(fffffd807cbfb3b8,3,fffffd807f7d7888,ffff800021711d48) at VOP_CLOSE+0xe2 sys/kern/vfs_vops.c:156 vn_close(fffffd807cbfb3b8,3,fffffd807f7d7888,ffff800021711d48) at vn_close+0x77 sys/kern/vfs_vnops.c:292 vndioctl(2902,c0384600,ffff800029a19f00,1,ffff800021711d48) at vndioctl+0xb02 sys/dev/vnd.c:474 VOP_IOCTL(fffffd806eda2b58,c0384600,ffff800029a19f00,1,fffffd807f7d7888,ffff800021711d48) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80678d6810,c0384600,ffff800029a19f00,ffff800021711d48) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021711d48,ffff800029a1a010,ffff800029a1a060) at sys_ioctl+0x49e syscall(ffff800029a1a0e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2e57f0810b0, count: -12