uvm_fault(0xffffffff827ba320, 0xfffffd000000001c, 0, 1) -> e kernel: page fault trap, code=0 Stopped at m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xffffffff827ba320, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff8000230daa40, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff8000230daa58) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230daa58) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac6278) at ifq_purge+0x9a sys/net/ifq.c:529 if_down(ffff800000ac6000) at if_down+0x9c if_linkstate sys/net/if.c:1668 [inline] if_down(ffff800000ac6000) at if_down+0x9c sys/net/if.c:1619 ifioctl(fffffd806719d1d8,80206910,ffff8000230dac20,ffff800020e0a878) at ifioctl+0x177d sys/net/if.c:2006 soo_ioctl(fffffd80689edef8,80206910,ffff8000230dac20,ffff800020e0a878) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e0a878,ffff8000230dad38,ffff8000230dad80) at sys_ioctl+0x4a5 syscall(ffff8000230dae00) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230dae00) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa59054d8980, count: -9 ddb{1}> show registers rdi 0x7 rsi 0x3972f acpi_pdirpa+0x25597 rbp 0xffff8000230daa00 rbx 0 rdx 0x3972e acpi_pdirpa+0x25596 rcx 0xffff800000676d80 rax 0x7 r8 0xffffffff822d6162 tun_ioctl+0x42 r9 0x7 r10 0x18fad13c9ca4c282 r11 0x9ecff27ea8df4833 r12 0xfffffd806d6d1700 r13 0x3 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff822dcb08 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000230da9c0 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.0) pid=460222 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e0ad58,0xffffffff82915098 process=0xffff800020ec8bc8 user=0xffff8000230d5000, vmspace=0xfffffd806e8f22e8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 46103 231862 8168 0 7 0 syz-executor.0 *46103 460222 8168 0 7 0x4000000 syz-executor.0 77360 233340 0 0 3 0x14200 bored sosplice 78481 503151 61450 0 3 0x82 nanosleep syz-executor.1 8168 458489 61450 0 3 0x82 nanosleep syz-executor.0 61450 35515 32696 0 3 0x82 thrsleep syz-fuzzer 61450 283813 32696 0 3 0x4000082 nanosleep syz-fuzzer 61450 67755 32696 0 3 0x4000082 thrsleep syz-fuzzer 61450 65066 32696 0 3 0x4000082 kqread syz-fuzzer 61450 278959 32696 0 3 0x4000082 thrsleep syz-fuzzer 61450 76924 32696 0 3 0x4000082 thrsleep syz-fuzzer 61450 237208 32696 0 3 0x4000082 thrsleep syz-fuzzer 61450 367424 32696 0 3 0x4000082 thrsleep syz-fuzzer 61450 262837 32696 0 3 0x4000082 thrsleep syz-fuzzer 61450 221232 32696 0 3 0x4000082 thrsleep syz-fuzzer 32696 11087 13650 0 3 0x10008a pause ksh 13650 131761 22718 0 3 0x92 select sshd 45461 260726 1 0 3 0x100083 ttyin getty 22718 472617 1 0 3 0x80 select sshd 70132 151450 15605 74 3 0x100092 bpf pflogd 15605 506871 1 0 3 0x80 netio pflogd 37332 350784 67096 73 3 0x100090 kqread syslogd 67096 344826 1 0 3 0x100082 netio syslogd 45011 357518 1 77 3 0x100090 poll dhclient 42897 60807 1 0 3 0x80 poll dhclient 23962 149126 0 0 3 0x14200 bored smr 68781 32602 0 0 3 0x14200 pgzero zerothread 83954 240085 0 0 3 0x14200 aiodoned aiodoned 23549 254242 0 0 3 0x14200 syncer update 45069 134759 0 0 3 0x14200 cleaner cleaner 81568 499000 0 0 3 0x14200 reaper reaper 75010 166977 0 0 3 0x14200 pgdaemon pagedaemon 37935 221028 0 0 3 0x14200 bored crynlk 99947 252872 0 0 3 0x14200 bored crypto 24603 369412 0 0 3 0x40014200 acpi0 acpi0 12761 119701 0 0 3 0x40014200 idle1 26842 216357 0 0 3 0x14200 bored softnet 31518 409091 0 0 3 0x14200 bored systqmp 21200 117095 0 0 3 0x14200 bored systq 81477 414540 0 0 3 0x40014200 bored softclock 89211 378145 0 0 3 0x40014200 idle0 1 517185 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 46103 (syz-executor.0) thread 0xffff800020e0a878 (460222) exclusive rwlock netlock r = 0 (0xffffffff8271e198) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 ifioctl+0x120b sys/net/if.c:1995 #2 soo_ioctl+0x27c sys/kern/sys_socket.c:138 #3 sys_ioctl+0x4a5 #4 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #5 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828c1610) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 soo_ioctl+0x26a sys/kern/sys_socket.c:138 #2 sys_ioctl+0x4a5 #3 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #4 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9536 6491K 6740K 78643K 11308 0 pcb 14 8K 8K 78643K 65 0 rtable 86 3K 7K 78643K 441 0 ifaddr 72 14K 16K 78643K 186 0 counters 41 33K 34K 78643K 71 0 ioctlops 0 0K 4K 78643K 1528 0 iov 0 0K 16K 78643K 57 0 mount 1 1K 1K 78643K 1 0 vnodes 1228 77K 77K 78643K 1516 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 63 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 400 0 sigio 0 0K 0K 78643K 22 0 proc 61 63K 95K 78643K 475 0 subproc 32 2K 2K 78643K 36 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 20 0 in_multi 49 2K 3K 78643K 122 0 ether_multi 1 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 221 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 130 39K 44K 78643K 2308 0 UVM aobj 26 2K 2K 78643K 27 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 47 0 NDP 12 0K 0K 78643K 38 0 temp 97 3857K 3926K 78643K 6344 0 kqueue 3 4K 12K 78643K 21 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 7 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 35 0 33 1 0 1 1 0 8 0 rtentry 112 67 0 36 2 1 1 2 0 8 0 unpcb 120 216 0 205 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 109 0 109 1 1 0 1 0 8 0 tcpcb 544 147 0 143 1 0 1 1 0 8 0 inpcb 296 706 0 697 5 3 2 2 0 8 1 nd6 48 18 0 17 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pffrag 232 3 0 2 2 1 1 1 0 482 0 pffrnode 88 3 0 2 2 1 1 1 0 8 0 pffrent 40 6 0 5 2 1 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 33 0 33 3 2 1 1 0 8 1 pfstitem 24 19 0 9 1 0 1 1 0 8 0 pfstkey 112 19 0 9 1 0 1 1 0 8 0 pfstate 328 19 0 9 2 0 2 2 0 8 0 pfrule 1360 31 0 24 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 266 0 132 13 4 9 12 0 8 0 art_table 32 267 0 132 2 0 2 2 0 8 0 art_node 16 66 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 11 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 61 0 51 1 0 1 1 0 8 0 shmpl 112 24 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2005 0 598 89 0 89 89 0 8 0 ffsino 272 2005 0 598 96 2 94 95 0 8 0 nchpl 144 2735 0 1134 60 0 60 60 0 8 0 uvmvnodes 72 2226 0 0 41 0 41 41 0 8 0 vnodes 208 2226 0 0 118 0 118 118 0 8 0 namei 1024 8296 0 8296 3 2 1 1 0 8 1 percpumem 16 46 0 15 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 9 0 9 3 2 1 1 0 8 1 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 7858 0 7858 8 7 1 7 0 8 1 plimitpl 152 39 0 31 1 0 1 1 0 8 0 sigapl 424 616 0 584 4 0 4 4 0 8 0 futexpl 56 5864 0 5864 3 2 1 1 0 8 1 knotepl 112 81 0 62 1 0 1 1 0 8 0 kqueuepl 144 68 0 66 1 0 1 1 0 8 0 pipepl 304 177 0 167 4 2 2 2 0 8 1 fdescpl 496 600 0 584 3 0 3 3 0 8 0 filepl 152 4260 0 4155 6 1 5 6 0 8 0 lockfpl 104 166 0 165 1 0 1 1 0 8 0 lockfspl 48 71 0 70 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 12 1 0 1 1 0 8 0 ucredpl 96 1029 0 1020 1 0 1 1 0 8 0 zombiepl 144 584 0 583 1 0 1 1 0 8 0 processpl 992 616 0 583 6 1 5 5 0 8 0 procpl 624 1512 0 1469 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 16 0 16 4 3 1 1 0 8 1 sockpl 400 959 0 937 10 7 3 6 0 8 0 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 187 0 0 23 0 23 23 0 8 0 mtagpl 96 35 0 0 1 0 1 1 0 8 0 mbufpl 256 248 0 0 13 0 13 13 0 8 0 bufpl 280 3946 0 135 273 0 273 273 0 8 0 anonpl 16 71191 0 54544 97 18 79 84 0 124 11 amapchunkpl 152 3389 0 3241 11 2 9 11 0 158 0 amappl16 192 2895 0 2003 69 21 48 57 0 8 3 amappl15 184 368 0 364 1 0 1 1 0 8 0 amappl14 176 29 0 23 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 12 0 9 1 0 1 1 0 8 0 amappl11 152 57 0 42 1 0 1 1 0 8 0 amappl10 144 198 0 190 1 0 1 1 0 8 0 amappl9 136 385 0 384 1 0 1 1 0 8 0 amappl8 128 365 0 327 2 0 2 2 0 8 0 amappl7 120 119 0 107 1 0 1 1 0 8 0 amappl6 112 21 0 19 2 1 1 1 0 8 0 amappl5 104 504 0 485 1 0 1 1 0 8 0 amappl4 96 484 0 455 1 0 1 1 0 8 0 amappl3 88 111 0 104 1 0 1 1 0 8 0 amappl2 80 4212 0 4140 2 0 2 2 0 8 0 amappl1 72 22951 0 22506 23 13 10 18 0 8 0 amappl 80 1769 0 1724 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 26 0 1 1 0 1 1 0 8 0 uaddrrnd 24 604 0 586 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 604 0 586 1 0 1 1 0 8 0 vmmpekpl 168 8962 0 8927 2 0 2 2 0 8 0 vmmpepl 168 80355 0 78285 134 33 101 116 0 357 6 vmsppl 368 603 0 586 2 0 2 2 0 8 0 pdppl 4096 1215 0 1174 7 1 6 6 0 8 0 pvpl 32 220832 0 201038 210 17 193 198 0 265 31 pmappl 232 603 0 586 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 274 0 19 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff827acff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828c1408) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c1408) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffda900, count: -6 ddb{0}> machine ddbcpu 1 Stopped at m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff8000230daa58) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230daa58) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac6278) at ifq_purge+0x9a sys/net/ifq.c:529 if_down(ffff800000ac6000) at if_down+0x9c if_linkstate sys/net/if.c:1668 [inline] if_down(ffff800000ac6000) at if_down+0x9c sys/net/if.c:1619 ifioctl(fffffd806719d1d8,80206910,ffff8000230dac20,ffff800020e0a878) at ifioctl+0x177d sys/net/if.c:2006 soo_ioctl(fffffd80689edef8,80206910,ffff8000230dac20,ffff800020e0a878) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e0a878,ffff8000230dad38,ffff8000230dad80) at sys_ioctl+0x4a5 syscall(ffff8000230dae00) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230dae00) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa59054d8980, count: -9