uvm_fault(0xffffffff8277aa10, 0xffffffff8267be50, 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, 0xffffffff8267be50, 0, 2) -> e m_copyback(ffff8000241455d0,158,0,ffff800024145794,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000241455d0,158,0,ffff800024145794,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800024145850, count: 0 ddb{0}> trace m_copyback(ffff8000241455d0,158,0,ffff800024145794,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000241455d0,158,0,ffff800024145794,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a40,ffff800024145878,fffffd8068c1a700) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800024145978,0,ffff800000abdfd0,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b63000,ffff800024145c48) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800024145c48,ffff800024145c54,29,0,ffff800000b63000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b63000,fffffd8068c1a700) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800024145f38,ffff800021eff000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800024145d90) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8068d38c40,ffff800024145f38,11,fffffd807f7bf7e0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067c8f578,ffff800024145f38,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020eb2020,f0,ffff800024145f38,0,ffff800024146020) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020eb2020,ffff800024145fd0,ffff800024146020) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000241460a0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000241460a0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc22dd982fe0, count: -14 ddb{0}> show registers rdi 0 rsi 0x7f0b1 acpi_pdirpa+0x6af19 rbp 0xffff8000241455b0 rbx 0xffffffffffff9481 rdx 0x7f0b0 acpi_pdirpa+0x6af18 rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0xe1940a0e981374a7 r12 0xfffffd806d2eb700 r13 0x128 r14 0x30 r15 0xffff8000241457b0 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000241454f0 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.1) pid=130303 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020eb2ef0,0xffffffff82888178 process=0xffff8000210f33c0 user=0xffff800024141000, vmspace=0xfffffd807effeb80 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 14465 130982 29962 0 2 0 syz-executor.1 *14465 130303 29962 0 7 0x4000000 syz-executor.1 29962 290909 15402 0 3 0x82 nanosleep syz-executor.1 16018 476805 15402 0 3 0x82 piperd syz-executor.0 97488 46168 0 0 3 0x14200 bored sosplice 15402 230133 45443 0 3 0x82 kqread syz-fuzzer 15402 115528 45443 0 3 0x4000082 nanosleep syz-fuzzer 15402 71841 45443 0 7 0x4000002 syz-fuzzer 15402 281668 45443 0 3 0x4000082 thrsleep syz-fuzzer 15402 282170 45443 0 3 0x4000082 thrsleep syz-fuzzer 15402 142876 45443 0 3 0x4000082 thrsleep syz-fuzzer 15402 480618 45443 0 3 0x4000082 thrsleep syz-fuzzer 15402 404386 45443 0 3 0x4000082 thrsleep syz-fuzzer 45443 238774 30360 0 3 0x10008a pause ksh 30360 348006 87963 0 3 0x92 select sshd 9545 487615 1 0 3 0x100083 ttyin getty 87963 121202 1 0 3 0x80 select sshd 48224 74139 88214 74 3 0x100092 bpf pflogd 88214 220451 1 0 3 0x80 netio pflogd 83910 213151 73362 73 3 0x100090 kqread syslogd 73362 522213 1 0 3 0x100082 netio syslogd 31415 85338 1 77 3 0x100090 poll dhclient 62312 288059 1 0 3 0x80 poll dhclient 48345 331466 0 0 3 0x14200 bored smr 53820 519510 0 0 2 0x14200 zerothread 41805 319286 0 0 3 0x14200 aiodoned aiodoned 91611 292192 0 0 3 0x14200 syncer update 28733 439946 0 0 3 0x14200 cleaner cleaner 4573 189627 0 0 3 0x14200 reaper reaper 11595 103315 0 0 3 0x14200 pgdaemon pagedaemon 60348 444377 0 0 3 0x14200 bored crynlk 70540 436812 0 0 3 0x14200 bored crypto 99399 23715 0 0 3 0x40014200 acpi0 acpi0 75476 184136 0 0 3 0x40014200 idle1 97044 250427 0 0 3 0x14200 bored softnet 82767 73873 0 0 3 0x14200 bored systqmp 94710 284618 0 0 3 0x14200 bored systq 86521 108641 0 0 3 0x40014200 bored softclock 95172 494752 0 0 3 0x40014200 idle0 1 222499 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 14465 (syz-executor.1) thread 0xffff800020eb2020 (130303) 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 9511 6428K 6686K 78643K 11517 0 pcb 13 8K 8K 78643K 115 0 rtable 125 8K 10K 78643K 632 0 ifaddr 72 14K 15K 78643K 181 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 71 0 ioctlops 0 0K 4K 78643K 1673 0 iov 0 0K 32K 78643K 68 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 77K 77K 78643K 1569 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 12 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 222 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 853 0 sigio 0 0K 0K 78643K 7 0 proc 61 63K 95K 78643K 635 0 subproc 32 2K 2K 78643K 85 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 85 0 in_multi 29 1K 2K 78643K 173 0 ether_multi 1 0K 0K 78643K 12 0 mrt 0 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 474 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 140K 140K 78643K 3301 0 UVM aobj 38 6K 6K 78643K 38 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 87 0 NDP 11 0K 0K 78643K 46 0 temp 142 3994K 4058K 78643K 11667 0 kqueue 3 4K 9K 78643K 19 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 14 0 8 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 53 0 51 1 0 1 1 0 8 0 rtentry 112 131 0 89 2 0 2 2 0 8 0 unpcb 120 524 0 514 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 691 0 691 2 2 0 1 0 8 0 tcpcb 592 236 0 226 3 2 1 2 0 8 0 inpcb 296 1843 0 1836 6 4 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 33 0 28 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 5 0 4 1 0 1 1 0 482 0 pffrnode 88 5 0 4 1 0 1 1 0 8 0 pffrent 40 100 0 99 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 pfrktable 1344 50 0 39 2 1 1 2 0 8 0 pfstitem 24 12 0 10 1 0 1 1 0 8 0 pfstkey 112 16 0 14 1 0 1 1 0 8 0 pfstate 328 14 0 12 1 0 1 1 0 8 0 pfsrctr 152 76 0 59 1 0 1 1 0 8 0 pfrule 1360 57 0 35 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 550 0 361 17 4 13 15 0 8 0 art_table 32 551 0 361 2 0 2 2 0 8 0 art_node 16 130 0 91 1 0 1 1 0 8 0 sysvmsgpl 40 43 0 3 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 210 0 200 1 0 1 1 0 8 0 shmpl 112 35 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2403 0 1001 88 0 88 88 0 8 0 ffsino 272 2403 0 1001 95 1 94 94 0 8 0 nchpl 144 3687 0 2095 60 0 60 60 0 8 0 uvmvnodes 72 2718 0 0 50 0 50 50 0 8 0 vnodes 208 2718 0 0 144 0 144 144 0 8 0 namei 1024 10545 0 10545 5 4 1 1 0 8 1 percpumem 16 46 0 14 1 0 1 1 0 8 0 vcpupl 1984 16 0 0 2 0 2 2 0 8 0 vmpool 560 17 0 1 2 0 2 2 0 8 0 pfiaddrpl 120 16 0 9 1 0 1 1 0 8 0 scsiplug 72 3 0 3 2 2 0 1 0 8 0 scxspl 200 11063 0 11063 14 13 1 7 0 8 1 plimitpl 152 73 0 65 1 0 1 1 0 8 0 sigapl 424 1060 0 1028 4 0 4 4 0 8 0 futexpl 56 13699 0 13699 4 3 1 1 0 8 1 knotepl 112 120 0 100 1 0 1 1 0 8 0 kqueuepl 152 60 0 58 1 0 1 1 0 8 0 pipepl 304 189 0 178 6 4 2 2 0 8 0 fdescpl 496 1044 0 1028 3 0 3 3 0 8 0 filepl 152 6361 0 6259 7 2 5 6 0 8 1 lockfpl 104 226 0 225 1 0 1 1 0 8 0 lockfspl 48 80 0 79 1 0 1 1 0 8 0 sessionpl 120 21 0 10 1 0 1 1 0 8 0 pgrppl 48 27 0 16 1 0 1 1 0 8 0 ucredpl 96 589 0 580 1 0 1 1 0 8 0 zombiepl 144 1028 0 1028 3 2 1 1 0 8 1 processpl 1008 1060 0 1028 6 1 5 5 0 8 0 procpl 632 2598 0 2558 6 2 4 5 0 8 0 sosppl 144 5 0 5 2 2 0 1 0 8 0 sockpl 400 2425 0 2406 10 6 4 4 0 8 2 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 240 0 0 29 0 29 29 0 8 0 mtagpl 96 41 0 0 1 0 1 1 0 8 0 mbufpl 256 423 0 0 22 0 22 22 0 8 0 bufpl 280 4905 0 192 337 0 337 337 0 8 0 anonpl 16 117450 0 100114 88 9 79 82 0 124 0 amapchunkpl 152 6203 0 5884 38 24 14 27 0 158 1 amappl16 192 3631 0 2749 46 1 45 45 0 8 0 amappl15 184 3 0 1 1 0 1 1 0 8 0 amappl14 176 24 0 19 1 0 1 1 0 8 0 amappl13 168 46 0 43 1 0 1 1 0 8 0 amappl12 160 84 0 78 1 0 1 1 0 8 0 amappl11 152 681 0 666 1 0 1 1 0 8 0 amappl10 144 117 0 112 1 0 1 1 0 8 0 amappl9 136 354 0 353 2 1 1 1 0 8 0 amappl8 128 152 0 117 2 0 2 2 0 8 0 amappl7 120 396 0 387 1 0 1 1 0 8 0 amappl6 112 758 0 742 1 0 1 1 0 8 0 amappl5 104 1145 0 1131 1 0 1 1 0 8 0 amappl4 96 327 0 292 1 0 1 1 0 8 0 amappl3 88 114 0 106 1 0 1 1 0 8 0 amappl2 80 6645 0 6573 3 1 2 3 0 8 0 amappl1 72 40975 0 40510 24 14 10 19 0 8 0 amappl 80 2938 0 2842 3 0 3 3 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 37 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1061 0 1029 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1061 0 1029 1 0 1 1 0 8 0 vmmpekpl 168 10716 0 10676 2 0 2 2 0 8 0 vmmpepl 168 141689 0 139541 204 74 130 130 0 357 36 vmsppl 368 1060 0 1029 3 0 3 3 0 8 0 pdppl 4096 2129 0 2074 9 1 8 8 0 8 1 pvpl 32 370644 0 350079 212 28 184 193 0 265 1 pmappl 232 1060 0 1029 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 290 0 19 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff8000241455d0,158,0,ffff800024145794,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000241455d0,158,0,ffff800024145794,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a40,ffff800024145878,fffffd8068c1a700) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800024145978,0,ffff800000abdfd0,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b63000,ffff800024145c48) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800024145c48,ffff800024145c54,29,0,ffff800000b63000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b63000,fffffd8068c1a700) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800024145f38,ffff800021eff000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800024145d90) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8068d38c40,ffff800024145f38,11,fffffd807f7bf7e0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067c8f578,ffff800024145f38,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020eb2020,f0,ffff800024145f38,0,ffff800024146020) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020eb2020,ffff800024145fd0,ffff800024146020) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000241460a0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000241460a0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc22dd982fe0, 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: 0xc000f26e78, count: -3