login: uvm_fault(0xffffffff8277aa10, 0xffffffff82675f20, 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, 0xffffffff82675f20, 0, 2) -> e m_copyback(ffff800025197310,138,0,ffff8000251974d4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800025197310,138,0,ffff8000251974d4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800025197590, count: 0 ddb{0}> trace m_copyback(ffff800025197310,138,0,ffff8000251974d4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800025197310,138,0,ffff8000251974d4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044880,ffff8000251975b8,fffffd806d714c00) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff8000251976b8,0,ffff800000ac1fd8,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b27000,ffff800025197988) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800025197988,ffff800025197994,29,0,ffff800000b27000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b27000,fffffd806d714c00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800025197c78,ffff800020ed7000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800025197ad0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8074157278,ffff800025197c78,11,fffffd807f7bf840) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd80683b1ef0,ffff800025197c78,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002518c790,f0,ffff800025197c78,0,ffff800025197d60) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002518c790,ffff800025197d10,ffff800025197d60) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800025197de0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800025197de0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd2c4a4f9d70, count: -14 ddb{0}> show registers rdi 0 rsi 0x86ad5 acpi_pdirpa+0x7293d rbp 0xffff8000251972f0 rbx 0xffffffffffff889b rdx 0x86ad4 acpi_pdirpa+0x7293c rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0xb782876b939f9beb r12 0xfffffd807b1cab00 r13 0x108 r14 0x30 r15 0xffff8000251974f0 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800025197230 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=392380 stat=onproc flags process=0 proc=4000000 pri=79, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff80002518db50,0xffffffff82888178 process=0xffff800025172bd0 user=0xffff800025192000, vmspace=0xfffffd806495e5d8 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 90942 433994 4073 0 2 0 syz-executor.0 *90942 392380 4073 0 7 0x4000000 syz-executor.0 72927 154898 1 0 3 0x100083 ttyin getty 85529 372207 75852 0 3 0x82 piperd syz-executor.1 18409 200221 0 0 3 0x14280 nfsidl nfsio 81436 396361 0 0 3 0x14280 nfsidl nfsio 32815 176228 0 0 3 0x14280 nfsidl nfsio 91771 158090 0 0 3 0x14280 nfsidl nfsio 45101 342329 0 0 3 0x14280 nfsidl nfsio 80018 503459 0 0 3 0x14280 nfsidl nfsio 34402 281062 0 0 3 0x14280 nfsidl nfsio 85196 80638 0 0 3 0x14280 nfsidl nfsio 26709 213365 0 0 3 0x14280 nfsidl nfsio 26412 70876 0 0 3 0x14280 nfsidl nfsio 654 335111 0 0 3 0x14280 nfsidl nfsio 46530 257040 0 0 3 0x14280 nfsidl nfsio 33417 105417 0 0 3 0x14280 nfsidl nfsio 92959 473524 0 0 3 0x14280 nfsidl nfsio 36178 406008 0 0 3 0x14280 nfsidl nfsio 24224 35147 0 0 3 0x14280 nfsidl nfsio 36809 337505 0 0 3 0x14280 nfsidl nfsio 53314 56868 0 0 3 0x14280 nfsidl nfsio 93380 212785 0 0 3 0x14280 nfsidl nfsio 46289 359533 0 0 3 0x14280 nfsidl nfsio 85028 6282 0 0 3 0x14200 bored sosplice 4073 485709 75852 0 3 0x82 nanosleep syz-executor.0 75852 344135 56430 0 3 0x82 kqread syz-fuzzer 75852 328762 56430 0 3 0x4000082 nanosleep syz-fuzzer 75852 4919 56430 0 3 0x4000082 thrsleep syz-fuzzer 75852 363691 56430 0 7 0x4000002 syz-fuzzer 75852 465900 56430 0 3 0x4000082 thrsleep syz-fuzzer 75852 188561 56430 0 3 0x4000082 thrsleep syz-fuzzer 75852 158005 56430 0 3 0x4000082 thrsleep syz-fuzzer 75852 188646 56430 0 3 0x4000082 thrsleep syz-fuzzer 56430 178106 93928 0 3 0x10008a pause ksh 93928 202389 36941 0 3 0x92 select sshd 36941 466475 1 0 3 0x80 select sshd 3517 253092 83204 74 3 0x100092 bpf pflogd 83204 126222 1 0 3 0x80 netio pflogd 74811 147644 99983 73 3 0x100090 kqread syslogd 99983 151534 1 0 3 0x100082 netio syslogd 70279 290995 1 77 3 0x100090 poll dhclient 71030 467059 1 0 3 0x80 poll dhclient 23459 147975 0 0 3 0x14200 bored smr 51276 431305 0 0 2 0x14200 zerothread 83062 319222 0 0 3 0x14200 aiodoned aiodoned 55549 306434 0 0 3 0x14200 syncer update 70162 126620 0 0 3 0x14200 cleaner cleaner 12362 511700 0 0 3 0x14200 reaper reaper 86276 125221 0 0 3 0x14200 pgdaemon pagedaemon 10574 167528 0 0 3 0x14200 bored crynlk 56729 399076 0 0 3 0x14200 bored crypto 20551 328346 0 0 3 0x40014200 acpi0 acpi0 88778 306044 0 0 3 0x40014200 idle1 33295 205106 0 0 3 0x14200 bored softnet 81205 408299 0 0 3 0x14200 bored systqmp 11006 173634 0 0 3 0x14200 bored systq 14579 112274 0 0 3 0x40014200 bored softclock 54817 206111 0 0 3 0x40014200 idle0 1 108622 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 90942 (syz-executor.0) thread 0xffff80002518c790 (392380) 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 9543 6427K 6822K 78643K 12407 0 pcb 13 8K 8K 78643K 881 0 rtable 114 13K 15K 78643K 1302 0 ifaddr 103 20K 20K 78643K 665 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 75 0 ioctlops 0 0K 4K 78643K 3937 0 iov 0 0K 32K 78643K 1262 0 mount 1 1K 1K 78643K 1 0 vnodes 1213 76K 77K 78643K 1890 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 21 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 332 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 2680 0 sigio 0 0K 0K 78643K 14 0 proc 62 63K 83K 78643K 720 0 subproc 32 2K 2K 78643K 119 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 643 0 in_multi 22 1K 2K 78643K 191 0 ether_multi 1 0K 0K 78643K 26 0 mrt 0 0K 0K 78643K 8 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 2K 78643K 562 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 186 92K 109K 78643K 8280 0 UVM aobj 53 6K 6K 78643K 57 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 1557 0 NDP 16 0K 0K 78643K 49 0 temp 164 3993K 4057K 78643K 18738 0 kqueue 3 4K 12K 78643K 38 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 21 0 17 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 64 0 62 1 0 1 1 0 8 0 rtentry 112 150 0 125 2 1 1 2 0 8 0 unpcb 120 577 0 567 1 0 1 1 0 8 0 syncache 272 14 0 14 7 7 0 1 0 8 0 tcpqe 32 49 0 49 2 2 0 1 0 8 0 tcpcb 592 1544 0 1540 21 19 2 4 0 8 1 inpcb 296 4871 0 4864 8 6 2 2 0 8 1 rttmr 72 3 0 3 2 2 0 1 0 8 0 nd6 48 26 0 23 1 0 1 1 0 8 0 pkpcb 40 18 0 18 5 5 0 1 0 8 0 swfcl 56 1 0 0 1 0 1 1 0 8 0 ppxss 1136 2 0 2 2 2 0 1 0 8 0 pfstscr 40 4 0 4 2 2 0 1 0 8 0 pffrag 232 4 0 4 3 3 0 1 0 482 0 pffrnode 88 4 0 4 3 3 0 1 0 8 0 pffrent 40 11 0 11 3 3 0 1 0 8 0 pfosfp 40 847 0 423 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 317 0 297 5 3 2 3 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 18 0 14 1 0 1 1 0 8 0 pfstkey 112 24 0 20 1 0 1 1 0 8 0 pfstate 328 19 0 16 2 1 1 2 0 8 0 pfsrctr 152 215 0 211 3 2 1 1 0 8 0 pfrule 1360 1076 0 1026 6 1 5 5 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 549 0 411 17 7 10 13 0 8 0 art_table 32 550 0 411 3 1 2 2 0 8 0 art_node 16 148 0 128 1 0 1 1 0 8 0 sysvmsgpl 40 30 0 12 2 1 1 1 0 8 0 semapl 112 330 0 320 1 0 1 1 0 8 0 shmpl 112 54 0 4 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4425 0 3027 89 1 88 89 0 8 0 ffsino 272 4425 0 3027 94 0 94 94 0 8 0 nchpl 144 10773 0 9190 60 0 60 60 0 8 0 uvmvnodes 72 4973 0 0 91 0 91 91 0 8 0 vnodes 208 4973 0 0 262 0 262 262 0 8 0 namei 1024 31701 0 31701 4 3 1 1 0 8 1 percpumem 16 48 0 16 1 0 1 1 0 8 0 vcpupl 1984 9 0 2 1 0 1 1 0 8 0 vmpool 560 14 0 7 1 0 1 1 0 8 0 pfiaddrpl 120 2997 0 2907 3 0 3 3 0 8 0 scxspl 200 23238 0 23238 18 16 2 7 0 8 2 plimitpl 152 126 0 118 1 0 1 1 0 8 0 sigapl 424 2905 0 2853 7 0 7 7 0 8 0 futexpl 56 35460 0 35460 4 3 1 1 0 8 1 knotepl 112 181 0 161 1 0 1 1 0 8 0 kqueuepl 152 156 0 152 1 0 1 1 0 8 0 pipepl 304 315 0 304 2 0 2 2 0 8 0 fdescpl 496 2867 0 2851 3 0 3 3 0 8 0 filepl 152 23123 0 23021 10 5 5 6 0 8 0 lockfpl 104 332 0 331 1 0 1 1 0 8 0 lockfspl 48 109 0 108 1 0 1 1 0 8 0 sessionpl 120 25 0 14 1 0 1 1 0 8 0 pgrppl 48 44 0 33 1 0 1 1 0 8 0 ucredpl 96 4852 0 4843 1 0 1 1 0 8 0 zombiepl 144 2853 0 2853 1 0 1 1 0 8 1 processpl 1008 2905 0 2853 7 0 7 7 0 8 0 procpl 632 7500 0 7440 6 0 6 6 0 8 0 sosppl 144 13 0 13 6 6 0 1 0 8 0 sockpl 400 5546 0 5527 14 10 4 5 0 8 2 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl16k 16384 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 14 0 0 2 0 2 2 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 26 0 0 3 0 3 3 0 8 0 mcl4k 4096 23 0 0 3 1 2 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 178 0 0 20 1 19 20 0 8 0 mtagpl 96 67 0 0 2 0 2 2 0 8 0 mbufpl 256 390 0 0 17 0 17 17 0 8 0 bufpl 280 7115 0 857 448 0 448 448 0 8 0 anonpl 16 259173 0 241182 110 36 74 89 0 124 0 amapchunkpl 152 15166 0 14859 34 20 14 26 0 158 1 amappl16 192 10102 0 9257 68 25 43 55 0 8 0 amappl15 184 2 0 2 2 2 0 1 0 8 0 amappl14 176 1345 0 1335 1 0 1 1 0 8 0 amappl13 168 65 0 64 1 0 1 1 0 8 0 amappl12 160 35 0 28 1 0 1 1 0 8 0 amappl11 152 620 0 603 1 0 1 1 0 8 0 amappl10 144 122 0 119 1 0 1 1 0 8 0 amappl9 136 374 0 373 2 1 1 1 0 8 0 amappl8 128 250 0 175 3 0 3 3 0 8 0 amappl7 120 423 0 415 1 0 1 1 0 8 0 amappl6 112 703 0 686 1 0 1 1 0 8 0 amappl5 104 2822 0 2807 1 0 1 1 0 8 0 amappl4 96 559 0 526 1 0 1 1 0 8 0 amappl3 88 1374 0 1364 1 0 1 1 0 8 0 amappl2 80 19728 0 19658 3 1 2 3 0 8 0 amappl1 72 90523 0 90066 24 14 10 19 0 8 0 amappl 80 7862 0 7772 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 56 0 4 1 0 1 1 0 8 0 uaddrrnd 24 2881 0 2858 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2881 0 2858 1 0 1 1 0 8 0 vmmpekpl 168 22175 0 22132 3 0 3 3 0 8 0 vmmpepl 168 365400 0 363276 224 125 99 129 0 357 0 vmsppl 368 2880 0 2858 4 1 3 3 0 8 0 pdppl 4096 5769 0 5723 8 2 6 7 0 8 0 pvpl 32 785187 0 763852 290 113 177 211 0 265 3 pmappl 232 2880 0 2858 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 296 0 36 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800025197310,138,0,ffff8000251974d4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800025197310,138,0,ffff8000251974d4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044880,ffff8000251975b8,fffffd806d714c00) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff8000251976b8,0,ffff800000ac1fd8,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b27000,ffff800025197988) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800025197988,ffff800025197994,29,0,ffff800000b27000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b27000,fffffd806d714c00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800025197c78,ffff800020ed7000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800025197ad0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8074157278,ffff800025197c78,11,fffffd807f7bf840) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd80683b1ef0,ffff800025197c78,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002518c790,f0,ffff800025197c78,0,ffff800025197d60) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002518c790,ffff800025197d10,ffff800025197d60) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800025197de0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800025197de0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd2c4a4f9d70, 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 end of kernel end trace frame: 0xc002418d58, count: -3