uvm_fault(0xffffffff8280d460, 0xfffffd000000001c, 0, 1) -> e kernel: page fault trap, code=0 Stopped at m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xffffffff8280d460, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff8000230f30e0, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff8000230f30f8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230f30f8) 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_setrdomain(ffff800000ac6000,6) at if_setrdomain+0x17c sys/net/if.c:1871 ifioctl(fffffd807ea16658,8020699f,ffff8000230f3330,ffff800020e08eb8) at ifioctl+0x16ad sys/net/if.c:2139 soo_ioctl(fffffd8066e03020,8020699f,ffff8000230f3330,ffff800020e08eb8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e08eb8,ffff8000230f3448,ffff8000230f3490) at sys_ioctl+0x4a5 syscall(ffff8000230f3510) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230f3510) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1412ec40150, count: -10 ddb{1}> show registers rdi 0x7 rsi 0x32ea9 acpi_pdirpa+0x1ed11 rbp 0xffff8000230f30a0 rbx 0x1 rdx 0x32ea8 acpi_pdirpa+0x1ed10 rcx 0xffff800000676d80 rax 0x7 r8 0xffffffff81885b5c ifioctl+0x135c r9 0x5 r10 0xfed40a206fba7310 r11 0x6300a3d490150dfd r12 0xfffffd8071091b00 r13 0x3 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff8179fd08 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000230f3060 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.0) pid=511051 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff800020e09608,0xffff800020e08298 process=0xffff800020e23738 user=0xffff8000230ee000, vmspace=0xfffffd807efff5c0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 3110 59712 58496 0 7 0 syz-executor.0 * 3110 511051 58496 0 7 0x4000000 syz-executor.0 3110 446477 58496 0 3 0x4000080 fsleep syz-executor.0 90456 88637 21015 0 3 0x80 nanosleep syz-executor.1 90456 413695 21015 0 3 0x4000080 fsleep syz-executor.1 90456 436033 21015 0 3 0x4000080 fsleep syz-executor.1 14505 432285 0 0 3 0x14200 bored sosplice 23713 9636 0 0 3 0x14200 acct acct 21015 309284 43090 0 3 0x82 nanosleep syz-executor.1 58496 121530 43090 0 3 0x82 nanosleep syz-executor.0 43090 350157 63114 0 3 0x82 thrsleep syz-fuzzer 43090 214176 63114 0 3 0x4000082 thrsleep syz-fuzzer 43090 343650 63114 0 3 0x4000082 thrsleep syz-fuzzer 43090 242284 63114 0 3 0x4000082 thrsleep syz-fuzzer 43090 466227 63114 0 3 0x4000082 thrsleep syz-fuzzer 43090 469105 63114 0 3 0x4000082 thrsleep syz-fuzzer 43090 207507 63114 0 3 0x4000082 thrsleep syz-fuzzer 43090 495141 63114 0 3 0x4000082 kqread syz-fuzzer 43090 164603 63114 0 3 0x4000082 thrsleep syz-fuzzer 43090 257094 63114 0 3 0x4000082 thrsleep syz-fuzzer 63114 439150 47117 0 3 0x10008a pause ksh 47117 160553 16922 0 3 0x92 select sshd 77888 338724 1 0 3 0x100083 ttyin getty 16922 502187 1 0 3 0x80 select sshd 54019 223493 56141 74 3 0x100092 bpf pflogd 56141 447849 1 0 3 0x80 netio pflogd 5285 268639 72293 73 3 0x100090 kqread syslogd 72293 495113 1 0 3 0x100082 netio syslogd 92909 204335 1 77 2 0x100090 dhclient 72717 337775 1 0 3 0x80 poll dhclient 68676 19834 0 0 3 0x14200 bored smr 15433 119718 0 0 3 0x14200 pgzero zerothread 48570 111799 0 0 3 0x14200 aiodoned aiodoned 30840 137188 0 0 3 0x14200 syncer update 49061 142504 0 0 3 0x14200 cleaner cleaner 16413 93691 0 0 3 0x14200 reaper reaper 24212 349015 0 0 3 0x14200 pgdaemon pagedaemon 4213 58689 0 0 3 0x14200 bored crynlk 55229 429307 0 0 3 0x14200 bored crypto 63334 512849 0 0 3 0x40014200 acpi0 acpi0 403 235379 0 0 3 0x40014200 idle1 95809 149971 0 0 3 0x14200 bored softnet 41945 491452 0 0 3 0x14200 bored systqmp 59002 436383 0 0 3 0x14200 bored systq 4235 467129 0 0 3 0x40014200 bored softclock 70474 193933 0 0 3 0x40014200 idle0 1 479261 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 3110 (syz-executor.0) thread 0xffff800020e08eb8 (511051) exclusive rwlock netlock r = 0 (0xffffffff8272df18) #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 (0xffffffff828e2dd8) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9524 6426K 6943K 78643K 11070 0 pcb 13 8K 8K 78643K 87 0 rtable 125 6K 7K 78643K 436 0 ifaddr 83 16K 17K 78643K 159 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 57 0 ioctlops 0 0K 4K 78643K 1524 0 iov 0 0K 16K 78643K 556 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 1385 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 66 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 396 0 sigio 0 0K 0K 78643K 6 0 proc 62 63K 95K 78643K 501 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 24 0 in_multi 56 3K 3K 78643K 146 0 ether_multi 1 0K 0K 78643K 13 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 227 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 134 72K 72K 78643K 2243 0 UVM aobj 17 2K 2K 78643K 30 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 52 0 NDP 14 0K 0K 78643K 36 0 temp 126 3870K 3935K 78643K 11995 0 kqueue 3 4K 9K 78643K 15 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 8 0 1 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 33 0 31 1 0 1 1 0 8 0 rtentry 112 77 0 30 2 0 2 2 0 8 0 unpcb 120 362 0 351 1 0 1 1 0 8 0 syncache 264 6 0 6 3 2 1 1 0 8 1 tcpqe 32 1615 0 1615 2 2 0 1 0 8 0 tcpcb 544 132 0 127 1 0 1 1 0 8 0 inpcb 296 459 0 449 3 1 2 2 0 8 1 nd6 48 22 0 15 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfstscr 40 4 0 4 1 1 0 1 0 8 0 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 4 0 4 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 pfrktable 1344 38 0 36 1 0 1 1 0 8 0 pfstitem 24 20 0 10 1 0 1 1 0 8 0 pfstkey 112 24 0 14 1 0 1 1 0 8 0 pfstate 328 22 0 12 2 0 2 2 0 8 0 pfsrctr 152 4 0 2 1 0 1 1 0 8 0 pfrule 1360 29 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 349 0 126 18 4 14 15 0 8 0 art_table 32 350 0 126 2 0 2 2 0 8 0 art_node 16 76 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 58 0 48 1 0 1 1 0 8 0 shmpl 112 28 0 13 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1961 0 556 89 0 89 89 0 8 0 ffsino 272 1961 0 556 96 1 95 95 0 8 0 nchpl 144 2926 0 1327 60 0 60 60 0 8 0 uvmvnodes 72 2111 0 0 39 0 39 39 0 8 0 vnodes 208 2111 0 0 112 0 112 112 0 8 0 namei 1024 7884 0 7884 2 1 1 1 0 8 1 percpumem 16 39 0 7 1 0 1 1 0 8 0 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 560 5 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 11 0 9 1 0 1 1 0 8 0 scxspl 192 8088 0 8088 8 7 1 7 0 8 1 plimitpl 152 40 0 32 1 0 1 1 0 8 0 sigapl 424 613 0 579 4 0 4 4 0 8 0 futexpl 56 6298 0 6295 1 0 1 1 0 8 0 knotepl 112 74 0 55 1 0 1 1 0 8 0 kqueuepl 144 47 0 44 1 0 1 1 0 8 0 pipepl 304 122 0 112 4 2 2 2 0 8 1 fdescpl 496 596 0 579 3 0 3 3 0 8 0 filepl 152 3800 0 3697 6 1 5 5 0 8 1 lockfpl 104 104 0 103 1 0 1 1 0 8 0 lockfspl 48 34 0 33 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 24 0 13 1 0 1 1 0 8 0 ucredpl 96 337 0 328 1 0 1 1 0 8 0 zombiepl 144 579 0 579 2 1 1 1 0 8 1 processpl 984 613 0 579 6 1 5 5 0 8 0 procpl 624 1456 0 1409 4 0 4 4 0 8 0 sosppl 128 1 0 1 1 1 0 1 0 8 0 sockpl 400 854 0 831 6 2 4 4 0 8 1 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 224 0 0 27 0 27 27 0 8 0 mtagpl 96 35 0 0 1 0 1 1 0 8 0 mbufpl 256 450 0 0 26 0 26 26 0 8 0 bufpl 280 4120 0 133 285 0 285 285 0 8 0 anonpl 16 77787 0 61056 85 4 81 84 0 124 12 amapchunkpl 152 3585 0 3428 21 3 18 20 0 158 11 amappl16 192 3344 0 2421 64 11 53 59 0 8 6 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 25 0 20 1 0 1 1 0 8 0 amappl13 168 218 0 212 1 0 1 1 0 8 0 amappl12 160 6 0 5 1 0 1 1 0 8 0 amappl11 152 53 0 37 1 0 1 1 0 8 0 amappl10 144 204 0 198 1 0 1 1 0 8 0 amappl9 136 386 0 385 1 0 1 1 0 8 0 amappl8 128 357 0 325 2 0 2 2 0 8 0 amappl7 120 299 0 286 1 0 1 1 0 8 0 amappl6 112 25 0 20 2 1 1 1 0 8 0 amappl5 104 503 0 486 1 0 1 1 0 8 0 amappl4 96 671 0 637 1 0 1 1 0 8 0 amappl3 88 118 0 112 1 0 1 1 0 8 0 amappl2 80 3824 0 3743 2 0 2 2 0 8 0 amappl1 72 22581 0 22123 23 13 10 18 0 8 0 amappl 80 1712 0 1660 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 29 0 13 1 0 1 1 0 8 0 uaddrrnd 24 601 0 579 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 601 0 579 1 0 1 1 0 8 0 vmmpekpl 168 8462 0 8428 2 0 2 2 0 8 0 vmmpepl 168 79480 0 77279 121 17 104 112 0 357 8 vmsppl 368 600 0 579 2 0 2 2 0 8 0 pdppl 4096 1209 0 1163 7 1 6 6 0 8 0 pvpl 32 228896 0 208914 198 3 195 198 0 265 30 pmappl 232 600 0 579 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 289 0 12 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff826f2ff0) 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(ffffffff828e2bd0) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828e2bd0) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffbdbc0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff8000230f30f8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230f30f8) 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_setrdomain(ffff800000ac6000,6) at if_setrdomain+0x17c sys/net/if.c:1871 ifioctl(fffffd807ea16658,8020699f,ffff8000230f3330,ffff800020e08eb8) at ifioctl+0x16ad sys/net/if.c:2139 soo_ioctl(fffffd8066e03020,8020699f,ffff8000230f3330,ffff800020e08eb8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e08eb8,ffff8000230f3448,ffff8000230f3490) at sys_ioctl+0x4a5 syscall(ffff8000230f3510) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230f3510) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1412ec40150, count: -10