uvm_fault(0xffffffff8287c230, 0xffffffff826944f0, 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(0xffffffff8287c230, 0xffffffff826944f0, 0, 2) -> e m_copyback(ffff800023ce0c20,158,0,ffff800023ce0de4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023ce0c20,158,0,ffff800023ce0de4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800023ce0ea0, count: 0 ddb{0}> trace m_copyback(ffff800023ce0c20,158,0,ffff800023ce0de4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023ce0c20,158,0,ffff800023ce0de4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a80,ffff800023ce0ec8,fffffd80662c7b00) at pflog_mtap+0x446 sys/net/if_pflog.c:390 pflog_packet(ffff800023ce0fc8,0,ffff800000b5b530,0,ffffffff828da468,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b50000,ffff800023ce1298) at pf_test+0xfd2 sys/net/pf.c:7228 ip6_input_if(ffff800023ce1298,ffff800023ce12a4,29,0,ffff800000b50000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b50000,fffffd80662c7b00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800023ce1588,ffff8000240d6000,2) at tun_dev_write+0x204 sys/net/if_tun.c:867 spec_write(ffff800023ce13e0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e6740d8,ffff800023ce1588,11,fffffd807f7b79c0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8068bc5e60,ffff800023ce1588,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123d260,f0,ffff800023ce1588,0,ffff800023ce1670) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123d260,ffff800023ce1620,ffff800023ce1670) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800023ce16f0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023ce16f0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa6ff1473f70, count: -14 ddb{0}> show registers rdi 0 rsi 0x7e34f acpi_pdirpa+0x6a1b7 rbp 0xffff800023ce0c00 rbx 0xffffffffffffaa7d rdx 0x7e34e acpi_pdirpa+0x6a1b6 rcx 0xffffffff826bf100 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0x1 r10 0xa9b3c14840ede611 r11 0xf22c5113392bada6 r12 0xfffffd8066b47300 r13 0x128 r14 0x30 r15 0xffff800023ce0e00 rip 0xffffffff81245c99 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023ce0b40 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.1) pid=482800 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80002123c7e0,0xffffffff828d3d78 process=0xffff800021234010 user=0xffff800023cdc000, vmspace=0xfffffd80084922e0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 71682 179165 17858 0 7 0 syz-executor.1 *71682 482800 17858 0 7 0x4000000 syz-executor.1 87886 290674 45110 0 3 0x2 biowait syz-executor.0 17858 5505 45110 0 3 0x82 nanosleep syz-executor.1 11964 342814 0 0 3 0x14200 acct acct 54837 142350 0 0 3 0x14200 bored sosplice 45110 267273 52764 0 3 0x82 thrsleep syz-fuzzer 45110 45035 52764 0 3 0x4000082 nanosleep syz-fuzzer 45110 416153 52764 0 3 0x4000082 nanosleep syz-fuzzer 45110 267274 52764 0 3 0x4000082 kqread syz-fuzzer 45110 234937 52764 0 3 0x4000082 thrsleep syz-fuzzer 45110 217720 52764 0 3 0x4000082 thrsleep syz-fuzzer 45110 181356 52764 0 3 0x4000082 thrsleep syz-fuzzer 45110 384995 52764 0 3 0x4000082 thrsleep syz-fuzzer 52764 45858 31210 0 3 0x10008a pause ksh 31210 359125 11844 0 3 0x92 select sshd 24134 124006 1 0 3 0x100083 ttyin getty 11844 503489 1 0 3 0x80 select sshd 80948 433169 74973 74 3 0x100092 bpf pflogd 74973 231844 1 0 3 0x80 netio pflogd 12076 233673 1923 73 3 0x100090 kqread syslogd 1923 158174 1 0 3 0x100082 netio syslogd 97379 406357 1 77 3 0x100090 poll dhclient 72720 341729 1 0 3 0x80 poll dhclient 23475 503374 0 0 3 0x14200 bored smr 98349 285528 0 0 2 0x14200 zerothread 6090 516513 0 0 3 0x14200 aiodoned aiodoned 93590 32975 0 0 3 0x14200 syncer update 64001 423739 0 0 3 0x14200 cleaner cleaner 99683 6025 0 0 3 0x14200 reaper reaper 73535 275105 0 0 3 0x14200 pgdaemon pagedaemon 63186 169750 0 0 3 0x14200 bored crynlk 19083 138247 0 0 3 0x14200 bored crypto 16260 243835 0 0 3 0x14200 bored viomb 85818 219758 0 0 3 0x40014200 acpi0 acpi0 23407 386837 0 0 3 0x40014200 idle1 36475 428641 0 0 3 0x14200 bored softnet 55911 313395 0 0 3 0x14200 bored systqmp 43061 150416 0 0 3 0x14200 bored systq 1626 470174 0 0 3 0x40014200 bored softclock 18653 415447 0 0 3 0x40014200 idle0 1 123526 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 71682 (syz-executor.1) thread 0xffff80002123d260 (482800) exclusive rwlock netlock r = 0 (0xffffffff82752550) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 tun_dev_write+0x1f9 sys/net/if_tun.c:866 #2 spec_write+0xd4 sys/kern/spec_vnops.c:309 #3 VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 #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:590 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828b80c8) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #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:590 #5 Xsyscall+0x128 Process 87886 (syz-executor.0) thread 0xffff80002123c2a0 (290674) exclusive rrwlock inode r = 0 (0xfffffd806c5e3a28) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #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:614 #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:1321 #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:1848 #13 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e335d60) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #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:614 #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:1848 #8 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9535 6439K 7399K 78643K 17288 0 pcb 13 8K 8K 78643K 242 0 rtable 95 4K 5K 78643K 780 0 ifaddr 70 14K 14K 78643K 206 0 counters 43 33K 34K 78643K 99 0 ioctlops 0 0K 4K 78643K 1637 0 iov 0 0K 24K 78643K 152 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 3471 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 19 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 420 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1825 197K 290K 78643K 13109 0 file desc 5 13K 25K 78643K 6068 0 sigio 0 0K 0K 78643K 26 0 proc 63 63K 95K 78643K 993 0 subproc 32 2K 2K 78643K 119 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 193 0 in_multi 30 2K 2K 78643K 207 0 ether_multi 1 0K 0K 78643K 56 0 mrt 0 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 2K 78643K 662 0 pfkey data 0 0K 0K 78643K 10 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 186 157K 157K 78643K 14847 0 UVM aobj 19 7K 7K 78643K 23 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 247 0 NDP 14 0K 0K 78643K 54 0 temp 132 3984K 4049K 78643K 46462 0 kqueue 3 4K 14K 78643K 272 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 18 0 12 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 131 0 129 1 0 1 1 0 8 0 rtentry 112 116 0 82 2 0 2 2 0 8 0 unpcb 120 1182 0 1171 1 0 1 1 0 8 0 syncache 296 61 0 61 7 6 1 1 0 8 1 tcpqe 32 257 0 257 5 5 0 1 0 8 0 tcpcb 736 920 0 906 19 15 4 6 0 8 2 inpcb 296 2282 0 2258 7 3 4 4 0 8 1 rttmr 72 5 0 4 1 0 1 1 0 8 0 nd6 48 22 0 16 1 0 1 1 0 8 0 pkpcb 40 53 0 53 5 5 0 1 0 8 0 kcovpl 48 7 0 5 1 0 1 1 0 8 0 ppxss 1128 7 0 7 1 1 0 1 0 8 0 pfstscr 40 5 0 5 1 1 0 1 0 8 0 pffrag 232 24 0 22 3 2 1 1 0 482 0 pffrnode 88 24 0 22 3 2 1 1 0 8 0 pffrent 40 523 0 521 3 2 1 1 0 8 0 pfosfp 40 1428 0 1005 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 pftag 88 3 0 0 1 0 1 1 0 8 0 pfqueue 264 11 0 11 1 1 0 1 0 8 0 pfstitem 24 85 0 80 1 0 1 1 0 8 0 pfstkey 112 90 0 85 1 0 1 1 0 8 0 pfstate 328 90 0 85 4 1 3 3 0 8 0 pfrule 1360 56 0 34 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 473 0 294 14 2 12 13 0 8 0 art_table 32 474 0 294 2 0 2 2 0 8 0 art_node 16 104 0 76 1 0 1 1 0 8 0 sysvmsgpl 40 86 0 71 1 0 1 1 0 8 0 semupl 112 16 0 16 1 1 0 1 0 8 0 semapl 112 418 0 408 1 0 1 1 0 8 0 shmpl 112 20 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 8899 0 7484 91 2 89 90 0 8 0 ffsino 272 8899 0 7484 96 1 95 95 0 8 0 nchpl 144 15914 0 14322 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 41166 0 41166 1 0 1 1 0 8 1 percpumem 16 60 0 28 1 0 1 1 0 8 0 vcpupl 1984 15 0 0 2 0 2 2 0 8 0 vmpool 560 15 0 0 2 0 2 2 0 8 0 pfiaddrpl 120 5 0 0 1 0 1 1 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 48382 0 48381 9 8 1 8 0 8 0 plimitpl 152 334 0 326 1 0 1 1 0 8 0 sigapl 424 6271 0 6237 4 0 4 4 0 8 0 futexpl 56 39156 0 39156 1 0 1 1 0 8 1 knotepl 112 418 0 398 1 0 1 1 0 8 0 kqueuepl 152 2496 0 2484 1 0 1 1 0 8 0 pipepl 304 252 0 241 11 9 2 2 0 8 1 fdescpl 496 6253 0 6237 3 0 3 3 0 8 0 filepl 152 20373 0 20271 7 1 6 6 0 8 2 lockfpl 104 760 0 759 1 0 1 1 0 8 0 lockfspl 48 265 0 264 1 0 1 1 0 8 0 sessionpl 144 23 0 12 1 0 1 1 0 8 0 pgrppl 48 63 0 52 1 0 1 1 0 8 0 ucredpl 96 3064 0 3055 1 0 1 1 0 8 0 zombiepl 144 6237 0 6237 1 0 1 1 0 8 1 processpl 1056 6271 0 6237 3 0 3 3 0 8 0 procpl 672 13696 0 13654 7 3 4 5 0 8 0 sosppl 168 100 0 100 8 8 0 1 0 8 0 sockpl 400 3660 0 3633 8 3 5 5 0 8 2 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 16 0 0 2 0 2 2 0 8 0 mcl9k 9216 12 0 0 1 0 1 1 0 8 0 mcl8k 8192 13 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 324 0 0 22 1 21 21 0 8 0 mtagpl 96 330 0 0 6 0 6 6 0 8 0 mbufpl 256 933 0 0 49 0 49 49 0 8 0 bufpl 280 11777 0 5528 447 0 447 447 0 8 0 anonpl 16 489149 0 481957 93 60 33 55 0 124 0 amapchunkpl 152 23279 0 23100 14 5 9 9 0 158 1 amappl16 192 22473 0 22151 68 51 17 33 0 8 0 amappl15 184 1929 0 1927 2 1 1 1 0 8 0 amappl14 176 1172 0 1166 1 0 1 1 0 8 0 amappl13 168 1091 0 1086 1 0 1 1 0 8 0 amappl12 160 361 0 359 1 0 1 1 0 8 0 amappl11 152 77 0 60 1 0 1 1 0 8 0 amappl10 144 10 0 6 1 0 1 1 0 8 0 amappl9 136 1541 0 1541 2 1 1 1 0 8 1 amappl8 128 309 0 216 4 0 4 4 0 8 0 amappl7 120 1825 0 1817 1 0 1 1 0 8 0 amappl6 112 89 0 77 1 0 1 1 0 8 0 amappl5 104 5670 0 5650 1 0 1 1 0 8 0 amappl4 96 1807 0 1778 1 0 1 1 0 8 0 amappl3 88 1264 0 1257 1 0 1 1 0 8 0 amappl2 80 50510 0 50433 3 0 3 3 0 8 0 amappl1 72 183491 0 183015 26 16 10 19 0 8 0 amappl 80 14099 0 14027 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 22 0 4 1 0 1 1 0 8 0 uaddrrnd 24 6268 0 6237 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6268 0 6237 1 0 1 1 0 8 0 vmmpekpl 168 34631 0 34595 2 0 2 2 0 8 0 vmmpepl 168 786079 0 784469 134 51 83 86 0 357 5 vmsppl 368 6267 0 6237 3 0 3 3 0 8 0 pdppl 4096 12543 0 12489 74 18 56 57 0 8 2 pvpl 32 2096726 0 2086272 207 98 109 140 0 265 14 pmappl 232 6267 0 6237 3 1 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 395 0 45 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800023ce0c20,158,0,ffff800023ce0de4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800023ce0c20,158,0,ffff800023ce0de4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a80,ffff800023ce0ec8,fffffd80662c7b00) at pflog_mtap+0x446 sys/net/if_pflog.c:390 pflog_packet(ffff800023ce0fc8,0,ffff800000b5b530,0,ffffffff828da468,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b50000,ffff800023ce1298) at pf_test+0xfd2 sys/net/pf.c:7228 ip6_input_if(ffff800023ce1298,ffff800023ce12a4,29,0,ffff800000b50000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b50000,fffffd80662c7b00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800023ce1588,ffff8000240d6000,2) at tun_dev_write+0x204 sys/net/if_tun.c:867 spec_write(ffff800023ce13e0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e6740d8,ffff800023ce1588,11,fffffd807f7b79c0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8068bc5e60,ffff800023ce1588,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123d260,f0,ffff800023ce1588,0,ffff800023ce1670) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123d260,ffff800023ce1620,ffff800023ce1670) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800023ce16f0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023ce16f0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa6ff1473f70, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d68ff0) 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: 0x7f7ffffc9660, count: -3