uvm_fault(0xffffffff8277aa10, 0xffffffff8267ca68, 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, 0xffffffff8267ca68, 0, 2) -> e m_copyback(ffff800020eb5f20,138,0,ffff800020eb60e4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800020eb5f20,138,0,ffff800020eb60e4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800020eb61a0, count: 0 ddb{0}> trace m_copyback(ffff800020eb5f20,138,0,ffff800020eb60e4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800020eb5f20,138,0,ffff800020eb60e4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044880,ffff800020eb61c8,fffffd8069800a00) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800020eb62c8,0,ffff800000b49530,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000be7000,ffff800020eb6598) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800020eb6598,ffff800020eb65a4,29,0,ffff800000be7000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000be7000,fffffd8069800a00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800020eb6888,ffff8000240e9000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800020eb66e0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e381278,ffff800020eb6888,11,fffffd807f7bf8a0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8068151278,ffff800020eb6888,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021f7e518,f0,ffff800020eb6888,0,ffff800020eb6970) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800021f7e518,ffff800020eb6920,ffff800020eb6970) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020eb69f0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020eb69f0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xea7ead29b20, count: -14 ddb{0}> show registers rdi 0 rsi 0x6ee25 acpi_pdirpa+0x5ac8d rbp 0xffff800020eb5f00 rbx 0xffffffffffff9604 rdx 0x6ee24 acpi_pdirpa+0x5ac8c rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0xdf5c07a0fc21ba32 r12 0xfffffd8069800900 r13 0x108 r14 0x30 r15 0xffff800020eb6100 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020eb5e40 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=484727 stat=onproc flags process=0 proc=4000000 pri=77, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff800021f7f3e8,0xffffffff82888178 process=0xffff800021f773b0 user=0xffff800020eb1000, vmspace=0xfffffd80680d3a20 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 90957 243933 46471 0 7 0 syz-executor.0 *90957 484727 46471 0 7 0x4000000 syz-executor.0 46471 427506 59541 0 3 0x82 nanosleep syz-executor.0 53004 311704 0 0 3 0x14200 bored sosplice 9726 68056 59541 0 3 0x82 nanosleep syz-executor.1 36819 404021 0 0 3 0x14280 nfsidl nfsio 11156 281283 0 0 3 0x14280 nfsidl nfsio 56888 47602 0 0 3 0x14280 nfsidl nfsio 40533 394662 0 0 3 0x14280 nfsidl nfsio 76748 185934 0 0 3 0x14280 nfsidl nfsio 54855 142876 0 0 3 0x14280 nfsidl nfsio 80600 225746 0 0 3 0x14280 nfsidl nfsio 44240 49912 0 0 3 0x14280 nfsidl nfsio 73128 307085 0 0 3 0x14280 nfsidl nfsio 41362 12162 0 0 3 0x14280 nfsidl nfsio 35031 459699 0 0 3 0x14280 nfsidl nfsio 86109 381600 0 0 3 0x14280 nfsidl nfsio 91831 62711 0 0 3 0x14280 nfsidl nfsio 93408 366108 0 0 3 0x14280 nfsidl nfsio 13838 115814 0 0 3 0x14280 nfsidl nfsio 60117 5848 0 0 3 0x14280 nfsidl nfsio 17122 191729 0 0 3 0x14280 nfsidl nfsio 28508 496879 0 0 3 0x14280 nfsidl nfsio 38715 285228 0 0 3 0x14280 nfsidl nfsio 58847 467057 0 0 3 0x14280 nfsidl nfsio 59541 144713 66428 0 3 0x82 thrsleep syz-fuzzer 59541 49667 66428 0 3 0x4000082 nanosleep syz-fuzzer 59541 517510 66428 0 3 0x4000082 thrsleep syz-fuzzer 59541 249734 66428 0 3 0x4000082 kqread syz-fuzzer 59541 87150 66428 0 3 0x4000082 nanosleep syz-fuzzer 59541 144084 66428 0 3 0x4000082 thrsleep syz-fuzzer 59541 242644 66428 0 3 0x4000082 thrsleep syz-fuzzer 59541 173916 66428 0 3 0x4000082 thrsleep syz-fuzzer 66428 272028 30759 0 3 0x10008a pause ksh 30759 481353 19022 0 3 0x92 select sshd 6659 266372 1 0 3 0x100083 ttyin getty 19022 161509 1 0 3 0x80 select sshd 93866 216550 50879 74 3 0x100092 bpf pflogd 50879 3215 1 0 3 0x80 netio pflogd 77504 364726 64020 73 3 0x100090 kqread syslogd 64020 104181 1 0 3 0x100082 netio syslogd 72238 499524 1 77 3 0x100090 poll dhclient 40819 305954 1 0 3 0x80 poll dhclient 35476 82359 0 0 3 0x14200 bored smr 31450 97483 0 0 2 0x14200 zerothread 68366 302836 0 0 3 0x14200 aiodoned aiodoned 88692 514025 0 0 3 0x14200 syncer update 48877 478215 0 0 3 0x14200 cleaner cleaner 50055 457513 0 0 3 0x14200 reaper reaper 12362 44708 0 0 3 0x14200 pgdaemon pagedaemon 87071 172484 0 0 3 0x14200 bored crynlk 39043 268153 0 0 3 0x14200 bored crypto 94219 298233 0 0 3 0x40014200 acpi0 acpi0 89622 337214 0 0 3 0x40014200 idle1 39696 213133 0 0 3 0x14200 bored softnet 39763 99246 0 0 3 0x14200 bored systqmp 49121 376661 0 0 3 0x14200 bored systq 57835 463696 0 0 3 0x40014200 bored softclock 23770 417951 0 0 3 0x40014200 idle0 1 210130 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 90957 (syz-executor.0) thread 0xffff800021f7e518 (484727) 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 9526 6425K 7181K 78643K 13351 0 pcb 13 8K 8K 78643K 81 0 rtable 114 8K 10K 78643K 443 0 ifaddr 78 15K 15K 78643K 135 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 61 0 ioctlops 0 0K 4K 78643K 1584 0 iov 0 0K 16K 78643K 276 0 mount 1 1K 1K 78643K 1 0 vnodes 1239 78K 78K 78643K 1968 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 15 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 220 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 690 0 sigio 0 0K 0K 78643K 8 0 proc 63 63K 95K 78643K 570 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 45 0 in_multi 30 2K 2K 78643K 91 0 ether_multi 1 0K 0K 78643K 9 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 437 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 183 141K 141K 78643K 3035 0 UVM aobj 40 7K 7K 78643K 42 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 202 0 NDP 13 0K 0K 78643K 33 0 temp 140 3974K 4038K 78643K 7242 0 kqueue 3 4K 9K 78643K 24 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 11 0 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 49 0 47 1 0 1 1 0 8 0 rtentry 112 77 0 41 2 0 2 2 0 8 0 unpcb 120 389 0 379 1 0 1 1 0 8 0 syncache 272 6 0 6 3 3 0 1 0 8 0 tcpqe 32 24 0 24 1 1 0 1 0 8 0 tcpcb 592 187 0 179 3 2 1 2 0 8 0 inpcb 296 649 0 642 3 1 2 2 0 8 1 nd6 48 16 0 9 1 0 1 1 0 8 0 ppxss 1136 2 0 2 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 4 0 2 1 0 1 1 0 8 0 pfosfp 40 847 0 847 5 0 5 5 0 8 5 pfosfpen 112 1429 0 1429 21 0 21 21 0 8 21 pfrktable 1344 36 0 26 2 1 1 2 0 8 0 pfstitem 24 16 0 10 1 0 1 1 0 8 0 pfstkey 112 18 0 12 1 0 1 1 0 8 0 pfstate 328 16 0 10 2 1 1 2 0 8 0 pfsrctr 152 25 0 24 2 1 1 1 0 8 0 pfrule 1360 37 0 23 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 306 0 154 13 2 11 13 0 8 1 art_table 32 307 0 154 2 0 2 2 0 8 0 art_node 16 76 0 46 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 212 0 202 1 0 1 1 0 8 0 shmpl 112 39 0 2 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2235 0 826 89 0 89 89 0 8 0 ffsino 272 2235 0 826 95 0 95 95 0 8 0 nchpl 144 3397 0 1810 60 0 60 60 0 8 0 uvmvnodes 72 2975 0 0 55 0 55 55 0 8 0 vnodes 208 2975 0 0 157 0 157 157 0 8 0 namei 1024 10192 0 10192 2 1 1 1 0 8 1 percpumem 16 41 0 9 1 0 1 1 0 8 0 vcpupl 1984 13 0 0 2 0 2 2 0 8 0 vmpool 560 20 0 7 1 0 1 1 0 8 0 pfiaddrpl 120 12 0 4 1 0 1 1 0 8 0 scxspl 200 11007 0 11007 10 9 1 7 0 8 1 plimitpl 152 68 0 60 1 0 1 1 0 8 0 sigapl 424 920 0 867 6 0 6 6 0 8 0 futexpl 56 10000 0 10000 1 0 1 1 0 8 1 knotepl 112 106 0 86 1 0 1 1 0 8 0 kqueuepl 152 53 0 51 1 0 1 1 0 8 0 pipepl 304 168 0 157 3 1 2 2 0 8 0 fdescpl 496 884 0 867 3 0 3 3 0 8 0 filepl 152 5164 0 5060 5 0 5 5 0 8 0 lockfpl 104 219 0 218 1 0 1 1 0 8 0 lockfspl 48 86 0 85 1 0 1 1 0 8 0 sessionpl 120 20 0 9 1 0 1 1 0 8 0 pgrppl 48 22 0 11 1 0 1 1 0 8 0 ucredpl 96 622 0 613 1 0 1 1 0 8 0 zombiepl 144 868 0 867 2 1 1 1 0 8 0 processpl 1008 920 0 867 7 0 7 7 0 8 0 procpl 632 2369 0 2308 6 0 6 6 0 8 0 sosppl 144 9 0 9 2 1 1 1 0 8 1 sockpl 400 1088 0 1069 5 2 3 4 0 8 1 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 12 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 193 0 0 24 0 24 24 0 8 0 mtagpl 96 38 0 0 1 0 1 1 0 8 0 mbufpl 256 229 0 0 13 0 13 13 0 8 0 bufpl 280 5297 0 188 365 0 365 365 0 8 0 anonpl 16 107617 0 90424 88 13 75 78 0 124 4 amapchunkpl 152 5994 0 5719 36 14 22 25 0 158 10 amappl16 192 3249 0 2421 44 1 43 43 0 8 1 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 75 0 67 1 0 1 1 0 8 0 amappl13 168 38 0 37 1 0 1 1 0 8 0 amappl12 160 193 0 185 1 0 1 1 0 8 0 amappl11 152 73 0 56 1 0 1 1 0 8 0 amappl10 144 273 0 270 1 0 1 1 0 8 0 amappl9 136 371 0 369 1 0 1 1 0 8 0 amappl8 128 172 0 122 2 0 2 2 0 8 0 amappl7 120 551 0 545 1 0 1 1 0 8 0 amappl6 112 132 0 119 1 0 1 1 0 8 0 amappl5 104 1088 0 1073 1 0 1 1 0 8 0 amappl4 96 360 0 332 1 0 1 1 0 8 0 amappl3 88 145 0 136 1 0 1 1 0 8 0 amappl2 80 5518 0 5440 3 1 2 3 0 8 0 amappl1 72 37365 0 36852 24 14 10 19 0 8 0 amappl 80 2686 0 2591 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 41 0 2 1 0 1 1 0 8 0 uaddrrnd 24 904 0 874 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 904 0 874 1 0 1 1 0 8 0 vmmpekpl 168 10614 0 10567 3 0 3 3 0 8 0 vmmpepl 168 122204 0 119975 166 43 123 124 0 357 25 vmsppl 368 903 0 874 3 0 3 3 0 8 0 pdppl 4096 1815 0 1761 7 0 7 7 0 8 0 pvpl 32 334788 0 314177 204 21 183 187 0 265 15 pmappl 232 903 0 874 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 269 0 11 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800020eb5f20,138,0,ffff800020eb60e4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800020eb5f20,138,0,ffff800020eb60e4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044880,ffff800020eb61c8,fffffd8069800a00) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800020eb62c8,0,ffff800000b49530,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000be7000,ffff800020eb6598) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800020eb6598,ffff800020eb65a4,29,0,ffff800000be7000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000be7000,fffffd8069800a00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800020eb6888,ffff8000240e9000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800020eb66e0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e381278,ffff800020eb6888,11,fffffd807f7bf8a0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8068151278,ffff800020eb6888,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021f7e518,f0,ffff800020eb6888,0,ffff800020eb6970) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800021f7e518,ffff800020eb6920,ffff800020eb6970) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020eb69f0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020eb69f0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xea7ead29b20, 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 __sanitizer_cov_trace_const_cmp4(0,1) at __sanitizer_cov_trace_const_cmp4+0x3b kd_curproc sys/dev/kcov.c:457 [inline] __sanitizer_cov_trace_const_cmp4(0,1) at __sanitizer_cov_trace_const_cmp4+0x3b trace_cmp sys/dev/kcov.c:134 [inline] __sanitizer_cov_trace_const_cmp4(0,1) at __sanitizer_cov_trace_const_cmp4+0x3b sys/dev/kcov.c:191 syscall(ffff800021ee8240) at syscall+0x3ea mi_syscall sys/sys/syscall_mi.h:87 [inline] syscall(ffff800021ee8240) at syscall+0x3ea sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd500, count: -6