uvm_fault(0xffffffff8277aa10, 0xffffffff826966d8, 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, 0xffffffff826966d8, 0, 2) -> e m_copyback(ffff800022fab090,138,0,ffff800022fab254,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800022fab090,138,0,ffff800022fab254,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800022fab310, count: 0 ddb{0}> trace m_copyback(ffff800022fab090,138,0,ffff800022fab254,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800022fab090,138,0,ffff800022fab254,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044880,ffff800022fab338,fffffd806f33e300) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800022fab438,0,ffff800000b89000,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b94000,ffff800022fab708) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800022fab708,ffff800022fab714,29,0,ffff800000b94000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b94000,fffffd806f33e300) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800022fab9f8,ffff80002411b000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800022fab850) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd80711570d8,ffff800022fab9f8,11,fffffd807f7bfa20) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806ca970a8,ffff800022fab9f8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021f9e520,f0,ffff800022fab9f8,0,ffff800022fabae0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800021f9e520,ffff800022faba90,ffff800022fabae0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800022fabb60) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022fabb60) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5e5f5cbabd0, count: -14 ddb{0}> show registers rdi 0 rsi 0x72c65 acpi_pdirpa+0x5eacd rbp 0xffff800022fab070 rbx 0xffffffffffffc992 rdx 0x72c64 acpi_pdirpa+0x5eacc rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0xcad60d2c1252f45a r12 0xfffffd806d434700 r13 0x108 r14 0x30 r15 0xffff800022fab270 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800022faafb0 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=191027 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800021f9ec88,0xffffffff82888178 process=0xffff800021f8afc8 user=0xffff800022fa6000, vmspace=0xfffffd806431e460 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 17336 129602 68498 0 2 0 syz-executor.0 *17336 191027 68498 0 7 0x4000000 syz-executor.0 68498 54297 59938 0 3 0x82 nanosleep syz-executor.0 92797 350720 0 0 3 0x14280 nfsidl nfsio 98870 236480 0 0 3 0x14280 nfsidl nfsio 51769 378765 0 0 3 0x14280 nfsidl nfsio 74784 158189 0 0 3 0x14280 nfsidl nfsio 26109 359058 0 0 3 0x14280 nfsidl nfsio 68325 511840 0 0 3 0x14280 nfsidl nfsio 52491 455946 0 0 3 0x14280 nfsidl nfsio 62050 495501 0 0 3 0x14280 nfsidl nfsio 19019 43273 0 0 3 0x14280 nfsidl nfsio 51070 404169 0 0 3 0x14280 nfsidl nfsio 64788 81455 0 0 3 0x14280 nfsidl nfsio 55023 211230 0 0 3 0x14280 nfsidl nfsio 18881 89241 0 0 3 0x14280 nfsidl nfsio 31707 512037 0 0 3 0x14280 nfsidl nfsio 55545 70700 0 0 3 0x14280 nfsidl nfsio 18618 420750 0 0 3 0x14280 nfsidl nfsio 67664 446704 0 0 3 0x14280 nfsidl nfsio 59337 114237 0 0 3 0x14280 nfsidl nfsio 15729 503831 0 0 3 0x14280 nfsidl nfsio 13767 279237 0 0 3 0x14280 nfsidl nfsio 39466 124637 1 0 3 0x100083 ttyin getty 94876 512500 0 0 3 0x14200 bored sosplice 6890 407401 59938 0 3 0x82 piperd syz-executor.1 59938 465622 89441 0 3 0x82 thrsleep syz-fuzzer 59938 138992 89441 0 3 0x4000082 nanosleep syz-fuzzer 59938 367109 89441 0 3 0x4000082 thrsleep syz-fuzzer 59938 257157 89441 0 3 0x4000082 thrsleep syz-fuzzer 59938 465030 89441 0 7 0x4000002 syz-fuzzer 59938 378249 89441 0 3 0x4000082 kqread syz-fuzzer 59938 425147 89441 0 3 0x4000082 thrsleep syz-fuzzer 59938 440632 89441 0 3 0x4000082 thrsleep syz-fuzzer 89441 344074 99474 0 3 0x10008a pause ksh 99474 444573 15802 0 3 0x92 select sshd 15802 75835 1 0 3 0x80 select sshd 80697 241898 6363 74 3 0x100092 bpf pflogd 6363 405401 1 0 3 0x80 netio pflogd 41332 295621 42310 73 3 0x100090 kqread syslogd 42310 397692 1 0 3 0x100082 netio syslogd 67554 186303 1 77 3 0x100090 poll dhclient 84124 178724 1 0 3 0x80 poll dhclient 25755 306120 0 0 3 0x14200 bored smr 47432 36441 0 0 2 0x14200 zerothread 34294 447937 0 0 3 0x14200 aiodoned aiodoned 66828 43737 0 0 3 0x14200 syncer update 11965 173031 0 0 3 0x14200 cleaner cleaner 29117 326864 0 0 3 0x14200 reaper reaper 46361 412336 0 0 3 0x14200 pgdaemon pagedaemon 69013 457270 0 0 3 0x14200 bored crynlk 19041 211539 0 0 3 0x14200 bored crypto 72292 490004 0 0 3 0x40014200 acpi0 acpi0 61011 285826 0 0 3 0x40014200 idle1 12488 226701 0 0 3 0x14200 bored softnet 37148 262277 0 0 3 0x14200 bored systqmp 79596 264944 0 0 3 0x14200 bored systq 81488 187158 0 0 3 0x40014200 bored softclock 82801 136661 0 0 3 0x40014200 idle0 1 394552 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 17336 (syz-executor.0) thread 0xffff800021f9e520 (191027) 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 9525 6425K 6798K 78643K 11578 0 pcb 13 8K 8K 78643K 117 0 rtable 124 10K 13K 78643K 589 0 ifaddr 84 16K 17K 78643K 173 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 65 0 ioctlops 0 0K 4K 78643K 1621 0 iov 0 0K 32K 78643K 70 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1538 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 25 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 230 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 844 0 sigio 0 0K 0K 78643K 10 0 proc 62 63K 95K 78643K 528 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 93 0 in_multi 25 1K 2K 78643K 131 0 ether_multi 1 0K 0K 78643K 17 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 410 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 152 106K 110K 78643K 3415 0 UVM aobj 26 7K 7K 78643K 30 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 89 0 NDP 13 0K 0K 78643K 38 0 temp 155 4000K 4064K 78643K 8308 0 kqueue 3 4K 8K 78643K 47 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 47 0 45 1 0 1 1 0 8 0 rtentry 112 112 0 74 2 0 2 2 0 8 0 unpcb 120 362 0 352 1 0 1 1 0 8 0 syncache 272 15 0 15 5 4 1 1 0 8 1 tcpqe 32 418 0 418 2 2 0 1 0 8 0 tcpcb 592 955 0 948 8 6 2 4 0 8 1 inpcb 296 1396 0 1389 4 2 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 3 0 3 1 1 0 1 0 8 0 nd6 48 28 0 26 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfstscr 40 8 0 8 2 2 0 1 0 8 0 pffrag 232 5 0 4 2 1 1 1 0 482 0 pffrnode 88 5 0 4 2 1 1 1 0 8 0 pffrent 40 141 0 140 2 1 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 61 0 48 2 0 2 2 0 8 0 pftag 88 8 0 6 3 2 1 1 0 8 0 pfstitem 24 21 0 19 1 0 1 1 0 8 0 pfstkey 112 27 0 25 1 0 1 1 0 8 0 pfstate 328 23 0 21 2 1 1 2 0 8 0 pfsrctr 152 248 0 228 3 2 1 3 0 8 0 pfrule 1360 60 0 37 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 454 0 292 17 4 13 17 0 8 2 art_table 32 455 0 292 3 0 3 3 0 8 1 art_node 16 111 0 75 1 0 1 1 0 8 0 sysvmsgpl 40 41 0 12 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 228 0 218 1 0 1 1 0 8 0 shmpl 112 27 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2451 0 1048 89 1 88 89 0 8 0 ffsino 272 2451 0 1048 94 0 94 94 0 8 0 nchpl 144 4150 0 2564 60 0 60 60 0 8 0 uvmvnodes 72 2732 0 0 50 0 50 50 0 8 0 vnodes 208 2732 0 0 144 0 144 144 0 8 0 namei 1024 11134 0 11134 2 1 1 1 0 8 1 percpumem 16 43 0 11 1 0 1 1 0 8 0 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 560 14 0 6 1 0 1 1 0 8 0 pfiaddrpl 120 21 0 12 1 0 1 1 0 8 0 scxspl 200 11055 0 11055 11 10 1 7 0 8 1 plimitpl 152 73 0 65 1 0 1 1 0 8 0 sigapl 424 1078 0 1026 6 0 6 6 0 8 0 futexpl 56 12962 0 12962 2 1 1 1 0 8 1 knotepl 112 124 0 104 1 0 1 1 0 8 0 kqueuepl 152 298 0 295 1 0 1 1 0 8 0 pipepl 304 217 0 206 4 2 2 2 0 8 0 fdescpl 496 1042 0 1026 3 0 3 3 0 8 0 filepl 152 6434 0 6331 6 1 5 6 0 8 1 lockfpl 104 186 0 185 1 0 1 1 0 8 0 lockfspl 48 65 0 64 1 0 1 1 0 8 0 sessionpl 120 20 0 9 1 0 1 1 0 8 0 pgrppl 48 37 0 26 1 0 1 1 0 8 0 ucredpl 96 636 0 627 1 0 1 1 0 8 0 zombiepl 144 1026 0 1026 2 1 1 1 0 8 1 processpl 1008 1078 0 1026 8 1 7 7 0 8 0 procpl 632 2793 0 2733 7 1 6 6 0 8 0 sosppl 144 5 0 5 2 2 0 1 0 8 0 sockpl 400 1816 0 1795 9 5 4 6 0 8 1 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 10 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 297 0 0 37 1 36 37 0 8 0 mtagpl 96 62 0 0 2 0 2 2 0 8 0 mbufpl 256 418 0 0 25 0 25 25 0 8 0 bufpl 280 4773 0 191 328 0 328 328 0 8 0 anonpl 16 123961 0 109461 95 19 76 90 0 124 0 amapchunkpl 152 6851 0 6573 32 20 12 25 0 158 0 amappl16 192 4360 0 3455 63 16 47 56 0 8 1 amappl15 184 2 0 1 2 1 1 1 0 8 0 amappl14 176 30 0 26 1 0 1 1 0 8 0 amappl13 168 31 0 30 1 0 1 1 0 8 0 amappl12 160 41 0 35 1 0 1 1 0 8 0 amappl11 152 68 0 51 1 0 1 1 0 8 0 amappl10 144 10 0 7 1 0 1 1 0 8 0 amappl9 136 846 0 846 1 0 1 1 0 8 1 amappl8 128 655 0 612 2 0 2 2 0 8 0 amappl7 120 280 0 271 1 0 1 1 0 8 0 amappl6 112 132 0 117 1 0 1 1 0 8 0 amappl5 104 1164 0 1147 1 0 1 1 0 8 0 amappl4 96 315 0 285 1 0 1 1 0 8 0 amappl3 88 101 0 94 1 0 1 1 0 8 0 amappl2 80 6696 0 6621 3 1 2 3 0 8 0 amappl1 72 41992 0 41532 24 14 10 19 0 8 0 amappl 80 3096 0 3013 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 29 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1056 0 1032 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1056 0 1032 1 0 1 1 0 8 0 vmmpekpl 168 11415 0 11367 3 0 3 3 0 8 0 vmmpepl 168 142473 0 140328 155 24 131 131 0 357 33 vmsppl 368 1055 0 1032 3 0 3 3 0 8 0 pdppl 4096 2119 0 2072 8 1 7 7 0 8 0 pvpl 32 369154 0 351313 214 34 180 211 0 265 0 pmappl 232 1055 0 1032 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 303 0 20 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800022fab090,138,0,ffff800022fab254,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800022fab090,138,0,ffff800022fab254,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044880,ffff800022fab338,fffffd806f33e300) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800022fab438,0,ffff800000b89000,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b94000,ffff800022fab708) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800022fab708,ffff800022fab714,29,0,ffff800000b94000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b94000,fffffd806f33e300) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800022fab9f8,ffff80002411b000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800022fab850) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd80711570d8,ffff800022fab9f8,11,fffffd807f7bfa20) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806ca970a8,ffff800022fab9f8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021f9e520,f0,ffff800022fab9f8,0,ffff800022fabae0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800021f9e520,ffff800022faba90,ffff800022fabae0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800022fabb60) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022fabb60) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5e5f5cbabd0, 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: 0xc0001af708, count: -3