kernel: protection fault trap, code=0 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace in_delmulti(2003fff7edfdff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000a4f800) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff8000009c1000) at in_ifdetach+0x74 sys/netinet/in.c:969 if_detach(ffff8000009c1000) at if_detach+0x140 sys/net/if.c:1151 tun_clone_destroy(ffff8000009c1000) at tun_clone_destroy+0x179 sys/net/if_tun.c:312 spec_close(ffff800020b778a0) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd806e773008,7,fffffd807f7c65a0,ffff800020ac0508) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175 vn_closefile(fffffd80657be440,ffff800020ac0508) at vn_closefile+0xd8 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80657be440,ffff800020ac0508) at vn_closefile+0xd8 sys/kern/vfs_vnops.c:610 fdrop(fffffd80657be440,ffff800020ac0508) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd80657be440,ffff800020ac0508) at closef+0x11d sys/kern/kern_descrip.c:1257 fdfree(ffff800020ac0508) at fdfree+0x101 sys/kern/kern_descrip.c:1189 exit1(ffff800020ac0508,19,1) at exit1+0x32f sys/kern/kern_exit.c:196 postsig(ffff800020ac0508,19) at postsig+0x4e3 sigexit sys/kern/kern_sig.c:1499 [inline] postsig(ffff800020ac0508,19) at postsig+0x4e3 sys/kern/kern_sig.c:1431 userret(ffff800020ac0508) at userret+0x199 sys/kern/kern_sig.c:1889 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffc4e90, count: -15 ddb{0}> show registers rdi 0x2 rsi 0 rbp 0xffff800020b776d0 rbx 0 rdx 0xffff800020ac0508 rcx 0 rax 0 r8 0xffffffff81342423 rt_ifa_purge+0x153 r9 0x5 r10 0x2f r11 0xacfb8ba4a5079408 r12 0 r13 0x3 r14 0x2003fff7edfdff r15 0x1 rip 0xffffffff81eee24d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020b77670 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> show proc PROC (syz-executor.0) pid=299853 stat=onproc flags process=a proc=2000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac13d8,0xffff800020ac02a0 process=0xffff800020aed180 user=0xffff800020b72000, vmspace=0xfffffd807f0088a0 estcpu=36, cpticks=1, pctcpu=0.3 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 15219 95475 0 0 3 0x14200 bored sosplice 34088 93112 77271 0 2 0x2 syz-executor.1 77271 379959 12813 0 3 0x82 thrsleep syz-fuzzer 77271 176767 12813 0 3 0x4000082 nanosleep syz-fuzzer 77271 405870 12813 0 3 0x4000082 thrsleep syz-fuzzer 77271 224763 12813 0 3 0x4000082 nanosleep syz-fuzzer 77271 219467 12813 0 7 0x4000002 syz-fuzzer 77271 410480 12813 0 3 0x4000082 thrsleep syz-fuzzer 77271 85943 12813 0 3 0x4000082 thrsleep syz-fuzzer 77271 254791 12813 0 3 0x4000082 thrsleep syz-fuzzer 77271 25433 12813 0 3 0x4000082 thrsleep syz-fuzzer 77271 109848 12813 0 3 0x4000082 thrsleep syz-fuzzer 77271 340722 12813 0 3 0x4000082 thrsleep syz-fuzzer 12813 510703 59869 0 3 0x10008a pause ksh 59869 104050 97215 0 3 0x92 select sshd 19743 464815 1 0 3 0x100083 ttyin getty 97215 356860 1 0 3 0x80 select sshd 31741 50605 43807 74 3 0x100092 bpf pflogd 43807 32626 1 0 3 0x80 netio pflogd 46839 107730 15449 73 3 0x100090 kqread syslogd 15449 137935 1 0 3 0x100082 netio syslogd 26013 501376 1 77 3 0x100090 poll dhclient 99408 80520 1 0 3 0x80 poll dhclient 2658 226810 0 0 2 0x14200 zerothread 78277 328510 0 0 3 0x14200 aiodoned aiodoned 82879 208574 0 0 3 0x14200 syncer update 65576 125525 0 0 3 0x14200 cleaner cleaner 1002 493505 0 0 3 0x14200 reaper reaper 57768 76351 0 0 3 0x14200 pgdaemon pagedaemon 59100 240146 0 0 3 0x14200 bored crynlk 27135 389461 0 0 3 0x14200 bored crypto 17395 511507 0 0 3 0x40014200 acpi0 acpi0 57163 520412 0 0 3 0x40014200 idle1 19647 16210 0 0 2 0x14200 softnet 33676 481357 0 0 3 0x14200 bored systqmp 10765 97196 0 0 3 0x14200 bored systq 52702 205589 0 0 3 0x40014200 bored softclock 65939 270223 0 0 3 0x40014200 idle0 48977 44976 0 0 3 0x14200 bored smr 1 495595 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 9533 6425K 7588K 78643K 11480 0 pcb 13 10K 12K 78643K 108 0 rtable 91 4K 5K 78643K 424 0 ifaddr 101 19K 20K 78643K 204 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1492 0 iov 0 0K 24K 78643K 89 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1487 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 105 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 4 9K 25K 78643K 390 0 sigio 0 0K 0K 78643K 13 0 proc 60 63K 95K 78643K 517 0 subproc 23 1K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 39 0 in_multi 103 4K 4K 78643K 172 0 ether_multi 1 0K 0K 78643K 7 0 mrt 3 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 54 238K 238K 78643K 54 0 exec 0 0K 1K 78643K 241 0 pfkey data 0 0K 0K 78643K 2 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 118 38K 40K 78643K 2309 0 UVM aobj 33 2K 2K 78643K 33 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 2K 78643K 139 0 NDP 15 0K 0K 78643K 42 0 temp 149 3023K 3092K 78643K 5685 0 kqueue 0 0K 0K 78643K 3 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 6 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 51 0 49 1 0 1 1 0 8 0 rtentry 112 78 0 46 2 0 2 2 0 8 0 unpcb 120 460 0 450 2 1 1 2 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 502 0 502 1 1 0 1 0 8 0 tcpcb 544 441 0 437 14 5 9 14 0 8 8 inpcb 280 1512 0 1505 9 0 9 9 0 8 8 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 12 0 10 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 ppxss 1128 8 0 8 2 1 1 1 0 8 1 pffrag 232 11 0 11 2 1 1 1 0 482 1 pffrnode 88 11 0 11 2 1 1 1 0 8 1 pffrent 40 370 0 370 2 1 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 53 0 12 1 0 1 1 0 8 0 pfstkey 112 53 0 12 2 0 2 2 0 8 0 pfstate 328 53 0 12 4 0 4 4 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 579 0 372 17 3 14 16 0 8 0 art_table 32 580 0 372 3 0 3 3 0 8 0 art_node 16 77 0 47 1 0 1 1 0 8 0 sysvmsgpl 40 39 0 28 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 103 0 93 1 0 1 1 0 8 0 shmpl 112 31 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2021 0 617 46 0 46 46 0 8 0 ffsino 272 2021 0 617 95 0 95 95 0 8 0 nchpl 144 2774 0 1165 61 0 61 61 0 8 0 uvmvnodes 72 2241 0 0 41 0 41 41 0 8 0 vnodes 208 2241 0 0 118 0 118 118 0 8 0 namei 1024 8159 0 8159 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 2 1 0 1 1 0 8 0 scxspl 192 8993 0 8993 9 7 2 7 0 8 2 plimitpl 152 41 0 33 1 0 1 1 0 8 0 sigapl 432 589 0 575 3 1 2 3 0 8 0 futexpl 56 10113 0 10113 1 0 1 1 0 8 1 knotepl 112 86 0 67 1 0 1 1 0 8 0 kqueuepl 104 216 0 214 4 0 4 4 0 8 3 pipepl 160 342 0 324 4 2 2 2 0 8 1 fdescpl 488 590 0 575 3 0 3 3 0 8 0 filepl 152 5095 0 5004 14 2 12 14 0 8 8 lockfpl 104 154 0 153 1 0 1 1 0 8 0 lockfspl 48 56 0 55 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 379 0 370 1 0 1 1 0 8 0 zombiepl 144 576 0 575 1 0 1 1 0 8 0 processpl 896 606 0 575 4 0 4 4 0 8 0 procpl 632 1521 0 1480 5 0 5 5 0 8 1 srpgc 64 4 0 4 1 1 0 1 0 8 0 sosppl 128 4 0 4 2 2 0 1 0 8 0 sockpl 384 2037 0 2018 16 6 10 14 0 8 8 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 10 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 219 0 0 27 0 27 27 0 8 0 mtagpl 80 12 0 0 1 0 1 1 0 8 0 mbufpl 256 307 0 0 17 0 17 17 0 8 0 bufpl 280 7679 0 1343 453 0 453 453 0 8 0 anonpl 16 76116 0 54900 103 2 101 102 0 125 13 amapchunkpl 152 3412 0 3258 17 8 9 14 0 158 2 amappl16 192 3274 0 2111 71 5 66 71 0 8 7 amappl15 184 233 0 228 1 0 1 1 0 8 0 amappl14 176 28 0 25 1 0 1 1 0 8 0 amappl13 168 10 0 8 1 0 1 1 0 8 0 amappl12 160 12 0 7 1 0 1 1 0 8 0 amappl11 152 53 0 38 1 0 1 1 0 8 0 amappl10 144 9 0 6 1 0 1 1 0 8 0 amappl9 136 784 0 779 1 0 1 1 0 8 0 amappl8 128 320 0 289 2 0 2 2 0 8 0 amappl7 120 110 0 98 1 0 1 1 0 8 0 amappl6 112 59 0 53 1 0 1 1 0 8 0 amappl5 104 142 0 126 1 0 1 1 0 8 0 amappl4 96 848 0 818 1 0 1 1 0 8 0 amappl3 88 128 0 120 1 0 1 1 0 8 0 amappl2 80 3975 0 3908 3 1 2 3 0 8 0 amappl1 72 22804 0 22371 25 15 10 20 0 8 0 amappl 80 1772 0 1726 2 0 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 32 0 0 1 0 1 1 0 8 0 uaddrrnd 24 593 0 577 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 593 0 577 1 0 1 1 0 8 0 vmmpekpl 168 8699 0 8663 2 0 2 2 0 8 0 vmmpepl 168 80013 0 77762 139 24 115 131 0 357 12 vmsppl 368 592 0 577 2 0 2 2 0 8 0 pdppl 4096 1193 0 1155 6 0 6 6 0 8 0 pvpl 32 231113 0 207029 232 1 231 232 0 265 33 pmappl 232 592 0 577 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 193 0 11 6 0 6 6 0 8 0