uvm_fault(0xffffffff8284a238, 0xffffffff826a3cd0, 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, 0xffffffff826a3cd0, 0, 2) -> e m_copyback(ffff800023f200a0,138,0,ffff800023f20264,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023f200a0,138,0,ffff800023f20264,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800023f20320, count: 0 ddb{0}> trace m_copyback(ffff800023f200a0,138,0,ffff800023f20264,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023f200a0,138,0,ffff800023f20264,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff8000000448c0,ffff800023f20348,fffffd806f0fe600) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800023f20448,0,ffff800000ba8000,0,ffffffff828840d8,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b20000,ffff800023f20718) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800023f20718,ffff800023f20724,29,0,ffff800000b20000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b20000,fffffd806f0fe600) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800023f20a08,ffff8000216f5000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800023f20860) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e6c2688,ffff800023f20a08,11,fffffd807f7bf9c0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8068252440,ffff800023f20a08,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800023fa6c80,f0,ffff800023f20a08,0,ffff800023f20af0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800023fa6c80,ffff800023f20aa0,ffff800023f20af0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800023f20b70) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f20b70) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdf88d4198d0, count: -14 ddb{0}> show registers rdi 0 rsi 0x81e45 acpi_pdirpa+0x6dcad rbp 0xffff800023f20080 rbx 0xffffffffffff8601 rdx 0x81e44 acpi_pdirpa+0x6dcac rcx 0xffffffff826e0cc0 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff8224dce8 pf_translate_a+0x1a8 r10 0x1 r11 0x124a39dbcd529cc0 r12 0xfffffd806472db00 r13 0x108 r14 0x30 r15 0xffff800023f20280 rip 0xffffffff815394e9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023f1ffc0 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=191585 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800023fa6ef8,0xffffffff8287ee50 process=0xffff800020e4c7e0 user=0xffff800023f1b000, vmspace=0xfffffd80682edba8 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 59376 470954 96199 0 2 0 syz-executor.0 *59376 191585 96199 0 7 0x4000000 syz-executor.0 96199 82765 80830 0 3 0x82 nanosleep syz-executor.0 32106 499892 0 0 3 0x14280 nfsidl nfsio 4132 92553 0 0 3 0x14280 nfsidl nfsio 90984 282752 0 0 3 0x14280 nfsidl nfsio 91535 289649 0 0 3 0x14280 nfsidl nfsio 72831 305390 0 0 3 0x14280 nfsidl nfsio 78663 440386 0 0 3 0x14280 nfsidl nfsio 71088 26074 0 0 3 0x14280 nfsidl nfsio 45495 173387 0 0 3 0x14280 nfsidl nfsio 10194 167641 0 0 3 0x14280 nfsidl nfsio 15322 444075 0 0 3 0x14280 nfsidl nfsio 75018 163009 0 0 3 0x14280 nfsidl nfsio 46475 340811 0 0 3 0x14280 nfsidl nfsio 20876 139008 0 0 3 0x14280 nfsidl nfsio 19936 38448 0 0 3 0x14280 nfsidl nfsio 95106 422846 0 0 3 0x14280 nfsidl nfsio 90138 318422 0 0 3 0x14280 nfsidl nfsio 89048 443604 0 0 3 0x14280 nfsidl nfsio 66461 135054 0 0 3 0x14280 nfsidl nfsio 47947 287413 0 0 3 0x14280 nfsidl nfsio 25266 29889 0 0 3 0x14280 nfsidl nfsio 36037 136514 0 0 3 0x14200 bored sosplice 44824 389612 80830 0 3 0x82 piperd syz-executor.1 80830 411942 10383 0 3 0x82 thrsleep syz-fuzzer 80830 75598 10383 0 3 0x4000082 nanosleep syz-fuzzer 80830 259497 10383 0 3 0x4000082 thrsleep syz-fuzzer 80830 133429 10383 0 7 0x4000002 syz-fuzzer 80830 155408 10383 0 3 0x4000082 thrsleep syz-fuzzer 80830 272360 10383 0 3 0x4000082 thrsleep syz-fuzzer 80830 459486 10383 0 3 0x4000082 thrsleep syz-fuzzer 80830 371797 10383 0 3 0x4000082 kqread syz-fuzzer 10383 513518 99761 0 3 0x10008a pause ksh 99761 348873 91056 0 3 0x92 select sshd 69854 232283 1 0 3 0x100083 ttyin getty 91056 337256 1 0 3 0x80 select sshd 76155 472877 96018 74 3 0x100092 bpf pflogd 96018 3912 1 0 3 0x80 netio pflogd 71418 272958 54491 73 3 0x100090 kqread syslogd 54491 44589 1 0 3 0x100082 netio syslogd 88090 346012 1 77 3 0x100090 poll dhclient 19360 334428 1 0 3 0x80 poll dhclient 25058 240669 0 0 3 0x14200 bored smr 67290 327985 0 0 2 0x14200 zerothread 63714 371541 0 0 3 0x14200 aiodoned aiodoned 62616 477310 0 0 3 0x14200 syncer update 3226 68363 0 0 3 0x14200 cleaner cleaner 8895 21358 0 0 3 0x14200 reaper reaper 12409 419486 0 0 3 0x14200 pgdaemon pagedaemon 76688 344650 0 0 3 0x14200 bored crynlk 69137 222547 0 0 3 0x14200 bored crypto 65179 396027 0 0 3 0x40014200 acpi0 acpi0 81872 374132 0 0 3 0x40014200 idle1 8735 75690 0 0 3 0x14200 bored softnet 60613 303028 0 0 3 0x14200 bored systqmp 94752 338555 0 0 3 0x14200 bored systq 24278 521662 0 0 3 0x40014200 bored softclock 60028 39721 0 0 3 0x40014200 idle0 1 402498 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 59376 (syz-executor.0) thread 0xffff800023fa6c80 (191585) 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 9550 6437K 7019K 78643K 12594 0 pcb 13 8K 8K 78643K 1862 0 rtable 130 20K 21K 78643K 2817 0 ifaddr 102 19K 19K 78643K 534 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 91 0 ioctlops 0 0K 4K 78643K 2268 0 iov 0 0K 32K 78643K 185 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 2032 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 28 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 372 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 2749 0 sigio 0 0K 0K 78643K 20 0 proc 74 64K 95K 78643K 933 0 subproc 32 2K 2K 78643K 191 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 107 0 in_multi 29 1K 2K 78643K 1493 0 ether_multi 1 0K 0K 78643K 64 0 mrt 0 0K 0K 78643K 24 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 2K 78643K 651 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 163 172K 172K 78643K 8660 0 UVM aobj 89 7K 7K 78643K 93 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 609 0 NDP 17 0K 0K 78643K 269 0 temp 155 3971K 4036K 78643K 16648 0 kqueue 4 6K 14K 78643K 62 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 31 0 25 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 81 0 79 1 0 1 1 0 8 0 rtentry 112 1002 0 969 2 0 2 2 0 8 0 unpcb 120 1488 0 1478 1 0 1 1 0 8 0 syncache 272 14 0 14 5 5 0 1 0 8 0 tcpqe 32 36 0 36 3 3 0 1 0 8 0 tcpcb 592 2725 0 2701 17 15 2 4 0 8 0 inpcb 296 6538 0 6531 12 10 2 2 0 8 1 rttmr 72 2 0 2 2 2 0 1 0 8 0 nd6 48 243 0 239 1 0 1 1 0 8 0 pkpcb 40 9 0 9 4 4 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 pffrag 232 10 0 10 6 6 0 1 0 482 0 pffrnode 88 10 0 10 6 6 0 1 0 8 0 pffrent 40 108 0 108 6 6 0 1 0 8 0 pfosfp 40 848 0 423 5 0 5 5 0 8 0 pfosfpen 112 1432 0 714 21 0 21 21 0 8 0 pfrktable 1344 113 0 95 5 3 2 2 0 8 0 pftag 88 12 0 8 2 1 1 1 0 8 0 pfqueue 264 4 0 4 2 2 0 1 0 8 0 pfstitem 24 16 0 14 1 0 1 1 0 8 0 pfstkey 112 18 0 16 1 0 1 1 0 8 0 pfstate 328 17 0 15 2 1 1 2 0 8 0 pfrule 1360 203 0 55 14 1 13 13 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 6284 0 6118 16 5 11 13 0 8 0 art_table 32 6285 0 6118 2 0 2 2 0 8 0 art_node 16 1001 0 973 1 0 1 1 0 8 0 sysvmsgpl 40 48 0 21 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 370 0 360 1 0 1 1 0 8 0 shmpl 112 90 0 4 4 1 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4539 0 3143 89 0 89 89 0 8 0 ffsino 272 4539 0 3143 94 0 94 94 0 8 0 nchpl 144 8149 0 6564 60 0 60 60 0 8 0 uvmvnodes 72 5209 0 0 95 0 95 95 0 8 0 vnodes 208 5209 0 0 275 0 275 275 0 8 0 namei 1024 23454 0 23454 7 6 1 1 0 8 1 percpumem 16 56 0 24 1 0 1 1 0 8 0 vcpupl 1984 17 0 0 3 0 3 3 0 8 0 vmpool 560 25 0 8 3 1 2 2 0 8 0 pfiaddrpl 120 35 0 23 1 0 1 1 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 200 24887 0 24887 14 13 1 7 0 8 1 plimitpl 152 133 0 125 1 0 1 1 0 8 0 sigapl 424 2958 0 2906 6 0 6 6 0 8 0 futexpl 56 42063 0 42063 7 6 1 1 0 8 1 knotepl 112 235 0 215 1 0 1 1 0 8 0 kqueuepl 152 189 0 184 1 0 1 1 0 8 0 pipepl 304 383 0 372 18 16 2 2 0 8 0 fdescpl 496 2922 0 2906 3 0 3 3 0 8 0 filepl 152 17537 0 17435 7 2 5 6 0 8 1 lockfpl 104 399 0 398 1 0 1 1 0 8 0 lockfspl 48 152 0 151 1 0 1 1 0 8 0 sessionpl 120 27 0 16 1 0 1 1 0 8 0 pgrppl 48 51 0 40 1 0 1 1 0 8 0 ucredpl 96 1474 0 1465 1 0 1 1 0 8 0 zombiepl 144 2906 0 2906 2 1 1 1 0 8 1 processpl 1008 2958 0 2906 7 0 7 7 0 8 0 procpl 632 7794 0 7734 6 0 6 6 0 8 0 srpgc 72 2 0 2 1 1 0 1 0 8 0 sosppl 144 14 0 14 5 5 0 1 0 8 0 sockpl 400 8133 0 8114 21 18 3 4 0 8 1 mcl64k 65536 269 0 0 34 15 19 34 0 8 1 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 14 0 0 1 0 1 1 0 8 0 mcl8k 8192 10 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 217 0 0 23 2 21 23 0 8 0 mtagpl 96 37 0 0 1 0 1 1 0 8 0 mbufpl 256 835 0 0 32 0 32 32 0 8 0 bufpl 280 7814 0 1558 447 0 447 447 0 8 0 anonpl 16 306675 0 288606 155 70 85 89 0 124 11 amapchunkpl 152 14836 0 14561 30 18 12 24 0 158 0 amappl16 192 11143 0 10256 122 69 53 57 0 8 8 amappl15 184 727 0 726 1 0 1 1 0 8 0 amappl14 176 245 0 234 1 0 1 1 0 8 0 amappl13 168 138 0 137 1 0 1 1 0 8 0 amappl12 160 682 0 679 1 0 1 1 0 8 0 amappl11 152 793 0 778 1 0 1 1 0 8 0 amappl10 144 12 0 7 1 0 1 1 0 8 0 amappl9 136 534 0 532 1 0 1 1 0 8 0 amappl8 128 411 0 364 2 0 2 2 0 8 0 amappl7 120 381 0 373 1 0 1 1 0 8 0 amappl6 112 891 0 875 1 0 1 1 0 8 0 amappl5 104 3240 0 3227 1 0 1 1 0 8 0 amappl4 96 527 0 495 1 0 1 1 0 8 0 amappl3 88 422 0 412 1 0 1 1 0 8 0 amappl2 80 20565 0 20491 3 1 2 3 0 8 0 amappl1 72 97588 0 97128 23 12 11 19 0 8 0 amappl 80 8200 0 8117 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 92 0 4 2 0 2 2 0 8 0 uaddrrnd 24 2947 0 2914 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2947 0 2914 1 0 1 1 0 8 0 vmmpekpl 168 19763 0 19716 3 0 3 3 0 8 0 vmmpepl 168 382527 0 380389 290 174 116 129 0 357 21 vmsppl 368 2946 0 2914 6 3 3 3 0 8 0 pdppl 4096 5901 0 5845 11 3 8 8 0 8 0 pvpl 32 907497 0 886338 324 125 199 208 0 265 24 pmappl 232 2946 0 2914 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 364 0 60 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800023f200a0,138,0,ffff800023f20264,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023f200a0,138,0,ffff800023f20264,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff8000000448c0,ffff800023f20348,fffffd806f0fe600) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800023f20448,0,ffff800000ba8000,0,ffffffff828840d8,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b20000,ffff800023f20718) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800023f20718,ffff800023f20724,29,0,ffff800000b20000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b20000,fffffd806f0fe600) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800023f20a08,ffff8000216f5000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800023f20860) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e6c2688,ffff800023f20a08,11,fffffd807f7bf9c0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8068252440,ffff800023f20a08,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800023fa6c80,f0,ffff800023f20a08,0,ffff800023f20af0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800023fa6c80,ffff800023f20aa0,ffff800023f20af0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800023f20b70) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f20b70) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdf88d4198d0, 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: 0xc00050ee00, count: -3