uvm_fault(0xffffffff827d7c08, 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(0xffffffff827d7c08, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800021fa4c80, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800021fa4c98) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800021fa4c98) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac6278) at ifq_purge+0x9a sys/net/ifq.c:462 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(ffff800021fa4eb0) at if_clone_destroy+0x13c sys/net/if.c:1296 ifioctl(fffffd806f6884b0,80206979,ffff800021fa4eb0,ffff800021f8e510) at ifioctl+0x3ea sys/net/if.c:1929 soo_ioctl(fffffd8064cc5bf8,80206979,ffff800021fa4eb0,ffff800021f8e510) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800021f8e510,ffff800021fa4fc8,ffff800021fa5010) at sys_ioctl+0x4a5 syscall(ffff800021fa5090) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021fa5090) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xef679578e40, count: -10 ddb{0}> show registers rdi 0x7 rsi 0x63e8d acpi_pdirpa+0x4fcf5 rbp 0xffff800021fa4c40 rbx 0xfffffd806f6884b0 rdx 0x63e8c acpi_pdirpa+0x4fcf4 rcx 0xffffffff82780f80 mbstat_boot_boot_cpumem rax 0x7 r8 0x101010101010101 r9 0x8080808080808080 r10 0x5c161926b7c6f7ae r11 0x71112d7d91966533 r12 0xfffffd8069c53e00 r13 0x3 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff82009bc8 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021fa4c00 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=154407 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021f8e2a0,0xffffffff828fd830 process=0xffff800020e39350 user=0xffff800021fa0000, vmspace=0xfffffd8064190b90 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60998 309834 5079 0 7 0 syz-executor.0 *60998 154407 5079 0 7 0x4000000 syz-executor.0 52934 28125 37325 0 2 0 syz-executor.1 52934 435171 37325 0 3 0x4000080 fsleep syz-executor.1 36255 40066 1 0 3 0x100083 ttyin getty 29026 282013 0 0 3 0x14280 nfsidl nfsio 88997 377995 0 0 3 0x14280 nfsidl nfsio 40593 125916 0 0 3 0x14280 nfsidl nfsio 43803 467183 0 0 3 0x14280 nfsidl nfsio 1494 160751 0 0 3 0x14280 nfsidl nfsio 65511 41717 0 0 3 0x14280 nfsidl nfsio 43628 262307 0 0 3 0x14280 nfsidl nfsio 12148 3915 0 0 3 0x14280 nfsidl nfsio 43430 23352 0 0 3 0x14280 nfsidl nfsio 56308 253987 0 0 3 0x14280 nfsidl nfsio 46873 428100 0 0 3 0x14280 nfsidl nfsio 49139 89615 0 0 3 0x14280 nfsidl nfsio 74898 8380 0 0 3 0x14280 nfsidl nfsio 46840 145499 0 0 3 0x14280 nfsidl nfsio 89006 435538 0 0 3 0x14280 nfsidl nfsio 29715 463444 0 0 3 0x14280 nfsidl nfsio 56035 390963 0 0 3 0x14280 nfsidl nfsio 89145 510973 0 0 3 0x14280 nfsidl nfsio 38809 421175 0 0 3 0x14280 nfsidl nfsio 99696 475240 0 0 3 0x14280 nfsidl nfsio 37325 402188 68074 0 3 0x82 nanosleep syz-executor.1 58971 434287 0 0 3 0x14200 bored sosplice 5079 465071 68074 0 3 0x82 nanosleep syz-executor.0 68074 169399 97746 0 3 0x82 thrsleep syz-fuzzer 68074 314964 97746 0 3 0x4000082 nanosleep syz-fuzzer 68074 354276 97746 0 3 0x4000082 thrsleep syz-fuzzer 68074 10829 97746 0 3 0x4000082 thrsleep syz-fuzzer 68074 111305 97746 0 3 0x4000082 thrsleep syz-fuzzer 68074 479497 97746 0 3 0x4000082 thrsleep syz-fuzzer 68074 100687 97746 0 3 0x4000082 thrsleep syz-fuzzer 68074 298082 97746 0 3 0x4000082 thrsleep syz-fuzzer 68074 43613 97746 0 3 0x4000082 thrsleep syz-fuzzer 68074 360996 97746 0 3 0x4000082 kqread syz-fuzzer 97746 35421 45441 0 3 0x10008a pause ksh 45441 193816 75443 0 3 0x92 select sshd 75443 466606 1 0 3 0x80 select sshd 56025 47207 27865 74 3 0x100092 bpf pflogd 27865 184222 1 0 3 0x80 netio pflogd 14897 110385 30463 73 3 0x100090 kqread syslogd 30463 125032 1 0 3 0x100082 netio syslogd 71821 248820 1 77 3 0x100090 poll dhclient 86851 368141 1 0 3 0x80 poll dhclient 37657 124351 0 0 3 0x14200 bored smr 66840 110043 0 0 2 0x14200 zerothread 45075 498903 0 0 3 0x14200 aiodoned aiodoned 67451 502645 0 0 3 0x14200 syncer update 93937 347522 0 0 3 0x14200 cleaner cleaner 44764 511693 0 0 3 0x14200 reaper reaper 86849 284181 0 0 3 0x14200 pgdaemon pagedaemon 62728 199387 0 0 3 0x14200 bored crynlk 47384 521497 0 0 3 0x14200 bored crypto 85905 255212 0 0 3 0x40014200 acpi0 acpi0 86102 42998 0 0 3 0x40014200 idle1 2161 13348 0 0 3 0x14200 bored softnet 2608 288835 0 0 3 0x14200 bored systqmp 91261 130723 0 0 3 0x14200 bored systq 41993 84770 0 0 3 0x40014200 bored softclock 62155 196408 0 0 3 0x40014200 idle0 1 181646 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 60998 (syz-executor.0) thread 0xffff800021f8e510 (154407) exclusive rwlock netlock r = 0 (0xffffffff826eff88) #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 (0xffffffff828f7850) #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 9579 6644K 6955K 78643K 12967 0 pcb 13 8K 8K 78643K 226 0 rtable 144 11K 13K 78643K 903 0 ifaddr 109 21K 22K 78643K 326 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 79 0 ioctlops 0 0K 4K 78643K 1640 0 iov 0 0K 20K 78643K 181 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1847 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 20 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 73 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 1160 0 sigio 0 0K 0K 78643K 14 0 proc 61 63K 95K 78643K 644 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 80 0 in_multi 98 4K 5K 78643K 355 0 ether_multi 1 0K 0K 78643K 24 0 mrt 0 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 103 466K 466K 78643K 103 0 exec 0 0K 1K 78643K 325 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 145 88K 89K 78643K 4999 0 UVM aobj 48 4K 4K 78643K 56 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 154 0 NDP 16 0K 0K 78643K 62 0 temp 154 3875K 3943K 78643K 22368 0 kqueue 4 6K 18K 78643K 70 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 15 0 6 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 73 0 71 1 0 1 1 0 8 0 rtentry 112 141 0 95 2 0 2 2 0 8 0 unpcb 120 427 0 417 1 0 1 1 0 8 0 syncache 264 10 0 10 5 5 0 1 0 8 0 tcpqe 32 217 0 217 2 2 0 1 0 8 0 tcpcb 544 375 0 371 2 1 1 2 0 8 0 inpcb 296 1329 0 1317 8 6 2 2 0 8 0 rttmr 72 4 0 4 3 2 1 1 0 8 1 nd6 48 58 0 53 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 2 0 1 0 8 0 ppxss 1128 2 0 2 2 2 0 1 0 8 0 pffrag 232 8 0 6 3 2 1 1 0 482 0 pffrnode 88 8 0 6 3 2 1 1 0 8 0 pffrent 40 149 0 147 4 3 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 pfrke_plain 160 13 0 6 1 0 1 1 0 8 0 pfrktable 1344 151 0 137 4 2 2 2 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 30 0 28 1 0 1 1 0 8 0 pfstkey 112 31 0 29 1 0 1 1 0 8 0 pfstate 328 31 0 29 2 1 1 2 0 8 0 pfrule 1360 58 0 41 3 1 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 443 0 248 16 2 14 15 0 8 0 art_table 32 445 0 248 2 0 2 2 0 8 0 art_node 16 140 0 97 1 0 1 1 0 8 0 sysvmsgpl 40 51 0 26 1 0 1 1 0 8 0 semupl 112 6 0 6 2 2 0 1 0 8 0 semapl 112 65 0 55 1 0 1 1 0 8 0 shmpl 112 54 0 8 3 1 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3029 0 1625 89 0 89 89 0 8 0 ffsino 272 3029 0 1625 95 0 95 95 0 8 0 nchpl 144 4784 0 3191 60 0 60 60 0 8 0 rtmask 32 6 0 3 1 0 1 1 0 8 0 uvmvnodes 72 3491 0 0 64 0 64 64 0 8 0 vnodes 208 3491 0 0 184 0 184 184 0 8 0 namei 1024 20206 0 20206 11 10 1 1 0 8 1 percpumem 16 50 0 18 1 0 1 1 0 8 0 vcpupl 1984 7 0 0 1 0 1 1 0 8 0 vmpool 560 10 0 3 1 0 1 1 0 8 0 pfiaddrpl 120 51 0 40 4 3 1 1 0 8 0 scxspl 192 15238 0 15238 21 20 1 7 0 8 1 plimitpl 152 77 0 69 1 0 1 1 0 8 0 sigapl 424 1391 0 1338 6 0 6 6 0 8 0 futexpl 56 19527 0 19526 10 9 1 1 0 8 0 knotepl 112 168 0 149 1 0 1 1 0 8 0 kqueuepl 144 1944 0 1940 1 0 1 1 0 8 0 pipelkpl 48 222 0 212 1 0 1 1 0 8 0 pipepl 120 444 0 425 1 0 1 1 0 8 0 fdescpl 496 1355 0 1338 3 0 3 3 0 8 0 filepl 152 13905 0 13801 10 5 5 6 0 8 0 lockfpl 104 273 0 272 1 0 1 1 0 8 0 lockfspl 48 92 0 91 1 0 1 1 0 8 0 sessionpl 112 21 0 10 1 0 1 1 0 8 0 pgrppl 48 117 0 106 1 0 1 1 0 8 0 ucredpl 96 5771 0 5762 1 0 1 1 0 8 0 zombiepl 144 1338 0 1338 2 1 1 1 0 8 1 processpl 984 1391 0 1338 8 1 7 7 0 8 0 procpl 624 4088 0 4024 7 1 6 6 0 8 0 sosppl 128 12 0 12 4 4 0 1 0 8 0 sockpl 400 1839 0 1818 12 9 3 4 0 8 0 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 186 0 0 21 1 20 21 0 8 0 mtagpl 96 98 0 0 3 0 3 3 0 8 0 mbufpl 256 586 0 0 28 0 28 28 0 8 0 bufpl 280 6377 0 142 446 0 446 446 0 8 0 anonpl 16 138710 0 121921 101 33 68 84 0 124 0 amapchunkpl 152 9548 0 9388 55 48 7 20 0 158 0 amappl16 192 5567 0 4666 74 28 46 59 0 8 0 amappl15 184 196 0 196 2 2 0 1 0 8 0 amappl14 176 931 0 921 1 0 1 1 0 8 0 amappl13 168 42 0 39 1 0 1 1 0 8 0 amappl12 160 911 0 904 2 1 1 1 0 8 0 amappl11 152 154 0 139 1 0 1 1 0 8 0 amappl10 144 19 0 13 1 0 1 1 0 8 0 amappl9 136 389 0 388 1 0 1 1 0 8 0 amappl8 128 448 0 406 2 0 2 2 0 8 0 amappl7 120 131 0 118 1 0 1 1 0 8 0 amappl6 112 113 0 111 2 1 1 1 0 8 0 amappl5 104 810 0 790 1 0 1 1 0 8 0 amappl4 96 968 0 936 1 0 1 1 0 8 0 amappl3 88 509 0 500 1 0 1 1 0 8 0 amappl2 80 10391 0 10310 2 0 2 2 0 8 0 amappl1 72 39335 0 38873 22 11 11 18 0 8 0 amappl 80 4376 0 4322 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 55 0 8 1 0 1 1 0 8 0 uaddrrnd 24 1365 0 1341 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1365 0 1341 1 0 1 1 0 8 0 vmmpekpl 168 14240 0 14196 3 0 3 3 0 8 0 vmmpepl 168 171664 0 169469 182 85 97 125 0 357 0 vmsppl 368 1364 0 1341 3 0 3 3 0 8 0 pdppl 4096 2737 0 2689 7 0 7 7 0 8 0 pvpl 32 414521 0 394389 233 67 166 199 0 265 3 pmappl 232 1364 0 1341 5 3 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 308 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(ffff800021fa4c98) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800021fa4c98) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac6278) at ifq_purge+0x9a sys/net/ifq.c:462 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(ffff800021fa4eb0) at if_clone_destroy+0x13c sys/net/if.c:1296 ifioctl(fffffd806f6884b0,80206979,ffff800021fa4eb0,ffff800021f8e510) at ifioctl+0x3ea sys/net/if.c:1929 soo_ioctl(fffffd8064cc5bf8,80206979,ffff800021fa4eb0,ffff800021f8e510) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800021f8e510,ffff800021fa4fc8,ffff800021fa5010) at sys_ioctl+0x4a5 syscall(ffff800021fa5090) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021fa5090) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xef679578e40, count: -10 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> tc No such command