uvm_fault(0xffffffff8277aa10, 0xffffffff8269b898, 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, 0xffffffff8269b898, 0, 2) -> e m_copyback(ffff800021fa3320,138,0,ffff800021fa34e4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800021fa3320,138,0,ffff800021fa34e4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800021fa35a0, count: 0 ddb{0}> trace m_copyback(ffff800021fa3320,138,0,ffff800021fa34e4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800021fa3320,138,0,ffff800021fa34e4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a80,ffff800021fa35c8,fffffd806421a800) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800021fa36c8,0,ffff800000b50010,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b36000,ffff800021fa3998) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800021fa3998,ffff800021fa39a4,29,0,ffff800000b36000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b36000,fffffd806421a800) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800021fa3c88,ffff80002310d000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800021fa3ae0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8074e800d8,ffff800021fa3c88,11,fffffd807f7bf840) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806caa3568,ffff800021fa3c88,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020ec58c8,f0,ffff800021fa3c88,0,ffff800021fa3d70) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020ec58c8,ffff800021fa3d20,ffff800021fa3d70) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021fa3df0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021fa3df0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdbd3f659db0, count: -14 ddb{0}> show registers rdi 0 rsi 0x729d9 acpi_pdirpa+0x5e841 rbp 0xffff800021fa3300 rbx 0xffffffffffffd3ca rdx 0x729d8 acpi_pdirpa+0x5e840 rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0xde6ce037481944fd r12 0xfffffd8064106100 r13 0x108 r14 0x30 r15 0xffff800021fa3500 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021fa3240 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.1) pid=364776 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800020ecf658,0xffffffff82888178 process=0xffff800020e38008 user=0xffff800021f9e000, vmspace=0xfffffd807effe2e0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 51407 484583 72870 0 2 0 syz-executor.1 *51407 364776 72870 0 7 0x4000000 syz-executor.1 72870 249965 9272 0 3 0x82 nanosleep syz-executor.1 86686 459341 0 0 3 0x14280 nfsidl nfsio 58853 440610 0 0 3 0x14280 nfsidl nfsio 78399 56654 0 0 3 0x14280 nfsidl nfsio 23873 176679 0 0 3 0x14280 nfsidl nfsio 18023 3810 0 0 3 0x14280 nfsidl nfsio 99051 214785 0 0 3 0x14280 nfsidl nfsio 81930 36399 0 0 3 0x14280 nfsidl nfsio 13881 44730 0 0 3 0x14280 nfsidl nfsio 38653 218563 0 0 3 0x14280 nfsidl nfsio 21148 466580 0 0 3 0x14280 nfsidl nfsio 97753 9550 0 0 3 0x14280 nfsidl nfsio 41880 324241 0 0 3 0x14280 nfsidl nfsio 45034 186823 0 0 3 0x14280 nfsidl nfsio 75465 350438 0 0 3 0x14280 nfsidl nfsio 73878 5821 0 0 3 0x14280 nfsidl nfsio 94452 337291 0 0 3 0x14280 nfsidl nfsio 8498 458256 0 0 3 0x14280 nfsidl nfsio 74413 369364 0 0 3 0x14280 nfsidl nfsio 55034 68740 0 0 3 0x14280 nfsidl nfsio 30967 166696 0 0 3 0x14280 nfsidl nfsio 15896 175545 0 0 3 0x14200 bored sosplice 32021 3959 9272 0 3 0x82 piperd syz-executor.0 9272 9625 36644 0 3 0x82 thrsleep syz-fuzzer 9272 364848 36644 0 3 0x4000082 nanosleep syz-fuzzer 9272 407539 36644 0 3 0x4000082 thrsleep syz-fuzzer 9272 308603 36644 0 3 0x4000082 thrsleep syz-fuzzer 9272 52296 36644 0 3 0x4000082 thrsleep syz-fuzzer 9272 269590 36644 0 3 0x4000082 thrsleep syz-fuzzer 9272 115817 36644 0 7 0x4000002 syz-fuzzer 9272 296183 36644 0 3 0x4000082 kqread syz-fuzzer 36644 310492 94698 0 3 0x10008a pause ksh 94698 168890 13008 0 3 0x92 select sshd 94957 254678 1 0 3 0x100083 ttyin getty 13008 187654 1 0 3 0x80 select sshd 97858 67101 57240 74 3 0x100092 bpf pflogd 57240 178149 1 0 3 0x80 netio pflogd 71034 143229 23666 73 3 0x100090 kqread syslogd 23666 6968 1 0 3 0x100082 netio syslogd 40518 466195 1 77 3 0x100090 poll dhclient 73572 468155 1 0 3 0x80 poll dhclient 39963 49649 0 0 3 0x14200 bored smr 15578 486118 0 0 2 0x14200 zerothread 99485 183309 0 0 3 0x14200 aiodoned aiodoned 1216 439009 0 0 3 0x14200 syncer update 5980 442147 0 0 3 0x14200 cleaner cleaner 53554 170046 0 0 3 0x14200 reaper reaper 17031 79308 0 0 3 0x14200 pgdaemon pagedaemon 45463 140754 0 0 3 0x14200 bored crynlk 26768 362450 0 0 3 0x14200 bored crypto 96558 195797 0 0 3 0x40014200 acpi0 acpi0 79954 190700 0 0 3 0x40014200 idle1 97465 268554 0 0 3 0x14200 bored softnet 39499 290126 0 0 3 0x14200 bored systqmp 39334 202761 0 0 3 0x14200 bored systq 81159 187680 0 0 3 0x40014200 bored softclock 74288 43216 0 0 3 0x40014200 idle0 1 482974 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 51407 (syz-executor.1) thread 0xffff800020ec58c8 (364776) 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 9541 6441K 6804K 78643K 11672 0 pcb 13 8K 8K 78643K 138 0 rtable 98 6K 8K 78643K 617 0 ifaddr 87 15K 16K 78643K 193 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 67 0 ioctlops 0 0K 4K 78643K 1677 0 iov 0 0K 16K 78643K 118 0 mount 1 1K 1K 78643K 1 0 vnodes 1234 78K 78K 78643K 1681 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 252 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 1060 0 sigio 0 0K 0K 78643K 18 0 proc 61 63K 95K 78643K 660 0 subproc 32 2K 3K 78643K 153 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 74 0 in_multi 30 2K 2K 78643K 142 0 ether_multi 1 0K 0K 78643K 19 0 mrt 0 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 2K 78643K 528 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 145 75K 91K 78643K 4030 0 UVM aobj 39 7K 7K 78643K 41 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 126 0 NDP 16 0K 0K 78643K 43 0 temp 150 3967K 4045K 78643K 7912 0 kqueue 4 6K 20K 78643K 33 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 12 0 6 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 54 0 52 1 0 1 1 0 8 0 rtentry 112 105 0 74 2 0 2 2 0 8 0 unpcb 120 2548 0 2538 1 0 1 1 0 8 0 syncache 272 8 0 8 3 2 1 1 0 8 1 tcpcb 592 460 0 454 4 3 1 2 0 8 0 inpcb 296 1065 0 1058 6 4 2 2 0 8 1 rttmr 72 4 0 4 3 3 0 1 0 8 0 nd6 48 24 0 18 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 ppxss 1136 2 0 2 2 2 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 13 0 13 3 3 0 1 0 482 0 pffrnode 88 13 0 13 3 3 0 1 0 8 0 pffrent 40 115 0 115 3 3 0 1 0 8 0 pfosfp 40 848 0 423 5 0 5 5 0 8 0 pfosfpen 112 1431 0 714 21 0 21 21 0 8 0 pfrktable 1344 60 0 54 2 1 1 1 0 8 0 pfstitem 24 36 0 34 1 0 1 1 0 8 0 pfstkey 112 40 0 38 1 0 1 1 0 8 0 pfstate 328 38 0 36 3 2 1 3 0 8 0 pfrule 1360 56 0 40 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 588 0 432 15 5 10 12 0 8 0 art_table 32 589 0 432 2 0 2 2 0 8 0 art_node 16 104 0 77 1 0 1 1 0 8 0 sysvmsgpl 40 38 0 29 2 1 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 242 0 232 1 0 1 1 0 8 0 shmpl 112 38 0 2 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2690 0 1288 89 1 88 89 0 8 0 ffsino 272 2690 0 1288 94 0 94 94 0 8 0 nchpl 144 4807 0 3228 60 0 60 60 0 8 0 uvmvnodes 72 3092 0 0 57 0 57 57 0 8 0 vnodes 208 3092 0 0 163 0 163 163 0 8 0 namei 1024 13475 0 13475 2 1 1 1 0 8 1 percpumem 16 44 0 12 1 0 1 1 0 8 0 vcpupl 1984 7 0 1 1 0 1 1 0 8 0 vmpool 560 16 0 10 2 1 1 1 0 8 0 pfiaddrpl 120 23 0 17 2 1 1 1 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 200 13010 0 13010 12 11 1 7 0 8 1 plimitpl 152 91 0 83 1 0 1 1 0 8 0 sigapl 424 1275 0 1223 7 1 6 7 0 8 0 futexpl 56 16809 0 16809 2 1 1 1 0 8 1 knotepl 112 183 0 163 1 0 1 1 0 8 0 kqueuepl 152 125 0 120 1 0 1 1 0 8 0 pipepl 304 229 0 218 7 5 2 2 0 8 1 fdescpl 496 1239 0 1223 3 0 3 3 0 8 0 filepl 152 8649 0 8547 8 3 5 7 0 8 1 lockfpl 104 286 0 285 1 0 1 1 0 8 0 lockfspl 48 98 0 97 1 0 1 1 0 8 0 sessionpl 120 25 0 14 1 0 1 1 0 8 0 pgrppl 48 29 0 18 1 0 1 1 0 8 0 ucredpl 96 786 0 777 1 0 1 1 0 8 0 zombiepl 144 1223 0 1223 2 1 1 1 0 8 1 processpl 1008 1275 0 1223 8 1 7 7 0 8 0 procpl 632 3335 0 3275 6 0 6 6 0 8 1 sosppl 144 26 0 26 6 6 0 1 0 8 0 sockpl 400 3676 0 3657 9 5 4 4 0 8 2 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 15 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 178 0 0 22 0 22 22 0 8 0 mtagpl 96 56 0 0 2 0 2 2 0 8 0 mbufpl 256 390 0 0 18 0 18 18 0 8 0 bufpl 280 5461 0 187 377 0 377 377 0 8 0 anonpl 16 145477 0 128202 108 30 78 88 0 124 4 amapchunkpl 152 7974 0 7691 36 20 16 25 0 158 3 amappl16 192 4753 0 3898 67 23 44 54 0 8 1 amappl15 184 371 0 370 2 1 1 1 0 8 0 amappl14 176 295 0 288 1 0 1 1 0 8 0 amappl13 168 47 0 46 1 0 1 1 0 8 0 amappl12 160 26 0 22 1 0 1 1 0 8 0 amappl11 152 68 0 53 1 0 1 1 0 8 0 amappl10 144 12 0 8 1 0 1 1 0 8 0 amappl9 136 707 0 704 1 0 1 1 0 8 0 amappl8 128 519 0 476 2 0 2 2 0 8 0 amappl7 120 301 0 294 1 0 1 1 0 8 0 amappl6 112 145 0 131 1 0 1 1 0 8 0 amappl5 104 1172 0 1159 1 0 1 1 0 8 0 amappl4 96 483 0 458 1 0 1 1 0 8 0 amappl3 88 374 0 367 1 0 1 1 0 8 0 amappl2 80 8247 0 8173 3 1 2 3 0 8 0 amappl1 72 48230 0 47763 25 15 10 19 0 8 0 amappl 80 3671 0 3591 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 40 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1255 0 1233 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1255 0 1233 1 0 1 1 0 8 0 vmmpekpl 168 11424 0 11381 3 0 3 3 0 8 0 vmmpepl 168 171875 0 169782 222 96 126 131 0 357 33 vmsppl 368 1254 0 1233 3 0 3 3 0 8 1 pdppl 4096 2517 0 2472 7 1 6 7 0 8 0 pvpl 32 432773 0 412441 245 60 185 208 0 265 13 pmappl 232 1254 0 1233 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 277 0 18 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800021fa3320,138,0,ffff800021fa34e4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800021fa3320,138,0,ffff800021fa34e4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a80,ffff800021fa35c8,fffffd806421a800) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800021fa36c8,0,ffff800000b50010,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b36000,ffff800021fa3998) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800021fa3998,ffff800021fa39a4,29,0,ffff800000b36000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b36000,fffffd806421a800) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800021fa3c88,ffff80002310d000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800021fa3ae0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8074e800d8,ffff800021fa3c88,11,fffffd807f7bf840) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806caa3568,ffff800021fa3c88,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020ec58c8,f0,ffff800021fa3c88,0,ffff800021fa3d70) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020ec58c8,ffff800021fa3d20,ffff800021fa3d70) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021fa3df0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021fa3df0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdbd3f659db0, 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: 0xc0010f6848, count: -3