uvm_fault(0xffffffff8277aa10, 0xffffffff82698d40, 0, 2) -> e kernel: page fault trap, code=0 Stopped at m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xffffffff8277aa10, 0xffffffff82698d40, 0, 2) -> e m_copyback(ffff800022f32a40,138,0,ffff800022f32c04,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800022f32a40,138,0,ffff800022f32c04,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800022f32cc0, count: 0 ddb{0}> trace m_copyback(ffff800022f32a40,138,0,ffff800022f32c04,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800022f32a40,138,0,ffff800022f32c04,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a40,ffff800022f32ce8,fffffd806f295900) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800022f32de8,0,ffff800000ac1fd8,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b1a800,ffff800022f330b8) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800022f330b8,ffff800022f330c4,29,0,ffff800000b1a800) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b1a800,fffffd806f295900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800022f333a8,ffff8000216f3000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800022f33200) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8067e8d360,ffff800022f333a8,11,fffffd807f7bfae0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067f54e58,ffff800022f333a8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020ebac70,f0,ffff800022f333a8,0,ffff800022f33490) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020ebac70,ffff800022f33440,ffff800022f33490) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800022f33510) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022f33510) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x35227e55090, count: -14 ddb{0}> show registers rdi 0 rsi 0x796c3 acpi_pdirpa+0x6552b rbp 0xffff800022f32a20 rbx 0xffffffffffffce5f rdx 0x796c2 acpi_pdirpa+0x6552a rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0x863e4a8b0774713c r12 0xfffffd8069fae500 r13 0x108 r14 0x30 r15 0xffff800022f32c20 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800022f32960 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=414581 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020eba290,0xffffffff82888178 process=0xffff8000ffffabd8 user=0xffff800022f2e000, vmspace=0xfffffd807effe000 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 20750 305132 15336 0 2 0 syz-executor.0 *20750 414581 15336 0 7 0x4000000 syz-executor.0 55768 325769 78809 0 3 0x80 nanosleep syz-executor.1 55768 365589 78809 0 3 0x4000080 select syz-executor.1 55768 225691 78809 0 3 0x4000080 fsleep syz-executor.1 15336 89093 9317 0 3 0x82 nanosleep syz-executor.0 87129 225442 0 0 3 0x14200 bored sosplice 78809 176468 9317 0 3 0x82 nanosleep syz-executor.1 9317 497464 52158 0 3 0x82 thrsleep syz-fuzzer 9317 503440 52158 0 3 0x4000082 thrsleep syz-fuzzer 9317 209169 52158 0 3 0x4000082 thrsleep syz-fuzzer 9317 166040 52158 0 3 0x4000082 thrsleep syz-fuzzer 9317 68996 52158 0 3 0x4000082 thrsleep syz-fuzzer 9317 417581 52158 0 3 0x4000082 thrsleep syz-fuzzer 9317 267488 52158 0 3 0x4000082 thrsleep syz-fuzzer 9317 69804 52158 0 3 0x4000082 kqread syz-fuzzer 52158 259917 67361 0 3 0x10008a pause ksh 67361 44948 76142 0 3 0x92 select sshd 38628 212257 1 0 3 0x100083 ttyin getty 76142 495822 1 0 3 0x80 select sshd 71804 133508 37760 74 3 0x100092 bpf pflogd 37760 207415 1 0 3 0x80 netio pflogd 48773 300746 47530 73 3 0x100090 kqread syslogd 47530 403032 1 0 3 0x100082 netio syslogd 10879 420157 1 77 3 0x100090 poll dhclient 24835 264093 1 0 3 0x80 poll dhclient 74274 457082 0 0 3 0x14200 bored smr 75002 311298 0 0 2 0x14200 zerothread 29394 8688 0 0 3 0x14200 aiodoned aiodoned 22839 255589 0 0 3 0x14200 syncer update 43127 91740 0 0 3 0x14200 cleaner cleaner 73799 350959 0 0 3 0x14200 reaper reaper 94730 136292 0 0 3 0x14200 pgdaemon pagedaemon 59239 245209 0 0 3 0x14200 bored crynlk 64223 522185 0 0 3 0x14200 bored crypto 59277 153482 0 0 3 0x40014200 acpi0 acpi0 18636 408936 0 0 7 0x40014200 idle1 47152 368995 0 0 3 0x14200 bored softnet 59948 106692 0 0 3 0x14200 bored systqmp 17233 168691 0 0 3 0x14200 bored systq 90823 88725 0 0 3 0x40014200 bored softclock 54879 63109 0 0 3 0x40014200 idle0 1 246321 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 20750 (syz-executor.0) thread 0xffff800020ebac70 (414581) exclusive rwlock netlock r = 0 (0xffffffff827435e0) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 tun_dev_write+0x1f9 sys/net/if_tun.c:867 #2 spec_write+0xd4 sys/kern/spec_vnops.c:309 #3 VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 #4 vn_write+0x14e sys/kern/vfs_vnops.c:414 #5 dofilewritev+0x1ab sys/kern/sys_generic.c:365 #6 sys_write+0x83 sys/kern/sys_generic.c:285 #7 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8289f9d8) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 vn_write+0x42 sys/kern/vfs_vnops.c:399 #2 dofilewritev+0x1ab sys/kern/sys_generic.c:365 #3 sys_write+0x83 sys/kern/sys_generic.c:285 #4 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 #5 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9516 6414K 6803K 78643K 11319 0 pcb 14 8K 8K 78643K 79 0 rtable 96 4K 7K 78643K 387 0 ifaddr 71 14K 14K 78643K 115 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 55 0 ioctlops 0 0K 4K 78643K 1544 0 iov 0 0K 16K 78643K 71 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1444 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 124 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 557 0 sigio 0 0K 0K 78643K 6 0 proc 61 63K 95K 78643K 527 0 subproc 32 2K 2K 78643K 53 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 1 0K 0K 78643K 33 0 in_multi 31 2K 2K 78643K 88 0 ether_multi 2 0K 0K 78643K 13 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 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 412 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 146 41K 57K 78643K 2509 0 UVM aobj 20 2K 2K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 40 0 NDP 12 0K 0K 78643K 27 0 temp 139 3978K 4042K 78643K 10586 0 kqueue 3 4K 16K 78643K 51 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 9 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 51 0 49 1 0 1 1 0 8 0 rtentry 112 75 0 40 2 0 2 2 0 8 0 unpcb 120 404 0 394 1 0 1 1 0 8 0 syncache 272 8 0 8 2 1 1 1 0 8 1 tcpqe 32 119 0 119 1 1 0 1 0 8 0 tcpcb 592 152 0 136 3 1 2 2 0 8 0 inpcb 296 445 0 436 4 2 2 2 0 8 0 nd6 48 15 0 9 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 7 0 6 3 2 1 1 0 482 0 pffrnode 88 7 0 6 3 2 1 1 0 8 0 pffrent 40 186 0 185 3 2 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 15 0 11 2 1 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 15 0 8 1 0 1 1 0 8 0 pfstkey 112 17 0 10 1 0 1 1 0 8 0 pfstate 328 16 0 9 2 1 1 2 0 8 0 pfrule 1360 31 0 18 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 338 0 148 15 3 12 14 0 8 0 art_table 32 339 0 148 2 0 2 2 0 8 0 art_node 16 74 0 44 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 8 1 0 1 1 0 8 0 semapl 112 122 0 112 1 0 1 1 0 8 0 shmpl 112 17 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2104 0 706 89 0 89 89 0 8 0 ffsino 272 2104 0 706 94 0 94 94 0 8 0 nchpl 144 3440 0 1852 60 0 60 60 0 8 0 uvmvnodes 72 2316 0 0 43 0 43 43 0 8 0 vnodes 208 2316 0 0 122 0 122 122 0 8 0 namei 1024 9213 0 9213 2 1 1 1 0 8 1 percpumem 16 38 0 6 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 5 0 4 1 0 1 1 0 8 0 pfiaddrpl 120 5 0 2 2 1 1 1 0 8 0 scxspl 200 9201 0 9201 10 9 1 7 0 8 1 plimitpl 152 62 0 54 1 0 1 1 0 8 0 sigapl 424 770 0 737 4 0 4 4 0 8 0 futexpl 56 8403 0 8402 2 1 1 1 0 8 0 knotepl 112 125 0 105 1 0 1 1 0 8 0 kqueuepl 152 901 0 899 1 0 1 1 0 8 0 pipepl 304 140 0 128 5 3 2 2 0 8 1 fdescpl 496 754 0 737 3 0 3 3 0 8 0 filepl 152 5449 0 5343 6 1 5 5 0 8 0 lockfpl 104 162 0 161 1 0 1 1 0 8 0 lockfspl 48 45 0 44 1 0 1 1 0 8 0 sessionpl 120 19 0 8 1 0 1 1 0 8 0 pgrppl 48 31 0 20 1 0 1 1 0 8 0 ucredpl 96 410 0 401 1 0 1 1 0 8 0 zombiepl 144 737 0 737 2 1 1 1 0 8 1 processpl 1008 770 0 737 5 0 5 5 0 8 0 procpl 632 1907 0 1864 4 0 4 4 0 8 0 srpgc 72 2 0 2 1 1 0 1 0 8 0 sosppl 144 5 0 5 2 2 0 1 0 8 0 sockpl 400 907 0 885 9 4 5 5 0 8 1 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 177 0 0 22 0 22 22 0 8 0 mtagpl 96 38 0 0 1 0 1 1 0 8 0 mbufpl 256 296 0 0 18 0 18 18 0 8 0 bufpl 280 4496 0 194 308 0 308 308 0 8 0 anonpl 16 86522 0 68844 77 3 74 76 0 124 0 amapchunkpl 152 4916 0 4587 40 27 13 27 0 158 0 amappl16 192 2766 0 1951 46 3 43 43 0 8 1 amappl15 184 83 0 80 1 0 1 1 0 8 0 amappl14 176 204 0 199 1 0 1 1 0 8 0 amappl13 168 32 0 30 1 0 1 1 0 8 0 amappl12 160 258 0 250 1 0 1 1 0 8 0 amappl11 152 59 0 42 1 0 1 1 0 8 0 amappl10 144 7 0 5 1 0 1 1 0 8 0 amappl9 136 375 0 375 1 1 0 1 0 8 0 amappl8 128 146 0 106 2 0 2 2 0 8 0 amappl7 120 268 0 260 1 0 1 1 0 8 0 amappl6 112 128 0 115 1 0 1 1 0 8 0 amappl5 104 818 0 803 1 0 1 1 0 8 0 amappl4 96 303 0 280 1 0 1 1 0 8 0 amappl3 88 273 0 266 1 0 1 1 0 8 0 amappl2 80 4932 0 4852 3 1 2 3 0 8 0 amappl1 72 32616 0 32123 24 14 10 19 0 8 0 amappl 80 2222 0 2131 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 19 0 0 1 0 1 1 0 8 0 uaddrrnd 24 759 0 741 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 759 0 741 1 0 1 1 0 8 0 vmmpekpl 168 9537 0 9496 4 1 3 3 0 8 0 vmmpepl 168 104450 0 102292 141 45 96 122 0 357 1 vmsppl 368 758 0 741 2 0 2 2 0 8 0 pdppl 4096 1525 0 1483 6 0 6 6 0 8 0 pvpl 32 284445 0 263442 186 8 178 183 0 265 2 pmappl 232 758 0 741 4 2 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 272 0 12 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800022f32a40,138,0,ffff800022f32c04,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800022f32a40,138,0,ffff800022f32c04,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a40,ffff800022f32ce8,fffffd806f295900) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800022f32de8,0,ffff800000ac1fd8,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b1a800,ffff800022f330b8) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800022f330b8,ffff800022f330c4,29,0,ffff800000b1a800) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b1a800,fffffd806f295900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800022f333a8,ffff8000216f3000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800022f33200) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8067e8d360,ffff800022f333a8,11,fffffd807f7bfae0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067f54e58,ffff800022f333a8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020ebac70,f0,ffff800022f333a8,0,ffff800022f33490) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020ebac70,ffff800022f33440,ffff800022f33490) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800022f33510) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022f33510) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x35227e55090, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d80ff0) 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 acpicpu_idle() at acpicpu_idle+0x2eb sys/dev/acpi/acpicpu.c:1187 sched_idle(ffff800020d80ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5