uvm_fault(0xffffffff82804020, 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(0xffffffff82804020, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800022b02400, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800022b02418) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800022b02418) 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_setrdomain(ffff800000ac6000,a) at if_setrdomain+0x17c sys/net/if.c:1871 ifioctl(fffffd8066f801b8,8020699f,ffff800022b02650,ffff800020e04608) at ifioctl+0x16ad sys/net/if.c:2139 soo_ioctl(fffffd8067b770b0,8020699f,ffff800022b02650,ffff800020e04608) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e04608,ffff800022b02768,ffff800022b027b0) at sys_ioctl+0x4a5 syscall(ffff800022b02830) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022b02830) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xee6aa9be0b0, count: -10 ddb{0}> show registers rdi 0x7 rsi 0x63a3b acpi_pdirpa+0x4f8a3 rbp 0xffff800022b023c0 rbx 0x1 rdx 0x63a3a acpi_pdirpa+0x4f8a2 rcx 0xffffffff82728900 mbstat_boot_boot_cpumem rax 0x7 r8 0xffffffff810a381c ifioctl+0x135c r9 0x5 r10 0xeb7b5aab60536c8c r11 0x842842dc189f9607 r12 0xfffffd8063c1d300 r13 0x3 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81559808 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800022b02380 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=23069 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=53, nice=20 forw=0xffffffffffffffff, list=0xffff800020e03768,0xffffffff82920240 process=0xffff800020eb4fa0 user=0xffff800022afd000, vmspace=0xfffffd806e8f35c8 estcpu=14, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 45260 396776 88643 0 2 0 syz-executor.0 *45260 23069 88643 0 7 0x4000000 syz-executor.0 28093 463240 0 0 3 0x14200 bored sosplice 38063 169710 63717 0 3 0x82 nanosleep syz-executor.1 88643 438697 63717 0 3 0x82 nanosleep syz-executor.0 63717 208551 81634 0 3 0x82 thrsleep syz-fuzzer 63717 341031 81634 0 3 0x4000082 nanosleep syz-fuzzer 63717 206564 81634 0 3 0x4000082 thrsleep syz-fuzzer 63717 496591 81634 0 3 0x4000082 thrsleep syz-fuzzer 63717 99376 81634 0 3 0x4000082 kqread syz-fuzzer 63717 364429 81634 0 3 0x4000082 thrsleep syz-fuzzer 63717 513145 81634 0 3 0x4000082 thrsleep syz-fuzzer 63717 352900 81634 0 3 0x4000082 thrsleep syz-fuzzer 63717 340726 81634 0 3 0x4000082 nanosleep syz-fuzzer 63717 234100 81634 0 3 0x4000082 thrsleep syz-fuzzer 81634 325803 48055 0 3 0x10008a pause ksh 48055 170524 55015 0 3 0x92 select sshd 55438 170929 1 0 3 0x100083 ttyin getty 55015 10223 1 0 3 0x80 select sshd 75359 360039 44340 74 3 0x100092 bpf pflogd 44340 510391 1 0 3 0x80 netio pflogd 21248 444003 79710 73 3 0x100090 kqread syslogd 79710 360326 1 0 3 0x100082 netio syslogd 42348 337631 1 77 7 0x100090 dhclient 234 266258 1 0 3 0x80 poll dhclient 28947 25560 0 0 3 0x14200 bored smr 80724 199801 0 0 3 0x14200 pgzero zerothread 16943 268803 0 0 3 0x14200 aiodoned aiodoned 47958 344906 0 0 3 0x14200 syncer update 9884 91761 0 0 3 0x14200 cleaner cleaner 10342 80313 0 0 3 0x14200 reaper reaper 28827 302118 0 0 3 0x14200 pgdaemon pagedaemon 14339 506964 0 0 3 0x14200 bored crynlk 16259 352355 0 0 3 0x14200 bored crypto 8118 355445 0 0 3 0x40014200 acpi0 acpi0 34230 90185 0 0 3 0x40014200 idle1 28440 448177 0 0 3 0x14200 bored softnet 98774 472268 0 0 3 0x14200 bored systqmp 98975 170619 0 0 3 0x14200 bored systq 28165 277638 0 0 3 0x40014200 bored softclock 26138 288736 0 0 3 0x40014200 idle0 1 441012 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 45260 (syz-executor.0) thread 0xffff800020e04608 (23069) exclusive rwlock netlock r = 0 (0xffffffff826ebbd8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 ifioctl+0x16a0 sys/net/if.c:2139 #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 (0xffffffff828c8768) #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 9557 6627K 6945K 78643K 11252 0 pcb 13 8K 8K 78643K 89 0 rtable 88 4K 8K 78643K 489 0 ifaddr 89 16K 17K 78643K 178 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 55 0 ioctlops 0 0K 4K 78643K 1539 0 iov 0 0K 18K 78643K 735 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1406 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 79 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 511 0 sigio 0 0K 0K 78643K 6 0 proc 64 63K 83K 78643K 494 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 42 0 in_multi 54 2K 3K 78643K 176 0 ether_multi 1 0K 0K 78643K 13 0 mrt 0 0K 0K 78643K 5 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 232 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 135 45K 54K 78643K 2694 0 UVM aobj 41 4K 4K 78643K 45 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 67 0 NDP 15 0K 0K 78643K 43 0 temp 116 3864K 3927K 78643K 7570 0 kqueue 3 4K 12K 78643K 33 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 10 0 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 45 0 43 1 0 1 1 0 8 0 rtentry 112 92 0 61 2 0 2 2 0 8 0 unpcb 120 350 0 340 1 0 1 1 0 8 0 syncache 264 11 0 11 3 3 0 1 0 8 0 tcpqe 32 228 0 228 2 2 0 2 0 8 0 tcpcb 544 188 0 184 1 0 1 1 0 8 0 inpcb 296 618 0 607 3 1 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 26 0 21 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 ppxss 1128 3 0 3 2 2 0 1 0 8 0 pfstscr 40 5 0 5 2 2 0 1 0 8 0 pffrag 232 5 0 4 2 1 1 1 0 482 0 pffrnode 88 5 0 4 2 1 1 1 0 8 0 pffrent 40 98 0 97 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 44 0 44 3 3 0 1 0 8 0 pfstitem 24 22 0 9 1 0 1 1 0 8 0 pfstkey 112 28 0 15 1 0 1 1 0 8 0 pfstate 328 24 0 12 2 0 2 2 0 8 0 pfrule 1360 36 0 26 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 388 0 211 13 0 13 13 0 8 0 art_table 32 390 0 211 2 0 2 2 0 8 0 art_node 16 91 0 65 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 73 0 63 1 0 1 1 0 8 0 shmpl 112 42 0 4 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2057 0 649 89 0 89 89 0 8 0 ffsino 272 2057 0 649 95 0 95 95 0 8 0 nchpl 144 3270 0 1657 60 0 60 60 0 8 0 uvmvnodes 72 2240 0 0 41 0 41 41 0 8 0 vnodes 208 2240 0 0 118 0 118 118 0 8 0 namei 1024 8717 0 8717 2 1 1 1 0 8 1 percpumem 16 38 0 6 1 0 1 1 0 8 0 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 560 5 0 2 2 1 1 1 0 8 0 pfiaddrpl 120 12 0 12 3 3 0 1 0 8 0 scxspl 192 8859 0 8859 10 9 1 7 0 8 1 plimitpl 152 61 0 53 1 0 1 1 0 8 0 sigapl 424 727 0 695 4 0 4 4 0 8 0 futexpl 56 7779 0 7779 2 1 1 1 0 8 1 knotepl 112 100 0 81 1 0 1 1 0 8 0 kqueuepl 144 81 0 79 1 0 1 1 0 8 0 pipepl 304 134 0 124 3 1 2 2 0 8 1 fdescpl 496 711 0 695 3 0 3 3 0 8 0 filepl 152 4516 0 4414 5 0 5 5 0 8 1 lockfpl 104 107 0 106 1 0 1 1 0 8 0 lockfspl 48 40 0 39 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 32 0 21 1 0 1 1 0 8 0 ucredpl 96 413 0 402 1 0 1 1 0 8 0 zombiepl 144 695 0 694 1 0 1 1 0 8 0 processpl 992 727 0 694 5 0 5 5 0 8 0 procpl 624 1891 0 1848 4 0 4 4 0 8 0 sosppl 128 6 0 6 2 2 0 1 0 8 0 sockpl 400 1019 0 996 6 2 4 4 0 8 0 mcl64k 65536 511 0 0 64 3 61 64 0 8 1 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 246 0 0 30 0 30 30 0 8 0 mtagpl 96 47 0 0 2 0 2 2 0 8 0 mbufpl 256 588 0 0 37 0 37 37 0 8 0 bufpl 280 4318 0 132 299 0 299 299 0 8 0 anonpl 16 84456 0 67507 96 11 85 85 0 124 15 amapchunkpl 152 4398 0 4233 22 2 20 21 0 158 12 amappl16 192 3509 0 2598 65 11 54 58 0 8 8 amappl15 184 9 0 8 2 1 1 1 0 8 0 amappl14 176 26 0 20 1 0 1 1 0 8 0 amappl13 168 274 0 270 1 0 1 1 0 8 0 amappl12 160 251 0 249 1 0 1 1 0 8 0 amappl11 152 54 0 39 1 0 1 1 0 8 0 amappl10 144 18 0 12 1 0 1 1 0 8 0 amappl9 136 618 0 615 1 0 1 1 0 8 0 amappl8 128 593 0 556 2 0 2 2 0 8 0 amappl7 120 117 0 106 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 372 0 355 1 0 1 1 0 8 0 amappl4 96 744 0 711 1 0 1 1 0 8 0 amappl3 88 362 0 355 1 0 1 1 0 8 0 amappl2 80 4755 0 4682 2 0 2 2 0 8 0 amappl1 72 24852 0 24410 23 13 10 18 0 8 0 amappl 80 2153 0 2105 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 44 0 4 1 0 1 1 0 8 0 uaddrrnd 24 716 0 697 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 716 0 697 1 0 1 1 0 8 0 vmmpekpl 168 8767 0 8728 2 0 2 2 0 8 0 vmmpepl 168 94201 0 92110 132 25 107 119 0 357 10 vmsppl 368 715 0 697 2 0 2 2 0 8 0 pdppl 4096 1439 0 1397 7 1 6 6 0 8 0 pvpl 32 252678 0 232564 220 19 201 201 0 265 36 pmappl 232 715 0 697 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 362 0 10 11 0 11 11 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(ffff800022b02418) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800022b02418) 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_setrdomain(ffff800000ac6000,a) at if_setrdomain+0x17c sys/net/if.c:1871 ifioctl(fffffd8066f801b8,8020699f,ffff800022b02650,ffff800020e04608) at ifioctl+0x16ad sys/net/if.c:2139 soo_ioctl(fffffd8067b770b0,8020699f,ffff800022b02650,ffff800020e04608) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e04608,ffff800022b02768,ffff800022b027b0) at sys_ioctl+0x4a5 syscall(ffff800022b02830) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022b02830) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xee6aa9be0b0, 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 __mp_lock(ffffffff828c8560) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c8560) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828c8560,2) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800020e18ba0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020e18ba0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020e18ba0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(ffffffff828c225c,118,ffffffff8245f8c2,cccc95a) at tsleep+0x1cc sys/kern/kern_synch.c:155 doppoll(ffff800020ddcea8,7f7fffff5fb0,3,ffff800020e18d38,0,ffff800020e18df0) at doppoll+0x57e sys/kern/sys_generic.c:968 sys_poll(ffff800020ddcea8,ffff800020e18da0,ffff800020e18df0) at sys_poll+0xa6 syscall(ffff800020e18e70) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e18e70) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5f90, count: -13