uvm_fault(0xffffffff8277aa10, 0xffffffff8269b638, 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, 0xffffffff8269b638, 0, 2) -> e m_copyback(ffff8000230f3f70,138,0,ffff8000230f4134,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000230f3f70,138,0,ffff8000230f4134,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 end trace frame: 0xffff8000230f41f0, count: 0 ddb{0}> trace m_copyback(ffff8000230f3f70,138,0,ffff8000230f4134,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000230f3f70,138,0,ffff8000230f4134,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a40,ffff8000230f4218,fffffd806dc35900) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff8000230f4318,0,ffff800000ac1fd8,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000adc000,ffff8000230f45e8) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff8000230f45e8,ffff8000230f45f4,29,0,ffff800000adc000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000adc000,fffffd806dc35900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000230f48d8,ffff800020edf000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff8000230f4730) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd807f54b1a8,ffff8000230f48d8,11,fffffd807f7bf7e0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8068013ef8,ffff8000230f48d8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020eb2a00,f0,ffff8000230f48d8,0,ffff8000230f49c0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020eb2a00,ffff8000230f4970,ffff8000230f49c0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000230f4a40) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230f4a40) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x386d9de8b0, count: -14 ddb{0}> show registers rdi 0 rsi 0x7bb59 acpi_pdirpa+0x679c1 rbp 0xffff8000230f3f50 rbx 0xffffffffffffd37e rdx 0x7bb58 acpi_pdirpa+0x679c0 rcx 0xffffffff826b1a40 mbstat_boot_boot_cpumem rax 0 r8 0x2 r9 0xffffffff81e7a848 pf_translate_a+0x1a8 r10 0x1 r11 0x49d6eb917624939a r12 0xfffffd806fe6f100 r13 0x108 r14 0x30 r15 0xffff8000230f4150 rip 0xffffffff81142cf9 m_copyback+0x119 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000230f3e90 ss 0x10 m_copyback+0x119: addq $0x1,0x8(%rcx,%rbx,8) ddb{0}> show proc PROC (syz-executor.0) pid=454150 stat=onproc flags process=0 proc=4000000 pri=58, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020eb2788,0xffffffff82888178 process=0xffff8000ffffb3c0 user=0xffff8000230ef000, vmspace=0xfffffd807effe170 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 97753 56645 35486 0 7 0 syz-executor.0 *97753 454150 35486 0 7 0x4000000 syz-executor.0 58118 364732 24898 0 3 0x82 nanosleep syz-executor.1 35486 316764 24898 0 3 0x82 nanosleep syz-executor.0 24898 250517 94570 0 3 0x82 thrsleep syz-fuzzer 24898 91288 94570 0 3 0x4000082 nanosleep syz-fuzzer 24898 134154 94570 0 3 0x4000082 thrsleep syz-fuzzer 24898 107157 94570 0 3 0x4000082 thrsleep syz-fuzzer 24898 337290 94570 0 3 0x4000082 thrsleep syz-fuzzer 24898 437929 94570 0 3 0x4000082 thrsleep syz-fuzzer 24898 378277 94570 0 3 0x4000082 thrsleep syz-fuzzer 24898 404223 94570 0 3 0x4000082 kqread syz-fuzzer 94570 197046 52389 0 3 0x10008a pause ksh 52389 431103 45149 0 3 0x92 select sshd 45610 335847 1 0 3 0x100083 ttyin getty 45149 91060 1 0 3 0x80 select sshd 87362 311239 71952 74 3 0x100092 bpf pflogd 71952 436827 1 0 3 0x80 netio pflogd 56940 253946 67984 73 3 0x100090 kqread syslogd 67984 117145 1 0 3 0x100082 netio syslogd 51376 297739 1 77 3 0x100090 poll dhclient 30727 411742 1 0 3 0x80 poll dhclient 66690 183692 0 0 3 0x14200 bored smr 49664 350347 0 0 2 0x14200 zerothread 1247 58873 0 0 3 0x14200 aiodoned aiodoned 10354 123860 0 0 3 0x14200 syncer update 99980 449437 0 0 3 0x14200 cleaner cleaner 67743 358481 0 0 3 0x14200 reaper reaper 71985 271063 0 0 3 0x14200 pgdaemon pagedaemon 98575 263029 0 0 3 0x14200 bored crynlk 54877 440126 0 0 3 0x14200 bored crypto 95465 388315 0 0 3 0x40014200 acpi0 acpi0 22327 160598 0 0 3 0x40014200 idle1 58245 416749 0 0 3 0x14200 bored softnet 94805 478846 0 0 3 0x14200 bored systqmp 19122 265030 0 0 3 0x14200 bored systq 41442 416021 0 0 3 0x40014200 bored softclock 85689 517365 0 0 3 0x40014200 idle0 1 345403 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 97753 (syz-executor.0) thread 0xffff800020eb2a00 (454150) 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 9476 6399K 6916K 78643K 10743 0 pcb 13 8K 8K 78643K 23 0 rtable 105 3K 3K 78643K 205 0 ifaddr 49 11K 11K 78643K 50 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1475 0 iov 0 0K 2K 78643K 36 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1256 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 93 0 proc 61 63K 95K 78643K 445 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 36 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 2 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 358 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 127 23K 24K 78643K 983 0 UVM aobj 7 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 6 0 NDP 7 0K 0K 78643K 11 0 temp 78 3953K 4017K 78643K 2200 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 23 0 21 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 153 0 143 1 0 1 1 0 8 0 syncache 272 4 0 4 1 1 0 1 0 8 0 tcpqe 32 245 0 245 1 1 0 1 0 8 0 tcpcb 592 30 0 24 1 0 1 1 0 8 0 inpcb 296 95 0 88 2 1 1 2 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 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 14 0 2 1 0 1 1 0 8 0 pfstkey 112 14 0 2 1 0 1 1 0 8 0 pfstate 328 14 0 2 2 0 2 2 0 8 0 pfrule 1360 23 0 16 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 7 0 3 2 1 1 1 0 8 0 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1501 0 97 88 0 88 88 0 8 0 ffsino 272 1501 0 97 95 1 94 94 0 8 0 nchpl 144 1809 0 204 60 0 60 60 0 8 0 uvmvnodes 72 1577 0 0 29 0 29 29 0 8 0 vnodes 208 1577 0 0 83 0 83 83 0 8 0 namei 1024 4727 0 4727 3 2 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 200 5357 0 5357 9 8 1 7 0 8 1 plimitpl 152 21 0 13 1 0 1 1 0 8 0 sigapl 424 308 0 277 4 0 4 4 0 8 0 futexpl 56 866 0 866 2 1 1 1 0 8 1 knotepl 112 62 0 42 1 0 1 1 0 8 0 kqueuepl 152 4 0 2 1 0 1 1 0 8 0 pipepl 304 82 0 71 2 0 2 2 0 8 1 fdescpl 496 293 0 277 3 0 3 3 0 8 0 filepl 152 1506 0 1404 6 1 5 5 0 8 0 lockfpl 104 30 0 29 1 0 1 1 0 8 0 lockfspl 48 9 0 8 1 0 1 1 0 8 0 sessionpl 120 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 98 0 89 1 0 1 1 0 8 0 zombiepl 144 277 0 276 3 2 1 1 0 8 0 processpl 1008 308 0 276 6 1 5 5 0 8 0 procpl 632 450 0 410 5 1 4 4 0 8 0 sockpl 400 275 0 256 7 3 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 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 187 0 0 23 0 23 23 0 8 0 mtagpl 96 23 0 0 1 0 1 1 0 8 0 mbufpl 256 242 0 0 15 0 15 15 0 8 0 bufpl 280 3538 0 186 240 0 240 240 0 8 0 anonpl 16 44944 0 27140 73 1 72 72 0 124 0 amapchunkpl 152 1678 0 1379 14 2 12 14 0 158 0 amappl16 192 1113 0 295 42 0 42 42 0 8 1 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 22 0 18 1 0 1 1 0 8 0 amappl13 168 58 0 55 1 0 1 1 0 8 0 amappl12 160 7 0 4 1 0 1 1 0 8 0 amappl11 152 59 0 42 1 0 1 1 0 8 0 amappl10 144 18 0 14 1 0 1 1 0 8 0 amappl9 136 391 0 390 2 1 1 1 0 8 0 amappl8 128 148 0 112 2 0 2 2 0 8 0 amappl7 120 257 0 249 1 0 1 1 0 8 0 amappl6 112 123 0 107 1 0 1 1 0 8 0 amappl5 104 362 0 349 1 0 1 1 0 8 0 amappl4 96 317 0 292 1 0 1 1 0 8 0 amappl3 88 73 0 64 1 0 1 1 0 8 0 amappl2 80 1429 0 1361 3 1 2 3 0 8 0 amappl1 72 17700 0 17237 23 12 11 19 0 8 0 amappl 80 727 0 649 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 293 0 277 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 293 0 277 1 0 1 1 0 8 0 vmmpekpl 168 6414 0 6378 2 0 2 2 0 8 0 vmmpepl 168 44211 0 42184 121 26 95 108 0 357 6 vmsppl 368 292 0 277 2 0 2 2 0 8 0 pdppl 4096 593 0 554 7 1 6 6 0 8 1 pvpl 32 156712 0 135740 174 0 174 174 0 265 4 pmappl 232 292 0 277 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 264 0 11 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_copyback(ffff8000230f3f70,138,0,ffff8000230f4134,2) at m_copyback+0x119 m_get sys/sys/percpu.h:125 [inline] m_copyback(ffff8000230f3f70,138,0,ffff8000230f4134,2) at m_copyback+0x119 sys/kern/uipc_mbuf.c:756 pflog_mtap(ffff800000044a40,ffff8000230f4218,fffffd806dc35900) at pflog_mtap+0x446 sys/net/if_pflog.c:389 pflog_packet(ffff8000230f4318,0,ffff800000ac1fd8,0,ffffffff82879b30,0) at pflog_packet+0x3a4 pf_test(18,1,ffff800000adc000,ffff8000230f45e8) at pf_test+0xfc5 sys/net/pf.c:7226 ip6_input_if(ffff8000230f45e8,ffff8000230f45f4,29,0,ffff800000adc000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000adc000,fffffd806dc35900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000230f48d8,ffff800020edf000,2) at tun_dev_write+0x204 sys/net/if_tun.c:868 spec_write(ffff8000230f4730) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd807f54b1a8,ffff8000230f48d8,11,fffffd807f7bf7e0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8068013ef8,ffff8000230f48d8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020eb2a00,f0,ffff8000230f48d8,0,ffff8000230f49c0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800020eb2a00,ffff8000230f4970,ffff8000230f49c0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000230f4a40) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230f4a40) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x386d9de8b0, 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: 0x7f7ffffd2450, count: -3