uvm_fault(0xffffffff8277aa10, 0xffffffff8268fb90, 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, 0xffffffff8268fb90, 0, 2) -> e m_copyback(ffff8000231082a0,158,0,ffff800023108464,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000231082a0,158,0,ffff800023108464,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800023108520, count: 0 ddb{0}> trace m_copyback(ffff8000231082a0,158,0,ffff800023108464,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000231082a0,158,0,ffff800023108464,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a40,ffff800023108548,fffffd806d667b00) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800023108648,0,ffff800000ac2a78,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b37800,ffff800023108918) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800023108918,ffff800023108924,29,0,ffff800000b37800) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b37800,fffffd806d667b00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800023108c08,ffff800021efd000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800023108a60) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd807ea10418,ffff800023108c08,11,fffffd807f7bf960) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806ca99600,ffff800023108c08,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800024112ef8,f0,ffff800023108c08,0,ffff800023108cf0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800024112ef8,ffff800023108ca0,ffff800023108cf0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800023108d70) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023108d70) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xffc4ca9a080, count: -14 ddb{0}> show registers rdi 0 rsi 0x741fb acpi_pdirpa+0x60063 rbp 0xffff800023108280 rbx 0xffffffffffffbc29 rdx 0x741fa acpi_pdirpa+0x60062 rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0x7d418435bab959e0 r12 0xfffffd80646f4b00 r13 0x128 r14 0x30 r15 0xffff800023108480 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000231081c0 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.1) pid=15671 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800024113660,0xffffffff82888178 process=0xffff800024114fc0 user=0xffff800023103000, vmspace=0xfffffd807effe730 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 84571 264374 43856 0 2 0 syz-executor.1 *84571 15671 43856 0 7 0x4000000 syz-executor.1 77463 114244 89540 0 2 0 syz-executor.0 77463 241904 89540 0 3 0x4000080 fsleep syz-executor.0 89540 74655 90452 0 3 0x82 nanosleep syz-executor.0 43856 358675 90452 0 3 0x82 nanosleep syz-executor.1 39144 186337 0 0 3 0x14280 nfsidl nfsio 8967 490372 0 0 3 0x14280 nfsidl nfsio 45205 412605 0 0 3 0x14280 nfsidl nfsio 28737 338624 0 0 3 0x14280 nfsidl nfsio 14845 111121 0 0 3 0x14280 nfsidl nfsio 55372 405532 0 0 3 0x14280 nfsidl nfsio 82987 267250 0 0 3 0x14280 nfsidl nfsio 71411 198412 0 0 3 0x14280 nfsidl nfsio 34086 274071 0 0 3 0x14280 nfsidl nfsio 59112 238857 0 0 3 0x14280 nfsidl nfsio 24072 190120 0 0 3 0x14280 nfsidl nfsio 13633 144130 0 0 3 0x14280 nfsidl nfsio 65106 117861 0 0 3 0x14280 nfsidl nfsio 85629 461015 0 0 3 0x14280 nfsidl nfsio 3515 11297 0 0 3 0x14280 nfsidl nfsio 10922 403980 0 0 3 0x14280 nfsidl nfsio 7729 287621 0 0 3 0x14280 nfsidl nfsio 7834 148989 0 0 3 0x14280 nfsidl nfsio 17002 14667 0 0 3 0x14280 nfsidl nfsio 8984 178391 0 0 3 0x14280 nfsidl nfsio 14231 341296 0 0 3 0x14200 bored sosplice 90452 495733 57767 0 3 0x82 thrsleep syz-fuzzer 90452 209164 57767 0 3 0x4000082 nanosleep syz-fuzzer 90452 2061 57767 0 3 0x4000082 thrsleep syz-fuzzer 90452 327678 57767 0 3 0x4000082 thrsleep syz-fuzzer 90452 402266 57767 0 3 0x4000082 thrsleep syz-fuzzer 90452 182072 57767 0 3 0x4000082 thrsleep syz-fuzzer 90452 392429 57767 0 3 0x4000082 kqread syz-fuzzer 90452 234331 57767 0 3 0x4000082 thrsleep syz-fuzzer 57767 54544 87347 0 3 0x10008a pause ksh 87347 287831 67051 0 3 0x92 select sshd 70502 496807 1 0 3 0x100083 ttyin getty 67051 48052 1 0 3 0x80 select sshd 71892 508980 54981 74 3 0x100092 bpf pflogd 54981 466868 1 0 3 0x80 netio pflogd 23851 416592 63586 73 3 0x100090 kqread syslogd 63586 458874 1 0 3 0x100082 netio syslogd 132 207485 1 77 3 0x100090 poll dhclient 39435 75780 1 0 3 0x80 poll dhclient 467 261584 0 0 3 0x14200 bored smr 1212 521081 0 0 2 0x14200 zerothread 60029 210785 0 0 3 0x14200 aiodoned aiodoned 3865 226035 0 0 3 0x14200 syncer update 42515 242116 0 0 3 0x14200 cleaner cleaner 78281 278585 0 0 3 0x14200 reaper reaper 90336 362975 0 0 3 0x14200 pgdaemon pagedaemon 25581 517281 0 0 3 0x14200 bored crynlk 91135 339364 0 0 3 0x14200 bored crypto 71822 240694 0 0 3 0x40014200 acpi0 acpi0 10071 516228 0 0 7 0x40014200 idle1 71238 451931 0 0 3 0x14200 bored softnet 58965 119114 0 0 3 0x14200 bored systqmp 60457 128458 0 0 3 0x14200 bored systq 34199 213838 0 0 3 0x40014200 bored softclock 68006 298443 0 0 3 0x40014200 idle0 1 68735 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 84571 (syz-executor.1) thread 0xffff800024112ef8 (15671) 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 9523 6538K 7770K 78643K 13105 0 pcb 13 8K 8K 78643K 119 0 rtable 121 13K 17K 78643K 534 0 ifaddr 67 13K 14K 78643K 159 0 counters 43 33K 34K 78643K 63 0 ioctlops 0 0K 4K 78643K 1563 0 iov 0 0K 12K 78643K 58 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1921 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 13 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 130 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 657 0 sigio 0 0K 0K 78643K 14 0 proc 62 63K 95K 78643K 646 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 47 0 in_multi 33 2K 2K 78643K 112 0 ether_multi 1 0K 0K 78643K 12 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 73 334K 334K 78643K 73 0 exec 0 0K 2K 78643K 484 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 167 59K 60K 78643K 2340 0 UVM aobj 20 6K 6K 78643K 31 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 85 0 NDP 11 0K 0K 78643K 35 0 temp 129 3966K 4030K 78643K 9060 0 kqueue 3 4K 10K 78643K 22 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 13 0 7 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 37 0 35 1 0 1 1 0 8 0 rtentry 112 101 0 55 2 0 2 2 0 8 0 unpcb 120 439 0 429 1 0 1 1 0 8 0 syncache 272 8 0 8 3 3 0 1 0 8 0 tcpqe 32 174 0 174 2 2 0 1 0 8 0 tcpcb 592 192 0 188 2 1 1 2 0 8 0 inpcb 296 551 0 543 4 3 1 2 0 8 0 rttmr 72 3 0 3 1 1 0 1 0 8 0 nd6 48 24 0 16 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 pffrag 232 3 0 2 2 1 1 1 0 482 0 pffrnode 88 3 0 2 2 1 1 1 0 8 0 pffrent 40 8 0 7 2 1 1 1 0 8 0 pfosfp 40 846 0 846 5 0 5 5 0 8 5 pfosfpen 112 1428 0 1428 21 0 21 21 0 8 21 pfrktable 1344 44 0 40 1 0 1 1 0 8 0 pfstitem 24 16 0 14 1 0 1 1 0 8 0 pfstkey 112 16 0 14 1 0 1 1 0 8 0 pfstate 328 16 0 14 2 1 1 2 0 8 0 pfrule 1360 36 0 27 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 419 0 201 16 2 14 14 0 8 0 art_table 32 420 0 201 2 0 2 2 0 8 0 art_node 16 100 0 58 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 7 1 0 1 1 0 8 0 semapl 112 128 0 118 1 0 1 1 0 8 0 shmpl 112 28 0 11 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2202 0 802 89 0 89 89 0 8 0 ffsino 272 2202 0 802 94 0 94 94 0 8 0 nchpl 144 3309 0 1715 60 0 60 60 0 8 0 uvmvnodes 72 2877 0 0 53 0 53 53 0 8 0 vnodes 208 2877 0 0 152 0 152 152 0 8 0 namei 1024 10305 0 10305 5 4 1 1 0 8 1 percpumem 16 42 0 10 1 0 1 1 0 8 0 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 13 0 10 1 0 1 1 0 8 0 scxspl 200 9690 0 9690 11 10 1 7 0 8 1 plimitpl 152 50 0 42 1 0 1 1 0 8 0 sigapl 424 884 0 831 6 0 6 6 0 8 0 futexpl 56 12411 0 12410 4 3 1 1 0 8 0 knotepl 112 118 0 98 1 0 1 1 0 8 0 kqueuepl 152 42 0 39 1 0 1 1 0 8 0 pipepl 304 168 0 157 3 1 2 2 0 8 1 fdescpl 496 848 0 831 3 0 3 3 0 8 0 filepl 152 5067 0 4962 5 0 5 5 0 8 0 lockfpl 104 147 0 146 1 0 1 1 0 8 0 lockfspl 48 52 0 51 1 0 1 1 0 8 0 sessionpl 120 21 0 10 1 0 1 1 0 8 0 pgrppl 48 35 0 24 1 0 1 1 0 8 0 ucredpl 96 499 0 490 1 0 1 1 0 8 0 zombiepl 144 831 0 831 3 2 1 1 0 8 1 processpl 1008 884 0 831 7 0 7 7 0 8 0 procpl 632 1679 0 1617 6 0 6 6 0 8 0 sosppl 144 5 0 5 3 3 0 1 0 8 0 sockpl 400 1032 0 1012 6 3 3 4 0 8 1 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 182 0 0 22 1 21 22 0 8 0 mtagpl 96 170 0 0 4 0 4 4 0 8 0 mbufpl 256 435 0 0 24 0 24 24 0 8 0 bufpl 280 4652 0 190 319 0 319 319 0 8 0 anonpl 16 106172 0 87439 103 10 93 93 0 124 13 amapchunkpl 152 3720 0 3396 21 7 14 18 0 158 0 amappl16 192 3513 0 2629 67 14 53 57 0 8 8 amappl15 184 10 0 9 1 0 1 1 0 8 0 amappl14 176 28 0 21 1 0 1 1 0 8 0 amappl13 168 47 0 45 1 0 1 1 0 8 0 amappl12 160 29 0 22 1 0 1 1 0 8 0 amappl11 152 354 0 337 1 0 1 1 0 8 0 amappl10 144 46 0 41 1 0 1 1 0 8 0 amappl9 136 500 0 499 1 0 1 1 0 8 0 amappl8 128 334 0 273 2 0 2 2 0 8 0 amappl7 120 338 0 329 1 0 1 1 0 8 0 amappl6 112 427 0 411 1 0 1 1 0 8 0 amappl5 104 721 0 707 1 0 1 1 0 8 0 amappl4 96 527 0 497 1 0 1 1 0 8 0 amappl3 88 90 0 83 1 0 1 1 0 8 0 amappl2 80 5212 0 5134 3 1 2 3 0 8 0 amappl1 72 32234 0 31751 24 14 10 19 0 8 0 amappl 80 2000 0 1912 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 30 0 11 1 0 1 1 0 8 0 uaddrrnd 24 851 0 831 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 851 0 831 1 0 1 1 0 8 0 vmmpekpl 168 8857 0 8819 2 0 2 2 0 8 0 vmmpepl 168 113021 0 110777 181 77 104 130 0 357 6 vmsppl 368 850 0 831 2 0 2 2 0 8 0 pdppl 4096 1709 0 1665 6 0 6 6 0 8 0 pvpl 32 316135 0 293991 234 17 217 217 0 265 33 pmappl 232 850 0 831 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 279 0 16 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff8000231082a0,158,0,ffff800023108464,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000231082a0,158,0,ffff800023108464,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a40,ffff800023108548,fffffd806d667b00) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800023108648,0,ffff800000ac2a78,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b37800,ffff800023108918) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800023108918,ffff800023108924,29,0,ffff800000b37800) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b37800,fffffd806d667b00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800023108c08,ffff800021efd000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800023108a60) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd807ea10418,ffff800023108c08,11,fffffd807f7bf960) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806ca99600,ffff800023108c08,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800024112ef8,f0,ffff800023108c08,0,ffff800023108cf0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800024112ef8,ffff800023108ca0,ffff800023108cf0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800023108d70) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023108d70) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xffc4ca9a080, 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 acpicpu_idle() at acpicpu_idle+0x2eb sys/dev/acpi/acpicpu.c:1187 sched_idle(ffff800020d80ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5