uvm_fault(0xffffffff827b2b20, 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(0xffffffff827b2b20, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800024114460, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800024114478) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800024114478) 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(fffffd80649121a8,80206910,ffff800024114640,ffff800020e37288) at ifioctl+0x177d sys/net/if.c:2006 soo_ioctl(fffffd806ca28438,80206910,ffff800024114640,ffff800020e37288) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e37288,ffff800024114758,ffff8000241147a0) at sys_ioctl+0x4a5 syscall(ffff800024114820) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024114820) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x986be40f4e0, count: -9 ddb{0}> show registers rdi 0x7 rsi 0x57e3b acpi_pdirpa+0x43ca3 rbp 0xffff800024114420 rbx 0 rdx 0x57e3a acpi_pdirpa+0x43ca2 rcx 0xffffffff8277a500 mbstat_boot_boot_cpumem rax 0x7 r8 0xffffffff81e94802 tun_ioctl+0x42 r9 0x7 r10 0xbdf40699ad1d7573 r11 0x3735104abe7f2bd8 r12 0xfffffd806d1b0e00 r13 0x3 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81d91c98 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000241143e0 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=280838 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff800020e38608,0xffff800020e379e8 process=0xffff800020ebbb40 user=0xffff80002410f000, vmspace=0xfffffd807f0002e0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 44780 105047 41094 0 2 0 syz-executor.0 *44780 280838 41094 0 7 0x4000000 syz-executor.0 44780 94757 41094 0 3 0x4000080 msgwait syz-executor.0 44780 232046 41094 0 3 0x4000080 fsleep syz-executor.0 41970 487075 0 0 3 0x14200 bored sosplice 20083 487079 26283 0 3 0x82 piperd syz-executor.1 41094 367893 26283 0 3 0x82 nanosleep syz-executor.0 26283 143234 94142 0 3 0x82 thrsleep syz-fuzzer 26283 426435 94142 0 3 0x4000082 nanosleep syz-fuzzer 26283 411718 94142 0 3 0x4000082 thrsleep syz-fuzzer 26283 121095 94142 0 3 0x4000082 thrsleep syz-fuzzer 26283 91586 94142 0 3 0x4000082 thrsleep syz-fuzzer 26283 182826 94142 0 7 0x4000002 syz-fuzzer 26283 439854 94142 0 3 0x4000082 thrsleep syz-fuzzer 26283 430035 94142 0 3 0x4000082 thrsleep syz-fuzzer 26283 417112 94142 0 3 0x4000082 thrsleep syz-fuzzer 26283 163508 94142 0 3 0x4000082 kqread syz-fuzzer 94142 453411 50907 0 3 0x10008a pause ksh 50907 234453 1407 0 3 0x92 select sshd 93377 102436 1 0 3 0x100083 ttyin getty 1407 482295 1 0 3 0x80 select sshd 67260 83963 99757 74 3 0x100092 bpf pflogd 99757 375333 1 0 3 0x80 netio pflogd 89374 257238 30080 73 3 0x100090 kqread syslogd 30080 272781 1 0 3 0x100082 netio syslogd 69047 100512 1 77 3 0x100090 poll dhclient 9736 371823 1 0 3 0x80 poll dhclient 97629 221718 0 0 3 0x14200 bored smr 69183 499856 0 0 2 0x14200 zerothread 55780 8542 0 0 3 0x14200 aiodoned aiodoned 25382 336825 0 0 3 0x14200 syncer update 42696 305810 0 0 3 0x14200 cleaner cleaner 49512 55312 0 0 3 0x14200 reaper reaper 77340 275256 0 0 3 0x14200 pgdaemon pagedaemon 21607 422876 0 0 3 0x14200 bored crynlk 47174 342230 0 0 3 0x14200 bored crypto 28098 12810 0 0 3 0x40014200 acpi0 acpi0 1817 377130 0 0 3 0x40014200 idle1 32426 334297 0 0 3 0x14200 bored softnet 20911 472281 0 0 3 0x14200 bored systqmp 9106 303690 0 0 3 0x14200 bored systq 15175 461399 0 0 3 0x40014200 bored softclock 96183 521222 0 0 3 0x40014200 idle0 1 393218 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 44780 (syz-executor.0) thread 0xffff800020e37288 (280838) exclusive rwlock netlock r = 0 (0xffffffff827a4e48) #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 (0xffffffff828dfd48) #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 9518 6416K 6658K 78643K 10789 0 pcb 14 8K 8K 78643K 48 0 rtable 99 5K 7K 78643K 278 0 ifaddr 84 17K 17K 78643K 100 0 sysctl 3 1K 1K 78643K 3 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1491 0 iov 0 0K 16K 78643K 24 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1281 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 28 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 299 0 sigio 0 0K 0K 78643K 3 0 proc 60 63K 95K 78643K 470 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 7 0 in_multi 65 3K 3K 78643K 87 0 ether_multi 1 0K 0K 78643K 4 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 223 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 121 22K 38K 78643K 1821 0 UVM aobj 9 2K 2K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 22 0 NDP 12 0K 0K 78643K 17 0 temp 104 3861K 3925K 78643K 4211 0 kqueue 3 4K 12K 78643K 14 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 7 0 1 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 40 0 38 1 0 1 1 0 8 0 rtentry 112 49 0 13 2 0 2 2 0 8 0 unpcb 120 214 0 203 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 76 0 76 2 2 0 1 0 8 0 tcpcb 544 281 0 275 1 0 1 1 0 8 0 inpcb 296 620 0 609 2 0 2 2 0 8 0 nd6 48 8 0 2 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 2 0 1 1 0 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 12 0 8 1 0 1 1 0 8 0 pfstitem 24 17 0 5 1 0 1 1 0 8 0 pfstkey 112 17 0 5 1 0 1 1 0 8 0 pfstate 328 17 0 5 2 0 2 2 0 8 0 pfrule 1360 27 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 226 0 78 13 2 11 13 0 8 0 art_table 32 227 0 78 2 0 2 2 0 8 0 art_node 16 48 0 19 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 8 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1746 0 340 90 1 89 89 0 8 1 ffsino 272 1746 0 340 94 0 94 94 0 8 0 nchpl 144 2420 0 809 60 0 60 60 0 8 0 uvmvnodes 72 1835 0 0 34 0 34 34 0 8 0 vnodes 208 1835 0 0 97 0 97 97 0 8 0 namei 1024 6180 0 6180 1 0 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 vmpool 560 2 0 2 1 1 0 1 0 8 0 pfiaddrpl 120 4 0 2 2 1 1 1 0 8 0 scxspl 192 6814 0 6814 8 7 1 7 0 8 1 plimitpl 152 30 0 22 1 0 1 1 0 8 0 sigapl 424 515 0 483 4 0 4 4 0 8 0 futexpl 56 3780 0 3779 1 0 1 1 0 8 0 knotepl 112 75 0 56 1 0 1 1 0 8 0 kqueuepl 144 31 0 28 1 0 1 1 0 8 0 pipepl 304 105 0 95 2 1 1 2 0 8 0 fdescpl 496 499 0 483 3 0 3 3 0 8 0 filepl 152 2763 0 2659 6 1 5 6 0 8 1 lockfpl 104 56 0 55 1 0 1 1 0 8 0 lockfspl 48 23 0 22 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 135 0 126 1 0 1 1 0 8 0 zombiepl 144 483 0 483 1 0 1 1 0 8 1 processpl 992 515 0 483 5 0 5 5 0 8 0 procpl 624 1051 0 1007 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 878 0 854 4 0 4 4 0 8 1 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 11 0 0 2 0 2 2 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 174 0 0 21 0 21 21 0 8 0 mtagpl 96 13 0 0 1 0 1 1 0 8 0 mbufpl 256 483 0 0 30 0 30 30 0 8 0 bufpl 280 3737 0 133 258 0 258 258 0 8 0 anonpl 16 57159 0 40602 71 1 70 70 0 124 0 amapchunkpl 152 2808 0 2639 21 5 16 21 0 158 8 amappl16 192 2210 0 1287 47 0 47 47 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 81 0 76 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 17 0 13 1 0 1 1 0 8 0 amappl11 152 267 0 249 1 0 1 1 0 8 0 amappl10 144 18 0 13 1 0 1 1 0 8 0 amappl9 136 395 0 393 1 0 1 1 0 8 0 amappl8 128 343 0 315 1 0 1 1 0 8 0 amappl7 120 118 0 106 1 0 1 1 0 8 0 amappl6 112 231 0 227 2 1 1 1 0 8 0 amappl5 104 402 0 385 1 0 1 1 0 8 0 amappl4 96 493 0 465 1 0 1 1 0 8 0 amappl3 88 170 0 165 1 0 1 1 0 8 0 amappl2 80 3082 0 3014 2 0 2 2 0 8 0 amappl1 72 20605 0 20149 23 13 10 18 0 8 0 amappl 80 1306 0 1257 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 501 0 485 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 501 0 485 1 0 1 1 0 8 0 vmmpekpl 168 7868 0 7833 2 0 2 2 0 8 0 vmmpepl 168 68118 0 66004 127 20 107 119 0 357 15 vmsppl 368 500 0 485 2 0 2 2 0 8 0 pdppl 4096 1009 0 970 6 0 6 6 0 8 0 pvpl 32 189075 0 169199 166 0 166 166 0 265 1 pmappl 232 500 0 485 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 279 0 6 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(ffff800024114478) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800024114478) 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(fffffd80649121a8,80206910,ffff800024114640,ffff800020e37288) at ifioctl+0x177d sys/net/if.c:2006 soo_ioctl(fffffd806ca28438,80206910,ffff800024114640,ffff800020e37288) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e37288,ffff800024114758,ffff8000241147a0) at sys_ioctl+0x4a5 syscall(ffff800024114820) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024114820) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x986be40f4e0, count: -9 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: 0xc0029e6b60, count: -3