uvm_fault(0xffffffff8277aa10, 0xffffffff82696ba0, 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, 0xffffffff82696ba0, 0, 2) -> e m_copyback(ffff800022303f20,158,0,ffff8000223040e4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800022303f20,158,0,ffff8000223040e4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff8000223041a0, count: 0 ddb{0}> trace m_copyback(ffff800022303f20,158,0,ffff8000223040e4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800022303f20,158,0,ffff8000223040e4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a00,ffff8000223041c8,fffffd807142d000) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff8000223042c8,0,ffff800000ac1a88,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b0f000,ffff800022304598) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800022304598,ffff8000223045a4,29,0,ffff800000b0f000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b0f000,fffffd807142d000) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800022304888,ffff800023113000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff8000223046e0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806ed42758,ffff800022304888,11,fffffd807f7bf840) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067f25ef0,ffff800022304888,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020e9f160,f0,ffff800022304888,0,ffff800022304970) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020e9f160,ffff800022304920,ffff800022304970) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000223049f0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000223049f0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2a637edc690, count: -14 ddb{0}> show registers rdi 0 rsi 0x6dc9f acpi_pdirpa+0x59b07 rbp 0xffff800022303f00 rbx 0xffffffffffffca2b rdx 0x6dc9e acpi_pdirpa+0x59b06 rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0x937e85a3e34f9554 r12 0xfffffd8069823100 r13 0x128 r14 0x30 r15 0xffff800022304100 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800022303e40 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.1) pid=45960 stat=onproc flags process=0 proc=4000000 pri=66, usrpri=66, nice=20 forw=0xffffffffffffffff, list=0xffff800020e9e290,0xffffffff82888178 process=0xffff800020ec3b98 user=0xffff8000222ff000, vmspace=0xfffffd807effea10 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 79325 410802 48433 0 7 0 syz-executor.1 *79325 45960 48433 0 7 0x4000000 syz-executor.1 34649 243060 0 0 3 0x14200 bored sosplice 48433 69133 37426 0 3 0x82 nanosleep syz-executor.1 16756 507020 37426 0 3 0x2 biowait syz-executor.0 37426 101311 82182 0 3 0x82 thrsleep syz-fuzzer 37426 386266 82182 0 3 0x4000082 nanosleep syz-fuzzer 37426 70842 82182 0 3 0x4000082 thrsleep syz-fuzzer 37426 43702 82182 0 3 0x4000082 kqread syz-fuzzer 37426 281568 82182 0 3 0x4000082 thrsleep syz-fuzzer 37426 312432 82182 0 3 0x4000082 nanosleep syz-fuzzer 37426 392900 82182 0 3 0x4000082 thrsleep syz-fuzzer 37426 184873 82182 0 3 0x4000082 thrsleep syz-fuzzer 82182 386685 92466 0 3 0x10008a pause ksh 92466 106105 54691 0 3 0x92 select sshd 56821 435045 1 0 3 0x100083 ttyin getty 54691 291807 1 0 3 0x80 select sshd 9371 443598 98651 74 3 0x100092 bpf pflogd 98651 77831 1 0 3 0x80 netio pflogd 21649 254797 79447 73 3 0x100090 kqread syslogd 79447 28190 1 0 3 0x100082 netio syslogd 39871 339586 1 77 3 0x100090 poll dhclient 87522 43934 1 0 3 0x80 poll dhclient 22331 206703 0 0 3 0x14200 bored smr 40948 253320 0 0 2 0x14200 zerothread 53607 158298 0 0 3 0x14200 aiodoned aiodoned 25765 505569 0 0 3 0x14200 syncer update 38030 399198 0 0 3 0x14200 cleaner cleaner 92184 350836 0 0 3 0x14200 reaper reaper 97799 262922 0 0 3 0x14200 pgdaemon pagedaemon 9349 124453 0 0 3 0x14200 bored crynlk 65178 173860 0 0 3 0x14200 bored crypto 36951 269003 0 0 3 0x40014200 acpi0 acpi0 40602 423174 0 0 3 0x40014200 idle1 49137 244627 0 0 3 0x14200 bored softnet 47526 6141 0 0 3 0x14200 bored systqmp 54057 40455 0 0 3 0x14200 bored systq 92108 418941 0 0 3 0x40014200 bored softclock 59297 410147 0 0 3 0x40014200 idle0 1 51276 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 79325 (syz-executor.1) thread 0xffff800020e9f160 (45960) 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 Process 16756 (syz-executor.0) thread 0xffff800020de64f8 (507020) exclusive rrwlock inode r = 0 (0xfffffd806b52a098) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 rw_enter+0x446 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x135 sys/ufs/ffs/ffs_vfsops.c:1358 #5 ffs_inode_alloc+0x1e1 sys/ufs/ffs/ffs_alloc.c:394 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:3051 #9 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b52ae68) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1164 #1 rw_enter+0x446 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x5f7 sys/kern/vfs_lookup.c:249 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3036 #8 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9521 6669K 6669K 78643K 10731 0 pcb 13 8K 8K 78643K 39 0 rtable 110 6K 6K 78643K 291 0 ifaddr 68 13K 13K 78643K 108 0 counters 43 33K 34K 78643K 57 0 ioctlops 0 0K 4K 78643K 1509 0 iov 0 0K 16K 78643K 17 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1273 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 47 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 183 0 proc 61 63K 95K 78643K 449 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 12 0 in_multi 32 2K 2K 78643K 57 0 ether_multi 1 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 2K 78643K 372 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 164 27K 43K 78643K 1336 0 UVM aobj 13 4K 4K 78643K 14 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 25 0 NDP 13 0K 0K 78643K 24 0 temp 101 3966K 4042K 78643K 2475 0 kqueue 3 4K 8K 78643K 6 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 6 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 23 0 21 1 0 1 1 0 8 0 rtentry 112 52 0 13 2 0 2 2 0 8 0 unpcb 120 99 0 89 1 0 1 1 0 8 0 syncache 272 6 0 6 2 1 1 1 0 8 1 tcpqe 32 805 0 805 1 1 0 1 0 8 0 tcpcb 592 96 0 74 2 0 2 2 0 8 0 inpcb 296 291 0 284 2 0 2 2 0 8 1 nd6 48 9 0 4 1 0 1 1 0 8 0 ppxss 1136 2 0 2 1 1 0 1 0 8 0 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pffrag 232 1 0 1 1 0 1 1 0 482 1 pffrnode 88 1 0 1 1 0 1 1 0 8 1 pffrent 40 4 0 4 1 0 1 1 0 8 1 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 4 0 1 1 0 1 1 0 8 0 pfstitem 24 23 0 5 1 0 1 1 0 8 0 pfstkey 112 25 0 7 1 0 1 1 0 8 0 pfstate 328 23 0 5 2 0 2 2 0 8 0 pfsrctr 152 20 0 10 1 0 1 1 0 8 0 pfrule 1360 28 0 18 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 261 0 44 14 0 14 14 0 8 0 art_table 32 262 0 44 2 0 2 2 0 8 0 art_node 16 51 0 15 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semapl 112 45 0 35 1 0 1 1 0 8 0 shmpl 112 11 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1623 0 221 88 0 88 88 0 8 0 ffsino 272 1623 0 221 94 0 94 94 0 8 0 nchpl 144 2083 0 479 60 0 60 60 0 8 0 uvmvnodes 72 1700 0 0 31 0 31 31 0 8 0 vnodes 208 1700 0 0 90 0 90 90 0 8 0 namei 1024 5457 0 5456 1 0 1 1 0 8 0 percpumem 16 39 0 7 1 0 1 1 0 8 0 vmpool 560 2 0 2 1 0 1 1 0 8 1 pfiaddrpl 120 2 0 0 1 0 1 1 0 8 0 scxspl 200 6549 0 6548 8 5 3 7 0 8 2 plimitpl 152 23 0 15 1 0 1 1 0 8 0 sigapl 424 399 0 367 4 0 4 4 0 8 0 futexpl 56 2285 0 2285 1 0 1 1 0 8 1 knotepl 112 69 0 49 1 0 1 1 0 8 0 kqueuepl 152 58 0 54 1 0 1 1 0 8 0 pipepl 304 100 0 89 2 0 2 2 0 8 1 fdescpl 496 383 0 367 3 0 3 3 0 8 0 filepl 152 2057 0 1955 5 0 5 5 0 8 1 lockfpl 104 39 0 38 1 0 1 1 0 8 0 lockfspl 48 15 0 14 1 0 1 1 0 8 0 sessionpl 120 18 0 7 1 0 1 1 0 8 0 pgrppl 48 24 0 13 1 0 1 1 0 8 0 ucredpl 96 148 0 139 1 0 1 1 0 8 0 zombiepl 144 367 0 367 2 1 1 1 0 8 1 processpl 1008 399 0 367 5 0 5 5 0 8 0 procpl 632 750 0 710 4 0 4 4 0 8 0 srpgc 72 2 0 2 1 0 1 1 0 8 1 sosppl 144 8 0 8 1 0 1 1 0 8 1 sockpl 400 413 0 394 5 1 4 4 0 8 2 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 206 0 0 25 0 25 25 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 217 0 0 14 0 14 14 0 8 0 bufpl 280 4003 0 186 273 0 273 273 0 8 0 anonpl 16 54852 0 36519 79 1 78 78 0 124 0 amapchunkpl 152 2259 0 1935 16 2 14 15 0 158 0 amappl16 192 1560 0 698 45 0 45 45 0 8 1 amappl15 184 4 0 1 1 0 1 1 0 8 0 amappl14 176 25 0 20 1 0 1 1 0 8 0 amappl13 168 33 0 31 1 0 1 1 0 8 0 amappl12 160 22 0 18 1 0 1 1 0 8 0 amappl11 152 135 0 119 1 0 1 1 0 8 0 amappl10 144 86 0 82 1 0 1 1 0 8 0 amappl9 136 372 0 371 1 0 1 1 0 8 0 amappl8 128 177 0 115 3 0 3 3 0 8 0 amappl7 120 330 0 323 1 0 1 1 0 8 0 amappl6 112 203 0 186 1 0 1 1 0 8 0 amappl5 104 450 0 437 1 0 1 1 0 8 0 amappl4 96 296 0 266 1 0 1 1 0 8 0 amappl3 88 87 0 79 1 0 1 1 0 8 0 amappl2 80 2044 0 1973 3 1 2 3 0 8 0 amappl1 72 20550 0 20084 23 12 11 19 0 8 0 amappl 80 1051 0 961 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 13 0 1 1 0 1 1 0 8 0 uaddrrnd 24 385 0 369 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 385 0 369 1 0 1 1 0 8 0 vmmpekpl 168 6923 0 6876 3 0 3 3 0 8 0 vmmpepl 168 56629 0 54506 114 10 104 111 0 357 8 vmsppl 368 384 0 369 2 0 2 2 0 8 0 pdppl 4096 777 0 738 6 0 6 6 0 8 1 pvpl 32 184643 0 163108 189 0 189 189 0 265 6 pmappl 232 384 0 369 3 1 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 263 0 5 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800022303f20,158,0,ffff8000223040e4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800022303f20,158,0,ffff8000223040e4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a00,ffff8000223041c8,fffffd807142d000) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff8000223042c8,0,ffff800000ac1a88,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b0f000,ffff800022304598) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800022304598,ffff8000223045a4,29,0,ffff800000b0f000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b0f000,fffffd807142d000) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800022304888,ffff800023113000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff8000223046e0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806ed42758,ffff800022304888,11,fffffd807f7bf840) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067f25ef0,ffff800022304888,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020e9f160,f0,ffff800022304888,0,ffff800022304970) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020e9f160,ffff800022304920,ffff800022304970) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000223049f0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000223049f0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2a637edc690, 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: 0x7f7ffffd00b0, count: -3