login: """"uvm_fault(0xffffffff828035b0, 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(0xffffffff828035b0, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800021eec0b0, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800021eec0c8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800021eec0c8) 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 if_clone_destroy(ffff800021eec2e0) at if_clone_destroy+0x13c sys/net/if.c:1296 ifioctl(fffffd8064b40660,80206979,ffff800021eec2e0,ffff800020e034f8) at ifioctl+0x3ea sys/net/if.c:1929 soo_ioctl(fffffd80679f2c00,80206979,ffff800021eec2e0,ffff800020e034f8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e034f8,ffff800021eec3f8,ffff800021eec440) at sys_ioctl+0x4a5 syscall(ffff800021eec4c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021eec4c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4f072498c70, count: -10 ddb{0}> show registers rdi 0x7 rsi 0x5e397 acpi_pdirpa+0x4a1ff rbp 0xffff800021eec070 rbx 0xfffffd8064b40660 rdx 0x5e396 acpi_pdirpa+0x4a1fe rcx 0xffffffff827aad40 mbstat_boot_boot_cpumem rax 0x7 r8 0x101010101010101 r9 0x8080808080808080 r10 0x4bf4818d750acae1 r11 0x761c81736a023f8d r12 0xfffffd806d607d00 r13 0x3 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff8234ae68 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021eec030 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=75310 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=65, nice=20 forw=0xffffffffffffffff, list=0xffff800020e04608,0xffffffff829095e8 process=0xffff800020e98bc8 user=0xffff800021ee7000, vmspace=0xfffffd807efff170 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 74843 494409 75977 0 7 0 syz-executor.0 *74843 75310 75977 0 7 0x4000000 syz-executor.0 40080 309495 0 0 3 0x14200 bored sosplice 85471 14694 82968 0 3 0x82 nanosleep syz-executor.1 75977 348789 82968 0 3 0x82 nanosleep syz-executor.0 82968 137219 94460 0 3 0x82 thrsleep syz-fuzzer 82968 1867 94460 0 3 0x4000082 nanosleep syz-fuzzer 82968 366382 94460 0 3 0x4000082 thrsleep syz-fuzzer 82968 89861 94460 0 3 0x4000082 kqread syz-fuzzer 82968 5628 94460 0 3 0x4000082 thrsleep syz-fuzzer 82968 419677 94460 0 3 0x4000082 thrsleep syz-fuzzer 82968 512592 94460 0 3 0x4000082 nanosleep syz-fuzzer 82968 3528 94460 0 3 0x4000082 thrsleep syz-fuzzer 82968 212273 94460 0 3 0x4000082 thrsleep syz-fuzzer 82968 468767 94460 0 3 0x4000082 thrsleep syz-fuzzer 94460 277215 65303 0 3 0x10008a pause ksh 65303 267280 52271 0 3 0x92 select sshd 74893 291439 1 0 3 0x100083 ttyin getty 52271 319102 1 0 3 0x80 select sshd 83721 244760 55742 74 3 0x100092 bpf pflogd 55742 401088 1 0 3 0x80 netio pflogd 93496 479126 74863 73 3 0x100090 kqread syslogd 74863 145188 1 0 3 0x100082 netio syslogd 83896 515522 1 77 3 0x100090 poll dhclient 76390 452402 1 0 3 0x80 poll dhclient 6572 177524 0 0 3 0x14200 bored smr 11313 24079 0 0 3 0x14200 pgzero zerothread 21719 315703 0 0 3 0x14200 aiodoned aiodoned 38878 69642 0 0 3 0x14200 syncer update 97864 286098 0 0 3 0x14200 cleaner cleaner 79943 78953 0 0 3 0x14200 reaper reaper 52010 253208 0 0 3 0x14200 pgdaemon pagedaemon 66799 496356 0 0 3 0x14200 bored crynlk 40872 515536 0 0 3 0x14200 bored crypto 10455 245836 0 0 3 0x40014200 acpi0 acpi0 4916 199086 0 0 3 0x40014200 idle1 92601 388639 0 0 3 0x14200 bored softnet 38439 173289 0 0 3 0x14200 bored systqmp 53731 152364 0 0 3 0x14200 bored systq 48040 188322 0 0 3 0x40014200 bored softclock 96171 522885 0 0 3 0x40014200 idle0 1 22719 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 74843 (syz-executor.0) thread 0xffff800020e034f8 (75310) exclusive rwlock netlock r = 0 (0xffffffff8276be18) #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 (0xffffffff828c6be8) #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 9490 6405K 6792K 78643K 10999 0 pcb 13 8K 8K 78643K 69 0 rtable 130 7K 8K 78643K 327 0 ifaddr 67 15K 15K 78643K 113 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 49 0 ioctlops 0 0K 4K 78643K 1534 0 iov 0 0K 12K 78643K 26 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1336 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 51 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 207 0 proc 62 63K 95K 78643K 465 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 12 0 in_multi 63 3K 3K 78643K 97 0 ether_multi 1 0K 0K 78643K 6 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 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 221 0 pfkey data 0 0K 0K 78643K 2 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 115 70K 71K 78643K 1613 0 UVM aobj 10 5K 5K 78643K 10 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 28 0 NDP 8 0K 0K 78643K 21 0 temp 86 3859K 3923K 78643K 8739 0 kqueue 3 4K 8K 78643K 7 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 80 32 0 30 1 0 1 1 0 8 0 rtentry 112 58 0 9 2 0 2 2 0 8 0 unpcb 120 168 0 158 1 0 1 1 0 8 0 syncache 264 8 0 8 2 1 1 1 0 8 1 tcpqe 32 726 0 726 1 1 0 1 0 8 0 tcpcb 544 90 0 85 1 0 1 1 0 8 0 inpcb 296 472 0 464 2 0 2 2 0 8 1 nd6 48 12 0 5 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 pffrag 232 2 0 2 1 1 0 1 0 482 0 pffrnode 88 2 0 2 1 1 0 1 0 8 0 pffrent 40 90 0 90 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 pfrke_plain 160 6 0 0 1 0 1 1 0 8 0 pfrktable 1344 34 0 29 1 0 1 1 0 8 0 pfstitem 24 16 0 3 1 0 1 1 0 8 0 pfstkey 112 16 0 3 1 0 1 1 0 8 0 pfstate 328 16 0 3 2 0 2 2 0 8 0 pfsrctr 152 37 0 33 1 0 1 1 0 8 0 pfrule 1360 29 0 20 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 201 0 0 13 0 13 13 0 8 0 art_table 32 203 0 0 2 0 2 2 0 8 0 art_node 16 57 0 13 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 7 1 0 1 1 0 8 1 semapl 112 49 0 39 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1686 0 286 89 0 89 89 0 8 1 ffsino 272 1686 0 286 95 1 94 94 0 8 0 nchpl 144 2157 0 544 60 0 60 60 0 8 0 rtmask 32 2 0 1 1 0 1 1 0 8 0 uvmvnodes 72 1814 0 0 33 0 33 33 0 8 0 vnodes 208 1814 0 0 96 0 96 96 0 8 0 namei 1024 5892 0 5892 2 1 1 1 0 8 1 percpumem 16 35 0 3 1 0 1 1 0 8 0 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 560 6 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 10 0 6 1 0 1 1 0 8 0 scxspl 192 6538 0 6538 8 3 5 7 0 8 5 plimitpl 152 23 0 15 1 0 1 1 0 8 0 sigapl 424 423 0 391 4 0 4 4 0 8 0 futexpl 56 3211 0 3211 1 0 1 1 0 8 1 knotepl 112 65 0 46 1 0 1 1 0 8 0 kqueuepl 144 25 0 23 1 0 1 1 0 8 0 pipepl 304 113 0 103 2 1 1 2 0 8 0 fdescpl 496 407 0 391 3 0 3 3 0 8 0 filepl 152 2392 0 2291 7 2 5 6 0 8 1 lockfpl 104 23 0 22 1 0 1 1 0 8 0 lockfspl 48 10 0 9 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 154 0 145 1 0 1 1 0 8 0 zombiepl 144 391 0 390 2 1 1 1 0 8 0 processpl 992 423 0 390 6 1 5 5 0 8 0 procpl 624 845 0 802 4 0 4 4 0 8 0 sosppl 128 4 0 4 1 0 1 1 0 8 1 sockpl 400 678 0 657 5 1 4 4 0 8 1 mcl64k 65536 3 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 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 188 0 0 23 0 23 23 0 8 0 mtagpl 96 52 0 0 2 0 2 2 0 8 0 mbufpl 256 237 0 0 15 0 15 15 0 8 0 bufpl 280 3825 0 132 264 0 264 264 0 8 0 anonpl 16 50249 0 34066 68 1 67 67 0 124 1 amapchunkpl 152 2032 0 1900 7 0 7 7 0 158 0 amappl16 192 1580 0 701 45 0 45 45 0 8 1 amappl15 184 89 0 85 1 0 1 1 0 8 0 amappl14 176 115 0 109 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 22 0 18 1 0 1 1 0 8 0 amappl11 152 141 0 125 1 0 1 1 0 8 0 amappl10 144 105 0 98 1 0 1 1 0 8 0 amappl9 136 390 0 389 1 0 1 1 0 8 0 amappl8 128 344 0 315 2 0 2 2 0 8 0 amappl7 120 204 0 191 1 0 1 1 0 8 0 amappl6 112 110 0 107 1 0 1 1 0 8 0 amappl5 104 218 0 201 1 0 1 1 0 8 0 amappl4 96 575 0 545 1 0 1 1 0 8 0 amappl3 88 100 0 95 1 0 1 1 0 8 0 amappl2 80 2311 0 2243 2 0 2 2 0 8 0 amappl1 72 18915 0 18473 23 13 10 18 0 8 0 amappl 80 1096 0 1052 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 413 0 391 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 413 0 391 1 0 1 1 0 8 0 vmmpekpl 168 7414 0 7378 2 0 2 2 0 8 0 vmmpepl 168 56640 0 54595 118 11 107 111 0 357 16 vmsppl 368 412 0 391 3 0 3 3 0 8 1 pdppl 4096 833 0 788 7 1 6 6 0 8 0 pvpl 32 170192 0 150967 163 0 163 163 0 265 6 pmappl 232 412 0 391 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 269 0 7 8 0 8 8 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(ffff800021eec0c8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800021eec0c8) 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 if_clone_destroy(ffff800021eec2e0) at if_clone_destroy+0x13c sys/net/if.c:1296 ifioctl(fffffd8064b40660,80206979,ffff800021eec2e0,ffff800020e034f8) at ifioctl+0x3ea sys/net/if.c:1929 soo_ioctl(fffffd80679f2c00,80206979,ffff800021eec2e0,ffff800020e034f8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e034f8,ffff800021eec3f8,ffff800021eec440) at sys_ioctl+0x4a5 syscall(ffff800021eec4c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021eec4c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4f072498c70, 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 uvm_map_inentry(ffff8000230f4060,ffff8000230f4060,b97f5b08556987b,0,ffff800020e04608,0) at uvm_map_inentry+0xb sys/uvm/uvm_map.c:1884 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcb500, count: -5