kernel: protection fault trap, code=0 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace in_delmulti(efbffffffeffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b1e900) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000af6000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000af6000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000af6000) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80002411a2b0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e2a1348,7,fffffd807f7bf8a0,ffff800020e9b3d8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd806cac7db8,ffff800020e9b3d8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd806cac7db8,ffff800020e9b3d8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd806cac7db8,ffff800020e9b3d8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd806cac7db8,ffff800020e9b3d8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e9b3d8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e9b3d8,0,0,3) at exit1+0x32c sys/kern/kern_exit.c:197 single_thread_check(ffff800020e9b3d8,0) at single_thread_check+0x14b sys/kern/kern_sig.c:1923 userret(ffff800020e9b3d8) at userret+0x345 sys/kern/kern_sig.c:1896 syscall(ffff80002411a690) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002411a690) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2100, count: -17 ddb{1}> show registers rdi 0x2 rsi 0 rbp 0xffff80002411a080 rbx 0 rdx 0 rcx 0 rax 0xffff800020e9b3d8 r8 0xffff800000b1e900 r9 0xffffffff81e56833 rt_ifa_purge+0x153 r10 0x5 r11 0xa4962a5fb8fec75d r12 0 r13 0x3 r14 0xefbffffffeffffff r15 0x1 rip 0xffffffff823bf7bd in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002411a020 ss 0 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.1) pid=439441 stat=onproc flags process=1008 proc=82000 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020e9a9f8,0xffff800020e9b8d8 process=0xffff800020ec37a8 user=0xffff800024115000, vmspace=0xfffffd807effe5c0 estcpu=0, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 63346 329386 6638 0 2 0 syz-executor.0 63346 232808 6638 0 3 0x4000080 fsleep syz-executor.0 63346 255372 6638 0 3 0x4000080 fsleep syz-executor.0 63346 155546 6638 0 7 0x4000000 syz-executor.0 81719 3245 0 0 3 0x14200 bored sosplice 6638 290736 28543 0 3 0x82 nanosleep syz-executor.0 28543 261394 61626 0 3 0x82 thrsleep syz-fuzzer 28543 523254 61626 0 3 0x4000082 nanosleep syz-fuzzer 28543 330680 61626 0 3 0x4000082 thrsleep syz-fuzzer 28543 503061 61626 0 2 0x4000002 syz-fuzzer 28543 446775 61626 0 3 0x4000082 thrsleep syz-fuzzer 28543 87258 61626 0 3 0x4000082 thrsleep syz-fuzzer 28543 431579 61626 0 3 0x4000082 thrsleep syz-fuzzer 28543 89713 61626 0 2 0x4000002 syz-fuzzer 61626 461978 66764 0 3 0x10008a pause ksh 66764 455538 40352 0 3 0x92 select sshd 81495 501907 1 0 3 0x100083 ttyin getty 40352 313327 1 0 3 0x80 select sshd 42433 240230 95788 74 3 0x100092 bpf pflogd 95788 358616 1 0 3 0x80 netio pflogd 46851 413322 48171 73 3 0x100090 kqread syslogd 48171 269138 1 0 3 0x100082 netio syslogd 73223 9892 1 77 2 0x100090 dhclient 52225 506252 1 0 3 0x80 poll dhclient 88406 484658 0 0 3 0x14200 bored smr 54851 523290 0 0 2 0x14200 zerothread 30791 145474 0 0 3 0x14200 aiodoned aiodoned 93248 286689 0 0 3 0x14200 syncer update 49566 441292 0 0 3 0x14200 cleaner cleaner 96537 52172 0 0 3 0x14200 reaper reaper 62429 89303 0 0 3 0x14200 pgdaemon pagedaemon 41149 436443 0 0 3 0x14200 bored crynlk 87979 37313 0 0 3 0x14200 bored crypto 1156 297143 0 0 3 0x40014200 acpi0 acpi0 41915 490691 0 0 3 0x40014200 idle1 49149 232848 0 0 3 0x14200 bored softnet 55523 62031 0 0 2 0x14200 systqmp 92215 125822 0 0 3 0x14200 bored systq 58564 70477 0 0 3 0x40014200 bored softclock 23572 354472 0 0 3 0x40014200 idle0 1 107235 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9480 6400K 6529K 78643K 10637 0 pcb 13 8K 8K 78643K 25 0 rtable 84 2K 6K 78643K 232 0 ifaddr 48 11K 13K 78643K 67 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1487 0 iov 0 0K 12K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1249 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 7 0K 0K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 93 0 proc 60 63K 95K 78643K 446 0 subproc 23 1K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 31 2K 2K 78643K 48 0 ether_multi 1 0K 0K 78643K 1 0 mrt 0 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 217 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 148 41K 41K 78643K 1266 0 UVM aobj 7 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 1 0 NDP 7 0K 0K 78643K 12 0 temp 82 3862K 3926K 78643K 2505 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 21 0 19 1 0 1 1 0 8 0 rtentry 112 49 0 16 2 0 2 2 0 8 0 unpcb 120 59 0 49 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 145 0 145 1 1 0 1 0 8 0 tcpcb 592 117 0 112 4 2 2 4 0 8 0 inpcb 296 183 0 175 3 2 1 2 0 8 0 nd6 48 8 0 5 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 8 0 8 1 1 0 1 0 8 0 pftag 88 2 0 1 2 1 1 1 0 8 0 pfqueue 264 1 0 1 1 0 1 1 0 8 1 pfstitem 24 20 0 11 1 0 1 1 0 8 0 pfstkey 112 20 0 11 1 0 1 1 0 8 0 pfstate 328 20 0 11 2 0 2 2 0 8 0 pfrule 1360 22 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 40 12 1 11 12 0 8 0 art_table 32 189 0 40 2 0 2 2 0 8 0 art_node 16 48 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 8 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 6 0 1 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1507 0 105 88 0 88 88 0 8 0 ffsino 272 1507 0 105 94 0 94 94 0 8 0 nchpl 144 1802 0 213 60 0 60 60 0 8 0 uvmvnodes 72 1565 0 0 29 0 29 29 0 8 0 vnodes 208 1565 0 0 83 0 83 83 0 8 0 namei 1024 4806 0 4806 3 2 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 560 6 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 1 1 0 1 0 8 0 scxspl 200 5326 0 5326 10 9 1 7 0 8 1 plimitpl 152 16 0 8 1 0 1 1 0 8 0 sigapl 424 309 0 277 4 0 4 4 0 8 0 futexpl 56 947 0 945 3 2 1 1 0 8 0 knotepl 112 62 0 48 1 0 1 1 0 8 0 kqueuepl 152 8 0 6 1 0 1 1 0 8 0 pipepl 304 84 0 76 2 1 1 2 0 8 0 fdescpl 496 293 0 277 4 1 3 3 0 8 0 filepl 152 1550 0 1457 5 0 5 5 0 8 1 lockfpl 104 24 0 22 1 0 1 1 0 8 0 lockfspl 48 9 0 7 1 0 1 1 0 8 0 sessionpl 120 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 103 0 94 1 0 1 1 0 8 0 zombiepl 144 278 0 277 3 2 1 1 0 8 0 processpl 1008 309 0 277 5 0 5 5 0 8 0 procpl 632 460 0 418 4 0 4 4 0 8 0 sockpl 400 263 0 243 4 1 3 4 0 8 1 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 206 0 0 25 0 25 25 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 226 0 0 14 0 14 14 0 8 0 bufpl 280 3374 0 126 232 0 232 232 0 8 0 anonpl 16 47735 0 26522 87 1 86 86 0 124 0 amapchunkpl 152 1592 0 1316 14 1 13 14 0 158 0 amappl16 192 1408 0 351 53 0 53 53 0 8 0 amappl15 184 67 0 62 1 0 1 1 0 8 0 amappl14 176 3 0 2 1 0 1 1 0 8 0 amappl13 168 29 0 26 1 0 1 1 0 8 0 amappl12 160 25 0 23 1 0 1 1 0 8 0 amappl11 152 54 0 39 1 0 1 1 0 8 0 amappl10 144 39 0 35 1 0 1 1 0 8 0 amappl9 136 365 0 362 1 0 1 1 0 8 0 amappl8 128 348 0 313 2 0 2 2 0 8 0 amappl7 120 142 0 129 1 0 1 1 0 8 0 amappl6 112 33 0 26 1 0 1 1 0 8 0 amappl5 104 192 0 176 1 0 1 1 0 8 0 amappl4 96 477 0 454 1 0 1 1 0 8 0 amappl3 88 123 0 113 1 0 1 1 0 8 0 amappl2 80 1432 0 1353 2 0 2 2 0 8 0 amappl1 72 17079 0 16598 23 13 10 18 0 8 0 amappl 80 754 0 679 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 299 0 277 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 299 0 277 1 0 1 1 0 8 0 vmmpekpl 168 6366 0 6330 2 0 2 2 0 8 0 vmmpepl 168 44084 0 41747 127 25 102 116 0 357 0 vmsppl 368 298 0 277 4 1 3 3 0 8 1 pdppl 4096 605 0 560 7 1 6 7 0 8 0 pvpl 32 155321 0 130920 198 0 198 198 0 265 1 pmappl 232 298 0 277 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 263 0 10 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82785ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_cmp4(8b6fc,8b6fd) at __sanitizer_cov_trace_cmp4+0x2c __mp_lock(ffffffff82933140) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82933140) at __mp_lock+0x139 sys/kern/kern_lock.c:147 pageflttrap(ffff800021cf0140,1) at pageflttrap+0x7f sys/arch/amd64/amd64/trap.c:180 usertrap(ffff800021cf0140) at usertrap+0x21a sys/arch/amd64/amd64/trap.c:384 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffea060, count: -8 ddb{0}> machine ddbcpu 1 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> trace in_delmulti(efbffffffeffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b1e900) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000af6000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000af6000) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000af6000) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80002411a2b0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e2a1348,7,fffffd807f7bf8a0,ffff800020e9b3d8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd806cac7db8,ffff800020e9b3d8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd806cac7db8,ffff800020e9b3d8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd806cac7db8,ffff800020e9b3d8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd806cac7db8,ffff800020e9b3d8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e9b3d8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e9b3d8,0,0,3) at exit1+0x32c sys/kern/kern_exit.c:197 single_thread_check(ffff800020e9b3d8,0) at single_thread_check+0x14b sys/kern/kern_sig.c:1923 userret(ffff800020e9b3d8) at userret+0x345 sys/kern/kern_sig.c:1896 syscall(ffff80002411a690) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002411a690) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff2100, count: -17