panic: Lock pf config not exclusively locked @ /syzkaller/managers/main/kernel/sys/netpfil/pf/pf_ioctl.c:546 cpuid = 1 time = 1651535966 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc7/frame 0xfffffe009a274ef0 kdb_backtrace() at kdb_backtrace+0xd3/frame 0xfffffe009a275050 vpanic() at vpanic+0x2b8/frame 0xfffffe009a275130 panic() at panic+0xb5/frame 0xfffffe009a2751f0 _sx_xunlock_hard() at _sx_xunlock_hard/frame 0xfffffe009a275240 pf_free_rule() at pf_free_rule+0x4c/frame 0xfffffe009a275270 pfioctl() at pfioctl+0xc535/frame 0xfffffe009a276610 devfs_ioctl() at devfs_ioctl+0x22a/frame 0xfffffe009a2766f0 VOP_IOCTL_APV() at VOP_IOCTL_APV+0xb0/frame 0xfffffe009a276730 vn_ioctl() at vn_ioctl+0x215/frame 0xfffffe009a276a80 devfs_ioctl_f() at devfs_ioctl_f+0x71/frame 0xfffffe009a276ad0 kern_ioctl() at kern_ioctl+0x631/frame 0xfffffe009a276bd0 sys_ioctl() at sys_ioctl+0x31f/frame 0xfffffe009a276d30 amd64_syscall() at amd64_syscall+0x40c/frame 0xfffffe009a276f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe009a276f30 --- syscall (198, FreeBSD ELF64, nosys), rip = 0x28a42a, rsp = 0x82ed35f08, rbp = 0x82ed35f70 --- KDB: enter: panic [ thread pid 37094 tid 140928 ] Stopped at kdb_enter+0x6b: movq $0,0x270449a(%rip) db> db> set $lines = 0 db> set $maxwidth = 0 db> show registers cs 0x20 ds 0x3b es 0x3b fs 0x13 gs 0x1b ss 0x28 rax 0x12 rcx 0xbffbbd38d2b52412 rdx 0x3ffff rbx 0 rsp 0xfffffe009a275030 rbp 0xfffffe009a275050 rsi 0x40001 rdi 0xffffffff81782a0a vprintf+0x35a r8 0 r9 0xffffffff r10 0 r11 0xfffffe009a1586f0 r12 0xfffffe009a1581e0 r13 0xfffffe009a275001 r14 0xffffffff82bc9b00 .str.26 r15 0xffffffff82bc9b00 .str.26 rip 0xffffffff81775f7b kdb_enter+0x6b rflags 0x46 kdb_enter+0x6b: movq $0,0x270449a(%rip) db> show proc Process 37094 (syz-executor.3) at 0xfffffe009a8cd000: state: NORMAL uid: 0 gids: 0, 0, 5 parent: pid 816 at 0xfffffe0056f9d548 ABI: FreeBSD ELF64 flag: 0x10000080 flag2: 0 arguments: /root/syz-executor.3 exec reaper: 0xfffffe0053df0000 reapsubtree: 1 sigparent: 20 vmspace: 0xfffffe009a81b000 (map 0xfffffe009a81b000) (map.pmap 0xfffffe009a81b0c0) (pmap 0xfffffe009a81b128) threads: 2 140006 Run CPU 0 syz-executor.3 140928 Run CPU 1 syz-executor.3 db> ps pid ppid pgrp uid state wmesg wchan cmd 37095 790 790 0 R syz-executor.2 37094 816 816 0 R (threaded) syz-executor.3 140006 Run CPU 0 syz-executor.3 140928 Run CPU 1 syz-executor.3 13265 1 816 0 SV uwait 0xfffffe0099aede80 syz-executor.3 13233 1 816 0 SV uwait 0xfffffe0057893280 syz-executor.3 13222 1 816 0 SV uwait 0xfffffe0099aee580 syz-executor.3 13213 1 816 0 SV uwait 0xfffffe0058be6580 syz-executor.3 13204 1 816 0 SV uwait 0xfffffe0058be6780 syz-executor.3 13194 1 816 0 SV uwait 0xfffffe0058be8280 syz-executor.3 13185 1 816 0 SV uwait 0xfffffe0058be5780 syz-executor.3 13178 1 816 0 SV uwait 0xfffffe0056fe3100 syz-executor.3 13171 1 816 0 SV uwait 0xfffffe0057894a80 syz-executor.3 13155 1 816 0 SV uwait 0xfffffe0057892e00 syz-executor.3 13153 1 779 0 SV uwait 0xfffffe0057892d00 syz-executor.0 13152 1 816 0 SV uwait 0xfffffe0058be6f00 syz-executor.3 13143 1 816 0 SV uwait 0xfffffe0057892500 syz-executor.3 13134 1 816 0 SV uwait 0xfffffe0057892600 syz-executor.3 13125 1 816 0 SV uwait 0xfffffe0057893080 syz-executor.3 13122 1 780 0 SV uwait 0xfffffe0057892300 syz-executor.1 13112 1 816 0 SV uwait 0xfffffe0058be5980 syz-executor.3 13111 1 780 0 SV uwait 0xfffffe0058be5680 syz-executor.1 13105 1 780 0 SV uwait 0xfffffe0058be6480 syz-executor.1 13101 1 816 0 SV uwait 0xfffffe0058be7480 syz-executor.3 13093 1 780 0 SV uwait 0xfffffe0053df9900 syz-executor.1 13090 1 816 0 SV uwait 0xfffffe0057892c00 syz-executor.3 13081 1 816 0 SV uwait 0xfffffe0057892a00 syz-executor.3 13071 1 816 0 SV uwait 0xfffffe0057892700 syz-executor.3 13067 1 816 0 SV uwait 0xfffffe0057893680 syz-executor.3 13058 1 816 0 SV uwait 0xfffffe0056fe4b80 syz-executor.3 13046 1 816 0 SV uwait 0xfffffe0099aee980 syz-executor.3 13037 1 816 0 SV uwait 0xfffffe0099aee880 syz-executor.3 4349 1 4349 65 Ss select 0xfffffe0099f2a6c0 dhclient 3947 1 3947 0 Ss select 0xfffffe0099f2a640 dhclient 3944 1 3944 0 Ss select 0xfffffe0099f2a940 dhclient 3924 1 3924 65 Ss select 0xfffffe00589fdcc0 dhclient 3551 1 3551 0 Ss select 0xfffffe0099f2adc0 dhclient 3548 1 3548 0 Ss select 0xfffffe0058a00a40 dhclient 3527 1 3527 65 Ss select 0xfffffe0099f2b440 dhclient 3185 1 3185 0 Ss select 0xfffffe0099f2b3c0 dhclient 3182 1 3182 0 Ss select 0xfffffe00589fcac0 dhclient 3155 1 3155 65 Ss select 0xfffffe0099f2b4c0 dhclient 2565 1 780 0 S uwait 0xfffffe0056fe4780 syz-executor.1 2561 1 780 0 S uwait 0xfffffe0099aee780 syz-executor.1 2554 1 780 0 S uwait 0xfffffe0053df9a00 syz-executor.1 1881 1 1881 0 Ss select 0xfffffe00589fd7c0 dhclient 1878 1 1878 0 Ss select 0xfffffe00589fc440 dhclient 1825 0 0 0 DL aiordy 0xfffffe00962b4a90 [aiod4] 1824 0 0 0 DL aiordy 0xfffffe0058c40a90 [aiod3] 1823 0 0 0 DL aiordy 0xfffffe009987e000 [aiod2] 1821 0 0 0 DL aiordy 0xfffffe00962b4548 [aiod1] 1633 1 790 0 SV uwait 0xfffffe0056fe4d80 syz-executor.2 1613 1 790 0 SV uwait 0xfffffe0057894b80 syz-executor.2 816 776 816 0 Rs syz-executor.3 790 776 790 0 Ss nanslp 0xffffffff83e47a81 syz-executor.2 780 776 780 0 Rs syz-executor.1 779 776 779 0 Rs syz-executor.0 776 774 774 0 S (threaded) syz-fuzzer 100108 S uwait 0xfffffe0057894680 syz-fuzzer 100111 S uwait 0xfffffe0058be7880 syz-fuzzer 100112 S uwait 0xfffffe0058be7980 syz-fuzzer 100113 S uwait 0xfffffe0058be7a80 syz-fuzzer 100114 S uwait 0xfffffe0057893980 syz-fuzzer 100115 S uwait 0xfffffe0057893a80 syz-fuzzer 100116 S uwait 0xfffffe0057893b80 syz-fuzzer 100117 S uwait 0xfffffe0057893c80 syz-fuzzer 100120 S kqread 0xfffffe0058ada100 syz-fuzzer 774 772 774 0 Ss pause 0xfffffe0092672b40 csh 772 688 772 0 Ss select 0xfffffe00589fd3c0 sshd 754 1 754 0 Ss+ ttyin 0xfffffe00574774b0 getty 753 1 753 0 Ss+ ttyin 0xfffffe0058690cb0 getty 752 1 752 0 Ss+ ttyin 0xfffffe00586914b0 getty 751 1 751 0 Ss+ ttyin 0xfffffe0058691cb0 getty 750 1 750 0 Ss+ ttyin 0xfffffe00586924b0 getty 749 1 749 0 Ss+ ttyin 0xfffffe0058692cb0 getty 748 1 748 0 Ss+ ttyin 0xfffffe0053f414b0 getty 747 1 747 0 Ss+ ttyin 0xfffffe0053f41cb0 getty 746 1 746 0 Ss+ ttyin 0xfffffe0053f424b0 getty 692 1 692 0 Ss nanslp 0xffffffff83e47a81 cron 688 1 688 0 Ss select 0xfffffe0058a000c0 sshd 501 1 501 0 Ss select 0xfffffe00589fddc0 syslogd 430 1 430 0 Ss select 0xfffffe0058a002c0 devd 429 1 429 65 Ss select 0xfffffe0058a00040 dhclient 344 1 344 0 Ss select 0xfffffe0058a00140 dhclient 341 1 341 0 Ss select 0xfffffe0058a008c0 dhclient 17 0 0 0 DL vlruwt 0xfffffe0056f9e548 [vnlru] 16 0 0 0 DL syncer 0xffffffff83f6d2e0 [syncer] 15 0 0 0 DL (threaded) [bufdaemon] 100079 D psleep 0xffffffff83f6b8e0 [bufdaemon] 100082 D - 0xffffffff83211f80 [bufspacedaemon-0] 100093 D sdflush 0xfffffe0058c60ce8 [/ worker] 9 0 0 0 DL psleep 0xffffffff83f9f400 [vmdaemon] 8 0 0 0 DL (threaded) [pagedaemon] 100077 D psleep 0xffffffff83f932b8 [dom0] 100080 D launds 0xffffffff83f932c4 [laundry: dom0] 100081 D umarcl 0xffffffff81eb20b0 [uma] 7 0 0 0 DL - 0xffffffff83c03788 [rand_harvestq] 6 0 0 0 DL pftm 0xffffffff8477b530 [pf purge] 5 0 0 0 DL waiting 0xffffffff84a934a0 [sctp_iterator] 4 0 0 0 DL (threaded) [cam] 100044 D - 0xffffffff83aa56c0 [doneq0] 100045 D - 0xffffffff83aa5640 [async] 100076 D - 0xffffffff83aa54c0 [scanner] 14 0 0 0 DL seqstat 0xfffffe0056f01c88 [sequencer 00] 3 0 0 0 DL (threaded) [crypto] 100040 D crypto_ 0xffffffff83f8eac0 [crypto] 100041 D crypto_ 0xfffffe0053f73030 [crypto returns 0] 100042 D crypto_ 0xfffffe0053f73080 [crypto returns 1] 13 0 0 0 DL (threaded) [geom] 100035 D - 0xffffffff83e1d000 [g_event] 100036 D - 0xffffffff83e1d020 [g_up] 100037 D - 0xffffffff83e1d040 [g_down] 2 0 0 0 WL (threaded) [clock] 100029 I [clock (0)] 100030 I [clock (1)] 12 0 0 0 WL (threaded) [intr] 100015 I [swi5: fast taskq] 100018 I [swi6: task queue] 100019 I [swi6: Giant taskq] 100031 I [swi1: netisr 0] 100032 I [swi1: hpts] 100033 I [swi1: hpts] 100046 I [irq24: virtio_pci0] 100047 I [irq25: virtio_pci0] 100048 I [irq26: virtio_pci0] 100049 I [irq27: virtio_pci0] 100050 I [irq28: virtio_pci1] 100051 I [irq29: virtio_pci1] 100052 I [irq30: virtio_pci1] 100053 I [irq31: virtio_pci1] 100054 I [irq32: virtio_pci1] 100059 I [irq33: virtio_pci2] 100060 I [irq34: virtio_pci2] 100061 I [irq35: virtio_pci2] 100063 I [irq1: atkbd0] 100064 I [irq12: psm0] 100065 I [swi0: uart uart++] 100069 I [swi1: pf send] 11 0 0 0 RL (threaded) [idle] 100003 CanRun [idle: cpu0] 100004 CanRun [idle: cpu1] 1 0 1 0 SLs wait 0xfffffe0053df0000 [init] 10 0 0 0 DL audit_w 0xffffffff83f8f5c0 [audit] 0 0 0 0 DLs (threaded) [kernel] 100000 D swapin 0xffffffff83e1da40 [swapper] 100005 D - 0xfffffe0008191000 [if_config_tqg_0] 100006 D - 0xfffffe0008190e00 [softirq_0] 100007 D - 0xfffffe0008190d00 [softirq_1] 100008 D - 0xfffffe0008190c00 [if_io_tqg_0] 100009 D - 0xfffffe0008190b00 [if_io_tqg_1] 100010 D - 0xfffffe0008190a00 [inm_free taskq] 100011 D - 0xfffffe0008190900 [linuxkpi_irq_wq] 100012 D - 0xfffffe0008190800 [in6m_free taskq] 100013 D - 0xfffffe0008190700 [deferred_unmount ta] 100014 D - 0xfffffe0008190600 [thread taskq] 100016 D - 0xfffffe0008190400 [kqueue_ctx taskq] 100017 D - 0xfffffe0008190300 [pci_hp taskq] 100020 D - 0xfffffe0008190000 [aiod_kick taskq] 100021 D - 0xfffffe000818fe00 [linuxkpi_short_wq_0] 100022 D - 0xfffffe000818fe00 [linuxkpi_short_wq_1] 100023 D - 0xfffffe000818fe00 [linuxkpi_short_wq_2] 100024 D - 0xfffffe000818fe00 [linuxkpi_short_wq_3] 100025 D - 0xfffffe000818fd00 [linuxkpi_long_wq_0] 100026 D - 0xfffffe000818fd00 [linuxkpi_long_wq_1] 100027 D - 0xfffffe000818fd00 [linuxkpi_long_wq_2] 100028 D - 0xfffffe000818fd00 [linuxkpi_long_wq_3] 100034 D - 0xfffffe000818fc00 [firmware taskq] 100038 D - 0xfffffe000818f200 [crypto_0] 100039 D - 0xfffffe000818f200 [crypto_1] 100055 D - 0xfffffe000818e900 [vtnet0 rxq 0] 100056 D - 0xfffffe000818e800 [vtnet0 txq 0] 100057 D - 0xfffffe000818e700 [vtnet0 rxq 1] 100058 D - 0xfffffe000818e600 [vtnet0 txq 1] 100062 D vtbslp 0xfffffe0056f4be00 [virtio_balloon] 100066 D - 0xffffffff82bcf981 [deadlkres] 100070 D - 0xfffffe0008191100 [mca taskq] 100072 D - 0xfffffe000818eb00 [acpi_task_0] 100073 D - 0xfffffe000818eb00 [acpi_task_1] 100074 D - 0xfffffe000818eb00 [acpi_task_2] 100075 D - 0xfffffe000818ea00 [CAM taskq] db> show all locks Process 37094 (syz-executor.3) thread 0xfffffe009a0eb720 (140006) exclusive sleep mutex umtxql (umtxql) r = 0 (0xffffffff83e6f2b0) locked @ /syzkaller/managers/main/kernel/sys/kern/kern_umtx.c:1281 Process 37094 (syz-executor.3) thread 0xfffffe009a1581e0 (140928) exclusive rm pf rulesets (pf rulesets) r = 0 (0xffffffff848376a0) locked @ /syzkaller/managers/main/kernel/sys/netpfil/pf/pf_ioctl.c:3435 db> show malloc Type InUse MemUse Requests pf_hash 5 11524K 5 tcp_hpts 7 4801K 7 devbuf 4217 4323K 4245 sysctloid 35322 2081K 35393 vtbuf 24 1968K 46 kobj 328 1312K 489 pcb 671 1266K 108221 newblk 9 1026K 36570 vfscache 3 1025K 3 inodedep 1016 893K 36226 filedesc 80 634K 72179 linker 380 572K 1429 ufs_quota 1 512K 1 vfs_hash 1 512K 1 callout 2 512K 2 intr 4 472K 4 subproc 207 412K 37211 sctp_stro 311 311K 17191 vmem 3 274K 6 dirrem 1007 252K 36110 sctp_atcl 635 239K 71974 acpica 1674 184K 57552 vnet_data 1 168K 1 tidhash 3 141K 3 pagedep 9 130K 36076 tfo_ccache 1 128K 1 freefile 1007 126K 36074 DEVFS1 109 109K 126 sem 4 106K 4 BPF 46 88K 71 bus 994 81K 5207 mtx_pool 2 72K 2 syncache 1 68K 1 module 514 65K 514 acpitask 1 64K 1 ddb_capture 1 64K 1 sctp_timw 240 60K 240 umtx 462 58K 462 kdtrace 282 54K 78025 sctp_atky 946 40K 93114 temp 34 33K 4686 DEVFS3 128 32K 138 hostcache 1 32K 1 shm 1 32K 5 msg 4 30K 4 gtaskqueue 18 26K 18 kbdmux 6 22K 6 ifaddr 71 21K 73 DEVFS_RULE 56 20K 56 ufs_mount 4 17K 5 proc 3 17K 3 tty 16 16K 16 routetbl 135 16K 427 ithread 97 16K 97 lltable 46 15K 124 bus-sc 34 15K 1681 ether_multi 157 13K 167 KTRACE 100 13K 100 ifnet 7 13K 7 kenv 95 12K 95 eventhandler 134 12K 134 rman 88 11K 431 GEOM 61 11K 490 CAM queue 5 11K 1528 sctp_athm 635 10K 73516 sctp_map 622 10K 33258 in6_multi 71 9K 71 bmsafemap 2 9K 36190 UART 12 9K 12 devstat 4 9K 4 ksem 1 8K 858 rpc 2 8K 2 shmfd 1 8K 54 kqueue 94 8K 37141 pfs_vncache 1 8K 1 pfs_nodes 20 8K 20 audit_evclass 237 8K 296 taskqueue 63 7K 63 cred 26 7K 484 sglist 5 7K 5 CAM DEV 3 6K 510 plimit 24 6K 484 pwddesc 92 6K 37096 pf_ifnet 13 5K 46 ufs_dirhash 24 5K 24 UMA 272 5K 272 session 35 5K 54 DEVFSP 68 5K 467 vt 11 5K 11 memdesc 1 4K 1 MCA 32 4K 32 ioctlops 1 4K 1275 evdev 4 4K 4 proc-args 123 4K 38507 acpisem 28 4K 28 selfd 55 4K 507369 lockf 32 4K 63 hhook 15 4K 17 kcovinfo 52 4K 52 CC Mem 51 4K 28759 terminal 11 3K 11 select 19 3K 63 uidinfo 3 3K 14 pf_rule 1 2K 19 local_apic 1 2K 1 io_apic 1 2K 1 fpukern_ctx 2 2K 2 ipsec-saq 2 2K 2 inpcbpolicy 62 2K 32119 ip6ndp 12 2K 15 sctp_ifa 14 2K 15 Unitno 31 2K 55 CAM XPT 22 2K 543 msi 12 2K 12 in_multi 6 2K 8 freework 5 2K 36032 ipsecpolicy 2 2K 2 acpidev 20 2K 20 clone 9 2K 9 osd 55 2K 28770 tun 7 2K 7 softdep 1 1K 1 mkdir 8 1K 72110 freeblks 4 1K 36031 sahead 1 1K 1 secasvar 1 1K 1 nhops 6 1K 8 vnodemarker 2 1K 102 NFSD session 1 1K 1 CAM periph 4 1K 271 sctp_ifn 6 1K 15 ipsec 3 1K 3 mld 6 1K 6 igmp 6 1K 6 toponodes 6 1K 6 isadev 6 1K 6 mount 16 1K 625 pci_link 10 1K 10 crypto 4 1K 4 encap_export_host 12 1K 12 procdesc 5 1K 18 newdirblk 4 1K 36055 diradd 4 1K 36151 pfil 4 1K 4 cdev 2 1K 2 chacha20random 1 1K 1 NFSD lckfile 1 1K 1 NFSD V4client 1 1K 1 DEVFS 9 1K 10 vnodes 1 1K 1 CAM SIM 2 1K 2 feeder 7 1K 7 tcpfunc 3 1K 3 loginclass 3 1K 6 prison 6 1K 6 lkpikmalloc 5 1K 6 aesni_data 2 1K 2 cryptodev 2 1K 324 nexusdev 8 1K 8 apmdev 1 1K 1 atkbddev 2 1K 2 CAM dev queue 2 1K 2 CAM I/O Scheduler 1 1K 1 CAM path 4 1K 1034 pmchooks 1 1K 1 soname 4 1K 59090 filecaps 5 1K 124 sctp_vrf 1 1K 1 vnet 1 1K 1 entropy 2 1K 48 pmc 1 1K 1 acpiintr 1 1K 1 cpus 2 1K 2 vnet_data_free 1 1K 1 Per-cpu 1 1K 1 p1003.1b 1 1K 1 ext2_mount 0 0K 0 ext2_node 0 0K 0 ext2_extents 0 0K 0 sctp_mcore 0 0K 0 sctp_socko 0 0K 36270 sctp_iter 0 0K 12 sctp_mvrf 0 0K 0 sctp_cpal 0 0K 0 sctp_cmsg 0 0K 0 sctp_stre 0 0K 0 sctp_athi 0 0K 0 sctp_a_it 0 0K 12 sctp_aadr 0 0K 0 sctp_stri 0 0K 3022 pf_table 0 0K 0 pf_altq 0 0K 0 pf_osfp 0 0K 0 pf_temp 0 0K 0 mqdata 0 0K 0 filemon 0 0K 119 tcp_do 0 0K 0 tcp_fsb 0 0K 720 ipcomp 0 0K 0 esp 0 0K 0 ah 0 0K 0 NFSCL layrecall 0 0K 0 NFSCL session 0 0K 0 madt_table 0 0K 2 smartpqi 0 0K 0 NFSCL sockreq 0 0K 0 NFSCL devinfo 0 0K 0 NFSCL flayout 0 0K 0 ixl 0 0K 0 NFSCL layout 0 0K 0 NFSD rollback 0 0K 0 NFSCL diroff 0 0K 0 NEWdirectio 0 0K 0 NEWNFSnode 0 0K 0 NFSCL lck 0 0K 0 NFSCL lckown 0 0K 0 ice-resmgr 0 0K 0 ice-osdep 0 0K 0 ice 0 0K 0 iavf 0 0K 0 axgbe 0 0K 0 NFSCL client 0 0K 0 NFSCL deleg 0 0K 0 NFSCL open 0 0K 0 NFSCL owner 0 0K 0 NFS fh 0 0K 0 NFS req 0 0K 0 NFSD usrgroup 0 0K 0 NFSD string 0 0K 0 NFSD V4lock 0 0K 0 xen_intr 0 0K 0 NFSD V4state 0 0K 0 xen_hvm 0 0K 0 legacydrv 0 0K 0 bounce 0 0K 0 busdma 0 0K 0 qpidrv 0 0K 0 NFSD srvcache 0 0K 0 msdosfs_fat 0 0K 0 dmar_idpgtbl 0 0K 0 dmar_dom 0 0K 0 dmar_ctx 0 0K 0 msdosfs_mount 0 0K 0 msdosfs_node 0 0K 0 isci 0 0K 0 iommu_dmamap 0 0K 0 hyperv_socket 0 0K 0 bxe_ilt 0 0K 0 xenbus 0 0K 0 DEVFS4 0 0K 0 vm_fictitious 0 0K 0 DEVFS2 0 0K 0 gntdev 0 0K 0 privcmd_dev 0 0K 0 evtchn_dev 0 0K 0 xenstore 0 0K 0 scsi_pass 0 0K 0 ciss_data 0 0K 0 xnb 0 0K 0 xen_acpi 0 0K 0 xbbd 0 0K 0 xbd 0 0K 0 UMAHash 0 0K 0 Balloon 0 0K 0 sysmouse 0 0K 0 vm_pgdata 0 0K 0 jblocks 0 0K 0 savedino 0 0K 27588 sentinel 0 0K 0 jfsync 0 0K 0 jtrunc 0 0K 0 sbdep 0 0K 47 jsegdep 0 0K 0 jseg 0 0K 0 jfreefrag 0 0K 0 jfreeblk 0 0K 0 jnewblk 0 0K 0 jmvref 0 0K 0 jremref 0 0K 0 jaddref 0 0K 0 freedep 0 0K 0 freefrag 0 0K 2 allocindir 0 0K 0 indirdep 0 0K 10 allocdirect 0 0K 0 ufs_trim 0 0K 0 mactemp 0 0K 0 audit_trigger 0 0K 0 audit_pipe_presel 0 0K 0 audit_pipeent 0 0K 0 audit_pipe 0 0K 0 audit_evname 0 0K 0 audit_bsm 0 0K 0 audit_gidset 0 0K 0 audit_text 0 0K 0 audit_path 0 0K 0 audit_data 0 0K 0 audit_cred 0 0K 0 vtfont 0 0K 0 BACKLIGHT 0 0K 0 ath_hal 0 0K 0 athdev 0 0K 0 ata_pci 0 0K 0 ata_dma 0 0K 0 ata_generic 0 0K 0 pvscsi 0 0K 0 scsi_da 0 0K 69 ata_da 0 0K 0 scsi_ch 0 0K 0 scsi_cd 0 0K 0 ktls_ocf 0 0K 0 AHCI driver 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EEPROM 0 0K 0 MLX5E_TLS_RX 0 0K 0 MLX5EEPROM 0 0K 0 MLX5E_TLS 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EN 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EEPROM 0 0K 0 MLX5DUMP 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EEPROM 0 0K 0 MLX5EEPROM 0 0K 0 seq_file 0 0K 0 lkpiskb 0 0K 0 radix 0 0K 0 idr 0 0K 0 lkpindev 0 0K 0 lkpifw 0 0K 0 lkpi80211 0 0K 0 NLM 0 0K 0 ipsec-spdcache 0 0K 0 ipsec-reg 0 0K 0 ipsec-misc 0 0K 0 ipsecrequest 0 0K 0 ip6opt 0 0K 129 ip6_msource 0 0K 0 ip6_moptions 0 0K 0 in6_mfilter 0 0K 0 frag6 0 0K 0 tcplog 0 0K 0 tcp_hwpace 0 0K 0 USBdev 0 0K 0 USB 0 0K 0 LRO 0 0K 0 ip_msource 0 0K 0 ip_moptions 0 0K 0 in_mfilter 0 0K 0 ipid 0 0K 0 80211scan 0 0K 0 80211ratectl 0 0K 0 80211power 0 0K 0 80211nodeie 0 0K 0 80211node 0 0K 0 80211mesh_gt 0 0K 0 80211mesh_rt 0 0K 0 80211perr 0 0K 0 80211prep 0 0K 0 80211preq 0 0K 0 80211dfs 0 0K 0 80211crypto 0 0K 0 80211vap 0 0K 0 iflib 0 0K 0 vlan 0 0K 0 gif 0 0K 0 ifdescr 0 0K 0 zlib 0 0K 0 fadvise 0 0K 4 VN POLL 0 0K 0 agp 0 0K 0 statfs 0 0K 36309 namei_tracker 0 0K 0 export_host 0 0K 0 cl_savebuf 0 0K 2 nvme_da 0 0K 0 acpipwr 0 0K 0 acpi_perf 0 0K 0 twsbuf 0 0K 0 twe_commands 0 0K 0 tcp_log_dev 0 0K 1717 midi buffers 0 0K 0 mixer 0 0K 0 ac97 0 0K 0 hdacc 0 0K 0 hdac 0 0K 0 hdaa 0 0K 0 acpicmbat 0 0K 0 SIIS driver 0 0K 0 CAM CCB 0 0K 523 biobuf 0 0K 0 aios 0 0K 3 lio 0 0K 4 acl 0 0K 0 mbuf_tag 0 0K 142 ktls 0 0K 0 PUC 0 0K 0 ppbusdev 0 0K 0 agtiapi_MemAlloc malloc 0 0K 0 osti_cacheable 0 0K 0 tempbuff 0 0K 0 tempbuff 0 0K 0 ag_tgt_map_t malloc 0 0K 0 ag_slr_map_t malloc 0 0K 0 lDevFlags * malloc 0 0K 0 tiDeviceHandle_t * malloc 0 0K 0 ag_portal_data_t malloc 0 0K 0 ag_device_t malloc 0 0K 0 STLock malloc 0 0K 0 CCB List 0 0K 0 sr_iov 0 0K 0 OCS 0 0K 0 OCS 0 0K 0 nvme 0 0K 0 nvd 0 0K 0 netmap 0 0K 0 mwldev 0 0K 0 MVS driver 0 0K 0 CAM ccb queue 0 0K 0 accf 0 0K 0 pts 0 0K 0 iov 0 0K 28329 eventfd 0 0K 76 Witness 0 0K 0 stack 0 0K 0 mrsasbuf 0 0K 0 mpt_user 0 0K 0 mps_user 0 0K 0 MPSSAS 0 0K 0 mps 0 0K 0 sbuf 0 0K 288 mpr_user 0 0K 0 firmware 0 0K 0 compressor 0 0K 0 MPRSAS 0 0K 0 SWAP 0 0K 0 mpr 0 0K 0 mfibuf 0 0K 0 sysctltmp 0 0K 958 sysctl 0 0K 3 md_sectors 0 0K 0 ekcd 0 0K 0 dumper 0 0K 0 sendfile 0 0K 0 rctl 0 0K 0 md_disk 0 0K 0 malodev 0 0K 0 LED 0 0K 0 ix_sriov 0 0K 0 cache 0 0K 0 aacraidcam 0 0K 0 prison_racct 0 0K 0 Fail Points 0 0K 0 sigio 0 0K 1 filedesc_to_leader 0 0K 0 pwd 0 0K 0 tty console 0 0K 0 ix 0 0K 0 ipsbuf 0 0K 0 aacraid_buf 0 0K 0 aaccam 0 0K 0 boottrace 0 0K 0 aacbuf 0 0K 0 zstd 0 0K 0 XZ_DEC 0 0K 0 nvlist 0 0K 0 SCSI ENC 0 0K 0 SCSI sa 0 0K 0 isofs_node 0 0K 0 isofs_mount 0 0K 0 tr_raid5_data 0 0K 0 tr_raid1e_data 0 0K 0 tr_raid1_data 0 0K 0 tr_raid0_data 0 0K 0 tr_concat_data 0 0K 0 md_sii_data 0 0K 0 md_promise_data 0 0K 0 md_nvidia_data 0 0K 0 md_jmicron_data 0 0K 0 md_intel_data 0 0K 0 md_ddf_data 0 0K 0 raid_data 0 0K 72 geom_flashmap 0 0K 0 tmpfs dir 0 0K 0 tmpfs name 0 0K 0 tmpfs mount 0 0K 0 NFS FHA 0 0K 0 newnfsmnt 0 0K 0 newnfsclient_req 0 0K 0 db> show uma Zone Size Used Free Requests Sleeps Bucket Total Mem XFree mbuf_jumbo_page 4096 8407 2261 1912458 0 254 43696128 0 mbuf 256 9202 7062 5209407 0 254 4163584 0 sctp_asoc 2256 311 1469 16629 0 254 4015680 0 malloc-2048 2048 333 1523 53843 0 8 3801088 0 ertt_txseginfo 40 71582 11743 1852182 0 254 3333000 0 RADIX NODE 144 20137 410 657907 0 65 2958768 0 sctp_ep 1208 324 1966 53834 0 254 2766320 0 malloc-384 384 5132 1948 40343 0 30 2718720 0 mbuf_cluster 2048 1016 0 1016 0 254 2080768 0 pbuf 2624 0 778 0 0 2 2041472 0 tcp_log 416 0 4833 42522 0 254 2010528 0 malloc-1024 1024 314 1414 16645 0 16 1769472 0 BUF TRIE 144 194 11594 1358 0 62 1697472 0 UMA Slabs 0 112 13779 3 13779 0 126 1543584 0 malloc-128 128 11641 232 119988 0 126 1519744 0 vmem btag 56 24813 66 24813 0 254 1393224 0 malloc-4096 4096 331 3 828 0 2 1368064 0 malloc-384 384 668 2872 72085 0 30 1359360 0 sctp_raddr 736 311 1471 16629 0 254 1311552 0 tcpcb 1104 51 712 28759 0 254 842352 0 VM OBJECT 264 2983 137 793315 0 30 823680 0 tcp_bbr_map 128 1780 4420 251844 0 126 793600 0 malloc-256 256 1070 1975 36517 0 62 779520 0 malloc-16384 16384 40 6 36088 0 1 753664 0 256 Bucket 2048 345 15 14249 0 8 737280 0 socket 960 101 663 87614 0 254 733440 0 malloc-256 256 47 2683 64448 0 62 698880 0 FFS inode 1160 552 43 36629 0 9 690200 0 sctp_chunk 152 311 3251 16269 0 254 541424 0 malloc-256 256 392 1603 126430 0 62 510720 0 MAP ENTRY 96 4352 436 1883132 0 126 459648 0 malloc-4096 4096 97 7 37104 0 2 425984 0 THREAD 1808 189 42 40928 0 8 417648 0 malloc-65536 65536 6 0 6 0 1 393216 0 lkpimm 168 1 2327 1 0 62 391104 0 lkpicurr 168 2 2326 2 0 62 391104 0 malloc-128 128 1042 1996 36264 0 126 388864 0 VNODE 448 593 100 36672 0 30 310464 0 malloc-64 64 3990 609 548313 0 254 294336 0 mbuf_packet 256 343 673 84481 0 254 260096 0 malloc-16 16 14660 590 43438 0 254 244000 0 malloc-2048 2048 5 107 1232 0 8 229376 0 DEVCTL 1024 0 220 155 0 0 225280 0 VMSPACE 2552 71 13 37046 0 4 214368 0 FPU_save_area 832 191 52 51066 0 16 202176 0 malloc-65536 65536 1 2 363 0 1 196608 0 malloc-65536 65536 1 2 201 0 1 196608 0 malloc-256 256 207 543 48005 0 62 192000 0 malloc-32 32 5564 358 5689 0 254 189504 0 UMA Zones 768 244 0 244 0 16 187392 0 malloc-128 128 1216 179 5750 0 126 178560 0 malloc-128 128 1242 153 27212 0 126 178560 0 128 Bucket 1024 114 49 7378 0 16 166912 0 malloc-64 64 883 1700 21510 0 254 165312 0 malloc-1024 1024 137 23 154 0 16 163840 0 FFS2 dinode 256 552 78 36629 0 62 161280 0 S VFS Cache 104 1033 488 39663 0 126 158184 0 PROC 1352 91 23 37095 0 8 154128 0 malloc-32 32 858 3552 145196 0 254 141120 0 64 Bucket 512 177 87 23726 0 30 135168 0 unpcb 256 20 490 1610 0 254 130560 0 filedesc0 1072 92 20 37096 0 8 120064 0 ksiginfo 112 103 941 10465 0 126 116928 0 malloc-256 256 286 149 41559 0 62 111360 0 malloc-4096 4096 21 5 112 0 2 106496 0 tcp_inpcb 424 51 192 28759 0 30 103032 0 malloc-8192 8192 9 3 38 0 1 98304 0 32 Bucket 256 254 121 10680 0 62 96000 0 malloc-4096 4096 20 2 34 0 2 90112 0 UMA Kegs 384 230 3 230 0 30 89472 0 syncache 168 0 528 110 0 254 88704 0 sctp_stream_msg_out 112 0 792 4446 0 254 88704 0 g_bio 408 0 210 9997 0 30 85680 0 pipe 744 23 92 1084 0 16 85560 0 clpbuf 2624 0 32 38 0 16 83968 0 malloc-128 128 373 278 40353 0 126 83328 0 malloc-256 256 261 54 434 0 62 80640 0 sctp_readq 152 0 520 808 0 254 79040 0 malloc-8192 8192 8 1 10 0 1 73728 0 malloc-384 384 167 13 168 0 30 69120 0 malloc-64 64 566 505 1359 0 254 68544 0 malloc-16 16 722 3528 100253 0 254 68000 0 malloc-16 16 891 3359 94486 0 254 68000 0 tcp_bbr_pcb 832 44 37 5503 0 16 67392 0 malloc-65536 65536 1 0 1 0 1 65536 0 malloc-65536 65536 1 0 1 0 1 65536 0 malloc-65536 65536 0 1 8 0 1 65536 0 malloc-32768 32768 2 0 2 0 1 65536 0 malloc-32768 32768 0 2 120 0 1 65536 0 malloc-32768 32768 2 0 2 0 1 65536 0 udp_inpcb 424 6 147 2381 0 30 64872 0 Files 80 282 518 144438 0 126 64000 0 malloc-8192 8192 1 6 123 0 1 57344 0 ripcb 424 5 121 708 0 30 53424 0 udplite_inpcb 424 0 126 271 0 30 53424 0 malloc-64 64 134 685 37202 0 254 52416 0 malloc-64 64 169 650 66506 0 254 52416 0 DIRHASH 1024 35 13 35 0 16 49152 0 NAMEI 1024 0 48 173372 0 16 49152 0 malloc-16384 16384 3 0 3 0 1 49152 0 malloc-16384 16384 2 1 17 0 1 49152 0 malloc-8192 8192 1 5 563 0 1 49152 0 malloc-512 512 0 96 3023 0 30 49152 0 tcp_rack_pcb 896 0 54 720 0 16 48384 0 TURNSTILE 136 232 83 232 0 62 42840 0 pcpu-8 8 4764 356 5567 0 254 40960 0 Mountpoints 2752 2 12 2 0 4 38528 0 da_ccb 544 0 70 2604 0 16 38080 0 PWD 32 52 1082 36150 0 254 36288 0 malloc-64 64 37 530 20183 0 254 36288 0 malloc-64 64 224 343 247 0 254 36288 0 malloc-64 64 165 402 569 0 254 36288 0 16 Bucket 144 165 87 823 0 62 36288 0 8 Bucket 80 236 214 7951 0 126 36000 0 malloc-128 128 36 243 160 0 126 35712 0 malloc-128 128 29 250 2684 0 126 35712 0 malloc-128 128 47 232 47 0 126 35712 0 routing nhops 256 27 108 35 0 62 34560 0 ttyoutq 256 72 63 160 0 62 34560 0 malloc-384 384 54 36 56 0 30 34560 0 malloc-256 256 31 104 2764 0 62 34560 0 malloc-256 256 7 128 37128 0 62 34560 0 SLEEPQUEUE 88 232 152 232 0 126 33792 0 malloc-16384 16384 0 2 160 0 1 32768 0 malloc-16384 16384 2 0 2 0 1 32768 0 malloc-8192 8192 2 2 106 0 1 32768 0 malloc-4096 4096 2 6 36934 0 2 32768 0 malloc-2048 2048 3 13 671 0 8 32768 0 malloc-2048 2048 11 5 29 0 8 32768 0 malloc-2048 2048 3 13 274 0 8 32768 0 malloc-2048 2048 0 16 50 0 8 32768 0 malloc-1024 1024 5 27 1892 0 16 32768 0 malloc-1024 1024 5 27 5 0 16 32768 0 malloc-1024 1024 3 29 606 0 16 32768 0 malloc-1024 1024 9 23 9 0 16 32768 0 malloc-1024 1024 3 29 20 0 16 32768 0 malloc-512 512 0 64 128 0 30 32768 0 malloc-512 512 12 52 29 0 30 32768 0 malloc-512 512 0 64 132 0 30 32768 0 malloc-512 512 2 62 51 0 30 32768 0 malloc-512 512 5 59 105 0 30 32768 0 malloc-512 512 8 56 8 0 30 32768 0 pcpu-64 64 496 16 496 0 254 32768 0 KNOTE 160 28 172 302591 0 62 32000 0 ttyinq 160 135 65 300 0 62 32000 0 tcp_rack_map 120 0 264 1590 0 126 31680 0 cpuset 104 7 272 25 0 126 29016 0 sctp_laddr 48 4 584 4727 0 254 28224 0 tcp_inpcb ports 32 2 880 6324 0 254 28224 0 ertt 72 51 341 28759 0 126 28224 0 4 Bucket 48 7 581 794 0 254 28224 0 AIO 208 0 133 36 0 62 27664 0 malloc-8192 8192 3 0 3 0 1 24576 0 rtentry 176 31 107 35 0 62 24288 0 PGRP 88 35 241 54 0 126 24288 0 rl_entry 40 67 539 67 0 254 24240 0 malloc-384 384 3 57 70 0 30 23040 0 malloc-384 384 20 40 364 0 30 23040 0 hostcache 64 1 314 1 0 254 20160 0 udpcb 32 6 624 2652 0 254 20160 0 udp_inpcb ports 32 3 627 41 0 254 20160 0 udplite_inpcb ports 32 0 630 4 0 254 20160 0 malloc-32 32 113 517 137 0 254 20160 0 malloc-32 32 26 604 1009 0 254 20160 0 malloc-32 32 121 509 31902 0 254 20160 0 malloc-32 32 59 571 3010 0 254 20160 0 malloc-32 32 56 574 1770 0 254 20160 0 malloc-32 32 5 625 9 0 254 20160 0 2 Bucket 32 61 569 3667 0 254 20160 0 AIOCB 552 0 35 133 0 16 19320 0 AIOLIO 272 0 70 4 0 30 19040 0 epoch_record pcpu 256 4 60 4 0 62 16384 0 malloc-16384 16384 1 0 1 0 1 16384 0 malloc-16384 16384 1 0 1 0 1 16384 0 malloc-4096 4096 2 2 5 0 2 16384 0 malloc-2048 2048 3 5 3 0 8 16384 0 malloc-2048 2048 3 5 3 0 8 16384 0 malloc-1024 1024 8 8 9 0 16 16384 0 malloc-512 512 1 31 1 0 30 16384 0 SMR CPU 32 7 504 7 0 254 16352 0 vtnet_tx_hdr 24 0 668 2596197 0 254 16032 0 kenv 258 15 45 1053 0 30 15480 0 mqnode 416 3 33 3 0 30 14976 0 vmem 1856 1 7 1 0 8 14848 0 domainset 40 0 315 14 0 254 12600 0 SMR SHARED 24 7 504 7 0 254 12264 0 AIOP 32 4 374 4 0 254 12096 0 malloc-16 16 14 736 3976 0 254 12000 0 malloc-16 16 40 710 167 0 254 12000 0 malloc-16 16 291 459 26592 0 254 12000 0 malloc-16 16 10 740 12 0 254 12000 0 malloc-384 384 1 29 1 0 30 11520 0 malloc-384 384 2 28 2 0 30 11520 0 malloc-8192 8192 1 0 1 0 1 8192 0 malloc-4096 4096 0 2 1 0 2 8192 0 pcpu-16 16 14 498 14 0 254 8192 0 malloc-16 16 0 500 2 0 254 8000 0 UMA Slabs 1 176 10 12 10 0 62 3872 0 KMAP ENTRY 96 15 24 20 0 0 3744 0 pcpu-4 4 1 511 1 0 254 2048 0 FFS1 dinode 128 0 0 0 0 126 0 0 ada_ccb 272 0 0 0 0 30 0 0 swblk 136 0 0 0 0 62 0 0 swpctrie 144 0 0 0 0 62 0 0 cdg_qdiffsample 16 0 0 0 0 254 0 0 pf state scrubs 40 0 0 0 0 254 0 0 pf frag entries 40 0 0 0 0 254 0 0 pf frags 248 0 0 0 0 62 0 0 pf table entries 160 0 0 0 0 254 0 0 pf table entry counters 64 0 0 0 0 254 0 0 pf source nodes 136 0 0 0 0 254 0 0 pf state keys 88 0 0 0 0 126 0 0 pf states 312 0 0 0 0 254 0 0 pf tags 104 0 0 0 0 126 0 0 pf mtags 56 0 0 0 0 254 0 0 tfo_ccache_entries 80 0 0 0 0 126 0 0 tfo 4 0 0 0 0 254 0 0 sackhole 32 0 0 0 0 254 0 0 tcptw 72 0 0 0 0 254 0 0 ipq 56 0 0 0 0 254 0 0 sctp_asconf_ack 48 0 0 0 0 254 0 0 sctp_asconf 40 0 0 0 0 254 0 0 tcp_log_id_node 120 0 0 0 0 126 0 0 tcp_log_id_bucket 176 0 0 0 0 62 0 0 tcpreass 48 0 0 0 0 254 0 0 ripcb ports 32 0 0 0 0 254 0 0 IPsec SA lft_c 16 0 0 0 0 254 0 0 itimer 352 0 0 0 0 30 0 0 mqnotifier 216 0 0 0 0 62 0 0 mvdata 64 0 0 0 0 254 0 0 mqueue 248 0 0 0 0 62 0 0 TMPFS node 224 0 0 0 0 62 0 0 NCLNODE 608 0 0 0 0 16 0 0 LTS VFS Cache 360 0 0 0 0 30 0 0 L VFS Cache 320 0 0 0 0 30 0 0 STS VFS Cache 144 0 0 0 0 62 0 0 cryptop 280 0 0 0 0 30 0 0 linux_dma_object 32 0 0 0 0 254 0 0 linux_dma_pctrie 144 0 0 0 0 62 0 0 IOMMU_MAP_ENTRY 120 0 0 0 0 126 0 0 mbuf_jumbo_16k 16384 0 0 0 0 254 0 0 mbuf_jumbo_9k 9216 0 0 0 0 254 0 0 audit_record 1280 0 0 0 0 8 0 0 MAC labels 40 0 0 0 0 254 0 0 vnpbuf 2624 0 0 0 0 64 0 0 mdpbuf 2624 0 0 0 0 3 0 0 nfspbuf 2624 0 0 0 0 16 0 0 swwbuf 2624 0 0 0 0 8 0 0 swrbuf 2624 0 0 0 0 16 0 0 umtx_shm 88 0 0 0 0 126 0 0 umtx pi 96 0 0 0 0 126 0 0 rangeset pctrie nodes 144 0 0 0 0 62 0 0 malloc-65536 65536 0 0 0 0 1 0 0 malloc-65536 65536 0 0 0 0 1 0 0 malloc-32768 32768 0 0 0 0 1 0 0 malloc-32768 32768 0 0 0 0 1 0 0 malloc-32768 32768 0 0 0 0 1 0 0 malloc-32768 32768 0 0 0 0 1 0 0 malloc-32768 32768 0 0 0 0 1 0 0 malloc-16384 16384 0 0 0 0 1 0 0 malloc-8192 8192 0 0 0 0 1 0 0 malloc-4096 4096 0 0 0 0 2 0 0 pcpu-32 32 0 0 0 0 254 0 0 fakepg 104 0 0 0 0 126 0 0 UMA Hash 256 0 0 0 0 62 0 0