syzbot


panic: Assertion size > NUM failed at /syzkaller/managers/i386/kernel/sys/kern/subr_vmem.c:LINE

Status: fixed on 2024/03/19 01:32
Reported-by: syzbot+8992893e13058ce0670a@syzkaller.appspotmail.com
Fix commit: b5a9299bb8b9 ktls: catch invalid parameters earlier
First crash: 250d, last: 250d

Sample crash report:
panic: Assertion size > 0 failed at /syzkaller/managers/i386/kernel/sys/kern/subr_vmem.c:1330
cpuid = 1
time = 1710751692
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe007182fd90
kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe007182fef0
vpanic() at vpanic+0x26a/frame 0xfffffe00718300b0
panic() at panic+0xb5/frame 0xfffffe0071830170
vmem_alloc() at vmem_alloc+0x1a4/frame 0xfffffe00718301b0
kmem_malloc_domainset() at kmem_malloc_domainset+0x189/frame 0xfffffe00718302f0
malloc_large() at malloc_large+0x3e/frame 0xfffffe0071830330
ktls_copyin_tls_enable() at ktls_copyin_tls_enable+0x29c/frame 0xfffffe0071830450
tcp_default_ctloutput() at tcp_default_ctloutput+0xf82/frame 0xfffffe00718307b0
tcp_ctloutput_set() at tcp_ctloutput_set+0x4f3/frame 0xfffffe0071830930
tcp_ctloutput() at tcp_ctloutput+0x137/frame 0xfffffe0071830a30
sosetopt() at sosetopt+0x227/frame 0xfffffe0071830b90
kern_setsockopt() at kern_setsockopt+0x257/frame 0xfffffe0071830cc0
sys_setsockopt() at sys_setsockopt+0x77/frame 0xfffffe0071830d10
ia32_syscall() at ia32_syscall+0x466/frame 0xfffffe0071830f30
int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0xdfffcf9c
KDB: enter: panic
[ thread pid 24670 tid 120758 ]
Stopped at      kdb_enter+0x6e: movq    $0,0x2191ce7(%rip)
db> 
db> set $lines = 0
db> set $maxwidth = 0
db> show registers
cs                        0x20
ds                        0x3b
es                        0x3b
fs                        0x13
gs                        0x1b
ss                           0
rax                       0x12
rcx         0xfffffe0072400000
rdx                    0x3ffff
rbx         0xffffffff82702500  .str.27
rsp         0xfffffe007182fed0
rbp         0xfffffe007182fef0
rsi                    0x40001
rdi         0xffffffff815e2839  printf+0x149
r8                           0
r9                  0xffffffff
r10               0x5610000180
r11         0xfffffe0058af2c60
r12         0xfffffe0058af2740
r13         0xfffffffffffffffd
r14         0xffffffff82702500  .str.27
r15                          0
rip         0xffffffff815cf32e  kdb_enter+0x6e
rflags                    0x46
kdb_enter+0x6e: movq    $0,0x2191ce7(%rip)
db> show proc
Process 24670 (syz-executor.0) at 0xfffffe006cdb0560:
 state: NORMAL
 uid: 0  gids: 0, 0, 5
 parent: pid 24077 at 0xfffffe006cd72580
 ABI: FreeBSD ELF32
 flag: 0x10000080  flag2: 0
 arguments: /root/syz-executor.0 exec
 reaper: 0xfffffe00541de040 reapsubtree: 1
 sigparent: 20
 vmspace: 0xfffffe00541f0000
   (map 0xfffffe00541f0000)
   (map.pmap 0xfffffe00541f00c0)
   (pmap 0xfffffe00541f0130)
 threads: 2
120755                   RunQ                                syz-executor.0
120758                   Run     CPU 1                       syz-executor.0
db> ps
  pid  ppid  pgrp   uid  state   wmesg   wchan               cmd
24671 24082 24082     0  R       CPU 0                       syz-executor.3
24670 24077 24077     0  R       (threaded)                  syz-executor.0
120755                   RunQ                                syz-executor.0
120758                   Run     CPU 1                       syz-executor.0
24658 24652 24658     0  Ss      select  0xfffffe0073b80640  dhclient
24655     1 24655     0  Ss      select  0xfffffe00740ca4c0  dhclient
24652 24645   424    65  S       select  0xfffffe0071a32340  dhclient
24645   424   424     0  S       wait    0xfffffe0073afe560  sh
24082   768 24082     0  Ss      nanslp  0xffffffff83742400  syz-executor.3
24077   768 24077     0  Rs                                  syz-executor.0
  820     0     0     0  DL      aiordy  0xfffffe0057be95c0  [aiod4]
  819     0     0     0  DL      aiordy  0xfffffe006cd73040  [aiod3]
  818     0     0     0  DL      aiordy  0xfffffe006cc43560  [aiod2]
  817     0     0     0  DL      aiordy  0xfffffe006cd735a0  [aiod1]
  768   766   766     0  S       (threaded)                  syz-fuzzer
100088                   S       uwait   0xfffffe0057677000  syz-fuzzer
100119                   S       uwait   0xfffffe0057674980  syz-fuzzer
100120                   S       wait    0xfffffe00571ba000  syz-fuzzer
100121                   S       uwait   0xfffffe0057674b80  syz-fuzzer
100122                   S       uwait   0xfffffe0057674c80  syz-fuzzer
100123                   S       uwait   0xfffffe0057674d80  syz-fuzzer
100124                   S       uwait   0xfffffe0057674e80  syz-fuzzer
100125                   S       wait    0xfffffe00571ba000  syz-fuzzer
100126                   S       uwait   0xfffffe0057674080  syz-fuzzer
100127                   S       uwait   0xfffffe0057aa5c80  syz-fuzzer
100131                   S       uwait   0xfffffe0057674180  syz-fuzzer
100142                   S       uwait   0xfffffe0057aa5300  syz-fuzzer
100823                   S       kqread  0xfffffe006cda8400  syz-fuzzer
  766   764   766     0  Ss      pause   0xfffffe006cc44630  csh
  764   682   764     0  Ss      select  0xfffffe0007984540  sshd
  748     1   748     0  Ss+     ttyin   0xfffffe00576934b0  getty
  747     1   747     0  Ss+     ttyin   0xfffffe0057bfe8b0  getty
  746     1   746     0  Ss+     ttyin   0xfffffe0057bfecb0  getty
  745     1   745     0  Ss+     ttyin   0xfffffe0057bff0b0  getty
  744     1   744     0  Ss+     ttyin   0xfffffe0057bff4b0  getty
  743     1   743     0  Ss+     ttyin   0xfffffe0057bff8b0  getty
  742     1   742     0  Ss+     ttyin   0xfffffe0057bffcb0  getty
  741     1   741     0  Ss+     ttyin   0xfffffe0007c000b0  getty
  740     1   740     0  Ss+     ttyin   0xfffffe0007c004b0  getty
  686     1   686     0  Ss      nanslp  0xffffffff83742401  cron
  682     1   682     0  Ss      select  0xfffffe005874f040  sshd
  495     1   495     0  Ss      select  0xfffffe005874f0c0  syslogd
  424     1   424     0  Ss      wait    0xfffffe0057be7580  devd
  423     1   423    65  Ss      select  0xfffffe00079845c0  dhclient
  338     1   338     0  Ss      select  0xfffffe0007984740  dhclient
  335     1   335     0  Ss      select  0xfffffe00079849c0  dhclient
   17     0     0     0  DL      syncer  0xffffffff8385fb20  [syncer]
   16     0     0     0  DL      vlruwt  0xfffffe00571bc040  [vnlru]
   15     0     0     0  DL      (threaded)                  [bufdaemon]
100079                   D       psleep  0xffffffff8385e100  [bufdaemon]
100082                   D       -       0xffffffff82c0a140  [bufspacedaemon-0]
100094                   D       sdflush 0xfffffe005406d8e8  [/ worker]
    9     0     0     0  DL      psleep  0xffffffff838a7600  [vmdaemon]
    8     0     0     0  DL      (threaded)                  [pagedaemon]
100077                   D       psleep  0xffffffff8388f478  [dom0]
100080                   D       launds  0xffffffff8388f484  [laundry: dom0]
100081                   D       umarcl  0xffffffff81d69380  [uma]
    7     0     0     0  DL      -       0xffffffff834bfc30  [rand_harvestq]
    6     0     0     0  DL      pftm    0xffffffff8412dea0  [pf purge]
    5     0     0     0  DL      waiting 0xffffffff844a15c0  [sctp_iterator]
    4     0     0     0  DL      (threaded)                  [cam]
100044                   D       -       0xffffffff8348a340  [doneq0]
100045                   D       -       0xffffffff8348a2c0  [async]
100076                   D       -       0xffffffff8348a140  [scanner]
    3     0     0     0  DL      (threaded)                  [crypto]
100041                   D       crypto_ 0xffffffff8388aca0  [crypto]
100042                   D       crypto_ 0xfffffe005710fe30  [crypto returns 0]
100043                   D       crypto_ 0xfffffe005710fe80  [crypto returns 1]
   14     0     0     0  DL      seqstat 0xfffffe00085fc488  [sequencer 00]
   13     0     0     0  DL      (threaded)                  [geom]
100035                   D       -       0xffffffff836ead80  [g_event]
100036                   D       -       0xffffffff836eada0  [g_up]
100037                   D       -       0xffffffff836eadc0  [g_down]
    2     0     0     0  WL      (threaded)                  [clock]
100029                   I                                   [clock (0)]
100030                   I                                   [clock (1)]
   12     0     0     0  WL      (threaded)                  [intr]
100012                   I                                   [swi6: task queue]
100013                   I                                   [swi6: Giant taskq]
100015                   I                                   [swi5: fast 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    0xfffffe00541de040  [init]
   10     0     0     0  DL      audit_w 0xffffffff8388b700  [audit]
    0     0     0     0  DLs     (threaded)                  [kernel]
100000                   D       swapin  0xffffffff836eb760  [swapper]
100005                   D       -       0xfffffe005420e000  [softirq_0]
100006                   D       -       0xfffffe005420de00  [softirq_1]
100007                   D       -       0xfffffe005420dd00  [if_io_tqg_0]
100008                   D       -       0xfffffe005420dc00  [if_io_tqg_1]
100009                   D       -       0xfffffe005420db00  [if_config_tqg_0]
100010                   D       -       0xfffffe000796d200  [pci_hp taskq]
100011                   D       -       0xfffffe000796d100  [kqueue_ctx taskq]
100014                   D       -       0xfffffe000796cd00  [thread taskq]
100016                   D       -       0xfffffe000796cb00  [aiod_kick taskq]
100017                   D       -       0xfffffe000796ca00  [deferred_unmount ta]
100018                   D       -       0xfffffe000796c900  [inm_free taskq]
100019                   D       -       0xfffffe000796c800  [in6m_free taskq]
100020                   D       -       0xfffffe000796c700  [linuxkpi_irq_wq]
100021                   D       -       0xfffffe000796c600  [linuxkpi_short_wq_0]
100022                   D       -       0xfffffe000796c600  [linuxkpi_short_wq_1]
100023                   D       -       0xfffffe000796c600  [linuxkpi_short_wq_2]
100024                   D       -       0xfffffe000796c600  [linuxkpi_short_wq_3]
100025                   D       -       0xfffffe000796c500  [linuxkpi_long_wq_0]
100026                   D       -       0xfffffe000796c500  [linuxkpi_long_wq_1]
100027                   D       -       0xfffffe000796c500  [linuxkpi_long_wq_2]
100028                   D       -       0xfffffe000796c500  [linuxkpi_long_wq_3]
100034                   D       -       0xfffffe000796c200  [firmware taskq]
100039                   D       -       0xfffffe000796c000  [crypto_0]
100040                   D       -       0xfffffe000796c000  [crypto_1]
100055                   D       -       0xfffffe000796bd00  [vtnet0 rxq 0]
100056                   D       -       0xfffffe000796bc00  [vtnet0 txq 0]
100057                   D       -       0xfffffe000796bb00  [vtnet0 rxq 1]
100058                   D       -       0xfffffe000796ba00  [vtnet0 txq 1]
100062                   D       vtbslp  0xfffffe0007985b00  [virtio_balloon]
100066                   D       -       0xffffffff82707740  [deadlkres]
100070                   D       -       0xfffffe0057b2aa00  [acpi_task_0]
100071                   D       -       0xfffffe0057b2aa00  [acpi_task_1]
100072                   D       -       0xfffffe0057b2aa00  [acpi_task_2]
100074                   D       -       0xfffffe000796d500  [mca taskq]
100075                   D       -       0xfffffe000796be00  [CAM taskq]
db> show all locks
Process 24671 (syz-executor.3) thread 0xfffffe006d1b7000 (108816)
exclusive sx vm map (user) (vm map (user)) r = 0 (0xfffffe0073b82530) locked @ /syzkaller/managers/i386/kernel/sys/vm/vm_map.c:2146
db> show malloc
              Type        InUse        MemUse     Requests
           pf_hash            5        11524K            5
          tcp_hpts            7         4801K            7
            devbuf         4192         4324K         4220
         sysctloid        34865         2055K        34936
             vtbuf           24         1968K           46
              kobj          326         1304K          488
          inodedep         1557         1096K        20224
            newblk           20         1029K        20773
          vfscache            3         1025K            3
               pcb           24          669K        30949
               LRO          562          567K         1006
         ufs_quota            1          512K            1
          vfs_hash            1          512K            1
           callout            2          512K            2
              intr            4          472K            4
            dirrem         1649          413K        20088
            DEVFS1          329          329K          786
          routetbl         8234          268K        29198
              vmem            3          266K            6
           subproc          127          226K        24839
         vnet_data            2          224K            2
          acpitask            1          224K            1
          freefile         1631          204K        20044
            acpica         1674          184K        60830
           tidhash            3          141K            3
           pagedep            9          130K        19987
            linker          352          130K          386
        tfo_ccache            1          128K            1
          IP reass            1          128K            1
               sem            4          106K            4
        gtaskqueue           18           98K           18
               bus          985           81K         5155
          filedesc           10           73K        42381
          mtx_pool            2           72K            2
          syncache            1           68K            1
     NFSD srvcache            3           68K            3
            module          513           65K          513
       ddb_capture            1           64K            1
              umtx          352           44K          352
           kdtrace          203           42K        45431
              temp           35           37K        19277
               BPF           22           36K          514
         hostcache            1           32K            1
               shm            1           32K            1
            DEVFS3          128           32K          358
               msg            4           30K            4
            kbdmux            6           28K            6
        DEVFS_RULE           56           20K           56
            ifaddr           63           18K         2104
         ufs_mount            4           17K            5
              proc            3           17K            3
               tty           16           16K           16
           ithread           97           16K           97
            bus-sc           34           15K         1687
      eventhandler          161           14K          161
            KTRACE          100           13K          100
             ifnet            7           13K          227
              kenv           95           12K           95
           lltable           37           11K         1824
              GEOM           61           11K          481
              rman           86           11K          451
       ether_multi          126           11K         6627
         CAM queue            5           11K         1528
         bmsafemap            2            9K        20179
               rpc            4            9K            4
           devstat            4            9K            4
              UART           12            9K           12
              ksem            1            8K            1
             shmfd            1            8K           26
             sigio          128            8K          610
       pfs_vncache            1            8K            1
     audit_evclass          238            8K          300
         in6_multi           51            8K         2435
            ip6ndp           31            7K          496
         taskqueue           63            7K           63
            sglist            6            7K            6
              cred           24            6K         1066
           CAM DEV            3            6K          510
         pfs_nodes           22            6K           22
            kqueue           51            6K        31076
          pf_ifnet           14            6K         1119
             hhook           15            5K           17
            plimit           19            5K         2444
       ufs_dirhash           24            5K           24
               UMA          267            5K          267
                vt           11            5K           11
           memdesc            1            4K            1
               MCA           32            4K           32
             evdev            4            4K            4
           acpisem           28            4K           28
           pwddesc           49            4K        24672
          freework           13            4K        20016
          freeblks           12            3K        20015
           session           23            3K         1517
          terminal           11            3K           11
         proc-args           70            3K        34911
             lockf           23            3K          277
             clone            9            3K            9
           uidinfo            3            3K           10
            DEVFSP           34            3K         3214
        local_apic            1            2K            1
           io_apic            1            2K            1
         ipsec-saq            2            2K            2
             selfd           31            2K       308249
          kcovinfo           26            2K         2912
               tun            7            2K          227
           CAM XPT           22            2K          543
            Unitno           25            2K         1137
               msi           12            2K           12
             mkdir           12            2K        39932
            CC Mem            6            2K         6155
         toponodes            6            2K            6
       ipsecpolicy            2            2K            2
            select           10            2K          337
           acpidev           20            2K           20
          sctp_ifa            9            2K          475
           softdep            1            1K            1
            sahead            1            1K            1
          secasvar            1            1K            1
          in_multi            4            1K          232
             nhops            6            1K          158
       vnodemarker            2            1K           46
      NFSD session            1            1K            1
            diradd            7            1K        20119
        CAM periph            4            1K          271
             ipsec            3            1K            3
         newdirblk            6            1K        19966
               mld            6            1K          226
              igmp            6            1K          226
              pfil            6            1K            6
            isadev            6            1K            6
             mount           16            1K           89
          pci_link           10            1K           10
            crypto            4            1K            4
 encap_export_host           12            1K           12
          sctp_ifn            4            1K          475
           netlink            2            1K         1156
              cdev            2            1K            2
               osd           11            1K         6060
       lkpikmalloc            8            1K            9
       inpcbpolicy           14            1K        16972
    chacha20random            1            1K            1
            biobuf            1            1K            1
            vnodes            1            1K            1
          procdesc            2            1K          164
      NFSD lckfile            1            1K            1
     NFSD V4client            1            1K            1
             DEVFS            9            1K           10
           CAM SIM            2            1K            2
            feeder            7            1K            7
           tcpfunc            3            1K            3
        loginclass            3            1K            6
            prison            6            1K            6
         cryptodev            2            1K           42
          nexusdev            8            1K            8
            apmdev            1            1K            1
          atkbddev            2            1K            2
               aio            4            1K          743
          pmchooks            1            1K            1
          CAM path            4            1K         1034
     CAM dev queue            2            1K            2
 CAM I/O Scheduler            1            1K            1
            soname            4            1K         6157
          sctp_vrf            1            1K            1
              vnet            1            1K            1
               pmc            1            1K            1
           entropy            2            1K          296
          acpiintr            1            1K            1
              cpus            2            1K            2
    vnet_data_free            1            1K            1
           Per-cpu            1            1K            1
          filecaps            2            1K          680
          p1003.1b            1            1K            1
            ipcomp            0            0K            0
               esp            0            0K            0
                ah            0            0K            0
        sctp_mcore            0            0K            0
        sctp_socko            0            0K        18822
         sctp_iter            0            0K          831
         sctp_mvrf            0            0K            0
         sctp_timw            0            0K            0
         sctp_cpal            0            0K            0
         sctp_cmsg            0            0K            0
         sctp_stre            0            0K            0
         sctp_athi            0            0K            0
         sctp_athm            0            0K        15143
         sctp_atky            0            0K        15222
         sctp_atcl            0            0K        15143
         sctp_a_it            0            0K          831
         sctp_aadr            0            0K            0
         sctp_stro            0            0K            0
         sctp_stri            0            0K            0
          sctp_map            0            0K            0
            mqdata            0            0K            0
          pf_table            0            0K            0
           pf_rule            0            0K            0
           pf_altq            0            0K            0
           pf_osfp            0            0K            0
     pf_krule_item            0            0K            0
           pf_temp            0            0K            0
      tcp_pcm_rack            0            0K           30
       tcp_do_rack            0            0K            0
      tcp_fsb_rack            0            0K           60
           filemon            0            0K            0
        madt_table            0            0K            2
          smartpqi            0            0K            0
               ixl            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
       fpukern_ctx            0            0K            0
          xen_intr            0            0K            0
           xen_hvm            0            0K            0
         legacydrv            0            0K            0
            bounce            0            0K            0
            busdma            0            0K            0
            qpidrv            0            0K            0
      dmar_idpgtbl            0            0K            0
          dmar_dom            0            0K            0
          dmar_ctx            0            0K            0
              isci            0            0K            0
      iommu_dmamap            0            0K            0
     hyperv_socket            0            0K            0
           bxe_ilt            0            0K            0
        aesni_data            0            0K            0
            xenbus            0            0K            0
     vm_fictitious            0            0K            0
           UMAHash            0            0K            0
         vm_pgdata            0            0K            0
           jblocks            0            0K            0
          savedino            0            0K        18725
          sentinel            0            0K            0
            jfsync            0            0K            0
            jtrunc            0            0K            0
             sbdep            0            0K           21
           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           10
        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
          ktls_ocf            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
       simple_attr            0            0K            0
          seq_file            0            0K            0
           lkpiskb            0            0K            0
             radix            0            0K            0
               idr            0            0K            0
          lkpindev            0            0K            0
           lkpimhi            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            5
       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
        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            0
           VN POLL            0            0K            0
            statfs            0            0K          789
     namei_tracker            0            0K           70
       export_host            0            0K            0
        cl_savebuf            0            0K            4
               lio            0            0K            0
               acl            0            0K            0
          mbuf_tag            0            0K            0
              ktls            0            0K            0
              accf            0            0K            0
               pts            0            0K            0
           timerfd            0            0K            0
               iov            0            0K        63493
          ioctlops            0            0K         1360
           eventfd            0            0K            0
           Witness            0            0K            0
             stack            0            0K            0
              sbuf            0            0K          288
          firmware            0            0K            0
        compressor            0            0K            0
              SWAP            0            0K            0
         sysctltmp            0            0K         3178
            sysctl            0            0K            3
              ekcd            0            0K            0
            dumper            0            0K            0
          sendfile            0            0K            0
              rctl            0            0K            0
             cache            0            0K            0
      prison_racct            0            0K            0
       Fail Points            0            0K            0
filedesc_to_leader            0            0K            0
               pwd            0            0K            0
       tty console            0            0K            0
         boottrace            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
     tmpfs extattr            0            0K            0
           NFS FHA            0            0K            0
         newnfsmnt            0            0K            0
  newnfsclient_req            0            0K            0
   NFSCL layrecall            0            0K            0
     NFSCL session            0            0K            0
     NFSCL sockreq            0            0K            0
     NFSCL devinfo            0            0K            0
     NFSCL flayout            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
      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
      NFSD V4state            0            0K            0
       msdosfs_fat            0            0K            0
     msdosfs_mount            0            0K            0
      msdosfs_node            0            0K            0
            DEVFS4            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
               xnb            0            0K            0
          xen_acpi            0            0K            0
              xbbd            0            0K            0
               xbd            0            0K            0
           Balloon            0            0K            0
          sysmouse            0            0K            0
            vtfont            0            0K            0
            pvscsi            0            0K            0
            USBdev            0            0K            0
               USB            0            0K            0
            twsbuf            0            0K            0
       tcp_log_dev            0            0K            0
      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
       SIIS driver            0            0K            0
               PUC            0            0K            0
          ppbusdev            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
          mrsasbuf            0            0K            0
          mpt_user            0            0K            0
          mps_user            0            0K            0
            MPSSAS            0            0K            0
               mps            0            0K            0
          mpr_user            0            0K            0
            MPRSAS            0            0K            0
               mpr            0            0K            0
            mfibuf            0            0K            0
        md_sectors            0            0K            0
           md_disk            0            0K            0
           malodev            0            0K            0
               LED            0            0K            0
          ix_sriov            0            0K            0
                ix            0            0K            0
            ipsbuf            0            0K            0
         ciss_data            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
       AHCI driver            0            0K            0
               agp            0            0K            0
           acpipwr            0            0K            0
         acpi_perf            0            0K            0
         acpicmbat            0            0K            0
        aacraidcam            0            0K            0
       aacraid_buf            0            0K            0
            aaccam            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
         scsi_pass            0            0K            0
           scsi_da            0            0K           69
            ata_da            0            0K            0
           scsi_ch            0            0K            0
           scsi_cd            0            0K            0
           nvme_da            0            0K            0
           CAM CCB            0            0K          523
     CAM ccb queue            0            0K            0
db> show uma
              Zone   Size    Used    Free    Requests  Sleeps  Bucket  Total Mem    XFree
   mbuf_jumbo_page   4096    8320    1078      102907       0     254   38494208        0
              mbuf    256    8609    1054      313229       0     254    2473728        0
          BUF TRIE    144     202   11614        1592       0      62    1701504        0
        malloc-384    384    4118      52        4118       0      30    1601280        0
      mbuf_cluster   2048     762       0         762       0     254    1560576        0
        malloc-128    128   11448     146       13209       0     126    1484032        0
       malloc-4096   4096     337       9        1112       0       2    1417216        0
       UMA Slabs 0    112   11372      34       11372       0     126    1277472        0
            DEVCTL   1024     989     111        1614       0       0    1126400        0
        RADIX NODE    144    5437    1698      890456       0      65    1027440        0
         vmem btag     56   17270     121       17834       0     254     973896        0
           sctp_ep   1176       0     770       15143       0     254     905520        0
         FFS inode   1168     549     109       20593       0       8     768544        0
            socket    960      27     737       35778       0     254     733440        0
        malloc-384    384    1569     141       35605       0      30     656640        0
       malloc-2048   2048     285      11        1792       0       8     606208        0
        malloc-256    256    1725     570       40956       0      62     587520        0
          lkpicurr    168       2    3094           2       0      62     520128        0
              pbuf   2624       0     198           0       0       2     519552        0
        malloc-256    256      55    1685       19979       0      62     445440        0
         VM OBJECT    264    1293     267      321118       0      30     411840        0
      malloc-65536  65536       6       0           6       0       1     393216        0
        256 Bucket   2048     157      21        1448       0       8     364544        0
       malloc-1024   1024     329      23         786       0      16     360448        0
             VNODE    448     588     168       20854       0      30     338688        0
        malloc-128    128    2322     220       65307       0     126     325376        0
            THREAD   1824     153      23       20758       0       8     321024        0
       malloc-4096   4096      61      15       24907       0       2     311296        0
         malloc-64     64    4237     614      340729       0     254     310464        0
         malloc-32     32    8255     439       10064       0     254     278208        0
      malloc-65536  65536       2       2          10       0       1     262144        0
         malloc-16     16   14463     537       58084       0     254     240000        0
      malloc-16384  16384       4       9       21078       0       1     212992        0
       mbuf_packet    256       2     760       19926       0     254     195072        0
        malloc-128    128    1241     278       52629       0     126     194432        0
       FFS2 dinode    256     549     201       20593       0      62     192000        0
         UMA Zones    768     239       0         239       0      16     183552        0
         malloc-32     32    5361     309       27528       0     254     181440        0
       malloc-2048   2048       4      84       16204       0       8     180224        0
            lkpimm     56       1    3095           1       0     254     173376        0
         MAP ENTRY     96    1102     662      971172       0     126     169344        0
     FPU_save_area    832     155      43       25617       0      16     164736        0
      malloc-32768  32768       3       2          50       0       1     163840        0
         tcp_inpcb   1312       6     108        6047       0       8     149568        0
       S VFS Cache    104    1019     385       22391       0     126     146016        0
        128 Bucket   1024      74      57        3922       0      16     134144        0
      malloc-65536  65536       0       2         110       0       1     131072        0
      malloc-65536  65536       0       2        1162       0       1     131072        0
      malloc-32768  32768       4       0           4       0       1     131072        0
             unpcb    256      11     499        3071       0     254     130560        0
          ksiginfo    112      63     981        5375       0     126     116928        0
        malloc-256    256     241     194       34166       0      62     111360        0
              PROC   1376      48      29       24671       0       8     105952        0
         64 Bucket    512     123      77       64308       0      30     102400        0
         udp_inpcb    424       6     210        9473       0      30      91584        0
         filedesc0   1072      49      35       24672       0       8      90048        0
          UMA Kegs    384     226       7         226       0      30      89472        0
              pipe    728      14     107        7038       0      16      88088        0
             g_bio    408       0     210       11666       0      30      85680        0
        malloc-256    256     113     202        6890       0      62      80640        0
         32 Bucket    256      99     216       69935       0      62      80640        0
         malloc-64     64     520     551       56132       0     254      68544        0
        malloc-128    128     296     231         550       0     126      67456        0
        malloc-128    128     361     166        5358       0     126      67456        0
      malloc-32768  32768       0       2         120       0       1      65536        0
      malloc-16384  16384       2       2         162       0       1      65536        0
       malloc-4096   4096      12       4          25       0       2      65536        0
       malloc-2048   2048       3      29         510       0       8      65536        0
       malloc-2048   2048      10      22         443       0       8      65536        0
       malloc-1024   1024      27      37         417       0      16      65536        0
        malloc-384    384     106      44         512       0      30      57600        0
       malloc-8192   8192       5       2         132       0       1      57344        0
       malloc-8192   8192       7       0           7       0       1      57344        0
         malloc-64     64     180     639        3598       0     254      52416        0
         malloc-64     64     158     661       51994       0     254      52416        0
           VMSPACE    616      28      56       24877       0      16      51744        0
        malloc-128    128     165     238        2711       0     126      51584        0
        malloc-256    256     157      38         712       0      62      49920        0
        malloc-256    256      77     118       49814       0      62      49920        0
        malloc-256    256      11     184       36373       0      62      49920        0
             ripcb    392       2     124        1372       0      30      49392        0
           DIRHASH   1024      35      13          35       0      16      49152        0
             NAMEI   1024       0      48      164736       0      16      49152        0
      malloc-16384  16384       3       0           3       0       1      49152        0
       malloc-8192   8192       6       0           6       0       1      49152        0
       malloc-2048   2048       2      22         525       0       8      49152        0
       malloc-1024   1024      12      36        9709       0      16      49152        0
            pcpu-8      8    4773    1371       41298       0     254      49152        0
          syncache    168       0     264           4       0     254      44352        0
             Files     80     138     412      120448       0     126      44000        0
       malloc-4096   4096       3       7        1066       0       2      40960        0
     udplite_inpcb    424       0      90          80       0      30      38160        0
            da_ccb    544       0      70        3041       0      16      38080        0
         malloc-64     64      31     536        2918       0     254      36288        0
         malloc-64     64      53     514        4455       0     254      36288        0
         malloc-64     64     458     109         663       0     254      36288        0
         malloc-64     64       8     559         994       0     254      36288        0
         malloc-32     32     294     840       20510       0     254      36288        0
        malloc-128    128       2     277          50       0     126      35712        0
        malloc-128    128      98     181       29345       0     126      35712        0
     routing nhops    256      19     116         988       0      62      34560        0
           ttyoutq    256      72      63         160       0      62      34560        0
        malloc-384    384      15      75        1265       0      30      34560        0
        malloc-384    384      32      58         974       0      30      34560        0
        malloc-256    256      15     120       25239       0      62      34560        0
         TURNSTILE    136     177      75         177       0      62      34272        0
        SLEEPQUEUE     88     177     207         177       0     126      33792        0
      malloc-32768  32768       1       0           1       0       1      32768        0
      malloc-16384  16384       0       2         121       0       1      32768        0
      malloc-16384  16384       2       0           2       0       1      32768        0
       malloc-8192   8192       2       2           7       0       1      32768        0
       malloc-2048   2048       4      12         223       0       8      32768        0
       malloc-2048   2048       6      10           6       0       8      32768        0
       malloc-1024   1024      12      20         221       0      16      32768        0
       malloc-1024   1024       2      30         139       0      16      32768        0
       malloc-1024   1024      10      22          11       0      16      32768        0
       malloc-1024   1024       1      31         175       0      16      32768        0
        malloc-512    512       2      62          46       0      30      32768        0
        malloc-512    512      11      53        1571       0      30      32768        0
        malloc-512    512       2      62        1940       0      30      32768        0
        malloc-512    512       2      62         595       0      30      32768        0
        malloc-512    512       5      59          73       0      30      32768        0
        malloc-512    512       0      64          24       0      30      32768        0
        malloc-512    512       0      64          14       0      30      32768        0
           pcpu-64     64     488      24         488       0     254      32768        0
    ertt_txseginfo     40       1     807       67696       0     254      32320        0
               PWD     40      15     793       20093       0     254      32320        0
             KNOTE    160      18     182      307162       0      62      32000        0
            ttyinq    160     135      65         300       0      62      32000        0
   tcp_log_id_node    120       0     264          20       0     126      31680        0
              PGRP    120      23     241        1559       0     126      31680        0
            clpbuf   2624       0      12          27       0       4      31488        0
       tcp_bbr_pcb    832       0      36          12       0      16      29952        0
        sctp_laddr     48       0     588         938       0     254      28224        0
              ertt     72       6     386        6047       0     126      28224        0
         malloc-32     32      10     872       17397       0     254      28224        0
         16 Bucket    144      67     129         481       0      62      28224        0
          4 Bucket     48       6     582           8       0     254      28224        0
               AIO    208       0     133        5153       0      62      27664        0
            cpuset    200       7     121        1122       0      62      25600        0
       malloc-8192   8192       1       2           3       0       1      24576        0
       malloc-4096   4096       0       6          31       0       2      24576        0
      tcp_rack_pcb   1216       0      20          30       0       8      24320        0
 tcp_log_id_bucket    176       0     138           3       0      62      24288        0
          rl_entry     40      70     536          70       0     254      24240        0
           rtentry    168      22     122         988       0      62      24192        0
          8 Bucket     80      89     211        4130       0     126      24000        0
            itimer    352       0      66          90       0      30      23232        0
        malloc-384    384      52       8          52       0      30      23040        0
        malloc-384    384       1      59        3503       0      30      23040        0
         domainset     40       0     567        1011       0     254      22680        0
       Mountpoints   2816       2       6           2       0       4      22528        0
         hostcache     64       1     314           1       0     254      20160        0
   udp_inpcb ports     32       3     627          33       0     254      20160        0
   tcp_inpcb ports     32       3     627           5       0     254      20160        0
         malloc-32     32      27     603        1250       0     254      20160        0
         malloc-32     32      55     575        1329       0     254      20160        0
         malloc-32     32      40     590         738       0     254      20160        0
          2 Bucket     32      76     554        2405       0     254      20160        0
             AIOCB    552       0      35        5241       0      16      19320        0
 epoch_record pcpu    256       4      60           4       0      62      16384        0
       malloc-8192   8192       2       0           2       0       1      16384        0
       malloc-4096   4096       1       3          79       0       2      16384        0
       malloc-4096   4096       0       4         131       0       2      16384        0
       malloc-2048   2048       2       6           2       0       8      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       89916       0     254      16032        0
              kenv    258      17      43        1276       0      30      15480        0
            mqnode    416       3      33           3       0      30      14976        0
              vmem   1856       1       7           1       0       8      14848        0
        SMR SHARED     24       7     504           7       0     254      12264        0
          sackhole     32       0     378           1       0     254      12096        0
         malloc-32     32      80     298          93       0     254      12096        0
         malloc-16     16       8     742        6052       0     254      12000        0
         malloc-16     16      18     732         131       0     254      12000        0
         malloc-16     16     296     454         747       0     254      12000        0
         malloc-16     16     304     446         749       0     254      12000        0
         malloc-16     16     183     567        2995       0     254      12000        0
         malloc-16     16      19     731       31269       0     254      12000        0
         malloc-16     16      30     720       17995       0     254      12000        0
       malloc-8192   8192       1       0           1       0       1       8192        0
       malloc-4096   4096       1       1           1       0       2       8192        0
           pcpu-16     16       8     504           8       0     254       8192        0
       UMA Slabs 1    176      11      11          11       0      62       3872        0
        KMAP ENTRY     96      12      27          14       0       0       3744        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    152       0       0           0       0     254          0        0
     pf state keys     88       0       0           0       0     126          0        0
         pf states    360       0       0           0       0     254          0        0
           pf tags    104       0       0           0       0     126          0        0
          pf mtags    184       0       0           0       0      62          0        0
       tcp_bbr_map    128       0       0           0       0     126          0        0
      tcp_rack_map    128       0       0           0       0     126          0        0
tfo_ccache_entries     80       0       0           0       0     126          0        0
               tfo      4       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
sctp_stream_msg_out    112       0       0           0       0     254          0        0
        sctp_readq    152       0       0           0       0     254          0        0
        sctp_chunk    152       0       0           0       0     254          0        0
        sctp_raddr    736       0       0           0       0     254          0        0
         sctp_asoc   2256       0       0           0       0     254          0        0
           tcp_log    416       0       0           0       0     254          0        0
          tcpreass     48       0       0           0       0     254          0        0
udplite_inpcb ports     32       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
            AIOLIO    272       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    232       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    104       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      16          0        0
           nfspbuf   2624       0       0           0       0       4          0        0
            swwbuf   2624       0       0           0       0       2          0        0
            swrbuf   2624       0       0           0       0       4          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-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-16384  16384       0       0           0       0       1          0        0
      malloc-16384  16384       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-1024   1024       0       0           0       0      16          0        0
        malloc-384    384       0       0           0       0      30          0        0
           pcpu-32     32       0       0           0       0     254          0        0
            pcpu-4      4       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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/18 08:48 freebsd-src 228fc43bcf4f d615901c console log report ci-freebsd-i386 panic: Assertion size > NUM failed at /syzkaller/managers/i386/kernel/sys/kern/subr_vmem.c:LINE
* Struck through repros no longer work on HEAD.