uvm_fault(0xffffffff82877818, 0xffffffff82696688, 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(0xffffffff82877818, 0xffffffff82696688, 0, 2) -> e m_copyback(ffff8000223350e0,138,0,ffff8000223352a4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000223350e0,138,0,ffff8000223352a4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800022335360, count: 0 ddb{0}> trace m_copyback(ffff8000223350e0,138,0,ffff8000223352a4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000223350e0,138,0,ffff8000223352a4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a40,ffff800022335388,fffffd8066cd8200) at pflog_mtap+0x446 sys/net/if_pflog.c:390 pflog_packet(ffff800022335488,0,ffff800000bb7ff8,0,ffffffff828b2a60,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b92000,ffff800022335758) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800022335758,ffff800022335764,29,0,ffff800000b92000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b92000,fffffd8066cd8200) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800022335a48,ffff8000245ec000,2) at tun_dev_write+0x204 sys/net/if_tun.c:867 spec_write(ffff8000223358a0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806ed8e418,ffff800022335a48,11,fffffd807f7bf960) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806eb32d18,ffff800022335a48,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000245cdb50,f0,ffff800022335a48,0,ffff800022335b30) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff8000245cdb50,ffff800022335ae0,ffff800022335b30) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800022335bb0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022335bb0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x62ec73a7120, count: -14 ddb{0}> show registers rdi 0 rsi 0xa4e4b acpi_pdirpa+0x90cb3 rbp 0xffff8000223350c0 rbx 0xffffffffffff9ae8 rdx 0xa4e4a acpi_pdirpa+0x90cb2 rcx 0xffffffff826c8f40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0x1 r10 0xbde12cd9b0108b1d r11 0x71d4bc92fa1563a3 r12 0xfffffd8066b1dd00 r13 0x108 r14 0x30 r15 0xffff8000223352c0 rip 0xffffffff81205fd9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800022335000 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=409616 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000245cc2a0,0xffffffff82881fe0 process=0xffff8000212c6bd8 user=0xffff800022330000, vmspace=0xfffffd806a84b8c8 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60537 176202 40877 0 7 0 syz-executor.0 *60537 409616 40877 0 7 0x4000000 syz-executor.0 56902 133338 16353 0 2 0 syz-executor.1 56902 504931 16353 0 3 0x4000080 netio syz-executor.1 40877 106026 28534 0 3 0x82 nanosleep syz-executor.0 58297 61475 0 0 3 0x14200 acct acct 16353 196530 28534 0 3 0x82 nanosleep syz-executor.1 43559 356297 0 0 3 0x14280 nfsidl nfsio 13292 324679 0 0 3 0x14280 nfsidl nfsio 83967 157860 0 0 3 0x14280 nfsidl nfsio 1918 94614 0 0 3 0x14280 nfsidl nfsio 14090 69739 0 0 3 0x14280 nfsidl nfsio 42176 179022 0 0 3 0x14280 nfsidl nfsio 91335 416229 0 0 3 0x14280 nfsidl nfsio 55832 70948 0 0 3 0x14280 nfsidl nfsio 84430 332526 0 0 3 0x14280 nfsidl nfsio 81259 304116 0 0 3 0x14280 nfsidl nfsio 649 375734 0 0 3 0x14280 nfsidl nfsio 46021 370010 0 0 3 0x14280 nfsidl nfsio 61522 268402 0 0 3 0x14280 nfsidl nfsio 99866 410780 0 0 3 0x14280 nfsidl nfsio 64330 409227 0 0 3 0x14280 nfsidl nfsio 7571 483914 0 0 3 0x14280 nfsidl nfsio 47126 168962 0 0 3 0x14280 nfsidl nfsio 64592 245862 0 0 3 0x14280 nfsidl nfsio 15806 308689 0 0 3 0x14280 nfsidl nfsio 7112 328200 0 0 3 0x14280 nfsidl nfsio 8339 278294 0 0 3 0x14200 bored sosplice 95574 464763 1 0 3 0x100083 ttyin getty 28534 112954 38078 0 3 0x82 thrsleep syz-fuzzer 28534 55897 38078 0 3 0x4000082 thrsleep syz-fuzzer 28534 212201 38078 0 3 0x4000082 kqread syz-fuzzer 28534 20239 38078 0 3 0x4000082 thrsleep syz-fuzzer 28534 81879 38078 0 3 0x4000082 thrsleep syz-fuzzer 28534 438709 38078 0 3 0x4000082 thrsleep syz-fuzzer 28534 85910 38078 0 3 0x4000082 thrsleep syz-fuzzer 28534 161144 38078 0 3 0x4000082 thrsleep syz-fuzzer 38078 53615 3449 0 3 0x10008a pause ksh 3449 160294 4825 0 3 0x92 select sshd 4825 373919 1 0 3 0x80 select sshd 63443 227503 15087 74 3 0x100092 bpf pflogd 15087 395881 1 0 3 0x80 netio pflogd 687 111922 59190 73 3 0x100090 kqread syslogd 59190 268735 1 0 3 0x100082 netio syslogd 76231 274641 1 77 3 0x100090 poll dhclient 28775 131162 1 0 3 0x80 poll dhclient 14496 480087 0 0 3 0x14200 bored smr 25919 239071 0 0 2 0x14200 zerothread 50725 158494 0 0 3 0x14200 aiodoned aiodoned 8961 198473 0 0 3 0x14200 syncer update 75480 73581 0 0 3 0x14200 cleaner cleaner 81255 452839 0 0 3 0x14200 reaper reaper 87550 112498 0 0 3 0x14200 pgdaemon pagedaemon 67688 249524 0 0 3 0x14200 bored crynlk 66361 391316 0 0 3 0x14200 bored crypto 41320 469730 0 0 3 0x40014200 acpi0 acpi0 75967 484153 0 0 3 0x40014200 idle1 31180 119731 0 0 3 0x14200 bored softnet 57798 74198 0 0 3 0x14200 bored systqmp 28157 259858 0 0 3 0x14200 bored systq 71063 105597 0 0 3 0x40014200 bored softclock 49824 411121 0 0 3 0x40014200 idle0 1 83694 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 60537 (syz-executor.0) thread 0xffff8000245cdb50 (409616) exclusive rwlock netlock r = 0 (0xffffffff827457c0) #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:866 #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:567 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82898598) #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:567 #5 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9570 6447K 7460K 78643K 19874 0 pcb 13 8K 8K 78643K 377 0 rtable 105 5K 7K 78643K 1613 0 ifaddr 105 19K 19K 78643K 567 0 sysctl 3 1K 1K 78643K 3 0 counters 43 33K 34K 78643K 197 0 ioctlops 0 0K 4K 78643K 1975 0 iov 0 0K 24K 78643K 340 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 4251 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 29 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 8429 0 sigio 0 0K 0K 78643K 73 0 proc 66 63K 95K 78643K 1024 0 subproc 32 2K 2K 78643K 153 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 626 0 in_multi 28 1K 2K 78643K 454 0 ether_multi 1 0K 0K 78643K 71 0 mrt 0 0K 0K 78643K 68 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 807 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 297 434K 434K 78643K 21171 0 UVM aobj 88 8K 8K 78643K 97 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 365 0 NDP 21 0K 0K 78643K 146 0 temp 167 3981K 4058K 78643K 62145 0 kqueue 3 4K 12K 78643K 324 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 26 0 22 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 96 180 0 178 1 0 1 1 0 8 0 rtentry 112 247 0 210 2 0 2 2 0 8 0 unpcb 120 2301 0 2287 3 1 2 2 0 8 1 syncache 272 75 0 75 14 13 1 1 0 8 1 tcpqe 32 106 0 106 8 7 1 1 0 8 1 tcpcb 592 1487 0 1479 22 19 3 4 0 8 1 inpcb 296 3935 0 3926 12 10 2 3 0 8 0 rttmr 72 22 0 22 4 4 0 1 0 8 0 nd6 48 62 0 58 1 0 1 1 0 8 0 pkpcb 40 38 0 38 8 8 0 1 0 8 0 kcovpl 48 9 0 7 1 0 1 1 0 8 0 swfcl 56 1 0 0 1 0 1 1 0 8 0 ppxss 1128 20 0 20 4 4 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 20 0 20 2 2 0 1 0 482 0 pffrnode 88 20 0 20 2 2 0 1 0 8 0 pffrent 40 267 0 267 4 3 1 1 0 8 1 pfosfp 40 850 0 423 5 0 5 5 0 8 0 pfosfpen 112 1443 0 714 21 0 21 21 0 8 0 pfrktable 1344 117 0 114 4 3 1 1 0 8 0 pftag 88 3 0 3 2 2 0 1 0 8 0 pfstitem 24 18 0 16 1 0 1 1 0 8 0 pfstkey 112 30 0 28 1 0 1 1 0 8 0 pfstate 328 24 0 22 2 1 1 2 0 8 0 pfrule 1360 87 0 67 4 2 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1108 0 919 19 6 13 15 0 8 1 art_table 32 1109 0 919 2 0 2 2 0 8 0 art_node 16 240 0 206 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 0 1 0 1 1 0 8 0 semupl 112 10 0 10 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 94 0 9 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 11853 0 10435 90 1 89 90 0 8 0 ffsino 272 11853 0 10435 95 0 95 95 0 8 0 nchpl 144 21824 0 20234 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 55545 0 55545 1 0 1 1 0 8 1 percpumem 16 109 0 77 1 0 1 1 0 8 0 vcpupl 1984 45 0 0 6 0 6 6 0 8 0 vmpool 560 45 0 0 4 0 4 4 0 8 0 pfiaddrpl 120 38 0 33 4 3 1 1 0 8 0 scsiplug 72 2 0 2 2 1 1 1 0 8 1 scxspl 192 65616 0 65616 16 15 1 7 0 8 1 plimitpl 152 406 0 398 1 0 1 1 0 8 0 sigapl 424 8646 0 8592 7 0 7 7 0 8 1 futexpl 56 62251 0 62251 1 0 1 1 0 8 1 knotepl 112 511 0 491 1 0 1 1 0 8 0 kqueuepl 152 4852 0 4845 1 0 1 1 0 8 0 pipepl 304 433 0 422 10 8 2 2 0 8 1 fdescpl 496 8609 0 8592 3 0 3 3 0 8 0 filepl 152 31452 0 31347 9 3 6 7 0 8 1 lockfpl 104 1370 0 1369 1 0 1 1 0 8 0 lockfspl 48 466 0 465 1 0 1 1 0 8 0 sessionpl 120 26 0 15 1 0 1 1 0 8 0 pgrppl 48 73 0 62 1 0 1 1 0 8 0 ucredpl 96 4072 0 4063 1 0 1 1 0 8 0 zombiepl 144 8592 0 8592 1 0 1 1 0 8 1 processpl 1008 8646 0 8592 7 0 7 7 0 8 0 procpl 632 19756 0 19693 6 0 6 6 0 8 0 srpgc 72 2 0 2 1 1 0 1 0 8 0 sosppl 144 58 0 58 9 8 1 1 0 8 1 sockpl 400 6466 0 6440 12 6 6 6 0 8 2 mcl64k 65536 37 0 0 4 0 4 4 0 8 0 mcl16k 16384 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 19 0 0 2 0 2 2 0 8 0 mcl8k 8192 21 0 0 3 1 2 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 12 0 0 1 0 1 1 0 8 0 mcl2k 2048 415 0 0 21 2 19 19 0 8 0 mtagpl 96 319 0 0 7 0 7 7 0 8 0 mbufpl 256 1226 0 0 70 0 70 70 0 8 0 bufpl 280 16167 0 9917 447 0 447 447 0 8 0 anonpl 16 628242 0 619460 87 42 45 55 0 124 0 amapchunkpl 152 36875 0 36629 55 42 13 23 0 158 1 amappl16 192 25816 0 25436 49 29 20 31 0 8 0 amappl15 184 1420 0 1417 1 0 1 1 0 8 0 amappl14 176 1644 0 1639 1 0 1 1 0 8 0 amappl13 168 2329 0 2327 1 0 1 1 0 8 0 amappl12 160 183 0 175 1 0 1 1 0 8 0 amappl11 152 1611 0 1596 1 0 1 1 0 8 0 amappl10 144 525 0 518 1 0 1 1 0 8 0 amappl9 136 448 0 446 2 1 1 1 0 8 0 amappl8 128 1393 0 1260 6 1 5 5 0 8 0 amappl7 120 748 0 738 1 0 1 1 0 8 0 amappl6 112 613 0 596 1 0 1 1 0 8 0 amappl5 104 9329 0 9308 1 0 1 1 0 8 0 amappl4 96 2138 0 2100 1 0 1 1 0 8 0 amappl3 88 2580 0 2573 1 0 1 1 0 8 0 amappl2 80 61134 0 61049 3 0 3 3 0 8 0 amappl1 72 262626 0 262119 26 15 11 19 0 8 0 amappl 80 20210 0 20105 3 0 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 96 0 9 2 0 2 2 0 8 0 uaddrrnd 24 8654 0 8592 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8654 0 8592 1 0 1 1 0 8 0 vmmpekpl 168 43422 0 43370 3 0 3 3 0 8 0 vmmpepl 168 1085919 0 1083981 144 49 95 95 0 357 8 vmsppl 368 8653 0 8592 6 0 6 6 0 8 0 pdppl 4096 17315 0 17229 11 0 11 11 0 8 0 pvpl 32 2734494 0 2723902 269 160 109 130 0 265 4 pmappl 232 8653 0 8592 5 1 4 4 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 361 0 33 12 2 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff8000223350e0,138,0,ffff8000223352a4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000223350e0,138,0,ffff8000223352a4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a40,ffff800022335388,fffffd8066cd8200) at pflog_mtap+0x446 sys/net/if_pflog.c:390 pflog_packet(ffff800022335488,0,ffff800000bb7ff8,0,ffffffff828b2a60,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b92000,ffff800022335758) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800022335758,ffff800022335764,29,0,ffff800000b92000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b92000,fffffd8066cd8200) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800022335a48,ffff8000245ec000,2) at tun_dev_write+0x204 sys/net/if_tun.c:867 spec_write(ffff8000223358a0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806ed8e418,ffff800022335a48,11,fffffd807f7bf960) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806eb32d18,ffff800022335a48,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000245cdb50,f0,ffff800022335a48,0,ffff800022335b30) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff8000245cdb50,ffff800022335ae0,ffff800022335b30) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800022335bb0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022335bb0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:567 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x62ec73a7120, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> tace No such command