uvm_fault(0xffffffff8284a238, 0xffffffff826a6790, 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(0xffffffff8284a238, 0xffffffff826a6790, 0, 2) -> e m_copyback(ffff800023fbe9a0,138,0,ffff800023fbeb64,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023fbe9a0,138,0,ffff800023fbeb64,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800023fbec20, count: 0 ddb{0}> trace m_copyback(ffff800023fbe9a0,138,0,ffff800023fbeb64,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023fbe9a0,138,0,ffff800023fbeb64,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044940,ffff800023fbec48,fffffd807eb89400) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800023fbed48,0,ffff800000b2d558,0,ffffffff828840d8,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b31000,ffff800023fbf018) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800023fbf018,ffff800023fbf024,29,0,ffff800000b31000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b31000,fffffd807eb89400) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800023fbf308,ffff8000214e2000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800023fbf160) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e362758,ffff800023fbf308,11,fffffd807f7bf840) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806808ea38,ffff800023fbf308,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020e042a8,f0,ffff800023fbf308,0,ffff800023fbf3f0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020e042a8,ffff800023fbf3a0,ffff800023fbf3f0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800023fbf470) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023fbf470) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x48229854450, count: -14 ddb{0}> show registers rdi 0 rsi 0x7e14f acpi_pdirpa+0x69fb7 rbp 0xffff800023fbe980 rbx 0xffffffffffff8b59 rdx 0x7e14e acpi_pdirpa+0x69fb6 rcx 0xffffffff826e0cc0 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff8224dce8 pf_translate_a+0x1a8 r10 0x1 r11 0x1d5fe1d7724fb1a2 r12 0xfffffd806d794a00 r13 0x108 r14 0x30 r15 0xffff800023fbeb80 rip 0xffffffff815394e9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023fbe8c0 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=65050 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e04030,0xffffffff8287ee50 process=0xffff800020e033b8 user=0xffff800023fba000, vmspace=0xfffffd8068439460 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 78274 47874 53976 0 2 0 syz-executor.0 *78274 65050 53976 0 7 0x4000000 syz-executor.0 53976 11648 99736 0 3 0x82 nanosleep syz-executor.0 57006 118163 0 0 3 0x14280 nfsidl nfsio 17223 498089 0 0 3 0x14280 nfsidl nfsio 59626 247696 0 0 3 0x14280 nfsidl nfsio 97927 123869 0 0 3 0x14280 nfsidl nfsio 5956 474768 0 0 3 0x14280 nfsidl nfsio 56356 437571 0 0 3 0x14280 nfsidl nfsio 4821 117811 0 0 3 0x14280 nfsidl nfsio 15667 346396 0 0 3 0x14280 nfsidl nfsio 41825 352727 0 0 3 0x14280 nfsidl nfsio 5762 338444 0 0 3 0x14280 nfsidl nfsio 67590 303841 0 0 3 0x14280 nfsidl nfsio 57101 125715 0 0 3 0x14280 nfsidl nfsio 61385 187443 0 0 3 0x14280 nfsidl nfsio 86666 446377 0 0 3 0x14280 nfsidl nfsio 99131 225224 0 0 3 0x14280 nfsidl nfsio 72766 96253 0 0 3 0x14280 nfsidl nfsio 23635 445584 0 0 3 0x14280 nfsidl nfsio 90404 153157 0 0 3 0x14280 nfsidl nfsio 43332 12736 0 0 3 0x14280 nfsidl nfsio 15991 453815 0 0 3 0x14280 nfsidl nfsio 38811 378723 0 0 3 0x14200 acct acct 97286 213059 0 0 3 0x14200 bored sosplice 57822 185386 99736 0 3 0x82 piperd syz-executor.1 99736 5115 32150 0 3 0x82 thrsleep syz-fuzzer 99736 33330 32150 0 3 0x4000082 nanosleep syz-fuzzer 99736 200684 32150 0 3 0x4000082 thrsleep syz-fuzzer 99736 282169 32150 0 3 0x4000082 kqread syz-fuzzer 99736 82469 32150 0 3 0x4000082 thrsleep syz-fuzzer 99736 485073 32150 0 3 0x4000082 thrsleep syz-fuzzer 99736 282634 32150 0 3 0x4000082 thrsleep syz-fuzzer 99736 85584 32150 0 7 0x4000002 syz-fuzzer 32150 240728 16522 0 3 0x10008a pause ksh 16522 357922 80083 0 3 0x92 select sshd 75935 342487 1 0 3 0x100083 ttyin getty 80083 523810 1 0 3 0x80 select sshd 58500 448086 7241 74 3 0x100092 bpf pflogd 7241 173460 1 0 3 0x80 netio pflogd 3331 411482 45137 73 3 0x100090 kqread syslogd 45137 384546 1 0 3 0x100082 netio syslogd 20589 338218 1 77 3 0x100090 poll dhclient 79036 123202 1 0 3 0x80 poll dhclient 69636 472537 0 0 3 0x14200 bored smr 93979 162518 0 0 2 0x14200 zerothread 32727 201234 0 0 3 0x14200 aiodoned aiodoned 41419 320703 0 0 3 0x14200 syncer update 55738 183683 0 0 3 0x14200 cleaner cleaner 81465 259814 0 0 3 0x14200 reaper reaper 96178 340113 0 0 3 0x14200 pgdaemon pagedaemon 35790 410010 0 0 3 0x14200 bored crynlk 48379 84046 0 0 3 0x14200 bored crypto 66717 150673 0 0 3 0x40014200 acpi0 acpi0 4245 418829 0 0 3 0x40014200 idle1 90910 409387 0 0 3 0x14200 bored softnet 70201 377513 0 0 3 0x14200 bored systqmp 87749 226397 0 0 3 0x14200 bored systq 46104 506122 0 0 3 0x40014200 bored softclock 52163 286996 0 0 3 0x40014200 idle0 1 457938 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 78274 (syz-executor.0) thread 0xffff800020e042a8 (65050) exclusive rwlock netlock r = 0 (0xffffffff82730a80) #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 (0xffffffff8287f080) #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 9516 6422K 7004K 78643K 11915 0 pcb 13 8K 8K 78643K 153 0 rtable 115 9K 9K 78643K 712 0 ifaddr 73 14K 15K 78643K 197 0 sysctl 3 1K 1K 78643K 3 0 counters 43 33K 34K 78643K 79 0 ioctlops 0 0K 4K 78643K 3571 0 iov 0 0K 24K 78643K 100 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1702 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 20 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1267 0 dirhash 9 1K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 2680 0 sigio 0 0K 0K 78643K 4 0 proc 61 63K 83K 78643K 627 0 subproc 32 2K 2K 78643K 85 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 132 0 in_multi 33 2K 2K 78643K 139 0 ether_multi 1 0K 0K 78643K 21 0 mrt 0 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 2K 78643K 505 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 154 107K 107K 78643K 7857 0 UVM aobj 76 6K 6K 78643K 82 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 123 0 NDP 12 0K 0K 78643K 44 0 temp 140 3982K 4048K 78643K 43543 0 kqueue 3 4K 10K 78643K 175 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 12 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 77 0 75 1 0 1 1 0 8 0 rtentry 112 105 0 69 2 0 2 2 0 8 0 unpcb 120 514 0 502 2 1 1 2 0 8 0 syncache 272 8 0 8 3 3 0 1 0 8 0 tcpqe 32 246 0 246 2 2 0 1 0 8 0 tcpcb 592 318 0 312 5 4 1 2 0 8 0 inpcb 296 994 0 987 8 7 1 2 0 8 0 rttmr 72 2 0 2 2 2 0 1 0 8 0 nd6 48 21 0 15 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1136 3 0 3 2 2 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 9 0 9 3 3 0 1 0 482 0 pffrnode 88 9 0 9 3 3 0 1 0 8 0 pffrent 40 107 0 107 3 3 0 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 77 0 67 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 19 0 17 1 0 1 1 0 8 0 pfstkey 112 23 0 21 1 0 1 1 0 8 0 pfstate 328 21 0 19 2 1 1 2 0 8 0 pfrule 1360 64 0 45 4 2 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 428 0 246 17 5 12 14 0 8 0 art_table 32 429 0 246 2 0 2 2 0 8 0 art_node 16 104 0 74 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 11 2 1 1 1 0 8 0 semupl 112 9 0 9 2 2 0 1 0 8 0 semapl 112 1248 0 1238 1 0 1 1 0 8 0 shmpl 112 79 0 6 3 0 3 3 0 8 0 dirhash 1024 17 0 10 3 1 2 3 0 8 0 dino2pl 256 4430 0 3034 88 0 88 88 0 8 0 ffsino 272 4430 0 3034 95 1 94 94 0 8 0 nchpl 144 7980 0 6395 60 0 60 60 0 8 0 uvmvnodes 72 4856 0 0 89 0 89 89 0 8 0 vnodes 208 4856 0 0 256 0 256 256 0 8 0 namei 1024 22329 0 22329 7 6 1 1 0 8 1 percpumem 16 50 0 18 1 0 1 1 0 8 0 vcpupl 1984 9 0 0 2 0 2 2 0 8 0 vmpool 560 20 0 11 2 1 1 1 0 8 0 pfiaddrpl 120 25 0 17 1 0 1 1 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 200 26334 0 26334 14 13 1 7 0 8 1 plimitpl 152 70 0 62 1 0 1 1 0 8 0 sigapl 424 2908 0 2855 9 2 7 7 0 8 1 futexpl 56 35033 0 35033 6 5 1 1 0 8 1 knotepl 112 282 0 262 1 0 1 1 0 8 0 kqueuepl 152 612 0 607 1 0 1 1 0 8 0 pipepl 304 253 0 242 13 12 1 2 0 8 0 fdescpl 496 2871 0 2855 3 0 3 3 0 8 0 filepl 152 11320 0 11217 11 6 5 7 0 8 1 lockfpl 104 577 0 576 1 0 1 1 0 8 0 lockfspl 48 237 0 236 1 0 1 1 0 8 0 sessionpl 120 21 0 10 1 0 1 1 0 8 0 pgrppl 48 174 0 163 1 0 1 1 0 8 0 ucredpl 96 837 0 828 1 0 1 1 0 8 0 zombiepl 144 2855 0 2855 3 2 1 1 0 8 1 processpl 1008 2908 0 2855 8 1 7 7 0 8 0 procpl 632 7101 0 7040 7 1 6 6 0 8 0 sosppl 144 16 0 16 5 5 0 1 0 8 0 sockpl 400 1588 0 1567 18 15 3 7 0 8 0 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 22 0 0 2 0 2 2 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 234 0 0 26 1 25 26 0 8 0 mtagpl 96 41 0 0 1 0 1 1 0 8 0 mbufpl 256 503 0 0 27 0 27 27 0 8 0 bufpl 280 10134 0 3876 448 0 448 448 0 8 0 anonpl 16 245051 0 230747 102 28 74 85 0 124 0 amapchunkpl 152 14277 0 13997 50 38 12 25 0 158 0 amappl16 192 11142 0 10283 59 15 44 52 0 8 1 amappl15 184 6 0 4 1 0 1 1 0 8 0 amappl14 176 40 0 32 1 0 1 1 0 8 0 amappl13 168 501 0 499 1 0 1 1 0 8 0 amappl12 160 16 0 10 1 0 1 1 0 8 0 amappl11 152 728 0 712 1 0 1 1 0 8 0 amappl10 144 12 0 9 1 0 1 1 0 8 0 amappl9 136 367 0 366 1 0 1 1 0 8 0 amappl8 128 182 0 136 2 0 2 2 0 8 0 amappl7 120 312 0 304 1 0 1 1 0 8 0 amappl6 112 799 0 785 1 0 1 1 0 8 0 amappl5 104 1830 0 1818 1 0 1 1 0 8 0 amappl4 96 1461 0 1432 1 0 1 1 0 8 0 amappl3 88 984 0 974 1 0 1 1 0 8 0 amappl2 80 19393 0 19323 3 1 2 3 0 8 0 amappl1 72 95057 0 94595 24 14 10 19 0 8 0 amappl 80 7395 0 7312 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 81 0 6 2 0 2 2 0 8 0 uaddrrnd 24 2891 0 2866 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2891 0 2866 1 0 1 1 0 8 0 vmmpekpl 168 19853 0 19808 3 0 3 3 0 8 0 vmmpepl 168 366911 0 364813 244 118 126 126 0 357 32 vmsppl 368 2890 0 2866 3 0 3 3 0 8 0 pdppl 4096 5789 0 5741 11 4 7 7 0 8 0 pvpl 32 812778 0 795383 257 86 171 202 0 265 0 pmappl 232 2890 0 2866 4 2 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 312 0 40 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800023fbe9a0,138,0,ffff800023fbeb64,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023fbe9a0,138,0,ffff800023fbeb64,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044940,ffff800023fbec48,fffffd807eb89400) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800023fbed48,0,ffff800000b2d558,0,ffffffff828840d8,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b31000,ffff800023fbf018) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800023fbf018,ffff800023fbf024,29,0,ffff800000b31000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b31000,fffffd807eb89400) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800023fbf308,ffff8000214e2000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800023fbf160) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e362758,ffff800023fbf308,11,fffffd807f7bf840) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806808ea38,ffff800023fbf308,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020e042a8,f0,ffff800023fbf308,0,ffff800023fbf3f0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020e042a8,ffff800023fbf3a0,ffff800023fbf3f0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800023fbf470) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023fbf470) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x48229854450, 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: 0xc001a79028, count: -3