uvm_fault(0xffffffff827df520, 0xfffffd000000001c, 0, 1) -> e kernel: page fault trap, code=0 Stopped at m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xffffffff827df520, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800020ee1800, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020ee1818) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020ee1818) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac6278) at ifq_purge+0x9a sys/net/ifq.c:462 tun_dev_close(5d00,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff800020ee1940) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807bca50d8,7,fffffd807f7bf780,ffff800020dddd48) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8068977868,ffff800020dddd48) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8068977868,ffff800020dddd48) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8068977868,ffff800020dddd48) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8068977868,ffff800020dddd48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddd48) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddd48,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddd48,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddd48,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddd48) at userret+0x199 sys/kern/kern_sig.c:1872 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffed930, count: -14 ddb{0}> show registers rdi 0 rsi 0x7f1e1 acpi_pdirpa+0x6b049 rbp 0xffff800020ee17c0 rbx 0 rdx 0x7f1e0 acpi_pdirpa+0x6b048 rcx 0xffffffff826f19c0 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff81837607 witness_assert+0x207 r9 0x5 r10 0xd073d96f5f71c9e r11 0x53f6ced1fe724ab3 r12 0xfffffd806d626400 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81200b58 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020ee1780 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=220541 stat=onproc flags process=a proc=2000 pri=17, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddcc38,0xffff800020e233a8 process=0xffff800020df0b98 user=0xffff800020edc000, vmspace=0xfffffd807efffcf0 estcpu=36, cpticks=1, pctcpu=0.17 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 80680 394817 27108 0 2 0x2 syz-executor.1 70506 37704 1 0 3 0x100083 ttyin getty 34200 260258 0 0 3 0x14200 bored sosplice 27108 461813 96288 0 3 0x82 thrsleep syz-fuzzer 27108 174215 96288 0 2 0x4000002 syz-fuzzer 27108 129272 96288 0 3 0x4000082 thrsleep syz-fuzzer 27108 408260 96288 0 3 0x4000082 thrsleep syz-fuzzer 27108 135326 96288 0 3 0x4000082 thrsleep syz-fuzzer 27108 306703 96288 0 3 0x4000082 thrsleep syz-fuzzer 27108 244833 96288 0 3 0x4000082 thrsleep syz-fuzzer 27108 468371 96288 0 2 0x4000002 syz-fuzzer 27108 484581 96288 0 3 0x4000082 thrsleep syz-fuzzer 27108 390294 96288 0 2 0x4000002 syz-fuzzer 96288 63764 34884 0 3 0x10008a pause ksh 34884 449909 75095 0 2 0x12 sshd 75095 446615 1 0 3 0x80 select sshd 57178 331649 91540 74 3 0x100092 bpf pflogd 91540 172887 1 0 3 0x80 netio pflogd 64590 465639 5202 73 3 0x100090 kqread syslogd 5202 76102 1 0 3 0x100082 netio syslogd 11157 456627 1 77 3 0x100090 poll dhclient 7512 221114 1 0 3 0x80 poll dhclient 526 20556 0 0 3 0x14200 bored smr 99052 371615 0 0 2 0x14200 zerothread 40155 234215 0 0 3 0x14200 aiodoned aiodoned 44937 491518 0 0 3 0x14200 syncer update 72433 197047 0 0 3 0x14200 cleaner cleaner 44069 248295 0 0 3 0x14200 reaper reaper 66311 89273 0 0 3 0x14200 pgdaemon pagedaemon 80505 416148 0 0 3 0x14200 bored crynlk 37797 357067 0 0 3 0x14200 bored crypto 50553 294513 0 0 3 0x40014200 acpi0 acpi0 26679 488724 0 0 7 0x40014200 idle1 33381 265675 0 0 2 0x14200 softnet 26959 452180 0 0 3 0x14200 bored systqmp 99327 115812 0 0 3 0x14200 bored systq 83724 155888 0 0 3 0x40014200 bored softclock 92008 475715 0 0 3 0x40014200 idle0 1 474967 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9553 6635K 7323K 78643K 17909 0 pcb 13 8K 8K 78643K 518 0 rtable 79 6K 8K 78643K 1390 0 ifaddr 114 25K 30K 78643K 582 0 sysctl 2 0K 0K 78643K 7 0 counters 41 33K 34K 78643K 159 0 ioctlops 0 0K 4K 78643K 1904 0 iov 0 0K 36K 78643K 420 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 3633 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 52 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 140 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 6204 0 sigio 0 0K 0K 78643K 77 0 proc 63 63K 95K 78643K 929 0 subproc 23 1K 2K 78643K 78 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 562 0 in_multi 196 7K 8K 78643K 751 0 ether_multi 1 0K 0K 78643K 141 0 mrt 0 0K 0K 78643K 52 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 515 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 184 373K 373K 78643K 14905 0 UVM aobj 70 3K 3K 78643K 83 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 551 0 NDP 13 0K 0K 78643K 121 0 temp 139 3874K 3954K 78643K 70626 0 kqueue 3 4K 24K 78643K 484 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 13 0 9 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 329 0 327 1 0 1 1 0 8 0 rtentry 112 240 0 218 2 0 2 2 0 8 0 unpcb 120 1637 0 1610 5 3 2 2 0 8 0 syncache 264 82 0 82 6 6 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 11 0 11 2 2 0 1 0 8 0 tcpcb 544 1421 0 1417 1 0 1 1 0 8 0 inpcb 296 4050 0 4043 10 8 2 3 0 8 1 rttmr 72 7 0 7 2 2 0 1 0 8 0 nd6 48 60 0 59 1 0 1 1 0 8 0 pkpcb 40 24 0 24 3 3 0 1 0 8 0 ppxss 1128 15 0 15 3 3 0 1 0 8 0 pfstscr 40 34 0 34 1 1 0 1 0 8 0 pffrag 232 22 0 22 4 4 0 1 0 482 0 pffrnode 88 22 0 22 4 4 0 1 0 8 0 pffrent 40 101 0 101 5 5 0 1 0 8 0 pfosfp 40 848 0 423 5 0 5 5 0 8 0 pfosfpen 112 1430 0 714 21 0 21 21 0 8 0 pfrktable 1344 80 0 74 1 0 1 1 0 8 0 pftag 88 15 0 15 2 2 0 1 0 8 0 pfstitem 24 130 0 128 1 0 1 1 0 8 0 pfstkey 112 162 0 160 3 2 1 3 0 8 0 pfstate 328 143 0 141 9 8 1 8 0 8 0 pfrule 1360 96 0 53 6 2 4 4 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1207 0 1088 15 4 11 13 0 8 0 art_table 32 1208 0 1088 2 0 2 2 0 8 0 art_node 16 238 0 220 1 0 1 1 0 8 0 sysvmsgpl 40 83 0 43 1 0 1 1 0 8 0 semapl 112 138 0 128 1 0 1 1 0 8 0 shmpl 112 81 0 13 3 1 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9832 0 8411 90 0 90 90 0 8 0 ffsino 272 9832 0 8411 96 0 96 96 0 8 0 nchpl 144 17487 0 15888 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 45360 0 45360 2 1 1 1 0 8 1 percpumem 16 90 0 59 1 0 1 1 0 8 0 vcpupl 1984 33 0 0 5 0 5 5 0 8 0 vmpool 560 47 0 14 3 0 3 3 0 8 0 pfiaddrpl 120 36 0 20 1 0 1 1 0 8 0 scxspl 192 55254 0 55254 10 9 1 7 0 8 1 plimitpl 152 412 0 404 1 0 1 1 0 8 0 sigapl 424 6417 0 6386 4 0 4 4 0 8 0 futexpl 56 49846 0 49846 2 1 1 1 0 8 1 knotepl 112 842 0 823 2 0 2 2 0 8 1 kqueuepl 144 610 0 607 1 0 1 1 0 8 0 pipelkpl 48 451 0 441 1 0 1 1 0 8 0 pipepl 120 902 0 884 3 2 1 2 0 8 0 fdescpl 496 6401 0 6386 3 0 3 3 0 8 0 filepl 152 23335 0 23245 10 5 5 7 0 8 0 lockfpl 104 1034 0 1033 1 0 1 1 0 8 0 lockfspl 48 349 0 348 1 0 1 1 0 8 0 sessionpl 112 23 0 12 1 0 1 1 0 8 0 pgrppl 48 36 0 25 1 0 1 1 0 8 0 ucredpl 96 3922 0 3911 1 0 1 1 0 8 0 zombiepl 144 6387 0 6386 1 0 1 1 0 8 0 processpl 984 6417 0 6386 5 0 5 5 0 8 0 procpl 624 13664 0 13624 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 0 1 1 0 8 1 sosppl 128 71 0 71 8 7 1 1 0 8 1 sockpl 400 6059 0 6023 12 7 5 6 0 8 0 mcl64k 65536 27 0 0 3 0 3 3 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 8 0 0 1 0 1 1 0 8 0 mcl8k 8192 20 0 0 3 1 2 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 9 0 0 1 0 1 1 0 8 0 mcl2k 2048 292 0 0 17 1 16 16 0 8 1 mtagpl 96 458 0 0 12 0 12 12 0 8 0 mbufpl 256 1582 0 0 94 2 92 92 0 8 0 bufpl 280 15126 0 8891 446 0 446 446 0 8 0 anonpl 16 584546 0 575423 86 46 40 53 0 124 0 amapchunkpl 152 27978 0 27782 30 21 9 15 0 158 0 amappl16 192 40027 0 39636 85 64 21 35 0 8 1 amappl15 184 4 0 2 1 0 1 1 0 8 0 amappl14 176 37 0 31 1 0 1 1 0 8 0 amappl13 168 46 0 43 1 0 1 1 0 8 0 amappl12 160 14 0 12 1 0 1 1 0 8 0 amappl11 152 502 0 486 1 0 1 1 0 8 0 amappl10 144 15 0 11 1 0 1 1 0 8 0 amappl9 136 509 0 508 1 0 1 1 0 8 0 amappl8 128 532 0 487 2 0 2 2 0 8 0 amappl7 120 152 0 138 1 0 1 1 0 8 0 amappl6 112 474 0 466 1 0 1 1 0 8 0 amappl5 104 6306 0 6290 1 0 1 1 0 8 0 amappl4 96 543 0 512 1 0 1 1 0 8 0 amappl3 88 182 0 176 1 0 1 1 0 8 0 amappl2 80 50660 0 50585 2 0 2 2 0 8 0 amappl1 72 118221 0 117796 23 13 10 18 0 8 0 amappl 80 14084 0 14023 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 82 0 13 2 0 2 2 0 8 0 uaddrrnd 24 6448 0 6400 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6448 0 6400 1 0 1 1 0 8 0 vmmpekpl 168 30067 0 30023 3 0 3 3 0 8 0 vmmpepl 168 728992 0 727475 136 59 77 86 0 357 1 vmsppl 368 6447 0 6400 5 0 5 5 0 8 0 pdppl 4096 12903 0 12833 12 2 10 10 0 8 0 pvpl 32 1783801 0 1774101 212 118 94 136 0 265 1 pmappl 232 6447 0 6400 4 1 3 3 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 370 0 22 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020ee1818) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020ee1818) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac6278) at ifq_purge+0x9a sys/net/ifq.c:462 tun_dev_close(5d00,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff800020ee1940) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807bca50d8,7,fffffd807f7bf780,ffff800020dddd48) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8068977868,ffff800020dddd48) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8068977868,ffff800020dddd48) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8068977868,ffff800020dddd48) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8068977868,ffff800020dddd48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddd48) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddd48,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddd48,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddd48,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddd48) at userret+0x199 sys/kern/kern_sig.c:1872 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffed930, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d70ff0) 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 acpicpu_idle() at acpicpu_idle+0x331 sys/dev/acpi/acpicpu.c:1187 sched_idle(ffff800020d70ff0) at sched_idle+0x3f7 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5