uvm_fault(0xffffffff827ed590, 0xffffffff0000000b, 0, 1) -> e kernel: 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(0xffffffff827ed590, 0xffffffff0000000b, 0, 1) -> e in_delmulti(fffffffeffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 end trace frame: 0xffff800023f14b30, count: 0 ddb{1}> trace in_delmulti(fffffffeffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000af9c00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000af1800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000af1800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000af1800) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 ifioctl(fffffd807e950e20,80206979,ffff800023f14d70,ffff800020eb4c70) at ifioctl+0x3ea sys/net/if.c:1821 soo_ioctl(fffffd806571d4e0,80206979,ffff800023f14d70,ffff800020eb4c70) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020eb4c70,ffff800023f14e88,ffff800023f14ed0) at sys_ioctl+0x4a5 syscall(ffff800023f14f50) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f14f50) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd1bd2054b30, count: -10 ddb{1}> show registers rdi 0xffff800021edf000 rsi 0x2b5cc acpi_pdirpa+0x17434 rbp 0xffff800023f14ae0 rbx 0 rdx 0xffff800021edf000 rcx 0x2b5cb acpi_pdirpa+0x17433 rax 0xffffffff823bf7bd in_delmulti+0x8d r8 0xffff800000af9c00 r9 0xffffffff81e56833 rt_ifa_purge+0x153 r10 0x5 r11 0xde3cc2ee5f0f27bc r12 0 r13 0x3 r14 0xfffffffeffffffff r15 0x1 rip 0xffffffff823bf7bd in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023f14a80 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.1) pid=9572 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020eb5650,0xffff800020eb4a08 process=0xffff800020df0010 user=0xffff800023f10000, vmspace=0xfffffd807effe8a0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 15000 254203 47563 0 7 0 syz-executor.0 15000 453749 47563 0 3 0x4000080 fsleep syz-executor.0 20625 507042 30426 0 3 0x80 nanosleep syz-executor.1 *20625 9572 30426 0 7 0x4000000 syz-executor.1 30426 469435 12350 0 3 0x82 nanosleep syz-executor.1 47563 470371 12350 0 3 0x82 nanosleep syz-executor.0 12350 286285 95389 0 3 0x82 thrsleep syz-fuzzer 12350 298072 95389 0 3 0x4000082 nanosleep syz-fuzzer 12350 220191 95389 0 3 0x4000082 thrsleep syz-fuzzer 12350 18754 95389 0 3 0x4000082 thrsleep syz-fuzzer 12350 197344 95389 0 3 0x4000082 thrsleep syz-fuzzer 12350 482666 95389 0 3 0x4000082 thrsleep syz-fuzzer 12350 296479 95389 0 3 0x4000082 thrsleep syz-fuzzer 12350 255091 95389 0 3 0x4000082 kqread syz-fuzzer 95389 373086 40178 0 3 0x10008a pause ksh 40178 260470 21200 0 3 0x92 select sshd 53523 432875 1 0 3 0x100083 ttyin getty 21200 437666 1 0 3 0x80 select sshd 36723 298024 74007 74 3 0x100092 bpf pflogd 74007 361482 1 0 3 0x80 netio pflogd 92029 229947 64421 73 3 0x100090 kqread syslogd 64421 349321 1 0 3 0x100082 netio syslogd 34823 30255 1 77 2 0x100090 dhclient 59376 86876 1 0 3 0x80 poll dhclient 89964 266051 0 0 3 0x14200 bored smr 16317 61832 0 0 3 0x14200 pgzero zerothread 57570 209442 0 0 3 0x14200 aiodoned aiodoned 91014 288152 0 0 3 0x14200 syncer update 8947 321935 0 0 3 0x14200 cleaner cleaner 37013 33601 0 0 3 0x14200 reaper reaper 65317 431446 0 0 3 0x14200 pgdaemon pagedaemon 11759 27558 0 0 3 0x14200 bored crynlk 71813 33485 0 0 3 0x14200 bored crypto 31168 279787 0 0 3 0x40014200 acpi0 acpi0 42908 77421 0 0 3 0x40014200 idle1 44738 86239 0 0 3 0x14200 bored softnet 56987 328196 0 0 2 0x14200 systqmp 46813 247122 0 0 3 0x14200 bored systq 70322 1856 0 0 3 0x40014200 bored softclock 41295 360515 0 0 3 0x40014200 idle0 1 233906 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 20625 (syz-executor.1) thread 0xffff800020eb4c70 (9572) exclusive rwlock netlock r = 0 (0xffffffff827713e0) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 if_detach+0x70 sys/net/if.c:1010 #2 tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 #3 ifioctl+0x3ea sys/net/if.c:1821 #4 soo_ioctl+0x27c sys/kern/sys_socket.c:138 #5 sys_ioctl+0x4a5 #6 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #7 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82933348) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 #2 mi_switch+0x392 sys/kern/sched_bsd.c:435 #3 sleep_finish+0x113 sys/kern/kern_synch.c:418 #4 cond_wait+0x76 sys/kern/kern_synch.c:907 #5 smr_barrier_impl+0xf9 sys/kern/kern_smr.c:271 #6 tun_clone_destroy+0x136 sys/net/if_tun.c:311 #7 ifioctl+0x3ea sys/net/if.c:1821 #8 soo_ioctl+0x27c sys/kern/sys_socket.c:138 #9 sys_ioctl+0x4a5 #10 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #11 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9489 6405K 6663K 78643K 10749 0 pcb 13 8K 8K 78643K 31 0 rtable 90 3K 8K 78643K 284 0 ifaddr 57 12K 14K 78643K 83 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1491 0 iov 0 0K 16K 78643K 12 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 1261 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 12 0K 1K 78643K 40 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 131 0 proc 61 63K 83K 78643K 449 0 subproc 32 2K 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 18 0 in_multi 35 2K 2K 78643K 43 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 215 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 157 25K 26K 78643K 1389 0 UVM aobj 7 4K 4K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 12 0 NDP 9 0K 0K 78643K 14 0 temp 83 3861K 3925K 78643K 2495 0 kqueue 3 4K 8K 78643K 6 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 23 0 20 1 0 1 1 0 8 0 rtentry 112 46 0 11 2 0 2 2 0 8 0 unpcb 120 39 0 29 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 68 0 68 1 1 0 1 0 8 0 tcpcb 592 38 0 32 2 0 2 2 0 8 1 inpcb 296 224 0 214 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 6 0 2 1 0 1 1 0 8 0 ppxss 1136 1 0 1 1 0 1 1 0 8 1 pffrag 232 2 0 2 1 0 1 1 0 482 1 pffrnode 88 2 0 2 1 0 1 1 0 8 1 pffrent 40 90 0 90 1 0 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 pfrktable 1344 32 0 32 1 0 1 1 0 8 1 pfstitem 24 23 0 0 1 0 1 1 0 8 0 pfstkey 112 23 0 0 1 0 1 1 0 8 0 pfstate 328 23 0 0 2 0 2 2 0 8 0 pfrule 1360 27 0 22 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 16 12 0 12 12 0 8 0 art_table 32 190 0 16 2 0 2 2 0 8 0 art_node 16 45 0 9 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 24 0 14 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 1552 0 150 89 0 89 89 0 8 0 ffsino 272 1552 0 150 94 0 94 94 0 8 0 nchpl 144 1973 0 366 60 0 60 60 0 8 0 uvmvnodes 72 1630 0 0 30 0 30 30 0 8 0 vnodes 208 1630 0 0 86 0 86 86 0 8 0 namei 1024 5173 0 5173 1 0 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 10 0 10 1 0 1 1 0 8 1 scxspl 200 5640 0 5640 8 1 7 7 0 8 7 plimitpl 152 17 0 9 1 0 1 1 0 8 0 sigapl 424 346 0 314 4 0 4 4 0 8 0 futexpl 56 1608 0 1607 1 0 1 1 0 8 0 knotepl 112 65 0 45 1 0 1 1 0 8 0 kqueuepl 152 6 0 4 1 0 1 1 0 8 0 pipepl 304 90 0 79 2 0 2 2 0 8 1 fdescpl 496 331 0 314 3 0 3 3 0 8 0 filepl 152 1763 0 1657 5 0 5 5 0 8 0 lockfpl 104 21 0 20 1 0 1 1 0 8 0 lockfspl 48 8 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 86 0 77 1 0 1 1 0 8 0 zombiepl 144 314 0 314 1 0 1 1 0 8 1 processpl 1008 346 0 314 5 0 5 5 0 8 0 procpl 632 580 0 539 4 0 4 4 0 8 0 srpgc 72 2 0 2 1 0 1 1 0 8 1 sockpl 400 288 0 265 4 0 4 4 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 196 0 0 24 0 24 24 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 321 0 0 20 0 20 20 0 8 0 bufpl 280 3491 0 127 241 0 241 241 0 8 0 anonpl 16 54211 0 35584 84 1 83 83 0 124 8 amapchunkpl 152 1974 0 1675 18 1 17 17 0 158 4 amappl16 192 1565 0 691 49 0 49 49 0 8 5 amappl15 184 55 0 52 2 1 1 1 0 8 0 amappl14 176 48 0 45 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 28 0 24 1 0 1 1 0 8 0 amappl11 152 103 0 86 1 0 1 1 0 8 0 amappl10 144 68 0 64 1 0 1 1 0 8 0 amappl9 136 367 0 366 1 0 1 1 0 8 0 amappl8 128 333 0 300 2 0 2 2 0 8 0 amappl7 120 115 0 103 1 0 1 1 0 8 0 amappl6 112 78 0 70 1 0 1 1 0 8 0 amappl5 104 179 0 163 1 0 1 1 0 8 0 amappl4 96 532 0 502 1 0 1 1 0 8 0 amappl3 88 122 0 114 1 0 1 1 0 8 0 amappl2 80 1752 0 1672 2 0 2 2 0 8 0 amappl1 72 18359 0 17900 23 12 11 18 0 8 1 amappl 80 873 0 793 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 333 0 314 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 333 0 314 1 0 1 1 0 8 0 vmmpekpl 168 6639 0 6605 2 0 2 2 0 8 0 vmmpepl 168 49086 0 46877 118 7 111 115 0 357 14 vmsppl 368 332 0 314 2 0 2 2 0 8 0 pdppl 4096 673 0 630 6 0 6 6 0 8 0 pvpl 32 170496 0 148780 195 1 194 195 0 265 18 pmappl 232 332 0 314 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 265 0 4 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 __mp_lock(ffffffff82933140) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82933140) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff82933140) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82933140) at __mp_lock+0x127 sys/kern/kern_lock.c:147 pageflttrap(ffff8000230e4de0,1) at pageflttrap+0x7f sys/arch/amd64/amd64/trap.c:180 usertrap(ffff8000230e4de0) at usertrap+0x21a sys/arch/amd64/amd64/trap.c:384 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7fffff4060, count: -10 ddb{0}> machine ddbcpu 1 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> trace in_delmulti(fffffffeffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000af9c00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000af1800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000af1800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000af1800) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 ifioctl(fffffd807e950e20,80206979,ffff800023f14d70,ffff800020eb4c70) at ifioctl+0x3ea sys/net/if.c:1821 soo_ioctl(fffffd806571d4e0,80206979,ffff800023f14d70,ffff800020eb4c70) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020eb4c70,ffff800023f14e88,ffff800023f14ed0) at sys_ioctl+0x4a5 syscall(ffff800023f14f50) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f14f50) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd1bd2054b30, count: -10