kernel: protection fault trap, code=0 Stopped at pfi_ifhead_RB_REMOVE+0x58: movq 0x10(%r12),%rbx ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace pfi_ifhead_RB_REMOVE(ffffffff8257e8f8,ffff800000b2a000) at pfi_ifhead_RB_REMOVE+0x58 sys/net/pf_if.c:80 pfi_detach_ifgroup(ffff800000ad6e80) at pfi_detach_ifgroup+0x11b pfi_kif_unref sys/net/pf_if.c:211 [inline] pfi_detach_ifgroup(ffff800000ad6e80) at pfi_detach_ifgroup+0x11b sys/net/pf_if.c:298 if_delgroup(ffff800000b3a800,ffff800000ad6e80) at if_delgroup+0x1b7 sys/net/if.c:2674 if_detach(ffff800000b3a800) at if_detach+0x1c0 sys/net/if.c:1116 tun_clone_destroy(ffff800000b3a800) at tun_clone_destroy+0x1c0 sys/net/if_tun.c:278 ifioctl(fffffd802f1a2648,80206979,ffff800016b24210,ffff8000ffff2018) at ifioctl+0x3d4 sys/net/if.c:1877 fifo_ioctl(ffff800016b24058) at fifo_ioctl+0x101 sys/miscfs/fifofs/fifo_vnops.c:282 VOP_IOCTL(fffffd802d9fe290,80206979,ffff800016b24210,82,fffffd803f7c6ae0,ffff8000ffff2018) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd802e12d538,80206979,ffff800016b24210,ffff8000ffff2018) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:524 sys_ioctl(ffff8000ffff2018,ffff800016b24328,ffff800016b24370) at sys_ioctl+0x5b9 syscall(ffff800016b243f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,dd99455b010) at Xsyscall+0x128 end of kernel end trace frame: 0xddc8a3faec0, count: -12 ddb> show registers rdi 0xffffffff81b6646b pfi_ifhead_RB_REMOVE+0x2b rsi 0x348d6 acpi_pdirpa+0x2073e rbp 0xffff800016b23d70 rbx 0xdead4110dead4110 rdx 0x348d7 acpi_pdirpa+0x2073f rcx 0xffff800015917000 rax 0xffff800000b2a010 r8 0x101010101010101 r9 0x8080808080808080 r10 0xb68df46fa450834b r11 0x8a9a9c5a189da663 r12 0xdead4110dead4110 r13 0xffff800000af3c00 r14 0xffff800000b2a000 r15 0xffffffff8257e8f8 pfi_ifs rip 0xffffffff81b66498 pfi_ifhead_RB_REMOVE+0x58 cs 0x8 rflags 0x10282 __ALIGN_SIZE+0xf282 rsp 0xffff800016b23d10 ss 0x10 pfi_ifhead_RB_REMOVE+0x58: movq 0x10(%r12),%rbx ddb> show proc PROC (syz-executor.0) pid=438406 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2508,0xffff8000ffff3170 process=0xffff8000ffff6a30 user=0xffff800016b1f000, vmspace=0xfffffd803f013000 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 52066 294968 3794 0 2 0 syz-executor.1 52066 243566 3794 0 3 0x4000080 netio syz-executor.1 52066 63938 3794 0 3 0x4000080 netio syz-executor.1 52066 107240 3794 0 3 0x4000080 fsleep syz-executor.1 32539 467629 37939 0 2 0 syz-executor.0 *32539 438406 37939 0 7 0x4000000 syz-executor.0 32539 389013 37939 0 3 0x4000080 fsleep syz-executor.0 3794 120528 20910 0 3 0x82 nanosleep syz-executor.1 77285 441932 1 0 3 0x80 nanosleep init 37939 382849 20910 0 3 0x82 nanosleep syz-executor.0 99214 203292 0 0 3 0x14200 bored sosplice 20910 480727 69878 0 3 0x82 thrsleep syz-fuzzer 20910 175119 69878 0 3 0x4000082 thrsleep syz-fuzzer 20910 439326 69878 0 3 0x4000082 thrsleep syz-fuzzer 20910 65059 69878 0 3 0x4000082 thrsleep syz-fuzzer 20910 126724 69878 0 3 0x4000082 thrsleep syz-fuzzer 20910 283887 69878 0 3 0x4000082 kqread syz-fuzzer 20910 131875 69878 0 3 0x4000082 thrsleep syz-fuzzer 20910 119950 69878 0 3 0x4000082 thrsleep syz-fuzzer 69878 459487 72093 0 3 0x10008a pause ksh 72093 416316 47302 0 3 0x92 select sshd 47302 454221 1 0 3 0x80 select sshd 62939 241260 75856 73 3 0x100090 kqread syslogd 75856 329985 1 0 3 0x100082 netio syslogd 58780 286559 1 77 2 0x100010 dhclient 61159 499639 1 0 3 0x80 poll dhclient 95379 214603 0 0 2 0x14200 zerothread 34361 460162 0 0 3 0x14200 aiodoned aiodoned 9955 349043 0 0 3 0x14200 syncer update 91238 391855 0 0 3 0x14200 cleaner cleaner 93936 440710 0 0 3 0x14200 reaper reaper 12914 49871 0 0 3 0x14200 pgdaemon pagedaemon 30122 21422 0 0 3 0x14200 bored crynlk 35495 92260 0 0 3 0x14200 bored crypto 18721 23514 0 0 3 0x40014200 acpi0 acpi0 65494 447797 0 0 3 0x14200 bored softnet 25655 307019 0 0 2 0x14200 systqmp 46491 361731 0 0 3 0x14200 bored systq 88548 288969 0 0 3 0x40014200 bored softclock 71902 81472 0 0 3 0x40014200 idle0 12769 72555 0 0 3 0x14200 bored smr 1 225633 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9584 7066K 7654K 78643K 20075 0 0 pcb 13 8K 9K 78643K 689 0 0 rtable 96 7K 8K 78643K 2165 0 0 ifaddr 84 19K 21K 78643K 620 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 293 0 0 iov 0 0K 24K 78643K 798 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1210 76K 77K 78643K 5047 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 53 0 0 VM map 27 6K 6K 78643K 65 0 0 sem 12 1K 1K 78643K 569 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 3323 0 0 sigio 0 0K 0K 78643K 40 0 0 proc 42 30K 55K 78643K 1416 0 0 subproc 32 2K 2K 78643K 358 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 268 0 0 in_multi 16 1K 2K 78643K 393 0 0 ether_multi 1 0K 0K 78643K 22 0 0 mrt 0 0K 0K 78643K 17 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 174 768K 768K 78643K 174 0 0 exec 0 0K 1K 78643K 766 0 0 pfkey data 0 0K 4K 78643K 4 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 138 241K 241K 78643K 9186 0 0 UVM aobj 130 4K 4K 78643K 134 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 722 0 0 NDP 20 0K 1K 78643K 196 0 0 temp 224 3540K 4180K 78643K 108542 0 0 kqueue 0 0K 0K 78643K 34 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 75 0 69 1 0 1 1 0 8 0 rtpcb 80 234 0 232 1 0 1 1 0 8 0 rtentry 112 383 0 351 2 0 2 2 0 8 0 unpcb 120 1521 0 1510 2 1 1 2 0 8 0 syncache 264 16 0 16 9 9 0 1 0 8 0 tcpqe 32 4587 0 4587 2 2 0 1 0 8 0 tcpcb 544 2973 0 2969 19 17 2 3 0 8 1 ipq 40 20 0 20 6 6 0 1 0 8 0 ipqe 40 183 0 183 6 6 0 1 0 8 0 inpcb 280 6520 0 6512 19 17 2 4 0 8 1 rttmr 72 7 0 6 1 0 1 1 0 8 0 ip6q 72 4 0 4 3 3 0 1 0 8 0 ip6af 40 11 0 11 3 3 0 1 0 8 0 nd6 48 48 0 48 3 2 1 1 0 8 1 pkpcb 40 7 0 7 3 2 1 1 0 8 1 swfcl 56 4 0 0 1 0 1 1 0 8 0 ppxss 1128 82 0 82 14 13 1 1 0 8 1 art_heap8 4096 12 0 11 7 6 1 3 0 8 0 art_heap4 256 1589 0 1385 25 10 15 17 0 8 1 art_table 32 1601 0 1396 3 0 3 3 0 8 0 art_node 16 381 0 347 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 20 2 1 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 563 0 553 1 0 1 1 0 8 0 shmpl 112 132 0 4 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 7326 0 5927 46 0 46 46 0 8 0 ffsino 240 7326 0 5927 83 0 83 83 0 8 0 nchpl 144 12476 0 10863 60 0 60 60 0 8 0 uvmvnodes 72 8328 0 0 152 0 152 152 0 8 0 vnodes 208 8328 0 0 439 0 439 439 0 8 0 namei 1024 51443 0 51443 3 2 1 1 0 8 1 vcpupl 1984 25 0 0 4 0 4 4 0 8 0 vmpool 520 63 0 38 3 1 2 2 0 8 0 scsiplug 64 2 0 2 2 1 1 1 0 8 1 scxspl 192 41800 0 41800 16 15 1 7 0 8 1 plimitpl 152 304 0 297 1 0 1 1 0 8 0 sigapl 432 3438 0 3424 2 0 2 2 0 8 0 futexpl 56 100520 0 100518 2 1 1 1 0 8 0 knotepl 112 874 0 855 1 0 1 1 0 8 0 kqueuepl 104 789 0 787 1 0 1 1 0 8 0 pipepl 112 2112 0 2093 9 8 1 2 0 8 0 fdescpl 424 3439 0 3424 2 0 2 2 0 8 0 filepl 120 37870 0 37772 18 13 5 7 0 8 2 lockfpl 104 1070 0 1069 1 0 1 1 0 8 0 lockfspl 48 372 0 371 1 0 1 1 0 8 0 sessionpl 112 36 0 26 1 0 1 1 0 8 0 pgrppl 48 76 0 66 1 0 1 1 0 8 0 ucredpl 96 11195 0 11188 1 0 1 1 0 8 0 zombiepl 144 3425 0 3424 2 1 1 1 0 8 0 processpl 864 3455 0 3424 4 0 4 4 0 8 0 procpl 632 7486 0 7443 6 2 4 5 0 8 0 sosppl 128 1206 0 1206 2 1 1 1 0 8 1 sockpl 384 8309 0 8288 31 27 4 7 0 8 1 mcl64k 65536 838 0 838 67 66 1 33 0 8 1 mcl16k 16384 38 0 38 12 11 1 1 0 8 1 mcl12k 12288 95 0 95 10 9 1 1 0 8 1 mcl9k 9216 53 0 53 9 9 0 1 0 8 0 mcl8k 8192 159 0 159 3 2 1 1 0 8 1 mcl4k 4096 402 0 402 5 4 1 1 0 8 1 mcl2k2 2112 36 0 36 12 12 0 1 0 8 0 mcl2k 2048 68834 0 68789 22 15 7 19 0 8 1 mtagpl 80 139 0 135 3 2 1 1 0 8 0 mbufpl 256 142608 0 142502 68 55 13 22 0 8 2 bufpl 256 22035 0 13710 521 0 521 521 0 8 0 anonpl 16 469538 0 453134 143 71 72 92 0 62 0 amapchunkpl 152 19271 0 19154 78 73 5 19 0 158 0 amappl16 192 22096 0 21040 149 94 55 67 0 8 0 amappl15 184 135 0 135 6 6 0 1 0 8 0 amappl14 176 851 0 846 2 1 1 1 0 8 0 amappl13 168 19 0 19 3 3 0 1 0 8 0 amappl12 160 243 0 240 2 1 1 1 0 8 0 amappl11 152 836 0 825 1 0 1 1 0 8 0 amappl10 144 618 0 617 1 0 1 1 0 8 0 amappl9 136 1069 0 1061 1 0 1 1 0 8 0 amappl8 128 630 0 597 3 1 2 2 0 8 0 amappl7 120 724 0 716 1 0 1 1 0 8 0 amappl6 112 833 0 823 1 0 1 1 0 8 0 amappl5 104 553 0 542 1 0 1 1 0 8 0 amappl4 96 3000 0 2975 1 0 1 1 0 8 0 amappl3 88 1536 0 1529 1 0 1 1 0 8 0 amappl2 80 25581 0 25511 4 2 2 3 0 8 0 amappl1 72 72763 0 72362 27 18 9 20 0 8 0 amappl 80 8057 0 8001 3 1 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 133 0 4 3 0 3 3 0 8 0 uaddrrnd 24 3502 0 3424 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3502 0 3424 1 0 1 1 0 8 0 vmmpekpl 168 25155 0 25122 2 0 2 2 0 8 0 vmmpepl 168 422551 0 420326 289 158 131 134 0 357 32 vmsppl 272 3438 0 3424 2 1 1 2 0 8 0 pdppl 4096 7010 0 6949 9 1 8 8 0 8 0 pvpl 32 1274433 0 1254929 459 224 235 305 0 265 68 pmappl 200 3501 0 3462 5 2 3 3 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 851 0 192 21 0 21 21 0 8 0 ddb> serialport: VM disconnected.