ukernel: page 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 kernel page fault uvm_fault(0xfffffd806e90c5c8, 0xef, 0, 1) -> e in_delmulti(e3) at in_delmulti+0x8d sys/netinet/in.c:914 end trace frame: 0xffff8000231047c0, count: 0 ddb{1}> trace in_delmulti(e3) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b56600) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000ac6000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000ac6000) at if_detach+0x140 sys/net/if.c:1039 tun_clone_destroy(ffff800000ac6000) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff8000231049a0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e815758,7,fffffd807f7bf900,ffff800020e91160) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8066721018,ffff800020e91160) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8066721018,ffff800020e91160) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8066721018,ffff800020e91160) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8066721018,ffff800020e91160) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e91160) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e91160,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020e91160,ffff800023104c30,ffff800023104c80) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800023104d00) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023104d00) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcf5f0, count: -16 ddb{1}> show registers rdi 0x2 rsi 0 rbp 0xffff800023104770 rbx 0 rdx 0 rcx 0 rax 0xffff800020e91160 r8 0xffff800000b56600 r9 0xffffffff821cd043 rt_ifa_purge+0x153 r10 0x5 r11 0xe98d423dab871044 r12 0 r13 0x3 r14 0xe3 r15 0x1 rip 0xffffffff821c82ed in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023104710 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.0) pid=517919 stat=onproc flags process=1018 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e90780,0xffff800020e90518 process=0xffff800020ebe7e8 user=0xffff8000230ff000, vmspace=0xfffffd806e90c5c8 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 63878 429869 12636 0 2 0 syz-executor.1 96088 159601 1 0 3 0x100083 ttyin getty 35042 83219 0 0 3 0x14200 bored sosplice 12636 146470 16607 0 3 0x82 nanosleep syz-executor.1 16607 43463 24290 0 3 0x82 thrsleep syz-fuzzer 16607 318823 24290 0 2 0x4000002 syz-fuzzer 16607 182116 24290 0 2 0x4000002 syz-fuzzer 16607 98932 24290 0 3 0x4000082 thrsleep syz-fuzzer 16607 484842 24290 0 3 0x4000082 thrsleep syz-fuzzer 16607 296911 24290 0 3 0x4000082 thrsleep syz-fuzzer 16607 513806 24290 0 3 0x4000082 thrsleep syz-fuzzer 16607 1884 24290 0 7 0x4000002 syz-fuzzer 24290 327843 81644 0 3 0x10008a pause ksh 81644 106434 57 0 3 0x92 select sshd 57 442029 1 0 3 0x80 select sshd 91423 251310 46612 74 3 0x100092 bpf pflogd 46612 382153 1 0 3 0x80 netio pflogd 89207 140945 93022 73 3 0x100090 kqread syslogd 93022 355971 1 0 3 0x100082 netio syslogd 32171 92211 1 77 2 0x100090 dhclient 87454 258710 1 0 3 0x80 poll dhclient 95031 493634 0 0 3 0x14200 bored smr 76750 256560 0 0 2 0x14200 zerothread 25924 354960 0 0 3 0x14200 aiodoned aiodoned 19394 298162 0 0 3 0x14200 syncer update 68138 469564 0 0 3 0x14200 cleaner cleaner 84211 332057 0 0 3 0x14200 reaper reaper 9078 81969 0 0 3 0x14200 pgdaemon pagedaemon 83144 231739 0 0 3 0x14200 bored crynlk 93133 189050 0 0 3 0x14200 bored crypto 44135 302700 0 0 3 0x40014200 acpi0 acpi0 43223 161103 0 0 3 0x40014200 idle1 3013 77912 0 0 3 0x14200 bored softnet 55959 497316 0 0 2 0x14200 systqmp 9558 516980 0 0 3 0x14200 bored systq 19116 46064 0 0 3 0x40014200 bored softclock 39503 513305 0 0 3 0x40014200 idle0 1 198873 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 9516 6414K 7062K 78643K 11925 0 pcb 13 8K 8K 78643K 91 0 rtable 73 3K 8K 78643K 424 0 ifaddr 72 14K 15K 78643K 133 0 counters 43 33K 34K 78643K 47 0 ioctlops 0 0K 4K 78643K 1550 0 iov 0 0K 12K 78643K 41 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1571 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 0K 78643K 126 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 418 0 sigio 0 0K 0K 78643K 6 0 proc 61 63K 83K 78643K 494 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 43 0 in_multi 36 2K 2K 78643K 83 0 ether_multi 1 0K 0K 78643K 15 0 mrt 0 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 225 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 161 57K 58K 78643K 2405 0 UVM aobj 28 4K 4K 78643K 44 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 60 0 NDP 12 0K 0K 78643K 19 0 temp 119 3879K 3943K 78643K 11876 0 kqueue 3 4K 8K 78643K 10 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 7 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 63 0 61 1 0 1 1 0 8 0 rtentry 112 53 0 29 2 0 2 2 0 8 0 unpcb 120 528 0 518 1 0 1 1 0 8 0 syncache 272 10 0 10 4 4 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 592 207 0 201 3 2 1 3 0 8 0 inpcb 296 601 0 594 7 5 2 3 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 9 0 6 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 2 0 1 0 8 0 pfstscr 40 6 0 6 1 1 0 1 0 8 0 pffrag 232 6 0 6 1 1 0 1 0 482 0 pffrnode 88 6 0 6 1 1 0 1 0 8 0 pffrent 40 141 0 141 1 1 0 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 68 0 66 1 0 1 1 0 8 0 pfstitem 24 59 0 45 1 0 1 1 0 8 0 pfstkey 112 63 0 49 2 0 2 2 0 8 0 pfstate 328 60 0 46 4 1 3 4 0 8 0 pfrule 1360 35 0 28 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 257 0 143 15 5 10 14 0 8 0 art_table 32 258 0 143 2 0 2 2 0 8 0 art_node 16 52 0 28 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semapl 112 124 0 114 1 0 1 1 0 8 0 shmpl 112 41 0 16 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1947 0 546 89 1 88 89 0 8 0 ffsino 272 1947 0 546 94 0 94 94 0 8 0 nchpl 144 2821 0 1234 60 0 60 60 0 8 0 uvmvnodes 72 2283 0 0 42 0 42 42 0 8 0 vnodes 208 2283 0 0 121 0 121 121 0 8 0 namei 1024 7909 0 7909 3 2 1 1 0 8 1 percpumem 16 34 0 2 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 19 0 18 1 0 1 1 0 8 0 scxspl 200 8341 0 8341 11 10 1 7 0 8 1 plimitpl 152 36 0 28 1 0 1 1 0 8 0 sigapl 424 635 0 603 4 0 4 4 0 8 0 futexpl 56 6166 0 6166 3 2 1 1 0 8 1 knotepl 112 75 0 61 1 0 1 1 0 8 0 kqueuepl 152 48 0 46 1 0 1 1 0 8 0 pipepl 304 118 0 110 4 2 2 2 0 8 1 fdescpl 496 619 0 603 3 0 3 3 0 8 0 filepl 152 3902 0 3815 6 1 5 6 0 8 0 lockfpl 104 270 0 269 1 0 1 1 0 8 0 lockfspl 48 67 0 66 1 0 1 1 0 8 0 sessionpl 120 19 0 8 1 0 1 1 0 8 0 pgrppl 48 25 0 14 1 0 1 1 0 8 0 ucredpl 96 504 0 494 1 0 1 1 0 8 0 zombiepl 144 604 0 603 2 1 1 1 0 8 0 processpl 1008 635 0 603 5 0 5 5 0 8 0 procpl 632 1587 0 1548 7 3 4 5 0 8 0 sosppl 144 5 0 5 3 3 0 1 0 8 0 sockpl 400 1201 0 1182 9 5 4 5 0 8 2 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 158 0 0 19 0 19 19 0 8 0 mtagpl 96 14 0 0 1 0 1 1 0 8 0 mbufpl 256 281 0 0 16 0 16 16 0 8 0 bufpl 280 4176 0 127 290 0 290 290 0 8 0 anonpl 16 85687 0 67923 105 25 80 89 0 124 4 amapchunkpl 152 3620 0 3336 17 5 12 16 0 158 0 amappl16 192 3405 0 2569 67 23 44 55 0 8 1 amappl15 184 198 0 197 2 1 1 1 0 8 0 amappl14 176 6 0 2 1 0 1 1 0 8 0 amappl13 168 31 0 27 1 0 1 1 0 8 0 amappl12 160 28 0 25 1 0 1 1 0 8 0 amappl11 152 52 0 37 1 0 1 1 0 8 0 amappl10 144 224 0 219 1 0 1 1 0 8 0 amappl9 136 358 0 357 1 0 1 1 0 8 0 amappl8 128 341 0 305 2 0 2 2 0 8 0 amappl7 120 124 0 111 1 0 1 1 0 8 0 amappl6 112 32 0 24 1 0 1 1 0 8 0 amappl5 104 538 0 518 1 0 1 1 0 8 0 amappl4 96 493 0 465 1 0 1 1 0 8 0 amappl3 88 133 0 124 1 0 1 1 0 8 0 amappl2 80 4178 0 4106 2 0 2 2 0 8 0 amappl1 72 28014 0 27555 24 14 10 18 0 8 0 amappl 80 1873 0 1794 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 43 0 16 1 0 1 1 0 8 0 uaddrrnd 24 623 0 603 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 623 0 603 1 0 1 1 0 8 0 vmmpekpl 168 8915 0 8881 2 0 2 2 0 8 0 vmmpepl 168 86798 0 84722 135 38 97 116 0 357 5 vmsppl 368 622 0 603 2 0 2 2 0 8 0 pdppl 4096 1253 0 1210 6 0 6 6 0 8 0 pvpl 32 254381 0 233510 223 28 195 206 0 265 18 pmappl 232 622 0 603 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 268 0 20 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(ffffffff827b8ff0) 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 __mp_lock(ffffffff828c5a80) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c5a80) at __mp_lock+0x127 sys/kern/kern_lock.c:147 intr_handler(ffff800020ea9de0,ffff80000065bd80) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge4_untramp() at Xintr_ioapic_edge4_untramp+0x19f __mp_lock(ffffffff828c5a80) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c5a80) at __mp_lock+0x127 sys/kern/kern_lock.c:147 syscall(ffff800020ea9fb0) at syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800020ea9fb0) at syscall+0x400 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0001abef8, count: -9 ddb{0}> machine ddbcpu 1 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> trace in_delmulti(e3) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b56600) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000ac6000) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000ac6000) at if_detach+0x140 sys/net/if.c:1039 tun_clone_destroy(ffff800000ac6000) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff8000231049a0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e815758,7,fffffd807f7bf900,ffff800020e91160) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8066721018,ffff800020e91160) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8066721018,ffff800020e91160) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8066721018,ffff800020e91160) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8066721018,ffff800020e91160) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e91160) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e91160,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020e91160,ffff800023104c30,ffff800023104c80) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800023104d00) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023104d00) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcf5f0, count: -16