uvm_fault(0xffffffff8277aa10, 0xffffffff8268f440, 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, 0xffffffff8268f440, 0, 2) -> e m_copyback(ffff800021f15920,4b0,0,ffff800021f15ae4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800021f15920,4b0,0,ffff800021f15ae4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff800021f15ba0, count: 0 ddb{0}> trace m_copyback(ffff800021f15920,4b0,0,ffff800021f15ae4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800021f15920,4b0,0,ffff800021f15ae4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044940,ffff800021f15bc8,fffffd806b5a1300) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800021f15cc8,0,ffff800000abfaa8,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000adc000,ffff800021f15f98) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800021f15f98,ffff800021f15fa4,29,0,ffff800000adc000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000adc000,fffffd806b5a1300) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800021f16288,ffff800020eef000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800021f160e0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806ed83418,ffff800021f16288,11,fffffd807f7bf540) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067e3b6a0,ffff800021f16288,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020ea4780,f0,ffff800021f16288,0,ffff800021f16370) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020ea4780,ffff800021f16320,ffff800021f16370) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021f163f0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f163f0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd0de86d6630, count: -14 ddb{0}> show registers rdi 0 rsi 0x74005 acpi_pdirpa+0x5fe6d rbp 0xffff800021f15900 rbx 0xffffffffffffbb3f rdx 0x74004 acpi_pdirpa+0x5fe6c rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0x4609414d28e371bd r12 0xfffffd806a225c00 r13 0x480 r14 0x30 r15 0xffff800021f15b00 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021f15840 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=169519 stat=onproc flags process=0 proc=4000000 pri=54, usrpri=59, nice=20 forw=0xffffffffffffffff, list=0xffff800020ea53d8,0xffffffff82888178 process=0xffff800020ecc7e8 user=0xffff800021f11000, vmspace=0xfffffd807effeb80 estcpu=9, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 59097 256235 84442 0 7 0 syz-executor.0 *59097 169519 84442 0 7 0x4000000 syz-executor.0 29138 500866 11262 0 2 0 syz-executor.1 29138 98783 11262 0 3 0x4000080 nanosleep syz-executor.1 60051 382914 0 0 3 0x14200 bored sosplice 11262 340679 86818 0 3 0x82 nanosleep syz-executor.1 23030 405214 1 0 3 0x100083 ttyin getty 84442 374992 86818 0 3 0x82 nanosleep syz-executor.0 86818 106785 68302 0 3 0x82 thrsleep syz-fuzzer 86818 449571 68302 0 3 0x4000082 thrsleep syz-fuzzer 86818 329506 68302 0 3 0x4000082 thrsleep syz-fuzzer 86818 365800 68302 0 3 0x4000082 thrsleep syz-fuzzer 86818 177119 68302 0 3 0x4000082 thrsleep syz-fuzzer 86818 22232 68302 0 3 0x4000082 thrsleep syz-fuzzer 86818 185390 68302 0 3 0x4000082 thrsleep syz-fuzzer 86818 399806 68302 0 3 0x4000082 kqread syz-fuzzer 68302 145552 82866 0 3 0x10008a pause ksh 82866 117776 67516 0 3 0x92 select sshd 67516 431427 1 0 3 0x80 select sshd 61320 190907 99737 74 3 0x100092 bpf pflogd 99737 205976 1 0 3 0x80 netio pflogd 87849 267540 59049 73 3 0x100090 kqread syslogd 59049 214325 1 0 3 0x100082 netio syslogd 93008 479827 1 77 3 0x100090 poll dhclient 55740 51167 1 0 3 0x80 poll dhclient 74499 438371 0 0 3 0x14200 bored smr 30813 248897 0 0 2 0x14200 zerothread 78382 242328 0 0 3 0x14200 aiodoned aiodoned 88360 402239 0 0 3 0x14200 syncer update 36124 169897 0 0 3 0x14200 cleaner cleaner 8238 34001 0 0 3 0x14200 reaper reaper 83536 375136 0 0 3 0x14200 pgdaemon pagedaemon 88389 79970 0 0 3 0x14200 bored crynlk 85771 298609 0 0 3 0x14200 bored crypto 30595 364360 0 0 3 0x40014200 acpi0 acpi0 84949 486055 0 0 3 0x40014200 idle1 28401 456549 0 0 3 0x14200 bored softnet 31745 488556 0 0 3 0x14200 bored systqmp 69979 197298 0 0 3 0x14200 bored systq 81427 517352 0 0 3 0x40014200 bored softclock 5996 18167 0 0 3 0x40014200 idle0 1 8143 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 59097 (syz-executor.0) thread 0xffff800020ea4780 (169519) 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 6422K 6733K 78643K 11100 0 pcb 13 8K 8K 78643K 90 0 rtable 96 6K 8K 78643K 401 0 ifaddr 66 12K 13K 78643K 116 0 counters 43 33K 34K 78643K 53 0 ioctlops 0 0K 4K 78643K 1635 0 iov 0 0K 16K 78643K 24 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1391 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 86 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 476 0 sigio 0 0K 0K 78643K 2 0 proc 61 63K 95K 78643K 517 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 42 0 in_multi 18 1K 2K 78643K 105 0 ether_multi 1 0K 0K 78643K 9 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 2K 78643K 395 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 165 60K 60K 78643K 2274 0 UVM aobj 24 6K 6K 78643K 25 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 76 0 NDP 12 0K 0K 78643K 28 0 temp 122 3961K 4032K 78643K 10518 0 kqueue 4 5K 11K 78643K 29 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 9 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 31 0 29 1 0 1 1 0 8 0 rtentry 112 84 0 53 2 0 2 2 0 8 0 unpcb 120 273 0 263 1 0 1 1 0 8 0 syncache 272 9 0 9 4 4 0 1 0 8 0 tcpqe 32 12 0 12 2 2 0 1 0 8 0 tcpcb 592 162 0 156 4 2 2 3 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 296 509 0 498 3 1 2 2 0 8 0 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 19 0 18 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfstscr 40 3 0 3 2 2 0 1 0 8 0 pffrag 232 4 0 4 1 0 1 1 0 482 1 pffrnode 88 4 0 4 1 0 1 1 0 8 1 pffrent 40 94 0 94 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 19 0 14 1 0 1 1 0 8 0 pftag 88 4 0 2 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 28 0 26 1 0 1 1 0 8 0 pfstkey 112 30 0 28 1 0 1 1 0 8 0 pfstate 328 27 0 25 2 0 2 2 0 8 1 pfrule 1360 37 0 29 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 344 0 215 13 3 10 13 0 8 0 art_table 32 345 0 215 2 0 2 2 0 8 0 art_node 16 83 0 54 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 82 0 72 1 0 1 1 0 8 0 shmpl 112 22 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1938 0 533 89 1 88 89 0 8 0 ffsino 272 1938 0 533 94 0 94 94 0 8 0 nchpl 144 3037 0 1443 60 0 60 60 0 8 0 uvmvnodes 72 2116 0 0 39 0 39 39 0 8 0 vnodes 208 2116 0 0 112 0 112 112 0 8 0 namei 1024 8228 0 8228 2 1 1 1 0 8 1 percpumem 16 37 0 5 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 10 0 6 1 0 1 1 0 8 0 scxspl 200 8363 0 8363 10 9 1 7 0 8 1 plimitpl 152 46 0 38 1 0 1 1 0 8 0 sigapl 424 690 0 657 4 0 4 4 0 8 0 futexpl 56 6098 0 6098 3 2 1 1 0 8 1 knotepl 112 102 0 82 1 0 1 1 0 8 0 kqueuepl 152 62 0 59 1 0 1 1 0 8 0 pipepl 304 139 0 128 3 2 1 2 0 8 0 fdescpl 496 674 0 657 3 0 3 3 0 8 0 filepl 152 4165 0 4060 5 0 5 5 0 8 0 lockfpl 104 110 0 109 1 0 1 1 0 8 0 lockfspl 48 32 0 31 1 0 1 1 0 8 0 sessionpl 120 20 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 15 1 0 1 1 0 8 0 ucredpl 96 354 0 345 1 0 1 1 0 8 0 zombiepl 144 657 0 657 1 0 1 1 0 8 1 processpl 1008 690 0 657 5 0 5 5 0 8 0 procpl 632 1658 0 1616 5 1 4 5 0 8 0 sosppl 144 3 0 3 1 1 0 1 0 8 0 sockpl 400 817 0 794 6 3 3 5 0 8 0 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k 2048 154 0 0 19 0 19 19 0 8 1 mtagpl 96 25 0 0 1 0 1 1 0 8 0 mbufpl 256 297 0 0 18 0 18 18 0 8 0 bufpl 280 4275 0 186 293 0 293 293 0 8 0 anonpl 16 89561 0 71455 96 22 74 88 0 124 0 amapchunkpl 152 3943 0 3635 18 5 13 17 0 158 0 amappl16 192 2851 0 2024 61 19 42 53 0 8 0 amappl15 184 158 0 155 1 0 1 1 0 8 0 amappl14 176 251 0 243 1 0 1 1 0 8 0 amappl13 168 31 0 30 1 0 1 1 0 8 0 amappl12 160 17 0 13 1 0 1 1 0 8 0 amappl11 152 104 0 88 1 0 1 1 0 8 0 amappl10 144 15 0 9 1 0 1 1 0 8 0 amappl9 136 367 0 366 1 0 1 1 0 8 0 amappl8 128 196 0 136 2 0 2 2 0 8 0 amappl7 120 266 0 259 1 0 1 1 0 8 0 amappl6 112 174 0 158 1 0 1 1 0 8 0 amappl5 104 534 0 519 1 0 1 1 0 8 0 amappl4 96 544 0 515 1 0 1 1 0 8 0 amappl3 88 315 0 305 1 0 1 1 0 8 0 amappl2 80 4236 0 4158 3 1 2 3 0 8 0 amappl1 72 30194 0 29721 24 14 10 19 0 8 0 amappl 80 1966 0 1880 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 24 0 1 1 0 1 1 0 8 0 uaddrrnd 24 678 0 657 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 678 0 657 1 0 1 1 0 8 0 vmmpekpl 168 9132 0 9089 4 1 3 3 0 8 0 vmmpepl 168 94330 0 92149 134 38 96 123 0 357 0 vmsppl 368 677 0 657 2 0 2 2 0 8 0 pdppl 4096 1363 0 1318 6 0 6 6 0 8 0 pvpl 32 276001 0 254541 215 32 183 205 0 265 8 pmappl 232 677 0 657 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 266 0 15 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff800021f15920,4b0,0,ffff800021f15ae4,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff800021f15920,4b0,0,ffff800021f15ae4,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044940,ffff800021f15bc8,fffffd806b5a1300) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff800021f15cc8,0,ffff800000abfaa8,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000adc000,ffff800021f15f98) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff800021f15f98,ffff800021f15fa4,29,0,ffff800000adc000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000adc000,fffffd806b5a1300) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff800021f16288,ffff800020eef000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff800021f160e0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806ed83418,ffff800021f16288,11,fffffd807f7bf540) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067e3b6a0,ffff800021f16288,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020ea4780,f0,ffff800021f16288,0,ffff800021f16370) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020ea4780,ffff800021f16320,ffff800021f16370) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021f163f0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f163f0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd0de86d6630, 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: 0x7f7fffff7ae0, count: -3