uvm_fault(0xffffffff8277aa10, 0xffffffff8269a038, 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, 0xffffffff8269a038, 0, 2) -> e m_copyback(ffff8000222eacc0,158,0,ffff8000222eae84,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000222eacc0,158,0,ffff8000222eae84,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff8000222eaf40, count: 0 ddb{0}> trace m_copyback(ffff8000222eacc0,158,0,ffff8000222eae84,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000222eacc0,158,0,ffff8000222eae84,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a00,ffff8000222eaf68,fffffd806a1df100) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff8000222eb068,0,ffff800000ac2528,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b51000,ffff8000222eb338) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff8000222eb338,ffff8000222eb344,29,0,ffff800000b51000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b51000,fffffd806a1df100) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff8000222eb628,ffff80002310a000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff8000222eb480) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e28f278,ffff8000222eb628,11,fffffd807f7bfb40) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067ffc0b0,ffff8000222eb628,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020ec4788,f0,ffff8000222eb628,0,ffff8000222eb710) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020ec4788,ffff8000222eb6c0,ffff8000222eb710) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222eb790) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222eb790) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9a6db4a4d60, count: -14 ddb{0}> show registers rdi 0 rsi 0x7589d acpi_pdirpa+0x61705 rbp 0xffff8000222eaca0 rbx 0xffffffffffffd0be rdx 0x7589c acpi_pdirpa+0x61704 rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0xd25bf09099bf03af r12 0xfffffd80696ae400 r13 0x128 r14 0x30 r15 0xffff8000222eaea0 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222eabe0 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.1) pid=291654 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ec4c78,0xffffffff82888178 process=0xffff8000228ee008 user=0xffff8000222e6000, vmspace=0xfffffd807ab70460 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 3229 337317 66532 0 7 0 syz-executor.1 * 3229 291654 66532 0 7 0x4000000 syz-executor.1 13895 290144 0 0 3 0x14280 nfsidl nfsio 56803 355324 0 0 3 0x14280 nfsidl nfsio 10033 211856 0 0 3 0x14280 nfsidl nfsio 23288 262811 0 0 3 0x14280 nfsidl nfsio 50264 94825 0 0 3 0x14280 nfsidl nfsio 93382 345596 0 0 3 0x14280 nfsidl nfsio 12756 89436 0 0 3 0x14280 nfsidl nfsio 91223 251486 0 0 3 0x14280 nfsidl nfsio 96282 425973 0 0 3 0x14280 nfsidl nfsio 79854 483372 0 0 3 0x14280 nfsidl nfsio 49746 149215 0 0 3 0x14280 nfsidl nfsio 31515 287927 0 0 3 0x14280 nfsidl nfsio 14028 511493 0 0 3 0x14280 nfsidl nfsio 52752 91994 0 0 3 0x14280 nfsidl nfsio 84365 359934 0 0 3 0x14280 nfsidl nfsio 54170 6594 0 0 3 0x14280 nfsidl nfsio 75205 401078 0 0 3 0x14280 nfsidl nfsio 55169 161326 0 0 3 0x14280 nfsidl nfsio 96751 169406 0 0 3 0x14280 nfsidl nfsio 88255 20866 0 0 3 0x14280 nfsidl nfsio 66532 360389 5162 0 3 0x82 nanosleep syz-executor.1 33885 111547 0 0 3 0x14200 bored sosplice 8492 295433 5162 0 3 0x82 piperd syz-executor.0 5162 102589 91396 0 3 0x82 thrsleep syz-fuzzer 5162 79930 91396 0 3 0x4000082 nanosleep syz-fuzzer 5162 96378 91396 0 3 0x4000082 thrsleep syz-fuzzer 5162 464925 91396 0 2 0x4000002 syz-fuzzer 5162 403739 91396 0 3 0x4000082 thrsleep syz-fuzzer 5162 329198 91396 0 3 0x4000082 thrsleep syz-fuzzer 5162 499096 91396 0 3 0x4000082 thrsleep syz-fuzzer 5162 224989 91396 0 3 0x4000082 kqread syz-fuzzer 91396 301883 68308 0 3 0x10008a pause ksh 68308 472926 79651 0 3 0x92 select sshd 36200 249200 1 0 3 0x100083 ttyin getty 79651 10835 1 0 3 0x80 select sshd 95691 289243 74254 74 3 0x100092 bpf pflogd 74254 25269 1 0 3 0x80 netio pflogd 49214 13172 79004 73 3 0x100090 kqread syslogd 79004 482322 1 0 3 0x100082 netio syslogd 17308 347926 1 77 3 0x100090 poll dhclient 32980 79820 1 0 3 0x80 poll dhclient 81243 141419 0 0 3 0x14200 bored smr 21867 353764 0 0 2 0x14200 zerothread 27089 213366 0 0 3 0x14200 aiodoned aiodoned 29923 352469 0 0 3 0x14200 syncer update 84798 233506 0 0 3 0x14200 cleaner cleaner 35522 509193 0 0 3 0x14200 reaper reaper 21745 486427 0 0 3 0x14200 pgdaemon pagedaemon 37457 239752 0 0 3 0x14200 bored crynlk 59119 258028 0 0 3 0x14200 bored crypto 84081 510373 0 0 3 0x40014200 acpi0 acpi0 9985 491925 0 0 3 0x40014200 idle1 38414 394431 0 0 3 0x14200 bored softnet 96846 378845 0 0 3 0x14200 bored systqmp 16765 170666 0 0 3 0x14200 bored systq 2595 197598 0 0 3 0x40014200 bored softclock 28783 382859 0 0 3 0x40014200 idle0 1 188432 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 3229 (syz-executor.1) thread 0xffff800020ec4788 (291654) 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 9525 6560K 7048K 78643K 12644 0 pcb 13 8K 8K 78643K 150 0 rtable 119 9K 11K 78643K 556 0 ifaddr 76 15K 16K 78643K 191 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 77 0 ioctlops 0 0K 4K 78643K 1609 0 iov 0 0K 16K 78643K 45 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1762 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 213 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 813 0 sigio 0 0K 0K 78643K 42 0 proc 63 63K 95K 78643K 534 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 90 0 in_multi 34 2K 2K 78643K 96 0 ether_multi 1 0K 0K 78643K 8 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 414 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 175 109K 111K 78643K 3214 0 UVM aobj 33 4K 4K 78643K 36 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 61 0 NDP 12 0K 0K 78643K 39 0 temp 133 3968K 4034K 78643K 23773 0 kqueue 3 4K 18K 78643K 45 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 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 59 0 57 1 0 1 1 0 8 0 rtentry 112 90 0 53 2 0 2 2 0 8 0 unpcb 120 977 0 967 1 0 1 1 0 8 0 syncache 272 10 0 10 3 2 1 1 0 8 1 tcpqe 32 353 0 353 1 1 0 1 0 8 0 tcpcb 592 203 0 197 4 3 1 2 0 8 0 inpcb 296 656 0 647 6 4 2 2 0 8 1 nd6 48 17 0 10 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1136 2 0 2 2 1 1 1 0 8 1 pfstscr 40 1 0 1 1 1 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 54 0 42 3 2 1 2 0 8 0 pftag 88 3 0 2 2 1 1 1 0 8 0 pfstitem 24 22 0 20 1 0 1 1 0 8 0 pfstkey 112 22 0 20 1 0 1 1 0 8 0 pfstate 328 21 0 19 2 1 1 2 0 8 0 pfrule 1360 47 0 36 3 2 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 404 0 246 14 3 11 14 0 8 0 art_table 32 405 0 246 2 0 2 2 0 8 0 art_node 16 89 0 58 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 11 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 211 0 201 1 0 1 1 0 8 0 shmpl 112 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2409 0 1010 90 2 88 89 0 8 0 ffsino 272 2409 0 1010 96 2 94 95 0 8 0 nchpl 144 3856 0 2265 60 0 60 60 0 8 0 uvmvnodes 72 2913 0 0 53 0 53 53 0 8 0 vnodes 208 2913 0 0 154 0 154 154 0 8 0 namei 1024 11072 0 11072 3 2 1 1 0 8 1 percpumem 16 49 0 17 1 0 1 1 0 8 0 vcpupl 1984 10 0 0 2 0 2 2 0 8 0 vmpool 560 13 0 3 1 0 1 1 0 8 0 pfiaddrpl 120 17 0 8 1 0 1 1 0 8 0 scsiplug 72 4 0 4 2 2 0 1 0 8 0 scxspl 200 10666 0 10666 12 11 1 7 0 8 1 plimitpl 152 45 0 37 1 0 1 1 0 8 0 sigapl 424 1046 0 994 6 0 6 6 0 8 0 futexpl 56 12049 0 12049 2 1 1 1 0 8 1 knotepl 112 154 0 134 2 1 1 2 0 8 0 kqueuepl 152 108 0 102 1 0 1 1 0 8 0 pipepl 304 216 0 205 5 3 2 2 0 8 1 fdescpl 496 1010 0 994 3 0 3 3 0 8 0 filepl 152 6405 0 6303 6 1 5 5 0 8 1 lockfpl 104 167 0 166 1 0 1 1 0 8 0 lockfspl 48 69 0 68 1 0 1 1 0 8 0 sessionpl 120 19 0 8 1 0 1 1 0 8 0 pgrppl 48 29 0 18 1 0 1 1 0 8 0 ucredpl 96 905 0 896 1 0 1 1 0 8 0 zombiepl 144 994 0 994 2 1 1 1 0 8 1 processpl 1008 1046 0 994 8 1 7 7 0 8 0 procpl 632 2604 0 2544 7 1 6 6 0 8 1 sosppl 144 5 0 5 2 1 1 1 0 8 1 sockpl 400 1694 0 1673 11 7 4 4 0 8 1 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k 2048 239 0 0 29 0 29 29 0 8 0 mtagpl 96 167 0 0 5 0 5 5 0 8 0 mbufpl 256 474 0 0 28 0 28 28 0 8 0 bufpl 280 4703 0 186 323 0 323 323 0 8 0 anonpl 16 116273 0 98608 97 9 88 88 0 124 14 amapchunkpl 152 6187 0 5890 33 19 14 26 0 158 2 amappl16 192 4129 0 3284 68 17 51 55 0 8 8 amappl15 184 190 0 187 1 0 1 1 0 8 0 amappl14 176 30 0 26 1 0 1 1 0 8 0 amappl13 168 270 0 266 1 0 1 1 0 8 0 amappl12 160 11 0 7 1 0 1 1 0 8 0 amappl11 152 54 0 39 1 0 1 1 0 8 0 amappl10 144 21 0 16 1 0 1 1 0 8 0 amappl9 136 707 0 707 2 2 0 1 0 8 0 amappl8 128 539 0 472 3 0 3 3 0 8 0 amappl7 120 271 0 263 1 0 1 1 0 8 0 amappl6 112 128 0 112 1 0 1 1 0 8 0 amappl5 104 1088 0 1074 1 0 1 1 0 8 0 amappl4 96 550 0 521 1 0 1 1 0 8 0 amappl3 88 92 0 84 1 0 1 1 0 8 0 amappl2 80 6598 0 6525 3 1 2 3 0 8 0 amappl1 72 39973 0 39505 24 14 10 19 0 8 0 amappl 80 2893 0 2802 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 35 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1023 0 997 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1023 0 997 1 0 1 1 0 8 0 vmmpekpl 168 11227 0 11184 3 0 3 3 0 8 1 vmmpepl 168 137033 0 134906 153 46 107 127 0 357 11 vmsppl 368 1022 0 997 3 0 3 3 0 8 0 pdppl 4096 2053 0 2004 8 1 7 7 0 8 0 pvpl 32 352258 0 331325 216 13 203 207 0 265 28 pmappl 232 1022 0 997 4 2 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 299 0 23 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff8000222eacc0,158,0,ffff8000222eae84,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000222eacc0,158,0,ffff8000222eae84,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a00,ffff8000222eaf68,fffffd806a1df100) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff8000222eb068,0,ffff800000ac2528,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b51000,ffff8000222eb338) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff8000222eb338,ffff8000222eb344,29,0,ffff800000b51000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b51000,fffffd806a1df100) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff8000222eb628,ffff80002310a000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff8000222eb480) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e28f278,ffff8000222eb628,11,fffffd807f7bfb40) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067ffc0b0,ffff8000222eb628,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020ec4788,f0,ffff8000222eb628,0,ffff8000222eb710) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020ec4788,ffff8000222eb6c0,ffff8000222eb710) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222eb790) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222eb790) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9a6db4a4d60, 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: 0x7f7ffffe7e10, count: -3