uvm_fault(0xffffffff8277aa10, 0xffffffff8268eef8, 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, 0xffffffff8268eef8, 0, 2) -> e m_copyback(ffff800024124270,158,0,ffff800024124434,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800024124270,158,0,ffff800024124434,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff8000241244f0, count: 0 ddb{0}> trace m_copyback(ffff800024124270,158,0,ffff800024124434,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800024124270,158,0,ffff800024124434,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a00,ffff800024124518,fffffd806d7e6b00) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800024124618,0,ffff800000abf558,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b0e000,ffff8000241248e8) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff8000241248e8,ffff8000241248f4,29,0,ffff800000b0e000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b0e000,fffffd806d7e6b00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800024124bd8,ffff80002310f000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800024124a30) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806f51e418,ffff800024124bd8,11,fffffd807f7bf7e0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806ca76bf0,ffff800024124bd8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020ec2290,f0,ffff800024124bd8,0,ffff800024124cc0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020ec2290,ffff800024124c70,ffff800024124cc0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800024124d40) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024124d40) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ae52648370, count: -14 ddb{0}> show registers rdi 0 rsi 0x6cecd acpi_pdirpa+0x58d35 rbp 0xffff800024124250 rbx 0xffffffffffffba96 rdx 0x6cecc acpi_pdirpa+0x58d34 rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0x9312faf044682827 r12 0xfffffd807f00dc00 r13 0x128 r14 0x30 r15 0xffff800024124450 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800024124190 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.1) pid=505945 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ec33d8,0xffffffff82888178 process=0xffff800020ec53b8 user=0xffff80002411f000, vmspace=0xfffffd807effe2e0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 75549 436772 16107 0 7 0 syz-executor.1 *75549 505945 16107 0 7 0x4000000 syz-executor.1 45376 251106 0 0 3 0x14200 acct acct 16107 295259 10466 0 3 0x82 nanosleep syz-executor.1 81093 11744 10466 0 3 0x2 biowait syz-executor.0 10466 22963 56621 0 3 0x82 thrsleep syz-fuzzer 10466 427048 56621 0 3 0x4000082 nanosleep syz-fuzzer 10466 406834 56621 0 3 0x4000082 thrsleep syz-fuzzer 10466 24959 56621 0 3 0x4000082 thrsleep syz-fuzzer 10466 404086 56621 0 3 0x4000082 thrsleep syz-fuzzer 10466 111150 56621 0 3 0x4000082 thrsleep syz-fuzzer 10466 195 56621 0 3 0x4000082 thrsleep syz-fuzzer 10466 52460 56621 0 3 0x4000082 kqread syz-fuzzer 56621 206217 60747 0 3 0x10008a pause ksh 60747 161723 63422 0 3 0x92 select sshd 58753 291689 1 0 3 0x100083 ttyin getty 63422 470937 1 0 3 0x80 select sshd 20859 68556 43117 74 3 0x100092 bpf pflogd 43117 437455 1 0 3 0x80 netio pflogd 68499 404632 31024 73 3 0x100090 kqread syslogd 31024 386090 1 0 3 0x100082 netio syslogd 99029 213343 1 77 3 0x100090 poll dhclient 37198 306746 1 0 3 0x80 poll dhclient 52583 291401 0 0 3 0x14200 bored smr 73726 123031 0 0 3 0x14200 pgzero zerothread 11078 183809 0 0 3 0x14200 aiodoned aiodoned 5857 31262 0 0 3 0x14200 syncer update 42711 431039 0 0 3 0x14200 cleaner cleaner 2300 477601 0 0 3 0x14200 reaper reaper 29251 496451 0 0 3 0x14200 pgdaemon pagedaemon 37486 298324 0 0 3 0x14200 bored crynlk 25352 378479 0 0 3 0x14200 bored crypto 75115 419031 0 0 3 0x40014200 acpi0 acpi0 7048 153429 0 0 3 0x40014200 idle1 97793 464916 0 0 3 0x14200 bored softnet 6958 77643 0 0 3 0x14200 bored systqmp 4582 106341 0 0 3 0x14200 bored systq 14258 82255 0 0 3 0x40014200 bored softclock 17779 514755 0 0 3 0x40014200 idle0 1 183488 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 75549 (syz-executor.1) thread 0xffff800020ec2290 (505945) 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 81093 (syz-executor.0) thread 0xffff800020ec38c8 (11744) exclusive rrwlock inode r = 0 (0xfffffd806aec7098) #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 vget+0x1c6 sys/kern/vfs_subr.c:671 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x6b sys/ufs/ffs/ffs_vfsops.c:1329 #8 ufs_lookup+0x151d sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:90 #10 vfs_lookup+0x708 sys/kern/vfs_lookup.c:568 #11 namei+0x5f7 sys/kern/vfs_lookup.c:249 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1853 #13 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806aec7e68) #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 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1853 #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 9476 6399K 6796K 78643K 10677 0 pcb 13 8K 8K 78643K 25 0 rtable 105 3K 3K 78643K 201 0 ifaddr 49 11K 11K 78643K 50 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1487 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1245 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 11 0K 0K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 62 0 proc 59 63K 95K 78643K 438 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 2 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 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 360 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 138 25K 26K 78643K 901 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 2 0 NDP 7 0K 0K 78643K 11 0 temp 72 3952K 4016K 78643K 2124 0 kqueue 3 4K 4K 78643K 3 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 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 57 0 47 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 45 0 45 1 0 1 1 0 8 1 tcpcb 592 24 0 12 1 0 1 1 0 8 0 inpcb 296 71 0 64 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 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 pfstitem 24 11 0 0 1 0 1 1 0 8 0 pfstkey 112 11 0 0 1 0 1 1 0 8 0 pfstate 328 11 0 0 1 0 1 1 0 8 0 pfrule 1360 23 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 0 1 1 0 8 1 semapl 112 10 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1458 0 53 88 0 88 88 0 8 0 ffsino 272 1458 0 53 94 0 94 94 0 8 0 nchpl 144 1719 0 116 60 0 60 60 0 8 0 uvmvnodes 72 1524 0 0 28 0 28 28 0 8 0 vnodes 208 1524 0 0 81 0 81 81 0 8 0 namei 1024 4496 0 4496 1 0 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 200 4938 0 4937 2 1 1 2 0 8 0 plimitpl 152 22 0 14 1 0 1 1 0 8 0 sigapl 424 278 0 246 4 0 4 4 0 8 0 futexpl 56 454 0 454 1 0 1 1 0 8 1 knotepl 112 62 0 42 1 0 1 1 0 8 0 kqueuepl 152 2 0 0 1 0 1 1 0 8 0 pipepl 304 80 0 69 2 0 2 2 0 8 1 fdescpl 496 262 0 246 3 0 3 3 0 8 0 filepl 152 1283 0 1181 5 0 5 5 0 8 1 lockfpl 104 13 0 12 1 0 1 1 0 8 0 lockfspl 48 7 0 6 1 0 1 1 0 8 0 sessionpl 120 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 61 0 52 1 0 1 1 0 8 0 zombiepl 144 246 0 246 1 0 1 1 0 8 1 processpl 1008 278 0 246 5 0 5 5 0 8 0 procpl 632 340 0 300 4 0 4 4 0 8 0 sockpl 400 147 0 128 4 0 4 4 0 8 2 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 165 0 0 20 0 20 20 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 191 0 0 12 0 12 12 0 8 0 bufpl 280 3507 0 186 238 0 238 238 0 8 0 anonpl 16 40978 0 24860 67 1 66 66 0 124 1 amapchunkpl 152 1415 0 1147 14 1 13 13 0 158 0 amappl16 192 921 0 193 37 0 37 37 0 8 0 amappl15 184 14 0 12 1 0 1 1 0 8 0 amappl14 176 42 0 33 1 0 1 1 0 8 0 amappl13 168 26 0 25 1 0 1 1 0 8 0 amappl12 160 10 0 7 1 0 1 1 0 8 0 amappl11 152 53 0 38 1 0 1 1 0 8 0 amappl10 144 11 0 9 1 0 1 1 0 8 0 amappl9 136 380 0 377 1 0 1 1 0 8 0 amappl8 128 190 0 124 3 0 3 3 0 8 0 amappl7 120 260 0 251 1 0 1 1 0 8 0 amappl6 112 119 0 105 1 0 1 1 0 8 0 amappl5 104 325 0 312 1 0 1 1 0 8 0 amappl4 96 298 0 269 1 0 1 1 0 8 0 amappl3 88 83 0 75 1 0 1 1 0 8 0 amappl2 80 1253 0 1185 3 1 2 3 0 8 0 amappl1 72 16531 0 16055 24 9 15 19 0 8 5 amappl 80 628 0 554 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 262 0 246 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 262 0 246 1 0 1 1 0 8 0 vmmpekpl 168 6212 0 6173 2 0 2 2 0 8 0 vmmpepl 168 40464 0 38482 118 3 115 115 0 357 28 vmsppl 368 261 0 246 2 0 2 2 0 8 0 pdppl 4096 531 0 492 6 0 6 6 0 8 1 pvpl 32 146259 0 126920 161 0 161 161 0 265 4 pmappl 232 261 0 246 2 0 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 251 0 4 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800024124270,158,0,ffff800024124434,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800024124270,158,0,ffff800024124434,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a00,ffff800024124518,fffffd806d7e6b00) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800024124618,0,ffff800000abf558,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b0e000,ffff8000241248e8) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff8000241248e8,ffff8000241248f4,29,0,ffff800000b0e000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b0e000,fffffd806d7e6b00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800024124bd8,ffff80002310f000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800024124a30) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806f51e418,ffff800024124bd8,11,fffffd807f7bf7e0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd806ca76bf0,ffff800024124bd8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020ec2290,f0,ffff800024124bd8,0,ffff800024124cc0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020ec2290,ffff800024124c70,ffff800024124cc0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800024124d40) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024124d40) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ae52648370, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x37 kd_curproc sys/dev/kcov.c:454 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x37 sys/dev/kcov.c:112 nanotime(ffff80002310e128) at nanotime+0xbf tc_delta sys/kern/kern_tc.c:131 [inline] nanotime(ffff80002310e128) at nanotime+0xbf bintime sys/kern/kern_tc.c:266 [inline] nanotime(ffff80002310e128) at nanotime+0xbf sys/kern/kern_tc.c:277 clock_gettime(ffff800020ec33d8,0,ffff80002310e128) at clock_gettime+0x9d sys/kern/kern_time.c:116 sys_clock_gettime(ffff800020ec33d8,ffff80002310e190,ffff80002310e1e0) at sys_clock_gettime+0x4c sys/kern/kern_time.c:165 syscall(ffff80002310e260) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002310e260) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9c90, count: -9