uvm_fault(0xffffffff8277aa10, 0xffffffff8269dd28, 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, 0xffffffff8269dd28, 0, 2) -> e m_copyback(ffff800023ff10f0,158,0,ffff800023ff12b4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023ff10f0,158,0,ffff800023ff12b4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800023ff1370, count: 0 ddb{0}> trace m_copyback(ffff800023ff10f0,158,0,ffff800023ff12b4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023ff10f0,158,0,ffff800023ff12b4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044940,ffff800023ff1398,fffffd8064138300) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800023ff1498,0,ffff800000ac0a98,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b27800,ffff800023ff1768) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800023ff1768,ffff800023ff1774,29,0,ffff800000b27800) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b27800,fffffd8064138300) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800023ff1a58,ffff800022d0b000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800023ff18b0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8064173770,ffff800023ff1a58,11,fffffd807f7bf6c0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067bf7ac8,ffff800023ff1a58,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800023f28028,f0,ffff800023ff1a58,0,ffff800023ff1b40) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800023f28028,ffff800023ff1af0,ffff800023ff1b40) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800023ff1bc0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023ff1bc0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9bfca38ee10, count: -14 ddb{0}> show registers rdi 0 rsi 0x7a74f acpi_pdirpa+0x665b7 rbp 0xffff800023ff10d0 rbx 0xffffffffffffd85c rdx 0x7a74e acpi_pdirpa+0x665b6 rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0x5469101a3e3a0545 r12 0xfffffd8064133900 r13 0x128 r14 0x30 r15 0xffff800023ff12d0 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023ff1010 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.1) pid=76381 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800023f28a08,0xffffffff82888178 process=0xffff800020ec4008 user=0xffff800023fec000, vmspace=0xfffffd80670fe750 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 89998 410731 90547 0 7 0 syz-executor.1 *89998 76381 90547 0 7 0x4000000 syz-executor.1 90547 21264 57259 0 3 0x82 nanosleep syz-executor.1 71478 456843 1 0 3 0x100083 ttyin getty 29771 113596 57259 0 3 0x82 nanosleep syz-executor.0 35482 122076 0 0 3 0x14280 nfsidl nfsio 35821 103276 0 0 3 0x14280 nfsidl nfsio 82405 29575 0 0 3 0x14280 nfsidl nfsio 88617 421647 0 0 3 0x14280 nfsidl nfsio 56083 278396 0 0 3 0x14280 nfsidl nfsio 32953 299113 0 0 3 0x14280 nfsidl nfsio 14357 284057 0 0 3 0x14280 nfsidl nfsio 86583 115153 0 0 3 0x14280 nfsidl nfsio 89976 471594 0 0 3 0x14280 nfsidl nfsio 95445 256348 0 0 3 0x14280 nfsidl nfsio 99172 128245 0 0 3 0x14280 nfsidl nfsio 63392 264466 0 0 3 0x14280 nfsidl nfsio 87463 381701 0 0 3 0x14280 nfsidl nfsio 71947 442527 0 0 3 0x14280 nfsidl nfsio 57285 307819 0 0 3 0x14280 nfsidl nfsio 16286 89820 0 0 3 0x14280 nfsidl nfsio 2371 330081 0 0 3 0x14280 nfsidl nfsio 92009 492603 0 0 3 0x14280 nfsidl nfsio 16119 84033 0 0 3 0x14280 nfsidl nfsio 66170 12711 0 0 3 0x14280 nfsidl nfsio 87858 19271 0 0 3 0x14200 bored sosplice 57259 428099 90678 0 3 0x82 kqread syz-fuzzer 57259 426932 90678 0 3 0x4000082 thrsleep syz-fuzzer 57259 315509 90678 0 3 0x4000082 thrsleep syz-fuzzer 57259 141 90678 0 3 0x4000082 thrsleep syz-fuzzer 57259 429954 90678 0 3 0x4000082 thrsleep syz-fuzzer 57259 45249 90678 0 3 0x4000082 thrsleep syz-fuzzer 57259 469213 90678 0 3 0x4000082 thrsleep syz-fuzzer 57259 157428 90678 0 3 0x4000082 thrsleep syz-fuzzer 90678 286244 21394 0 3 0x10008a pause ksh 21394 519076 69286 0 3 0x92 select sshd 69286 336949 1 0 3 0x80 select sshd 77375 151100 21541 74 3 0x100092 bpf pflogd 21541 154857 1 0 3 0x80 netio pflogd 6088 412262 87173 73 3 0x100090 kqread syslogd 87173 511449 1 0 3 0x100082 netio syslogd 46631 393864 1 77 3 0x100090 poll dhclient 79321 502824 1 0 3 0x80 poll dhclient 87535 443706 0 0 3 0x14200 pause smr 43368 442531 0 0 3 0x14200 pgzero zerothread 39787 425882 0 0 3 0x14200 aiodoned aiodoned 67424 387912 0 0 3 0x14200 syncer update 92611 473663 0 0 3 0x14200 cleaner cleaner 62795 223538 0 0 3 0x14200 reaper reaper 67705 417794 0 0 3 0x14200 pgdaemon pagedaemon 87166 265915 0 0 3 0x14200 bored crynlk 40544 384541 0 0 3 0x14200 bored crypto 900 50036 0 0 3 0x40014200 acpi0 acpi0 73012 104600 0 0 3 0x40014200 idle1 51989 414215 0 0 3 0x14200 bored softnet 48773 436538 0 0 3 0x14200 bored systqmp 52262 259485 0 0 3 0x14200 bored systq 65342 195629 0 0 3 0x40014200 bored softclock 25055 395383 0 0 3 0x40014200 idle0 1 236081 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 89998 (syz-executor.1) thread 0xffff800023f28028 (76381) 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 9572 6821K 7268K 78643K 14255 0 pcb 13 8K 8K 78643K 458 0 rtable 121 6K 8K 78643K 844 0 ifaddr 85 15K 16K 78643K 291 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 105 0 ioctlops 0 0K 4K 78643K 1793 0 iov 0 0K 32K 78643K 169 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 2240 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 40 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 126 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 2162 0 sigio 0 0K 0K 78643K 82 0 proc 62 63K 83K 78643K 794 0 subproc 32 2K 2K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 121 0 in_multi 29 1K 2K 78643K 279 0 ether_multi 1 0K 0K 78643K 33 0 mrt 0 0K 0K 78643K 16 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 2K 78643K 565 0 pfkey data 0 0K 0K 78643K 2 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 198 178K 194K 78643K 7564 0 UVM aobj 94 8K 8K 78643K 116 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 197 0 NDP 16 0K 0K 78643K 76 0 temp 148 3965K 4030K 78643K 22270 0 kqueue 3 4K 18K 78643K 65 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 18 0 13 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 99 0 97 1 0 1 1 0 8 0 rtentry 112 173 0 130 2 0 2 2 0 8 0 unpcb 120 4390 0 4376 11 9 2 2 0 8 1 syncache 272 18 0 18 5 5 0 1 0 8 0 tcpqe 32 4 0 4 2 2 0 1 0 8 0 tcpcb 592 481 0 473 9 7 2 2 0 8 1 inpcb 296 1725 0 1718 10 8 2 2 0 8 1 rttmr 72 5 0 5 3 3 0 1 0 8 0 nd6 48 55 0 48 1 0 1 1 0 8 0 pkpcb 40 14 0 14 4 4 0 1 0 8 0 ppxss 1136 3 0 3 3 3 0 1 0 8 0 pffrag 232 23 0 22 4 3 1 1 0 482 0 pffrnode 88 23 0 22 4 3 1 1 0 8 0 pffrent 40 309 0 308 4 3 1 1 0 8 0 pfosfp 40 846 0 846 5 5 0 5 0 8 0 pfosfpen 112 1428 0 1428 21 21 0 21 0 8 0 pfrktable 1344 26 0 22 2 1 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 4 0 4 2 2 0 1 0 8 0 pfstitem 24 31 0 29 1 0 1 1 0 8 0 pfstkey 112 31 0 29 1 0 1 1 0 8 0 pfstate 328 31 0 29 2 1 1 2 0 8 0 pfrule 1360 38 0 31 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1067 0 829 24 9 15 17 0 8 0 art_table 32 1069 0 829 4 1 3 3 0 8 0 art_node 16 170 0 130 1 0 1 1 0 8 0 sysvmsgpl 40 31 0 7 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 124 0 114 1 0 1 1 0 8 0 shmpl 112 113 0 22 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4447 0 3053 88 0 88 88 0 8 0 ffsino 272 4447 0 3053 94 0 94 94 0 8 0 nchpl 144 7952 0 6357 60 0 60 60 0 8 0 uvmvnodes 72 5333 0 0 97 0 97 97 0 8 0 vnodes 208 5333 0 0 281 0 281 281 0 8 0 namei 1024 23951 0 23951 5 4 1 1 0 8 1 percpumem 16 63 0 31 1 0 1 1 0 8 0 vcpupl 1984 19 0 0 3 0 3 3 0 8 0 vmpool 560 25 0 6 2 0 2 2 0 8 0 pfiaddrpl 120 11 0 7 2 1 1 1 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 200 21856 0 21856 18 17 1 7 0 8 1 plimitpl 152 160 0 152 1 0 1 1 0 8 0 sigapl 424 2388 0 2336 7 1 6 7 0 8 0 futexpl 56 27607 0 27607 5 4 1 1 0 8 1 knotepl 112 178 0 158 1 0 1 1 0 8 0 kqueuepl 152 198 0 196 1 0 1 1 0 8 0 pipepl 304 388 0 377 11 9 2 2 0 8 1 fdescpl 496 2352 0 2336 3 0 3 3 0 8 0 filepl 152 15916 0 15811 14 8 6 6 0 8 1 lockfpl 104 374 0 373 1 0 1 1 0 8 0 lockfspl 48 138 0 137 1 0 1 1 0 8 0 sessionpl 120 24 0 13 1 0 1 1 0 8 0 pgrppl 48 47 0 36 1 0 1 1 0 8 0 ucredpl 96 1307 0 1298 1 0 1 1 0 8 0 zombiepl 144 2336 0 2335 2 1 1 1 0 8 0 processpl 1008 2388 0 2335 7 0 7 7 0 8 0 procpl 632 6785 0 6724 6 0 6 6 0 8 0 srpgc 72 2 0 2 1 1 0 1 0 8 0 sosppl 144 20 0 20 6 6 0 1 0 8 0 sockpl 400 6237 0 6214 29 24 5 7 0 8 2 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 8 0 0 1 0 1 1 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 8 0 0 1 0 1 1 0 8 0 mcl8k 8192 21 0 0 3 0 3 3 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 187 0 0 20 0 20 20 0 8 0 mtagpl 96 64 0 0 2 0 2 2 0 8 0 mbufpl 256 584 0 0 25 0 25 25 0 8 0 bufpl 280 6735 0 479 447 0 447 447 0 8 0 anonpl 16 236625 0 218865 118 41 77 90 0 124 0 amapchunkpl 152 14569 0 14245 50 23 27 27 0 158 11 amappl16 192 8643 0 7785 90 46 44 56 0 8 0 amappl15 184 36 0 35 1 0 1 1 0 8 0 amappl14 176 373 0 365 1 0 1 1 0 8 0 amappl13 168 173 0 168 1 0 1 1 0 8 0 amappl12 160 748 0 744 1 0 1 1 0 8 0 amappl11 152 86 0 70 1 0 1 1 0 8 0 amappl10 144 22 0 18 1 0 1 1 0 8 0 amappl9 136 1215 0 1215 1 1 0 1 0 8 0 amappl8 128 1119 0 1048 3 0 3 3 0 8 0 amappl7 120 303 0 296 1 0 1 1 0 8 0 amappl6 112 157 0 136 1 0 1 1 0 8 0 amappl5 104 2817 0 2802 1 0 1 1 0 8 0 amappl4 96 795 0 764 1 0 1 1 0 8 0 amappl3 88 502 0 494 1 0 1 1 0 8 0 amappl2 80 15776 0 15702 3 1 2 3 0 8 0 amappl1 72 83723 0 83257 24 14 10 19 0 8 0 amappl 80 7162 0 7065 3 0 3 3 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 115 0 22 2 0 2 2 0 8 0 uaddrrnd 24 2377 0 2342 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2377 0 2342 1 0 1 1 0 8 0 vmmpekpl 168 20204 0 20155 3 0 3 3 0 8 0 vmmpepl 168 311866 0 309698 226 111 115 132 0 357 14 vmsppl 368 2376 0 2342 5 1 4 4 0 8 0 pdppl 4096 4761 0 4703 9 1 8 8 0 8 0 pvpl 32 734395 0 713248 304 122 182 215 0 265 0 pmappl 232 2376 0 2342 3 0 3 3 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 321 0 47 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800023ff10f0,158,0,ffff800023ff12b4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023ff10f0,158,0,ffff800023ff12b4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044940,ffff800023ff1398,fffffd8064138300) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800023ff1498,0,ffff800000ac0a98,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b27800,ffff800023ff1768) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800023ff1768,ffff800023ff1774,29,0,ffff800000b27800) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b27800,fffffd8064138300) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800023ff1a58,ffff800022d0b000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800023ff18b0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8064173770,ffff800023ff1a58,11,fffffd807f7bf6c0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067bf7ac8,ffff800023ff1a58,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800023f28028,f0,ffff800023ff1a58,0,ffff800023ff1b40) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800023f28028,ffff800023ff1af0,ffff800023ff1b40) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800023ff1bc0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023ff1bc0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9bfca38ee10, 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: 0x7f7ffffdbea0, count: -3