uvm_fault(0xffffffff8277aa10, 0xffffffff82674b40, 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, 0xffffffff82674b40, 0, 2) -> e m_copyback(ffff800020eab980,518,0,ffff800020eabb44,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800020eab980,518,0,ffff800020eabb44,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800020eabc00, count: 0 ddb{0}> trace m_copyback(ffff800020eab980,518,0,ffff800020eabb44,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800020eab980,518,0,ffff800020eabb44,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a80,ffff800020eabc28,fffffd8070fcfa00) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800020eabd28,0,ffff800000bcaff8,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b73800,ffff800020eabff8) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800020eabff8,ffff800020eac004,29,0,ffff800000b73800) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b73800,fffffd8070fcfa00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800020eac2e8,ffff800023b0b000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800020eac140) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806f09b4e8,ffff800020eac2e8,11,fffffd807f7bfae0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8068059570,ffff800020eac2e8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000241053e8,f0,ffff800020eac2e8,0,ffff800020eac3d0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff8000241053e8,ffff800020eac380,ffff800020eac3d0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020eac450) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020eac450) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x932379d61b0, count: -14 ddb{0}> show registers rdi 0 rsi 0x7d55f acpi_pdirpa+0x693c7 rbp 0xffff800020eab960 rbx 0xffffffffffff861f rdx 0x7d55e acpi_pdirpa+0x693c6 rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0xa2169e4a1aa061f1 r12 0xfffffd8070fd2400 r13 0x4e8 r14 0x30 r15 0xffff800020eabb60 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020eab8a0 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=43840 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800024104028,0xffffffff82888178 process=0xffff8000241077a0 user=0xffff800020ea7000, vmspace=0xfffffd8062878188 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 12899 434573 25063 0 2 0 syz-executor.0 *12899 43840 25063 0 7 0x4000000 syz-executor.0 68508 398405 0 0 3 0x14200 acct acct 25063 67838 29433 0 3 0x82 nanosleep syz-executor.0 71903 205142 29433 0 3 0x82 piperd syz-executor.1 2925 243400 0 0 3 0x14280 nfsidl nfsio 12277 143218 0 0 3 0x14280 nfsidl nfsio 32965 263518 0 0 3 0x14280 nfsidl nfsio 40699 211849 0 0 3 0x14280 nfsidl nfsio 48468 147756 0 0 3 0x14280 nfsidl nfsio 27518 254978 0 0 3 0x14280 nfsidl nfsio 24214 41224 0 0 3 0x14280 nfsidl nfsio 5122 356548 0 0 3 0x14280 nfsidl nfsio 56425 83476 0 0 3 0x14280 nfsidl nfsio 59212 299749 0 0 3 0x14280 nfsidl nfsio 8073 168017 0 0 3 0x14280 nfsidl nfsio 58971 417274 0 0 3 0x14280 nfsidl nfsio 14971 195084 0 0 3 0x14280 nfsidl nfsio 2679 21019 0 0 3 0x14280 nfsidl nfsio 57141 257861 0 0 3 0x14280 nfsidl nfsio 85313 327679 0 0 3 0x14280 nfsidl nfsio 67496 337726 0 0 3 0x14280 nfsidl nfsio 98071 238340 0 0 3 0x14280 nfsidl nfsio 86297 458696 0 0 3 0x14280 nfsidl nfsio 70433 38782 0 0 3 0x14280 nfsidl nfsio 29198 471419 0 0 3 0x14200 bored sosplice 29433 271449 43147 0 3 0x82 thrsleep syz-fuzzer 29433 161807 43147 0 3 0x4000082 nanosleep syz-fuzzer 29433 313873 43147 0 3 0x4000082 thrsleep syz-fuzzer 29433 236531 43147 0 3 0x4000082 thrsleep syz-fuzzer 29433 171602 43147 0 3 0x4000082 thrsleep syz-fuzzer 29433 165584 43147 0 3 0x4000082 thrsleep syz-fuzzer 29433 320128 43147 0 7 0x4000002 syz-fuzzer 29433 125660 43147 0 3 0x4000082 kqread syz-fuzzer 43147 491697 85897 0 3 0x10008a pause ksh 85897 360941 47461 0 3 0x92 select sshd 9297 109166 1 0 3 0x100083 ttyin getty 47461 136371 1 0 3 0x80 select sshd 32020 238383 66351 74 3 0x100092 bpf pflogd 66351 76670 1 0 3 0x80 netio pflogd 77882 101144 27201 73 3 0x100090 kqread syslogd 27201 203003 1 0 3 0x100082 netio syslogd 74504 359189 1 77 3 0x100090 poll dhclient 23450 445979 1 0 3 0x80 poll dhclient 913 371847 0 0 3 0x14200 bored smr 68901 340117 0 0 2 0x14200 zerothread 7635 470243 0 0 3 0x14200 aiodoned aiodoned 47498 21146 0 0 3 0x14200 syncer update 43245 220218 0 0 3 0x14200 cleaner cleaner 39025 185058 0 0 3 0x14200 reaper reaper 70611 144687 0 0 3 0x14200 pgdaemon pagedaemon 61507 117451 0 0 3 0x14200 bored crynlk 35492 320088 0 0 3 0x14200 bored crypto 99532 475795 0 0 3 0x40014200 acpi0 acpi0 72979 367037 0 0 3 0x40014200 idle1 19565 191010 0 0 3 0x14200 bored softnet 41065 74708 0 0 3 0x14200 bored systqmp 71311 91893 0 0 3 0x14200 bored systq 3656 72694 0 0 3 0x40014200 bored softclock 80336 237367 0 0 3 0x40014200 idle0 1 161175 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 12899 (syz-executor.0) thread 0xffff8000241053e8 (43840) 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 9537 6429K 7463K 78643K 19938 0 pcb 13 8K 8K 78643K 325 0 rtable 127 14K 15K 78643K 1319 0 ifaddr 86 17K 17K 78643K 328 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 97 0 ioctlops 0 0K 4K 78643K 1936 0 iov 0 0K 24K 78643K 230 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 3649 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 26 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 722 0 dirhash 9 1K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 2596 0 sigio 0 0K 0K 78643K 40 0 proc 63 63K 95K 78643K 853 0 subproc 32 2K 2K 78643K 136 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 269 0 in_multi 23 1K 2K 78643K 387 0 ether_multi 1 0K 0K 78643K 44 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 73 334K 334K 78643K 73 0 exec 0 0K 2K 78643K 609 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 201 194K 194K 78643K 9277 0 UVM aobj 111 7K 7K 78643K 117 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 265 0 NDP 14 0K 0K 78643K 81 0 temp 141 3968K 4064K 78643K 32383 0 kqueue 3 4K 10K 78643K 70 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 25 0 18 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 134 0 132 1 0 1 1 0 8 0 rtentry 112 244 0 214 2 0 2 2 0 8 0 unpcb 120 1155 0 1145 1 0 1 1 0 8 0 syncache 272 27 0 27 10 10 0 1 0 8 0 tcpqe 32 91 0 91 3 3 0 1 0 8 0 tcpcb 592 980 0 971 9 7 2 3 0 8 0 inpcb 296 2479 0 2471 8 6 2 2 0 8 0 rttmr 72 5 0 5 3 3 0 1 0 8 0 nd6 48 62 0 58 1 0 1 1 0 8 0 pkpcb 40 12 0 12 5 5 0 1 0 8 0 ppxss 1136 3 0 3 3 3 0 1 0 8 0 pfstscr 40 4 0 4 2 2 0 1 0 8 0 pffrag 232 22 0 19 3 2 1 1 0 482 0 pffrnode 88 22 0 19 3 2 1 1 0 8 0 pffrent 40 395 0 392 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 172 0 151 6 4 2 2 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 32 0 30 1 0 1 1 0 8 0 pfstkey 112 36 0 34 1 0 1 1 0 8 0 pfstate 328 32 0 30 3 2 1 3 0 8 0 pfsrctr 152 52 0 52 1 1 0 1 0 8 0 pfrule 1360 96 0 71 6 3 3 3 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1205 0 1050 24 12 12 14 0 8 0 art_table 32 1206 0 1050 2 0 2 2 0 8 0 art_node 16 241 0 216 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 8 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 716 0 706 1 0 1 1 0 8 0 shmpl 112 114 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 10 3 1 2 3 0 8 0 dino2pl 256 4510 0 3113 88 0 88 88 0 8 0 ffsino 272 4510 0 3113 94 0 94 94 0 8 0 nchpl 144 9447 0 7868 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 27172 0 27172 5 4 1 1 0 8 1 percpumem 16 59 0 27 1 0 1 1 0 8 0 vcpupl 1984 21 0 0 3 0 3 3 0 8 0 vmpool 560 31 0 10 2 0 2 2 0 8 0 pfiaddrpl 120 52 0 39 1 0 1 1 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 200 24795 0 24795 19 18 1 7 0 8 1 plimitpl 152 168 0 160 1 0 1 1 0 8 0 sigapl 424 2815 0 2762 7 0 7 7 0 8 1 futexpl 56 37913 0 37913 4 3 1 1 0 8 1 knotepl 112 226 0 206 1 0 1 1 0 8 0 kqueuepl 152 291 0 287 1 0 1 1 0 8 0 pipepl 304 392 0 381 5 3 2 2 0 8 0 fdescpl 496 2778 0 2762 3 0 3 3 0 8 0 filepl 152 16804 0 16702 11 6 5 7 0 8 1 lockfpl 104 509 0 508 1 0 1 1 0 8 0 lockfspl 48 168 0 167 1 0 1 1 0 8 0 sessionpl 120 24 0 13 1 0 1 1 0 8 0 pgrppl 48 62 0 51 1 0 1 1 0 8 0 ucredpl 96 1656 0 1647 1 0 1 1 0 8 0 zombiepl 144 2762 0 2762 3 2 1 1 0 8 1 processpl 1008 2815 0 2762 7 0 7 7 0 8 0 procpl 632 8384 0 8323 6 0 6 6 0 8 0 sosppl 144 27 0 27 9 8 1 1 0 8 1 sockpl 400 3800 0 3779 13 10 3 5 0 8 0 mcl64k 65536 326 0 0 40 7 33 34 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 14 0 0 1 0 1 1 0 8 0 mcl8k 8192 16 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 278 0 0 34 4 30 34 0 8 0 mtagpl 96 469 0 0 9 0 9 9 0 8 0 mbufpl 256 1011 0 0 55 0 55 55 0 8 0 bufpl 280 8195 0 1939 447 0 447 447 0 8 0 anonpl 16 310733 0 292092 134 54 80 93 0 124 0 amapchunkpl 152 18349 0 18032 82 68 14 27 0 158 0 amappl16 192 11288 0 10377 99 52 47 59 0 8 0 amappl15 184 907 0 907 2 2 0 1 0 8 0 amappl14 176 27 0 19 1 0 1 1 0 8 0 amappl13 168 63 0 61 1 0 1 1 0 8 0 amappl12 160 493 0 489 1 0 1 1 0 8 0 amappl11 152 902 0 884 1 0 1 1 0 8 0 amappl10 144 11 0 8 1 0 1 1 0 8 0 amappl9 136 646 0 646 3 3 0 1 0 8 0 amappl8 128 539 0 488 2 0 2 2 0 8 0 amappl7 120 330 0 323 1 0 1 1 0 8 0 amappl6 112 980 0 962 1 0 1 1 0 8 0 amappl5 104 2633 0 2620 1 0 1 1 0 8 0 amappl4 96 1094 0 1063 1 0 1 1 0 8 0 amappl3 88 177 0 170 1 0 1 1 0 8 0 amappl2 80 19549 0 19476 3 1 2 3 0 8 0 amappl1 72 101465 0 101003 24 14 10 19 0 8 0 amappl 80 8818 0 8719 4 1 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 116 0 6 2 0 2 2 0 8 0 uaddrrnd 24 2809 0 2772 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2809 0 2772 1 0 1 1 0 8 0 vmmpekpl 168 22103 0 22062 2 0 2 2 0 8 0 vmmpepl 168 372370 0 370195 245 141 104 131 0 357 0 vmsppl 368 2808 0 2772 4 0 4 4 0 8 0 pdppl 4096 5625 0 5565 8 0 8 8 0 8 0 pvpl 32 875764 0 854330 294 96 198 212 0 265 17 pmappl 232 2808 0 2772 3 0 3 3 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 393 0 53 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800020eab980,518,0,ffff800020eabb44,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800020eab980,518,0,ffff800020eabb44,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a80,ffff800020eabc28,fffffd8070fcfa00) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800020eabd28,0,ffff800000bcaff8,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b73800,ffff800020eabff8) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800020eabff8,ffff800020eac004,29,0,ffff800000b73800) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b73800,fffffd8070fcfa00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800020eac2e8,ffff800023b0b000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800020eac140) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806f09b4e8,ffff800020eac2e8,11,fffffd807f7bfae0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8068059570,ffff800020eac2e8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000241053e8,f0,ffff800020eac2e8,0,ffff800020eac3d0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff8000241053e8,ffff800020eac380,ffff800020eac3d0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020eac450) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020eac450) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x932379d61b0, 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: 0xc000202db8, count: -3