uvm_fault(0xffffffff827e2b58, 0xfffffd0000000018, 0, 1) -> e kernel: page fault trap, code=0 Stopped at tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic kernel page fault uvm_fault(0xffffffff827e2b58, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d00,ffff80001f7ddb78,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 end trace frame: 0xffff80001f7dd9b0, count: 0 ddb> trace tun_dev_read(5d00,ffff80001f7ddb78,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff80001f7dd9c0) at spec_read+0xe9 sys/kern/spec_vnops.c:222 VOP_READ(fffffd8061f569c0,ffff80001f7ddb78,10,fffffd806c3bfb40) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80615f6bb8,ffff80001f7ddb78,0) at vn_read+0x11f sys/kern/vfs_vnops.c:375 dofilereadv(ffff80001d71dae0,f0,ffff80001f7ddb78,0,ffff80001f7ddc60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d71dae0,ffff80001f7ddc10,ffff80001f7ddc60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001f7ddce0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x41a2f8285f0, count: -8 ddb> show registers rdi 0 rsi 0x3da rbp 0xffff80001f7dd900 rbx 0xfffffd0000000000 rdx 0x5d rcx 0xffff80001d7a6000 rax 0xffff800000ad1c80 r8 0x7f7fffffc000 r9 0x5 r10 0x410352e40ab809fe r11 0xace3294a0f27d5ec r12 0 r13 0x3da r14 0xffff800000ac4e10 r15 0xffff80001f7ddb78 rip 0xffffffff82298ea8 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80001f7dd8a0 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb> show proc PROC (syz-executor.0) pid=475097 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d71ceb0,0xffffffff82815730 process=0xffff80001d6c43b0 user=0xffff80001f7d8000, vmspace=0xfffffd806bc09dd0 estcpu=2, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 97408 507467 33735 0 2 0 syz-executor.0 *97408 475097 33735 0 7 0x4000000 syz-executor.0 67601 4143 16456 0 2 0 syz-executor.1 67601 457476 16456 0 3 0x4000080 fsleep syz-executor.1 67601 397363 16456 0 3 0x4000080 fsleep syz-executor.1 33735 227100 49056 0 2 0x482 syz-executor.0 16456 207947 49056 0 3 0x82 nanosleep syz-executor.1 49056 266184 36906 0 3 0x82 thrsleep syz-fuzzer 49056 282765 36906 0 3 0x4000082 nanosleep syz-fuzzer 49056 157031 36906 0 3 0x4000082 thrsleep syz-fuzzer 49056 294510 36906 0 3 0x4000082 thrsleep syz-fuzzer 49056 65907 36906 0 3 0x4000082 kqread syz-fuzzer 49056 483924 36906 0 3 0x4000082 thrsleep syz-fuzzer 49056 428690 36906 0 3 0x4000082 thrsleep syz-fuzzer 49056 162682 36906 0 2 0x4000002 syz-fuzzer 36906 196684 53856 0 3 0x10008a pause ksh 53856 495740 29326 0 3 0x92 select sshd 80268 222872 1 0 3 0x100083 ttyin getty 29326 3828 1 0 3 0x80 select sshd 49377 237262 77114 73 3 0x100090 kqread syslogd 77114 98584 1 0 3 0x100082 netio syslogd 6056 370177 1 77 3 0x100090 poll dhclient 86160 192466 1 0 3 0x80 poll dhclient 96522 489341 0 0 3 0x14200 bored smr 5634 409484 0 0 2 0x14200 zerothread 18406 177162 0 0 3 0x14200 aiodoned aiodoned 13866 150944 0 0 3 0x14200 syncer update 16256 164760 0 0 3 0x14200 cleaner cleaner 34270 76705 0 0 3 0x14200 reaper reaper 72381 440692 0 0 3 0x14200 pgdaemon pagedaemon 88515 216391 0 0 3 0x14200 bored crynlk 90667 148209 0 0 3 0x14200 bored crypto 28938 107049 0 0 3 0x40014200 acpi0 acpi0 12345 107766 0 0 3 0x14200 bored softnet 37513 218806 0 0 3 0x14200 bored systqmp 65300 273249 0 0 3 0x14200 bored systq 69745 463646 0 0 3 0x40014200 bored softclock 18977 253589 0 0 3 0x40014200 idle0 1 461139 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9460 6341K 6591K 78643K 10719 0 pcb 13 8K 8K 78643K 25 0 rtable 112 4K 6K 78643K 310 0 ifaddr 42 10K 11K 78643K 103 0 counters 21 16K 17K 78643K 30 0 ioctlops 0 0K 4K 78643K 30 0 iov 0 0K 12K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1269 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 30 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 145 0 proc 49 38K 54K 78643K 403 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 6 0 in_multi 40 2K 2K 78643K 66 0 ether_multi 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 1K 78643K 204 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 124 23K 23K 78643K 1204 0 UVM aobj 5 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 5 0K 0K 78643K 20 0 temp 67 3852K 3916K 78643K 2707 0 kqueue 3 4K 8K 78643K 5 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 8 0 2 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 58 0 14 2 0 2 2 0 8 0 unpcb 120 69 0 61 1 0 1 1 0 8 0 syncache 264 8 0 8 3 3 0 1 0 8 0 tcpqe 32 103 0 103 1 1 0 1 0 8 0 tcpcb 544 48 0 44 1 0 1 1 0 8 0 inpcb 296 131 0 123 3 2 1 2 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 11 0 5 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 15 0 13 1 0 1 1 0 8 0 pfrule 1360 8 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 232 0 44 12 0 12 12 0 8 0 art_table 32 233 0 44 2 0 2 2 0 8 0 art_node 16 57 0 17 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1550 0 148 88 0 88 88 0 8 0 ffsino 240 1550 0 148 83 0 83 83 0 8 0 nchpl 144 1900 0 309 60 0 60 60 0 8 0 uvmvnodes 72 1628 0 0 30 0 30 30 0 8 0 vnodes 208 1628 0 0 86 0 86 86 0 8 0 namei 1024 5441 0 5441 2 1 1 1 0 8 1 pfiaddrpl 120 6 0 4 1 0 1 1 0 8 0 scxspl 192 5905 0 5905 1 0 1 1 0 8 1 plimitpl 152 25 0 18 1 0 1 1 0 8 0 sigapl 424 328 0 299 4 0 4 4 0 8 0 futexpl 56 2294 0 2292 2 1 1 1 0 8 0 knotepl 112 75 0 56 1 0 1 1 0 8 0 kqueuepl 144 142 0 140 1 0 1 1 0 8 0 pipepl 272 94 0 82 1 0 1 1 0 8 0 fdescpl 432 314 0 299 2 0 2 2 0 8 0 filepl 120 2091 0 1989 4 0 4 4 0 8 0 lockfpl 104 25 0 24 1 0 1 1 0 8 0 lockfspl 48 12 0 11 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 20 0 10 1 0 1 1 0 8 0 ucredpl 96 523 0 516 1 0 1 1 0 8 0 zombiepl 144 299 0 299 1 0 1 1 0 8 1 processpl 928 328 0 299 4 0 4 4 0 8 0 procpl 624 470 0 431 5 1 4 4 0 8 1 sockpl 400 225 0 207 3 0 3 3 0 8 1 mcl64k 65536 4 0 4 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 15 0 15 4 3 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 77544 0 77499 14 7 7 13 0 8 0 mtagpl 96 10 0 5 2 1 1 1 0 8 0 mbufpl 256 123536 0 123412 16 5 11 11 0 8 1 bufpl 280 3581 0 125 247 0 247 247 0 8 0 anonpl 16 50521 0 33213 75 4 71 73 0 107 0 amapchunkpl 152 1605 0 1451 8 1 7 8 0 158 0 amappl16 192 1512 0 561 50 1 49 50 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 56 0 49 1 0 1 1 0 8 0 amappl13 168 53 0 50 1 0 1 1 0 8 0 amappl12 160 15 0 13 1 0 1 1 0 8 0 amappl11 152 99 0 88 1 0 1 1 0 8 0 amappl10 144 20 0 15 1 0 1 1 0 8 0 amappl9 136 376 0 374 1 0 1 1 0 8 0 amappl8 128 336 0 298 2 0 2 2 0 8 0 amappl7 120 111 0 100 1 0 1 1 0 8 0 amappl6 112 70 0 64 1 0 1 1 0 8 0 amappl5 104 260 0 247 1 0 1 1 0 8 0 amappl4 96 452 0 426 1 0 1 1 0 8 0 amappl3 88 131 0 123 1 0 1 1 0 8 0 amappl2 80 1618 0 1542 2 0 2 2 0 8 0 amappl1 72 15448 0 15016 24 15 9 17 0 8 0 amappl 80 707 0 661 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 314 0 299 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 314 0 299 1 0 1 1 0 8 0 vmmpekpl 168 6192 0 6162 2 0 2 2 0 8 0 vmmpepl 168 46187 0 44028 137 25 112 127 0 357 18 vmsppl 272 313 0 299 2 1 1 2 0 8 0 pdppl 4096 634 0 598 6 1 5 6 0 8 0 pvpl 32 161569 0 141189 175 9 166 175 0 265 0 pmappl 200 313 0 299 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 249 0 23 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace tun_dev_read(5d00,ffff80001f7ddb78,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff80001f7dd9c0) at spec_read+0xe9 sys/kern/spec_vnops.c:222 VOP_READ(fffffd8061f569c0,ffff80001f7ddb78,10,fffffd806c3bfb40) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80615f6bb8,ffff80001f7ddb78,0) at vn_read+0x11f sys/kern/vfs_vnops.c:375 dofilereadv(ffff80001d71dae0,f0,ffff80001f7ddb78,0,ffff80001f7ddc60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d71dae0,ffff80001f7ddc10,ffff80001f7ddc60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001f7ddce0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x41a2f8285f0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace tun_dev_read(5d00,ffff80001f7ddb78,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff80001f7dd9c0) at spec_read+0xe9 sys/kern/spec_vnops.c:222 VOP_READ(fffffd8061f569c0,ffff80001f7ddb78,10,fffffd806c3bfb40) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80615f6bb8,ffff80001f7ddb78,0) at vn_read+0x11f sys/kern/vfs_vnops.c:375 dofilereadv(ffff80001d71dae0,f0,ffff80001f7ddb78,0,ffff80001f7ddc60) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d71dae0,ffff80001f7ddc10,ffff80001f7ddc60) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001f7ddce0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x41a2f8285f0, count: -8