login: uvm_fault(0xffffffff8277aa10, 0xffffffff8268daf0, 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, 0xffffffff8268daf0, 0, 2) -> e m_copyback(ffff800021f2a8b0,158,0,ffff800021f2aa74,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800021f2a8b0,158,0,ffff800021f2aa74,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800021f2ab30, count: 0 ddb{0}> trace m_copyback(ffff800021f2a8b0,158,0,ffff800021f2aa74,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800021f2a8b0,158,0,ffff800021f2aa74,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044940,ffff800021f2ab58,fffffd806f2af900) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800021f2ac58,0,ffff800000ac0548,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b0d000,ffff800021f2af28) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800021f2af28,ffff800021f2af34,29,0,ffff800000b0d000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b0d000,fffffd806f2af900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800021f2b218,ffff800023113000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800021f2b070) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e6ae1a8,ffff800021f2b218,11,fffffd807f7bf8a0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067f1fbf8,ffff800021f2b218,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020e9ec70,f0,ffff800021f2b218,0,ffff800021f2b300) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020e9ec70,ffff800021f2b2b0,ffff800021f2b300) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021f2b380) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f2b380) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e3abfde150, count: -14 ddb{0}> show registers rdi 0 rsi 0x720f3 acpi_pdirpa+0x5df5b rbp 0xffff800021f2a890 rbx 0xffffffffffffb815 rdx 0x720f2 acpi_pdirpa+0x5df5a rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0xf33a01ed696962f4 r12 0xfffffd8068f93f00 r13 0x128 r14 0x30 r15 0xffff800021f2aa90 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021f2a7d0 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.1) pid=350366 stat=onproc flags process=0 proc=4000000 pri=78, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff800020e9e780,0xffff800020e9f170 process=0xffff800020eccfc8 user=0xffff800021f26000, vmspace=0xfffffd807effe5c0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 98689 25828 45403 0 7 0 syz-executor.1 *98689 350366 45403 0 7 0x4000000 syz-executor.1 98689 214639 45403 0 2 0x4000000 syz-executor.1 21113 268365 48559 0 3 0x80 nanosleep syz-executor.0 21113 204329 48559 0 2 0x4000000 syz-executor.0 21113 314686 48559 0 3 0x4000080 fsleep syz-executor.0 15602 120110 0 0 3 0x14200 acct acct 63138 370936 1 0 3 0x100083 ttyin getty 36523 184253 0 0 3 0x14200 bored sosplice 45403 264191 20245 0 3 0x82 nanosleep syz-executor.1 48559 472574 20245 0 3 0x82 nanosleep syz-executor.0 20245 208866 89399 0 3 0x82 thrsleep syz-fuzzer 20245 425702 89399 0 3 0x4000082 thrsleep syz-fuzzer 20245 507518 89399 0 3 0x4000082 thrsleep syz-fuzzer 20245 278688 89399 0 3 0x4000082 thrsleep syz-fuzzer 20245 374490 89399 0 3 0x4000082 kqread syz-fuzzer 20245 226115 89399 0 3 0x4000082 thrsleep syz-fuzzer 20245 407000 89399 0 3 0x4000082 thrsleep syz-fuzzer 20245 274863 89399 0 3 0x4000082 thrsleep syz-fuzzer 89399 441776 29908 0 3 0x10008a pause ksh 29908 376229 77201 0 3 0x92 select sshd 77201 401371 1 0 3 0x80 select sshd 24278 154043 77390 74 3 0x100092 bpf pflogd 77390 522520 1 0 3 0x80 netio pflogd 46737 85133 59641 73 3 0x100090 kqread syslogd 59641 210082 1 0 3 0x100082 netio syslogd 50967 30343 1 77 3 0x100090 poll dhclient 29317 191558 1 0 3 0x80 poll dhclient 53224 194267 0 0 3 0x14200 bored smr 6527 1799 0 0 3 0x14200 pgzero zerothread 11226 136092 0 0 3 0x14200 aiodoned aiodoned 94575 457873 0 0 3 0x14200 syncer update 80435 81531 0 0 3 0x14200 cleaner cleaner 13546 254064 0 0 3 0x14200 reaper reaper 56630 113155 0 0 3 0x14200 pgdaemon pagedaemon 13634 497850 0 0 3 0x14200 bored crynlk 13450 457273 0 0 3 0x14200 bored crypto 19985 66662 0 0 3 0x40014200 acpi0 acpi0 56914 122006 0 0 3 0x40014200 idle1 64025 250540 0 0 3 0x14200 bored softnet 97778 90296 0 0 3 0x14200 bored systqmp 91671 119300 0 0 3 0x14200 bored systq 49482 516138 0 0 3 0x40014200 bored softclock 58374 153913 0 0 3 0x40014200 idle0 1 253599 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 98689 (syz-executor.1) thread 0xffff800020e9ec70 (350366) 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 9512 6412K 6720K 78643K 11103 0 pcb 13 8K 8K 78643K 79 0 rtable 126 9K 10K 78643K 325 0 ifaddr 73 14K 15K 78643K 105 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 51 0 ioctlops 0 0K 4K 78643K 1534 0 iov 0 0K 16K 78643K 44 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1376 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 140 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 452 0 sigio 0 0K 0K 78643K 8 0 proc 61 63K 83K 78643K 486 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 640 0 in_multi 29 1K 2K 78643K 75 0 ether_multi 1 0K 0K 78643K 11 0 mrt 0 0K 0K 78643K 10 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 382 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 136 40K 42K 78643K 2200 0 UVM aobj 9 2K 2K 78643K 15 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 48 0 NDP 11 0K 0K 78643K 22 0 temp 118 3961K 4025K 78643K 3298 0 kqueue 3 4K 16K 78643K 34 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 7 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 25 0 23 1 0 1 1 0 8 0 rtentry 112 59 0 17 2 0 2 2 0 8 0 unpcb 120 196 0 186 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 94 0 94 1 1 0 1 0 8 0 tcpcb 592 466 0 445 5 2 3 3 0 8 1 inpcb 296 717 0 707 2 0 2 2 0 8 0 rttmr 72 5 0 5 3 2 1 1 0 8 1 nd6 48 9 0 5 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 2 0 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfstscr 40 6 0 6 2 2 0 1 0 8 0 pffrag 232 4 0 3 1 0 1 1 0 482 0 pffrnode 88 4 0 3 1 0 1 1 0 8 0 pffrent 40 51 0 50 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 21 0 12 2 1 1 2 0 8 0 pfstitem 24 16 0 9 1 0 1 1 0 8 0 pfstkey 112 20 0 13 1 0 1 1 0 8 0 pfstate 328 16 0 9 2 1 1 2 0 8 0 pfsrctr 152 8 0 8 1 1 0 1 0 8 0 pfrule 1360 33 0 21 3 2 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 40 13 0 13 13 0 8 0 art_table 32 214 0 40 2 0 2 2 0 8 0 art_node 16 56 0 17 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 9 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 138 0 128 1 0 1 1 0 8 0 shmpl 112 12 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1969 0 566 89 0 89 89 0 8 0 ffsino 272 1969 0 566 94 0 94 94 0 8 0 nchpl 144 2777 0 1169 60 0 60 60 0 8 0 uvmvnodes 72 2124 0 0 39 0 39 39 0 8 0 vnodes 208 2124 0 0 112 0 112 112 0 8 0 namei 1024 7704 0 7704 3 2 1 1 0 8 1 percpumem 16 36 0 4 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 1 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 9 0 2 1 0 1 1 0 8 0 scxspl 200 8459 0 8459 13 10 3 7 0 8 3 plimitpl 152 41 0 33 1 0 1 1 0 8 0 sigapl 424 670 0 636 4 0 4 4 0 8 0 futexpl 56 5525 0 5524 3 2 1 1 0 8 0 knotepl 112 101 0 81 1 0 1 1 0 8 0 kqueuepl 152 69 0 67 1 0 1 1 0 8 0 pipepl 304 116 0 105 4 2 2 2 0 8 1 fdescpl 496 653 0 636 3 0 3 3 0 8 0 filepl 152 3611 0 3508 6 1 5 5 0 8 1 lockfpl 104 76 0 75 1 0 1 1 0 8 0 lockfspl 48 26 0 25 1 0 1 1 0 8 0 sessionpl 120 19 0 8 1 0 1 1 0 8 0 pgrppl 48 69 0 58 1 0 1 1 0 8 0 ucredpl 96 260 0 251 1 0 1 1 0 8 0 zombiepl 144 636 0 636 2 1 1 1 0 8 1 processpl 1008 670 0 636 5 0 5 5 0 8 0 procpl 632 1629 0 1584 4 0 4 4 0 8 0 sosppl 144 6 0 6 2 1 1 1 0 8 1 sockpl 400 945 0 925 7 3 4 4 0 8 2 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 9 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 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 264 0 0 32 0 32 32 0 8 0 mtagpl 96 28 0 0 1 0 1 1 0 8 0 mbufpl 256 335 0 0 18 0 18 18 0 8 0 bufpl 280 4395 0 200 300 0 300 300 0 8 0 anonpl 16 81298 0 63517 97 17 80 88 0 124 7 amapchunkpl 152 4022 0 3735 24 7 17 19 0 158 3 amappl16 192 2607 0 1777 54 10 44 52 0 8 2 amappl15 184 5 0 3 1 0 1 1 0 8 0 amappl14 176 243 0 236 1 0 1 1 0 8 0 amappl13 168 35 0 33 1 0 1 1 0 8 0 amappl12 160 10 0 4 1 0 1 1 0 8 0 amappl11 152 54 0 39 1 0 1 1 0 8 0 amappl10 144 208 0 204 1 0 1 1 0 8 0 amappl9 136 376 0 375 1 0 1 1 0 8 0 amappl8 128 137 0 98 2 0 2 2 0 8 0 amappl7 120 454 0 444 1 0 1 1 0 8 0 amappl6 112 122 0 109 1 0 1 1 0 8 0 amappl5 104 721 0 706 1 0 1 1 0 8 0 amappl4 96 303 0 274 1 0 1 1 0 8 0 amappl3 88 304 0 296 1 0 1 1 0 8 0 amappl2 80 3986 0 3909 3 1 2 3 0 8 0 amappl1 72 29655 0 29155 24 14 10 19 0 8 0 amappl 80 1920 0 1846 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 14 0 6 1 0 1 1 0 8 0 uaddrrnd 24 654 0 636 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 654 0 636 1 0 1 1 0 8 0 vmmpekpl 168 8521 0 8475 4 1 3 3 0 8 0 vmmpepl 168 91055 0 88881 129 32 97 109 0 357 2 vmsppl 368 653 0 636 2 0 2 2 0 8 0 pdppl 4096 1315 0 1273 6 0 6 6 0 8 0 pvpl 32 256097 0 234995 229 37 192 206 0 265 20 pmappl 232 653 0 636 4 2 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 278 0 10 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800021f2a8b0,158,0,ffff800021f2aa74,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800021f2a8b0,158,0,ffff800021f2aa74,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044940,ffff800021f2ab58,fffffd806f2af900) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800021f2ac58,0,ffff800000ac0548,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000b0d000,ffff800021f2af28) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800021f2af28,ffff800021f2af34,29,0,ffff800000b0d000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b0d000,fffffd806f2af900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff800021f2b218,ffff800023113000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800021f2b070) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e6ae1a8,ffff800021f2b218,11,fffffd807f7bf8a0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067f1fbf8,ffff800021f2b218,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020e9ec70,f0,ffff800021f2b218,0,ffff800021f2b300) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020e9ec70,ffff800021f2b2b0,ffff800021f2b300) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021f2b380) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f2b380) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e3abfde150, 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: 0x7f7ffffcbdd0, count: -3