uvm_fault(0xffffffff828b1c50, 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(0xffffffff828b1c50, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800024149f90, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800024149fa8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800024149fa8) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000af6278) at ifq_purge+0x9a sys/net/ifq.c:529 if_down(ffff800000af6000) at if_down+0x9c if_linkstate sys/net/if.c:1668 [inline] if_down(ffff800000af6000) at if_down+0x9c sys/net/if.c:1619 if_clone_destroy(ffff80002414a1c0) at if_clone_destroy+0x13c sys/net/if.c:1296 ifioctl(fffffd8068b74e50,80206979,ffff80002414a1c0,ffff800020e09018) at ifioctl+0x3ea sys/net/if.c:1929 soo_ioctl(fffffd80673f90b0,80206979,ffff80002414a1c0,ffff800020e09018) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e09018,ffff80002414a2d8,ffff80002414a320) at sys_ioctl+0x4a5 syscall(ffff80002414a3a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002414a3a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xccdff6ae7d0, count: -10 ddb{0}> show registers rdi 0x7 rsi 0x66673 acpi_pdirpa+0x524db rbp 0xffff800024149f50 rbx 0xfffffd8068b74e50 rdx 0x66672 acpi_pdirpa+0x524da rcx 0xffffffff82703d00 mbstat_boot_boot_cpumem rax 0x7 r8 0x101010101010101 r9 0x8080808080808080 r10 0x7b5b8cc2c60fea79 r11 0x7408976c8548edc5 r12 0xfffffd8064445500 r13 0x3 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff8135f548 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800024149f10 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.1) pid=359950 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800020e0aae8,0xffffffff828b25a0 process=0xffff800020eb7760 user=0xffff800024145000, vmspace=0xfffffd80670e65d0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 96939 482362 7919 0 2 0 syz-executor.1 *96939 359950 7919 0 7 0x4000000 syz-executor.1 25965 148121 90189 0 3 0x82 piperd syz-executor.0 77492 496194 0 0 3 0x14200 acct acct 91706 416560 1 0 3 0x100083 ttyin getty 74113 230261 0 0 3 0x14200 bored sosplice 7919 253520 90189 0 3 0x82 nanosleep syz-executor.1 90189 264203 1579 0 3 0x82 thrsleep syz-fuzzer 90189 7452 1579 0 3 0x4000082 nanosleep syz-fuzzer 90189 93744 1579 0 3 0x4000082 kqread syz-fuzzer 90189 499640 1579 0 3 0x4000082 thrsleep syz-fuzzer 90189 475674 1579 0 3 0x4000082 thrsleep syz-fuzzer 90189 147304 1579 0 3 0x4000082 thrsleep syz-fuzzer 90189 2100 1579 0 3 0x4000082 thrsleep syz-fuzzer 90189 128702 1579 0 3 0x4000082 thrsleep syz-fuzzer 90189 448245 1579 0 3 0x4000082 thrsleep syz-fuzzer 90189 159755 1579 0 7 0x4000002 syz-fuzzer 1579 53590 88595 0 3 0x10008a pause ksh 88595 366725 45529 0 3 0x92 select sshd 45529 236151 1 0 3 0x80 select sshd 65280 21526 38547 74 3 0x100092 bpf pflogd 38547 516822 1 0 3 0x80 netio pflogd 75984 378595 78560 73 3 0x100090 kqread syslogd 78560 225666 1 0 3 0x100082 netio syslogd 73461 164817 1 77 3 0x100090 poll dhclient 67429 201286 1 0 3 0x80 poll dhclient 95538 80252 0 0 3 0x14200 bored smr 49566 270198 0 0 2 0x14200 zerothread 91592 172609 0 0 3 0x14200 aiodoned aiodoned 1616 166193 0 0 3 0x14200 syncer update 31431 16615 0 0 3 0x14200 cleaner cleaner 79349 101545 0 0 3 0x14200 reaper reaper 66660 75579 0 0 3 0x14200 pgdaemon pagedaemon 16144 352306 0 0 3 0x14200 bored crynlk 6218 202445 0 0 3 0x14200 bored crypto 85895 481956 0 0 3 0x40014200 acpi0 acpi0 22732 515059 0 0 3 0x40014200 idle1 60974 296172 0 0 3 0x14200 bored softnet 61389 467260 0 0 3 0x14200 bored systqmp 51727 59324 0 0 3 0x14200 bored systq 99332 470607 0 0 3 0x40014200 bored softclock 59706 406317 0 0 3 0x40014200 idle0 1 342621 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 96939 (syz-executor.1) thread 0xffff800020e09018 (359950) exclusive rwlock netlock r = 0 (0xffffffff82712608) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 if_clone_destroy+0xf3 sys/net/if.c:1292 #2 ifioctl+0x3ea sys/net/if.c:1929 #3 soo_ioctl+0x27c sys/kern/sys_socket.c:138 #4 sys_ioctl+0x4a5 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8290c2b8) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9533 6436K 6927K 78643K 12172 0 pcb 13 8K 8K 78643K 228 0 rtable 110 20K 22K 78643K 910 0 ifaddr 107 22K 24K 78643K 338 0 sysctl 3 1K 1K 78643K 3 0 counters 41 33K 34K 78643K 89 0 ioctlops 0 0K 4K 78643K 1763 0 iov 0 0K 32K 78643K 195 0 mount 1 1K 1K 78643K 1 0 vnodes 1214 76K 77K 78643K 1806 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 128 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 1557 0 sigio 0 0K 0K 78643K 4 0 proc 64 63K 83K 78643K 706 0 subproc 32 2K 2K 78643K 85 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 145 0 in_multi 109 5K 5K 78643K 365 0 ether_multi 1 0K 0K 78643K 35 0 mrt 0 0K 0K 78643K 8 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 405 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 162 154K 166K 78643K 6141 0 UVM aobj 44 4K 4K 78643K 48 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 210 0 NDP 13 0K 0K 78643K 74 0 temp 137 3870K 3935K 78643K 32232 0 kqueue 6 10K 20K 78643K 102 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 20 0 13 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 95 0 93 1 0 1 1 0 8 0 rtentry 112 173 0 149 2 0 2 2 0 8 0 unpcb 120 549 0 539 1 0 1 1 0 8 0 syncache 264 23 0 23 10 10 0 1 0 8 0 tcpqe 32 86 0 86 4 4 0 1 0 8 0 tcpcb 544 557 0 551 2 1 1 2 0 8 0 inpcb 296 1631 0 1622 7 5 2 3 0 8 0 rttmr 72 3 0 3 3 3 0 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 3 0 3 1 1 0 1 0 8 0 nd6 48 57 0 56 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 3 0 3 3 3 0 1 0 8 0 pfstscr 40 4 0 4 3 3 0 1 0 8 0 pffrag 232 10 0 10 2 2 0 1 0 482 0 pffrnode 88 10 0 10 2 2 0 1 0 8 0 pffrent 40 197 0 197 2 2 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 pfrktable 1344 92 0 75 4 2 2 2 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 32 0 30 1 0 1 1 0 8 0 pfstkey 112 40 0 38 1 0 1 1 0 8 0 pfstate 328 36 0 34 3 2 1 3 0 8 0 pfrule 1360 70 0 41 4 1 3 3 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 843 0 733 18 5 13 17 0 8 0 art_table 32 844 0 733 3 0 3 3 0 8 0 art_node 16 172 0 152 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 19 2 1 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 115 0 105 1 0 1 1 0 8 0 shmpl 112 45 0 4 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3462 0 2059 89 0 89 89 0 8 0 ffsino 272 3462 0 2059 94 0 94 94 0 8 0 nchpl 144 6836 0 5250 60 0 60 60 0 8 0 uvmvnodes 72 3904 0 0 71 0 71 71 0 8 0 vnodes 208 3904 0 0 206 0 206 206 0 8 0 namei 1024 18705 0 18705 7 6 1 1 0 8 1 percpumem 16 55 0 24 1 0 1 1 0 8 0 vcpupl 1984 10 0 0 2 0 2 2 0 8 0 vmpool 560 16 0 6 1 0 1 1 0 8 0 pfiaddrpl 120 43 0 29 1 0 1 1 0 8 0 scsiplug 64 4 0 4 4 4 0 1 0 8 0 scxspl 192 17669 0 17669 14 13 1 7 0 8 1 plimitpl 152 124 0 116 1 0 1 1 0 8 0 sigapl 424 1787 0 1754 6 2 4 6 0 8 0 futexpl 56 22119 0 22119 7 6 1 1 0 8 1 knotepl 112 274 0 255 2 1 1 2 0 8 0 kqueuepl 144 243 0 238 1 0 1 1 0 8 0 pipepl 304 311 0 301 9 8 1 2 0 8 0 fdescpl 496 1750 0 1734 3 0 3 3 0 8 0 filepl 152 11089 0 10988 6 1 5 6 0 8 1 lockfpl 104 274 0 273 1 0 1 1 0 8 0 lockfspl 48 97 0 96 1 0 1 1 0 8 0 sessionpl 112 23 0 12 1 0 1 1 0 8 0 pgrppl 48 40 0 29 1 0 1 1 0 8 0 ucredpl 96 953 0 943 1 0 1 1 0 8 0 zombiepl 144 1754 0 1754 1 0 1 1 0 8 1 processpl 992 1787 0 1754 7 2 5 7 0 8 0 procpl 624 5139 0 5096 6 2 4 6 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 22 0 21 7 6 1 1 0 8 0 sockpl 400 2282 0 2261 10 7 3 4 0 8 0 mcl64k 65536 19 0 0 3 1 2 3 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 22 0 0 2 0 2 2 0 8 0 mcl9k 9216 12 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 14 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 221 0 0 25 2 23 25 0 8 0 mtagpl 96 73 0 0 2 0 2 2 0 8 0 mbufpl 256 708 0 0 36 0 36 36 0 8 0 bufpl 280 7486 0 1251 446 0 446 446 0 8 0 anonpl 16 181980 0 165202 122 38 84 84 0 124 14 amapchunkpl 152 11147 0 10990 29 21 8 20 0 158 0 amappl16 192 8480 0 7551 108 49 59 59 0 8 12 amappl15 184 739 0 735 1 0 1 1 0 8 0 amappl14 176 204 0 198 1 0 1 1 0 8 0 amappl13 168 166 0 161 1 0 1 1 0 8 0 amappl12 160 234 0 231 2 1 1 1 0 8 0 amappl11 152 73 0 58 1 0 1 1 0 8 0 amappl10 144 771 0 762 1 0 1 1 0 8 0 amappl9 136 586 0 585 1 0 1 1 0 8 0 amappl8 128 466 0 417 2 0 2 2 0 8 0 amappl7 120 884 0 868 1 0 1 1 0 8 0 amappl6 112 28 0 21 2 1 1 1 0 8 0 amappl5 104 1859 0 1842 1 0 1 1 0 8 0 amappl4 96 671 0 638 1 0 1 1 0 8 0 amappl3 88 337 0 332 1 0 1 1 0 8 0 amappl2 80 12709 0 12633 2 0 2 2 0 8 0 amappl1 72 46159 0 45719 23 13 10 18 0 8 0 amappl 80 5454 0 5398 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 47 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1766 0 1740 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1766 0 1740 1 0 1 1 0 8 0 vmmpekpl 168 17160 0 17120 3 0 3 3 0 8 0 vmmpepl 168 219457 0 217310 217 112 105 131 0 357 5 vmsppl 368 1765 0 1740 3 0 3 3 0 8 0 pdppl 4096 3539 0 3490 7 0 7 7 0 8 0 pvpl 32 515645 0 495698 285 85 200 200 0 265 34 pmappl 232 1765 0 1740 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 314 0 27 9 0 9 9 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(ffff800024149fa8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800024149fa8) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000af6278) at ifq_purge+0x9a sys/net/ifq.c:529 if_down(ffff800000af6000) at if_down+0x9c if_linkstate sys/net/if.c:1668 [inline] if_down(ffff800000af6000) at if_down+0x9c sys/net/if.c:1619 if_clone_destroy(ffff80002414a1c0) at if_clone_destroy+0x13c sys/net/if.c:1296 ifioctl(fffffd8068b74e50,80206979,ffff80002414a1c0,ffff800020e09018) at ifioctl+0x3ea sys/net/if.c:1929 soo_ioctl(fffffd80673f90b0,80206979,ffff80002414a1c0,ffff800020e09018) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e09018,ffff80002414a2d8,ffff80002414a320) at sys_ioctl+0x4a5 syscall(ffff80002414a3a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002414a3a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xccdff6ae7d0, count: -10 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 end of kernel end trace frame: 0xc003659530, count: -3