b+&~SАu= Nm3჏tEgPU je-bYZ&ޣb+&~SАu= Nm3჏tEgPU je-bYZ&ޣkernel: protection fault trap, code=0 Stopped at pfi_ifhead_RB_REMOVE+0x50: movq 0x10(%r12),%rbx ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace pfi_ifhead_RB_REMOVE(ffffffff828f7670,ffff800000b84b00) at pfi_ifhead_RB_REMOVE+0x50 sys/net/pf_if.c:80 pfi_detach_ifgroup(ffff800000b65380) at pfi_detach_ifgroup+0x11b pfi_kif_unref sys/net/pf_if.c:211 [inline] pfi_detach_ifgroup(ffff800000b65380) at pfi_detach_ifgroup+0x11b sys/net/pf_if.c:304 if_delgroup(ffff800000b4c800,ffff800000b65380) at if_delgroup+0x193 sys/net/if.c:2711 if_detach(ffff800000b4c800) at if_detach+0x1cb sys/net/if.c:1049 tun_clone_destroy(ffff800000b4c800) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:325 if_clone_destroy(ffff8000222b39b0) at if_clone_destroy+0x136 sys/net/if.c:1212 tun_dev_close(5d01,7) at tun_dev_close+0x140 sys/net/if_tun.c:479 spec_close(ffff8000222b3a80) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e2566a8,7,fffffd807f7b7420,ffff8000222c8a90) at VOP_CLOSE+0xeb sys/kern/vfs_vops.c:177 vn_closefile(fffffd806cb57730,ffff8000222c8a90) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd806cb57730,ffff8000222c8a90) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd806cb57730,ffff8000222c8a90) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd806cb57730,ffff8000222c8a90) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff8000222c8a90) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff8000222c8a90,0,19,1) at exit1+0x335 sys/kern/kern_exit.c:200 postsig(ffff8000222c8a90,19) at postsig+0x59c sigexit sys/kern/kern_sig.c:1494 [inline] postsig(ffff8000222c8a90,19) at postsig+0x59c sys/kern/kern_sig.c:1423 userret(ffff8000222c8a90) at userret+0x189 sys/kern/kern_sig.c:1914 syscall(ffff8000222b3f00) at syscall+0x55c mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000222b3f00) at syscall+0x55c sys/arch/amd64/amd64/trap.c:612 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1290, count: -18 ddb{0}> show registers rdi 0xffffffff828f7670 pfi_ifs rsi 0xffff800000b84b00 rbp 0xffff8000222b3810 rbx 0xdeadbeefdeadbeef rdx 0 rcx 0 rax 0xffff800000b84b10 r8 0xf8 r9 0x8080808080808080 r10 0x242dbed2bc0d9081 r11 0x1b70333e306116a5 r12 0xdeadbeefdeadbeef r13 0xffff800000afb0a0 r14 0xffff800000b84b00 r15 0xffffffff828f7670 pfi_ifs rip 0xffffffff81a1a940 pfi_ifhead_RB_REMOVE+0x50 cs 0x8 rflags 0x10282 __ALIGN_SIZE+0xf282 rsp 0xffff8000222b37b0 ss 0x10 pfi_ifhead_RB_REMOVE+0x50: movq 0x10(%r12),%rbx ddb{0}> show proc PROC (syz-executor.1) pid=99582 stat=onproc flags process=a proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000222c9510,0xffff8000222c8020 process=0xffff800022329da0 user=0xffff8000222ae000, vmspace=0xfffffd806e948e68 estcpu=36, cpticks=6, pctcpu=0.63 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 47025 43464 53511 0 2 0 syz-executor.0 53511 131626 47613 0 2 0x2 syz-executor.0 83887 91427 1 0 3 0x100083 ttyin getty 88580 191577 0 0 3 0x14280 nfsidl nfsio 34930 222510 0 0 3 0x14280 nfsidl nfsio 13817 96566 0 0 3 0x14280 nfsidl nfsio 35858 160636 0 0 3 0x14280 nfsidl nfsio 77200 232491 0 0 3 0x14280 nfsidl nfsio 8262 176866 0 0 3 0x14280 nfsidl nfsio 18883 239304 0 0 3 0x14280 nfsidl nfsio 46403 439725 0 0 3 0x14280 nfsidl nfsio 73965 367184 0 0 3 0x14280 nfsidl nfsio 62817 60332 0 0 3 0x14280 nfsidl nfsio 10926 268328 0 0 3 0x14280 nfsidl nfsio 38178 35654 0 0 3 0x14280 nfsidl nfsio 73895 287227 0 0 3 0x14280 nfsidl nfsio 39291 59769 0 0 3 0x14280 nfsidl nfsio 12678 74867 0 0 3 0x14280 nfsidl nfsio 12762 257585 0 0 3 0x14280 nfsidl nfsio 20478 137665 0 0 3 0x14280 nfsidl nfsio 24587 287056 0 0 3 0x14280 nfsidl nfsio 77971 378772 0 0 3 0x14280 nfsidl nfsio 8749 513723 0 0 3 0x14280 nfsidl nfsio 13616 491822 0 0 3 0x14200 acct acct 12440 245979 0 0 3 0x14200 bored sosplice 47613 5214 53334 0 3 0x82 thrsleep syz-fuzzer 47613 274357 53334 0 3 0x4000082 nanoslp syz-fuzzer 47613 507032 53334 0 3 0x4000082 nanoslp syz-fuzzer 47613 393359 53334 0 3 0x4000082 thrsleep syz-fuzzer 47613 514569 53334 0 3 0x4000082 thrsleep syz-fuzzer 47613 351884 53334 0 3 0x4000082 thrsleep syz-fuzzer 47613 20082 53334 0 3 0x4000082 kqread syz-fuzzer 47613 268619 53334 0 3 0x4000082 thrsleep syz-fuzzer 53334 238358 24197 0 3 0x10008a sigsusp ksh 24197 163001 84842 0 7 0x12 sshd 84842 96701 1 0 3 0x80 select sshd 95458 376348 54605 74 3 0x100092 bpf pflogd 54605 446450 1 0 3 0x80 netio pflogd 40098 137491 3576 73 3 0x100090 kqread syslogd 3576 33484 1 0 3 0x100082 netio syslogd 52879 100157 1 77 2 0x100090 dhclient 73862 250449 1 0 3 0x80 poll dhclient 71125 191130 0 0 3 0x14200 bored smr 4182 469438 0 0 2 0x14200 zerothread 68337 453390 0 0 3 0x14200 aiodoned aiodoned 39664 275591 0 0 3 0x14200 syncer update 88854 44666 0 0 3 0x14200 cleaner cleaner 49214 205143 0 0 3 0x14200 reaper reaper 54916 318190 0 0 3 0x14200 pgdaemon pagedaemon 39316 38736 0 0 3 0x14200 bored crynlk 52695 328047 0 0 3 0x14200 bored crypto 63232 253241 0 0 3 0x14200 bored viomb 59454 80058 0 0 3 0x40014200 acpi0 acpi0 7483 426616 0 0 3 0x40014200 idle1 61786 340306 0 0 2 0x14200 softnet 92607 474926 0 0 2 0x14200 systqmp 13232 451789 0 0 3 0x14200 bored systq 48375 394993 0 0 3 0x40014200 bored softclock 1156 333731 0 0 3 0x40014200 idle0 1 157001 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9540 6454K 7159K 78643K 17188 0 pcb 13 8K 8K 78643K 393 0 rtable 67 10K 11K 78643K 1065 0 ifaddr 69 14K 16K 78643K 371 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 170 0 ioctlops 0 0K 4K 78643K 1627 0 iov 0 0K 24K 78643K 205 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 3468 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 34 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 282 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 6850 0 sigio 0 0K 0K 78643K 70 0 proc 64 63K 95K 78643K 910 0 subproc 23 1K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 573 0 in_multi 22 1K 2K 78643K 332 0 ether_multi 1 0K 0K 78643K 96 0 mrt 0 0K 0K 78643K 47 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 2K 78643K 633 0 pfkey data 0 0K 0K 78643K 1 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 180 111K 111K 78643K 16671 0 UVM aobj 84 3K 3K 78643K 94 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 299 0 NDP 13 0K 0K 78643K 88 0 temp 134 3986K 4068K 78643K 63049 0 kqueue 3 4K 12K 78643K 353 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 14 0 10 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 231 0 229 1 0 1 1 0 8 0 rtentry 112 103 0 80 2 1 1 2 0 8 0 unpcb 120 1411 0 1399 1 0 1 1 0 8 0 syncache 296 65 0 65 7 7 0 1 0 8 0 tcpqe 32 39 52 39 2 2 0 1 0 8 0 tcpcb 736 1100 0 1083 17 15 2 5 0 8 0 inpcb 304 2791 0 2769 10 7 3 3 0 8 1 rttmr 72 11 0 11 2 2 0 1 0 8 0 nd6 48 20 0 17 1 0 1 1 0 8 0 pkpcb 40 22 0 22 4 3 1 1 0 8 1 kcovpl 48 6 0 5 1 0 1 1 0 8 0 ppxss 1128 8 0 8 1 1 0 1 0 8 0 pffrag 232 39 0 39 4 4 0 1 0 482 0 pffrnode 88 39 0 39 4 4 0 1 0 8 0 pffrent 40 899 0 899 4 4 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 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 29 0 29 1 1 0 1 0 8 0 pfstitem 24 143 0 120 1 0 1 1 0 8 0 pfstkey 112 143 0 120 2 1 1 2 0 8 0 pfstate 328 143 0 120 7 4 3 6 0 8 0 pfrule 1360 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 654 0 470 18 6 12 12 0 8 0 art_table 32 655 0 470 3 1 2 2 0 8 0 art_node 16 102 0 72 1 0 1 1 0 8 0 sysvmsgpl 40 50 0 10 2 1 1 1 0 8 0 semapl 112 280 0 270 1 0 1 1 0 8 0 shmpl 112 91 0 10 4 1 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9839 0 8428 91 2 89 89 0 8 0 ffsino 272 9839 0 8428 95 0 95 95 0 8 0 nchpl 144 17718 0 16126 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 44618 0 44618 1 0 1 1 0 8 1 percpumem 16 96 0 63 1 0 1 1 0 8 0 vcpupl 1984 7 0 0 1 0 1 1 0 8 0 vmpool 560 17 0 10 1 0 1 1 0 8 0 scsiplug 72 7 0 7 2 2 0 1 0 8 0 scxspl 216 56360 0 56360 15 14 1 8 0 8 1 plimitpl 152 347 0 339 1 0 1 1 0 8 0 sigapl 424 7078 0 7024 7 0 7 7 0 8 0 futexpl 56 43638 0 43638 1 0 1 1 0 8 1 knotepl 112 495 0 477 1 0 1 1 0 8 0 kqueuepl 168 2802 0 2789 2 1 1 2 0 8 0 pipepl 336 300 0 290 10 7 3 3 0 8 1 fdescpl 496 7040 0 7024 3 0 3 3 0 8 0 filepl 152 22695 0 22604 8 1 7 7 0 8 3 lockfpl 104 698 0 697 1 0 1 1 0 8 0 lockfspl 48 250 0 249 1 0 1 1 0 8 0 sessionpl 144 24 0 13 1 0 1 1 0 8 0 pgrppl 48 45 0 34 1 0 1 1 0 8 0 ucredpl 96 3248 0 3239 1 0 1 1 0 8 0 zombiepl 144 7025 0 7023 1 0 1 1 0 8 0 processpl 1080 7078 0 7023 4 0 4 4 0 8 0 procpl 672 15586 0 15524 9 3 6 6 0 8 0 sosppl 168 119 0 118 4 3 1 1 0 8 0 sockpl 432 4459 0 4434 8 3 5 5 0 8 1 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 7 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 281 0 0 16 0 16 16 0 8 0 mtagpl 96 388 0 0 9 0 9 9 0 8 0 mbufpl 256 1073 0 0 59 0 59 59 0 8 0 bufpl 280 15012 0 8763 447 0 447 447 0 8 0 anonpl 24 496210 0 489052 105 58 47 75 0 186 3 amapchunkpl 152 25663 0 25483 11 2 9 9 0 158 0 amappl16 200 22864 0 22593 52 37 15 33 0 8 0 amappl15 192 762 0 761 1 0 1 1 0 8 0 amappl14 184 5028 0 5021 1 0 1 1 0 8 0 amappl13 176 210 0 207 1 0 1 1 0 8 0 amappl12 168 927 0 925 1 0 1 1 0 8 0 amappl11 160 71 0 53 1 0 1 1 0 8 0 amappl10 152 19 0 13 1 0 1 1 0 8 0 amappl9 144 16 0 16 2 2 0 1 0 8 0 amappl8 136 321 0 226 4 0 4 4 0 8 0 amappl7 128 292 0 284 1 0 1 1 0 8 0 amappl6 120 87 0 73 1 0 1 1 0 8 0 amappl5 112 6868 0 6849 1 0 1 1 0 8 0 amappl4 104 2038 0 2005 1 0 1 1 0 8 0 amappl3 96 396 0 386 1 0 1 1 0 8 0 amappl2 88 60203 0 60142 3 1 2 3 0 8 0 amappl1 80 205642 0 205189 28 16 12 21 0 8 0 amappl 88 15908 0 15841 2 0 2 2 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 64 93 0 10 2 0 2 2 0 8 0 uaddrrnd 24 7057 0 7034 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7057 0 7034 1 0 1 1 0 8 0 vmmpekpl 168 35921 0 35885 2 0 2 2 0 8 0 vmmpepl 168 883648 0 882125 125 46 79 85 0 357 5 vmsppl 368 7056 0 7034 4 1 3 3 0 8 0 rwobjpl 56 183826 0 182815 36 20 16 19 0 8 1 pdppl 4096 14121 0 14075 68 19 49 49 0 8 3 pvpl 32 2457750 0 2447428 230 137 93 131 0 265 7 pmappl 232 7056 0 7034 3 1 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 395 0 53 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pfi_ifhead_RB_REMOVE(ffffffff828f7670,ffff800000b84b00) at pfi_ifhead_RB_REMOVE+0x50 sys/net/pf_if.c:80 pfi_detach_ifgroup(ffff800000b65380) at pfi_detach_ifgroup+0x11b pfi_kif_unref sys/net/pf_if.c:211 [inline] pfi_detach_ifgroup(ffff800000b65380) at pfi_detach_ifgroup+0x11b sys/net/pf_if.c:304 if_delgroup(ffff800000b4c800,ffff800000b65380) at if_delgroup+0x193 sys/net/if.c:2711 if_detach(ffff800000b4c800) at if_detach+0x1cb sys/net/if.c:1049 tun_clone_destroy(ffff800000b4c800) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:325 if_clone_destroy(ffff8000222b39b0) at if_clone_destroy+0x136 sys/net/if.c:1212 tun_dev_close(5d01,7) at tun_dev_close+0x140 sys/net/if_tun.c:479 spec_close(ffff8000222b3a80) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e2566a8,7,fffffd807f7b7420,ffff8000222c8a90) at VOP_CLOSE+0xeb sys/kern/vfs_vops.c:177 vn_closefile(fffffd806cb57730,ffff8000222c8a90) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd806cb57730,ffff8000222c8a90) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd806cb57730,ffff8000222c8a90) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd806cb57730,ffff8000222c8a90) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff8000222c8a90) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff8000222c8a90,0,19,1) at exit1+0x335 sys/kern/kern_exit.c:200 postsig(ffff8000222c8a90,19) at postsig+0x59c sigexit sys/kern/kern_sig.c:1494 [inline] postsig(ffff8000222c8a90,19) at postsig+0x59c sys/kern/kern_sig.c:1423 userret(ffff8000222c8a90) at userret+0x189 sys/kern/kern_sig.c:1914 syscall(ffff8000222b3f00) at syscall+0x55c mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000222b3f00) at syscall+0x55c sys/arch/amd64/amd64/trap.c:612 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1290, count: -18 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d68ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828b8f60) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b8f60) at __mp_lock+0x133 sys/kern/kern_lock.c:147 syscall(ffff80002120ca80) at syscall+0x3fd mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff80002120ca80) at syscall+0x3fd sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe8b60, count: -6