uvm_fault(0xffffffff827ce258, 0xffffffff8269d298, 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(0xffffffff827ce258, 0xffffffff8269d298, 0, 2) -> e m_copyback(ffff80002298b000,138,0,ffff80002298b1c4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff80002298b000,138,0,ffff80002298b1c4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff80002298b280, count: 0 ddb{0}> trace m_copyback(ffff80002298b000,138,0,ffff80002298b1c4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff80002298b000,138,0,ffff80002298b1c4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff8000000449c0,ffff80002298b2a8,fffffd807a807400) at pflog_mtap+0x446 sys/net/if_pflog.c:390 pflog_packet(ffff80002298b3a8,0,ffff800000ac6fe8,0,ffffffff828c5f78,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b17000,ffff80002298b678) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff80002298b678,ffff80002298b684,29,0,ffff800000b17000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b17000,fffffd807a807400) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff80002298b968,ffff8000220cc000,2) at tun_dev_write+0x204 sys/net/if_tun.c:867 spec_write(ffff80002298b7c0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e7af0d8,ffff80002298b968,11,fffffd807f7b7ae0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8069ff6570,ffff80002298b968,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000212ac2b8,f0,ffff80002298b968,0,ffff80002298ba50) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff8000212ac2b8,ffff80002298ba00,ffff80002298ba50) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80002298bad0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002298bad0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2478b21c9c0, count: -14 ddb{0}> show registers rdi 0 rsi 0x8bfdf acpi_pdirpa+0x77e47 rbp 0xffff80002298afe0 rbx 0xffffffffffffad52 rdx 0x8bfde acpi_pdirpa+0x77e46 rcx 0xffffffff826c6800 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0x1 r10 0x1b49adf8ec167a18 r11 0x4e88cfc326a02c19 r12 0xfffffd806d6e9300 r13 0x108 r14 0x30 r15 0xffff80002298b1e0 rip 0xffffffff81326879 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002298af20 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=407426 stat=onproc flags process=0 proc=4000000 pri=74, usrpri=74, nice=20 forw=0xffffffffffffffff, list=0xffff8000212ad4a8,0xffffffff829141b8 process=0xffff80002293cc78 user=0xffff800022986000, vmspace=0xfffffd80693b2018 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 25524 472691 58591 0 7 0 syz-executor.0 *25524 407426 58591 0 7 0x4000000 syz-executor.0 9549 203081 0 0 3 0x14200 acct acct 44625 282191 52138 0 3 0x82 nanosleep syz-executor.1 46346 128882 0 0 3 0x14280 nfsidl nfsio 27489 392247 0 0 3 0x14280 nfsidl nfsio 87922 376675 0 0 3 0x14280 nfsidl nfsio 49845 416708 0 0 3 0x14280 nfsidl nfsio 60161 498214 0 0 3 0x14280 nfsidl nfsio 6577 248209 0 0 3 0x14280 nfsidl nfsio 12552 3566 0 0 3 0x14280 nfsidl nfsio 42213 365323 0 0 3 0x14280 nfsidl nfsio 40066 57482 0 0 3 0x14280 nfsidl nfsio 1388 248700 0 0 3 0x14280 nfsidl nfsio 9779 180791 0 0 3 0x14280 nfsidl nfsio 21934 113658 0 0 3 0x14280 nfsidl nfsio 4718 98296 0 0 3 0x14280 nfsidl nfsio 56627 446006 0 0 3 0x14280 nfsidl nfsio 17590 508935 0 0 3 0x14280 nfsidl nfsio 10276 485720 0 0 3 0x14280 nfsidl nfsio 26975 61658 0 0 3 0x14280 nfsidl nfsio 18743 374434 0 0 3 0x14280 nfsidl nfsio 26661 62262 0 0 3 0x14280 nfsidl nfsio 64830 408167 0 0 3 0x14280 nfsidl nfsio 61109 346512 0 0 3 0x14200 bored sosplice 58591 310343 52138 0 3 0x82 nanosleep syz-executor.0 52138 304745 66546 0 3 0x82 thrsleep syz-fuzzer 52138 366807 66546 0 3 0x4000082 nanosleep syz-fuzzer 52138 121970 66546 0 3 0x4000082 thrsleep syz-fuzzer 52138 146100 66546 0 3 0x4000082 thrsleep syz-fuzzer 52138 280391 66546 0 3 0x4000082 thrsleep syz-fuzzer 52138 344604 66546 0 3 0x4000082 kqread syz-fuzzer 52138 313670 66546 0 3 0x4000082 thrsleep syz-fuzzer 52138 27326 66546 0 3 0x4000082 thrsleep syz-fuzzer 66546 120238 41576 0 3 0x10008a pause ksh 41576 201488 87860 0 3 0x92 select sshd 71462 158391 1 0 3 0x100083 ttyin getty 87860 175309 1 0 3 0x80 select sshd 86161 160746 94633 74 3 0x100092 bpf pflogd 94633 319550 1 0 3 0x80 netio pflogd 79688 330681 6644 73 3 0x100090 kqread syslogd 6644 416005 1 0 3 0x100082 netio syslogd 82327 188236 1 77 3 0x100090 poll dhclient 70933 367496 1 0 3 0x80 poll dhclient 52150 459849 0 0 3 0x14200 bored smr 50786 1127 0 0 2 0x14200 zerothread 47238 441478 0 0 3 0x14200 aiodoned aiodoned 34207 182053 0 0 3 0x14200 syncer update 37328 219997 0 0 3 0x14200 cleaner cleaner 9405 461100 0 0 3 0x14200 reaper reaper 83728 519959 0 0 3 0x14200 pgdaemon pagedaemon 30281 483954 0 0 3 0x14200 bored crynlk 51865 279318 0 0 3 0x14200 bored crypto 85817 486451 0 0 3 0x14200 bored viomb 34496 464719 0 0 3 0x40014200 acpi0 acpi0 79432 336599 0 0 3 0x40014200 idle1 90478 487210 0 0 3 0x14200 bored softnet 20396 6739 0 0 3 0x14200 bored systqmp 81169 301346 0 0 3 0x14200 bored systq 66317 329652 0 0 3 0x40014200 bored softclock 40120 384139 0 0 3 0x40014200 idle0 1 508621 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 25524 (syz-executor.0) thread 0xffff8000212ac2b8 (407426) exclusive rwlock netlock r = 0 (0xffffffff826ce110) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 tun_dev_write+0x1f9 sys/net/if_tun.c:866 #2 spec_write+0xd4 sys/kern/spec_vnops.c:309 #3 VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 #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:590 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828cae60) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #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:590 #5 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9566 6535K 7296K 78643K 16361 0 pcb 13 8K 8K 78643K 251 0 rtable 113 5K 5K 78643K 615 0 ifaddr 86 15K 16K 78643K 209 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 89 0 ioctlops 0 0K 4K 78643K 1679 0 iov 0 0K 16K 78643K 197 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 3265 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 19 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 20 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1825 197K 290K 78643K 13109 0 file desc 5 13K 25K 78643K 6326 0 sigio 0 0K 0K 78643K 64 0 proc 63 63K 95K 78643K 828 0 subproc 32 2K 2K 78643K 89 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 272 0 in_multi 33 2K 2K 78643K 319 0 ether_multi 1 0K 0K 78643K 76 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 73 334K 334K 78643K 73 0 exec 0 0K 2K 78643K 589 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 235 271K 271K 78643K 15597 0 UVM aobj 37 2K 2K 78643K 45 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 268 0 NDP 16 0K 0K 78643K 63 0 temp 148 3969K 4037K 78643K 47579 0 kqueue 3 4K 22K 78643K 350 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 120 238 0 236 1 0 1 1 0 8 0 rtentry 112 92 0 48 2 0 2 2 0 8 0 unpcb 120 1192 0 1174 2 1 1 2 0 8 0 syncache 296 50 0 50 7 7 0 1 0 8 0 tcpqe 32 101 0 101 6 6 0 1 0 8 0 tcpcb 736 706 0 702 15 12 3 5 0 8 2 inpcb 296 2030 0 2023 7 5 2 2 0 8 1 ip6q 72 5 0 5 1 1 0 1 0 8 0 ip6af 40 15 0 15 1 1 0 1 0 8 0 nd6 48 29 0 23 1 0 1 1 0 8 0 pkpcb 40 16 0 16 2 2 0 1 0 8 0 kcovpl 48 5 0 3 1 0 1 1 0 8 0 ppxss 1128 16 0 16 3 3 0 1 0 8 0 pffrag 232 9 0 8 2 1 1 1 0 482 0 pffrnode 88 9 0 8 2 1 1 1 0 8 0 pffrent 40 22 0 21 2 1 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 3 0 1 1 0 1 1 0 8 0 pfstitem 24 45 0 42 1 0 1 1 0 8 0 pfstkey 112 45 0 42 1 0 1 1 0 8 0 pfstate 328 45 0 42 5 4 1 3 0 8 0 pfrule 1360 78 0 68 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 327 0 135 12 0 12 12 0 8 0 art_table 32 328 0 135 2 0 2 2 0 8 0 art_node 16 91 0 51 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 38 1 0 1 1 0 8 0 semupl 112 7 0 7 1 1 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 42 0 8 2 1 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9135 0 7725 90 1 89 89 0 8 0 ffsino 272 9135 0 7725 95 0 95 95 0 8 0 nchpl 144 16428 0 14837 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 41679 0 41679 1 0 1 1 0 8 1 percpumem 16 55 0 23 1 0 1 1 0 8 0 vcpupl 1984 20 0 0 3 0 3 3 0 8 0 vmpool 560 24 0 4 2 0 2 2 0 8 0 pfiaddrpl 120 5 0 0 1 0 1 1 0 8 0 scsiplug 72 7 0 7 1 1 0 1 0 8 0 scxspl 216 50684 0 50684 12 11 1 7 0 8 1 plimitpl 152 326 0 318 1 0 1 1 0 8 0 sigapl 424 6555 0 6501 7 0 7 7 0 8 0 futexpl 56 43310 0 43310 2 1 1 1 0 8 1 knotepl 112 773 0 753 2 1 1 2 0 8 0 kqueuepl 152 3622 0 3620 1 0 1 1 0 8 0 pipepl 304 251 0 240 12 10 2 2 0 8 1 fdescpl 496 6517 0 6501 3 0 3 3 0 8 0 filepl 152 22043 0 21941 6 1 5 5 0 8 1 lockfpl 104 682 0 681 1 0 1 1 0 8 0 lockfspl 48 277 0 276 1 0 1 1 0 8 0 sessionpl 144 21 0 10 1 0 1 1 0 8 0 pgrppl 48 21 0 10 1 0 1 1 0 8 0 ucredpl 96 3880 0 3871 1 0 1 1 0 8 0 zombiepl 144 6501 0 6500 2 1 1 1 0 8 0 processpl 1056 6555 0 6500 4 0 4 4 0 8 0 procpl 656 14430 0 14367 6 0 6 6 0 8 0 sosppl 168 58 0 58 3 3 0 1 0 8 0 sockpl 400 3494 0 3462 10 6 4 6 0 8 0 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl16k 16384 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 15 0 0 2 0 2 2 0 8 0 mcl9k 9216 12 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 31 0 0 4 2 2 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 263 0 0 17 0 17 17 0 8 0 mtagpl 96 363 0 0 8 0 8 8 0 8 0 mbufpl 256 985 0 0 51 0 51 51 0 8 0 bufpl 280 13225 0 6976 447 0 447 447 0 8 0 anonpl 16 437757 0 429394 49 14 35 38 0 124 1 amapchunkpl 152 25563 0 25300 26 15 11 16 0 158 0 amappl16 192 18568 0 18295 20 5 15 15 0 8 1 amappl15 184 2804 0 2802 1 0 1 1 0 8 0 amappl14 176 1900 0 1896 1 0 1 1 0 8 0 amappl13 168 71 0 69 1 0 1 1 0 8 0 amappl12 160 23 0 18 2 1 1 1 0 8 0 amappl11 152 349 0 333 1 0 1 1 0 8 0 amappl10 144 18 0 14 1 0 1 1 0 8 0 amappl9 136 1313 0 1313 2 2 0 1 0 8 0 amappl8 128 323 0 222 4 0 4 4 0 8 0 amappl7 120 1582 0 1573 1 0 1 1 0 8 0 amappl6 112 81 0 69 1 0 1 1 0 8 0 amappl5 104 6278 0 6259 1 0 1 1 0 8 0 amappl4 96 1704 0 1675 1 0 1 1 0 8 0 amappl3 88 239 0 232 1 0 1 1 0 8 0 amappl2 80 47047 0 46978 2 0 2 2 0 8 0 amappl1 72 199030 0 198557 26 16 10 19 0 8 0 amappl 80 14797 0 14700 3 0 3 3 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 44 0 8 1 0 1 1 0 8 0 uaddrrnd 24 6541 0 6505 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6541 0 6505 1 0 1 1 0 8 0 vmmpekpl 168 36802 0 36766 2 0 2 2 0 8 0 vmmpepl 168 821475 0 819889 98 22 76 76 0 357 1 vmsppl 368 6540 0 6505 4 0 4 4 0 8 0 pdppl 4096 13089 0 13030 80 19 61 61 0 8 2 pvpl 32 2112018 0 2100401 180 79 101 114 0 265 4 pmappl 232 6540 0 6505 4 1 3 3 0 8 0 extentpl 40 57 0 39 1 0 1 1 0 8 0 phpool 112 393 0 43 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff80002298b000,138,0,ffff80002298b1c4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff80002298b000,138,0,ffff80002298b1c4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff8000000449c0,ffff80002298b2a8,fffffd807a807400) at pflog_mtap+0x446 sys/net/if_pflog.c:390 pflog_packet(ffff80002298b3a8,0,ffff800000ac6fe8,0,ffffffff828c5f78,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b17000,ffff80002298b678) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff80002298b678,ffff80002298b684,29,0,ffff800000b17000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b17000,fffffd807a807400) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff80002298b968,ffff8000220cc000,2) at tun_dev_write+0x204 sys/net/if_tun.c:867 spec_write(ffff80002298b7c0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e7af0d8,ffff80002298b968,11,fffffd807f7b7ae0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8069ff6570,ffff80002298b968,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000212ac2b8,f0,ffff80002298b968,0,ffff80002298ba50) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff8000212ac2b8,ffff80002298ba00,ffff80002298ba50) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80002298bad0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002298bad0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2478b21c9c0, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d68ff0) 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_pc() at __sanitizer_cov_trace_pc+0x37 kd_curproc sys/dev/kcov.c:570 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x37 sys/dev/kcov.c:143 syscall(ffff8000229850d0) at syscall+0x10b sys/arch/amd64/amd64/trap.c:541 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff1160, count: -6