uvm_fault(0xffffffff827db1f0, 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(0xffffffff827db1f0, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff80002271ec00, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff80002271ec18) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff80002271ec18) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000b26a78) at ifq_purge+0x9a sys/net/ifq.c:462 if_down(ffff800000b26800) at if_down+0x9c if_linkstate sys/net/if.c:1668 [inline] if_down(ffff800000b26800) at if_down+0x9c sys/net/if.c:1619 if_clone_destroy(ffff80002271ee30) at if_clone_destroy+0x13c sys/net/if.c:1296 ifioctl(fffffd806c911330,80206979,ffff80002271ee30,ffff800020e23398) at ifioctl+0x3ea sys/net/if.c:1929 soo_ioctl(fffffd807cde8008,80206979,ffff80002271ee30,ffff800020e23398) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e23398,ffff80002271ef48,ffff80002271ef90) at sys_ioctl+0x4a5 syscall(ffff80002271f010) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002271f010) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe964fa73790, count: -10 ddb{1}> show registers rdi 0x7 rsi 0x3a5db acpi_pdirpa+0x26443 rbp 0xffff80002271ebc0 rbx 0xfffffd806c911330 rdx 0x3a5da acpi_pdirpa+0x26442 rcx 0xffff800000676d80 rax 0x7 r8 0x101010101010101 r9 0x8080808080808080 r10 0xd214b5324c80017d r11 0xd8ba80d9c7dcc1d8 r12 0xfffffd807f01ee00 r13 0x3 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81104dc8 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002271eb80 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.1) pid=511193 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff800020e23128,0xffffffff82901be8 process=0xffff800020e09b08 user=0xffff80002271a000, vmspace=0xfffffd807c369ba0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 58862 402795 13094 0 7 0 syz-executor.1 *58862 511193 13094 0 7 0x4000000 syz-executor.1 42793 93046 23301 0 2 0 syz-executor.0 42793 34470 23301 0 3 0x4000000 biowait syz-executor.0 35866 31246 1 0 3 0x100083 ttyin getty 99991 503613 0 0 3 0x14200 acct acct 13094 138499 63915 0 3 0x82 nanosleep syz-executor.1 87619 458659 0 0 3 0x14200 bored sosplice 23301 14271 63915 0 3 0x82 nanosleep syz-executor.0 63915 343390 38529 0 3 0x82 thrsleep syz-fuzzer 63915 27552 38529 0 3 0x4000082 thrsleep syz-fuzzer 63915 28018 38529 0 3 0x4000082 thrsleep syz-fuzzer 63915 484646 38529 0 3 0x4000082 thrsleep syz-fuzzer 63915 172941 38529 0 3 0x4000082 thrsleep syz-fuzzer 63915 228152 38529 0 3 0x4000082 kqread syz-fuzzer 63915 339289 38529 0 3 0x4000082 thrsleep syz-fuzzer 63915 345527 38529 0 3 0x4000082 thrsleep syz-fuzzer 63915 230865 38529 0 3 0x4000082 thrsleep syz-fuzzer 63915 326600 38529 0 3 0x4000082 thrsleep syz-fuzzer 38529 317040 9353 0 3 0x10008a pause ksh 9353 156523 89738 0 3 0x92 select sshd 89738 348573 1 0 3 0x80 select sshd 19848 325242 86303 74 3 0x100092 bpf pflogd 86303 60585 1 0 3 0x80 netio pflogd 30829 10491 33037 73 3 0x100090 kqread syslogd 33037 483747 1 0 3 0x100082 netio syslogd 66917 195684 1 77 3 0x100090 poll dhclient 9607 311888 1 0 3 0x80 poll dhclient 23347 7734 0 0 3 0x14200 bored smr 49009 458798 0 0 2 0x14200 zerothread 4574 7579 0 0 3 0x14200 aiodoned aiodoned 19207 497072 0 0 3 0x14200 syncer update 9943 159098 0 0 3 0x14200 cleaner cleaner 5508 399677 0 0 3 0x14200 reaper reaper 98010 477741 0 0 3 0x14200 pgdaemon pagedaemon 82330 494023 0 0 3 0x14200 bored crynlk 92052 190721 0 0 3 0x14200 bored crypto 44460 356115 0 0 3 0x40014200 acpi0 acpi0 364 159943 0 0 3 0x40014200 idle1 39184 486869 0 0 3 0x14200 bored softnet 15006 299540 0 0 3 0x14200 bored systqmp 95606 304090 0 0 3 0x14200 bored systq 47835 248176 0 0 3 0x40014200 bored softclock 44660 369987 0 0 3 0x40014200 idle0 1 289050 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 58862 (syz-executor.1) thread 0xffff800020e23398 (511193) exclusive rwlock netlock r = 0 (0xffffffff8275a628) #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 (0xffffffff82910c78) #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 Process 42793 (syz-executor.0) thread 0xffff800020e23128 (34470) exclusive rrwlock inode r = 0 (0xfffffd8064a2cc50) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1358 #5 ffs_inode_alloc+0x1e2 sys/ufs/ffs/ffs_alloc.c:394 #6 ufs_makeinode+0xaa sys/ufs/ufs/ufs_vnops.c:1830 #7 ufs_create+0x41 sys/ufs/ufs/ufs_vnops.c:152 #8 VOP_CREATE+0xc0 sys/kern/vfs_vops.c:112 #9 vn_open+0x2a4 sys/kern/vfs_vnops.c:122 #10 doopenat+0x28b sys/kern/vfs_syscalls.c:1141 #11 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #11 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e2f3a28) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 vn_open+0x1a6 sys/kern/vfs_vnops.c:113 #8 doopenat+0x28b sys/kern/vfs_syscalls.c:1141 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #10 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9534 6436K 6883K 78643K 14173 0 pcb 13 8K 8K 78643K 254 0 rtable 100 10K 10K 78643K 710 0 ifaddr 92 19K 24K 78643K 273 0 sysctl 2 0K 0K 78643K 2 0 counters 41 33K 34K 78643K 85 0 ioctlops 0 0K 4K 78643K 1706 0 iov 0 0K 24K 78643K 222 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1892 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 239 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 1373 0 sigio 0 0K 0K 78643K 12 0 proc 62 63K 95K 78643K 603 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 89 0 in_multi 95 4K 4K 78643K 259 0 ether_multi 1 0K 0K 78643K 33 0 mrt 0 0K 0K 78643K 9 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 330 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 174 268K 268K 78643K 5606 0 UVM aobj 48 2K 2K 78643K 56 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 242 0 NDP 13 0K 0K 78643K 53 0 temp 138 3874K 4116K 78643K 27605 0 kqueue 4 6K 24K 78643K 92 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 13 0 8 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 102 0 100 1 0 1 1 0 8 0 rtentry 112 113 0 90 2 0 2 2 0 8 0 unpcb 120 1127 0 1113 1 0 1 1 0 8 0 syncache 264 15 0 15 6 6 0 1 0 8 0 sackhl 24 4 0 4 2 2 0 1 0 8 0 tcpqe 32 2 0 2 2 2 0 1 0 8 0 tcpcb 544 488 0 484 1 0 1 1 0 8 0 inpcb 296 1609 0 1599 6 4 2 2 0 8 1 rttmr 72 4 0 4 3 3 0 1 0 8 0 nd6 48 24 0 22 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 ppxss 1128 3 0 3 3 3 0 1 0 8 0 pfstscr 40 6 0 6 2 2 0 1 0 8 0 pffrag 232 9 0 8 1 0 1 1 0 482 0 pffrnode 88 9 0 8 1 0 1 1 0 8 0 pffrent 40 233 0 232 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 64 0 51 5 3 2 2 0 8 0 pfpktdelay 56 2 0 2 1 1 0 1 0 8 0 pftag 88 2 0 2 1 1 0 1 0 8 0 pfstitem 24 33 0 30 1 0 1 1 0 8 0 pfstkey 112 38 0 35 1 0 1 1 0 8 0 pfstate 328 35 0 32 3 2 1 3 0 8 0 pfsrctr 152 14 0 14 1 1 0 1 0 8 0 pfrule 1360 55 0 32 4 1 3 3 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 656 0 544 14 5 9 12 0 8 0 art_table 32 657 0 544 2 0 2 2 0 8 0 art_node 16 112 0 93 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 9 1 0 1 1 0 8 0 semapl 112 237 0 227 1 0 1 1 0 8 0 shmpl 112 54 0 8 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3816 0 2410 89 0 89 89 0 8 0 ffsino 272 3816 0 2410 95 0 95 95 0 8 0 nchpl 144 5942 0 4339 61 0 61 61 0 8 0 uvmvnodes 72 4343 0 0 79 0 79 79 0 8 0 vnodes 208 4343 0 0 229 0 229 229 0 8 0 namei 1024 21654 0 21653 4 3 1 1 0 8 0 percpumem 16 53 0 22 1 0 1 1 0 8 0 vcpupl 1984 29 0 0 4 0 4 4 0 8 0 vmpool 560 39 0 10 3 0 3 3 0 8 0 pfiaddrpl 120 23 0 14 3 2 1 1 0 8 0 scsiplug 64 3 0 3 3 3 0 1 0 8 0 scxspl 192 18379 0 18378 11 10 1 4 0 8 0 plimitpl 152 106 0 98 1 0 1 1 0 8 0 sigapl 424 1588 0 1554 4 0 4 4 0 8 0 futexpl 56 23085 0 23085 4 3 1 1 0 8 1 knotepl 112 239 0 220 2 1 1 2 0 8 0 kqueuepl 144 230 0 218 1 0 1 1 0 8 0 pipepl 304 245 0 235 5 4 1 2 0 8 0 fdescpl 496 1571 0 1554 3 0 3 3 0 8 0 filepl 152 14319 0 14210 8 3 5 6 0 8 0 lockfpl 104 344 0 343 1 0 1 1 0 8 0 lockfspl 48 115 0 114 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 15 1 0 1 1 0 8 0 ucredpl 96 922 0 913 1 0 1 1 0 8 0 zombiepl 144 1554 0 1554 2 1 1 1 0 8 1 processpl 984 1588 0 1554 5 0 5 5 0 8 0 procpl 624 4652 0 4607 5 1 4 5 0 8 0 srpgc 64 3 0 3 1 1 0 1 0 8 0 sosppl 128 21 0 21 5 4 1 1 0 8 1 sockpl 400 2847 0 2821 14 10 4 6 0 8 1 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 13 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 177 0 0 21 1 20 21 0 8 0 mtagpl 96 99 0 0 3 0 3 3 0 8 0 mbufpl 256 513 0 0 29 0 29 29 0 8 0 bufpl 280 6981 0 746 446 0 446 446 0 8 0 anonpl 16 158010 0 140964 120 37 83 88 0 124 11 amapchunkpl 152 11519 0 11363 40 33 7 20 0 158 0 amappl16 192 7376 0 6397 90 30 60 61 0 8 11 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 1350 0 1340 1 0 1 1 0 8 0 amappl13 168 39 0 35 1 0 1 1 0 8 0 amappl12 160 15 0 11 1 0 1 1 0 8 0 amappl11 152 741 0 723 1 0 1 1 0 8 0 amappl10 144 19 0 13 1 0 1 1 0 8 0 amappl9 136 401 0 399 1 0 1 1 0 8 0 amappl8 128 410 0 372 2 0 2 2 0 8 0 amappl7 120 125 0 113 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 787 0 770 1 0 1 1 0 8 0 amappl4 96 1207 0 1174 1 0 1 1 0 8 0 amappl3 88 1466 0 1458 1 0 1 1 0 8 0 amappl2 80 11505 0 11425 2 0 2 2 0 8 0 amappl1 72 42877 0 42418 23 13 10 18 0 8 0 amappl 80 4978 0 4914 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 1610 0 1564 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1610 0 1564 1 0 1 1 0 8 0 vmmpekpl 168 14916 0 14872 3 0 3 3 0 8 0 vmmpepl 168 196631 0 194294 177 64 113 124 0 357 11 vmsppl 368 1609 0 1564 5 0 5 5 0 8 0 pdppl 4096 3227 0 3157 10 1 9 9 0 8 0 pvpl 32 455004 0 435247 252 58 194 203 0 265 29 pmappl 232 1609 0 1564 3 0 3 3 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 303 0 24 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82715ff0) 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 __sanitizer_cov_trace_cmp4(ffffffff82910a70,ffffffff82910a70) at __sanitizer_cov_trace_cmp4+0xb sys/dev/kcov.c:134 intr_handler(ffff80002274bd20,ffff80000004a400) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge17_untramp() at Xintr_ioapic_edge17_untramp+0x19f syscall(ffff80002274bea0) at syscall+0x381 mi_syscall sys/sys/syscall_mi.h:81 [inline] syscall(ffff80002274bea0) at syscall+0x381 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca630, count: -8 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(ffff80002271ec18) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff80002271ec18) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000b26a78) at ifq_purge+0x9a sys/net/ifq.c:462 if_down(ffff800000b26800) at if_down+0x9c if_linkstate sys/net/if.c:1668 [inline] if_down(ffff800000b26800) at if_down+0x9c sys/net/if.c:1619 if_clone_destroy(ffff80002271ee30) at if_clone_destroy+0x13c sys/net/if.c:1296 ifioctl(fffffd806c911330,80206979,ffff80002271ee30,ffff800020e23398) at ifioctl+0x3ea sys/net/if.c:1929 soo_ioctl(fffffd807cde8008,80206979,ffff80002271ee30,ffff800020e23398) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e23398,ffff80002271ef48,ffff80002271ef90) at sys_ioctl+0x4a5 syscall(ffff80002271f010) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002271f010) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe964fa73790, count: -10