syzbot


panic: lock (sleep mutex) sctp-tcb not locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctputil.c:LINE

Status: auto-closed as invalid on 2021/04/30 19:43
Reported-by: syzbot+2f8a24be20651a48b64f@syzkaller.appspotmail.com
First crash: 1393d, last: 1393d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
freebsd panic: lock (sleep mutex) sctp-tcb not locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctputil.c:LINE (2) 2 1244d 1245d 0/2 auto-closed as invalid on 2021/09/27 05:56
freebsd panic: lock (sleep mutex) sctp-tcb not locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctputil.c:LINE (3) 1 1095d 1095d 0/2 auto-closed as invalid on 2022/02/22 23:07

Sample crash report:
panic: lock (sleep mutex) sctp-tcb not locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctputil.c:1572
cpuid = 1
time = 1612035764
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe00517239a0
vpanic() at vpanic+0x1c7/frame 0xfffffe0051723a00
panic() at panic+0x43/frame 0xfffffe0051723a60
witness_unlock() at witness_unlock+0x4b0/frame 0xfffffe0051723ae0
__mtx_unlock_flags() at __mtx_unlock_flags+0x70/frame 0xfffffe0051723b20
sctp_iterator_worker() at sctp_iterator_worker+0x713/frame 0xfffffe0051723b90
sctp_iterator_thread() at sctp_iterator_thread+0x5e/frame 0xfffffe0051723bb0
fork_exit() at fork_exit+0xb3/frame 0xfffffe0051723bf0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0051723bf0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic
[ thread pid 17 tid 100061 ]
Stopped at      kdb_enter+0x67: movq    $0,0x145224e(%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         0xffffffff81116840  vprintf+0x140
rdx                        0x1
rbx                          0
rsp         0xfffffe0051723980
rbp         0xfffffe00517239a0
rsi                          0
rdi         0xffffffff81116876  vprintf+0x176
r8                           0
r9                  0xffffffff
r10                          0
r11                       0xbf
r12         0xffffffff82067650  ddb_dbbe
r13                          0
r14         0xffffffff819bd32f
r15         0xffffffff819bd32f
rip         0xffffffff8110d837  kdb_enter+0x67
rflags                    0x82
kdb_enter+0x67: movq    $0,0x145224e(%rip)
db> show proc
Process 17 (sctp_iterator) at 0xfffff80004b8c528:
 state: NORMAL
 uid: 0  gids: 0
 parent: pid 0 at 0xffffffff82512fb0
 ABI: null
 flag: 0x10000204  flag2: 0
 reaper: 0xffffffff82512fb0 reapsubtree: 17
 sigparent: 20
 vmspace: 0xffffffff82513c00
   (map 0xffffffff82513c00)
   (map.pmap 0xffffffff82513cc0)
   (pmap 0xffffffff82513d20)
 threads: 1
100061                   Run     CPU 1                       [sctp_iterator]
db> ps
  pid  ppid  pgrp   uid  state   wmesg   wchan               cmd
 3105   785   785     0  R       (threaded)                  syz-executor.0
100117                   Run     CPU 0                       syz-executor.0
102667                   RunQ                                syz-executor.0
 3104   869   869     0  R       (threaded)                  syz-executor.3
101562                   RunQ                                syz-executor.3
102666                   RunQ                                syz-executor.3
 1053  1047  1053     0  Ss      select  0xfffff800751b02c0  dhclient
 1050     1  1050     0  Ss      select  0xfffff800751b08c0  dhclient
 1047  1040   436    65  S       select  0xfffff800751b03c0  dhclient
 1040   436   436     0  S       wait    0xfffff80018456a50  sh
  869   782   869     0  Ss      nanslp  0xffffffff825331e1  syz-executor.3
  855   782   855     0  Rs                                  syz-executor.2
  786   782   786     0  Rs                                  syz-executor.1
  785   782   785     0  Ss      nanslp  0xffffffff825331e1  syz-executor.0
  782   780   780     0  S       (threaded)                  syz-fuzzer
100102                   S       uwait   0xfffff80018348f00  syz-fuzzer
100107                   S       uwait   0xfffff80004f40480  syz-fuzzer
100108                   S       uwait   0xfffff80004f40580  syz-fuzzer
100109                   S       uwait   0xfffff80004f40700  syz-fuzzer
100110                   S       uwait   0xfffff80018348e00  syz-fuzzer
100111                   S       uwait   0xfffff80018348600  syz-fuzzer
100112                   S       kqread  0xfffff80004e5b500  syz-fuzzer
100113                   S       uwait   0xfffff80018348800  syz-fuzzer
100119                   S       uwait   0xfffff80018348d00  syz-fuzzer
  780   778   780     0  Ss      pause   0xfffff80004d5d0b0  csh
  778   694   778     0  Ss      select  0xfffff800185b3c40  sshd
  760     1   760     0  Ss+     ttyin   0xfffff800048e48b0  getty
  759     1   759     0  Ss+     ttyin   0xfffff80004bb68b0  getty
  758     1   758     0  Ss+     ttyin   0xfffff80004bb90b0  getty
  757     1   757     0  Ss+     ttyin   0xfffff80004bb98b0  getty
  756     1   756     0  Ss+     ttyin   0xfffff80004bbd0b0  getty
  755     1   755     0  Ss+     ttyin   0xfffff80004bbd8b0  getty
  754     1   754     0  Ss+     ttyin   0xfffff80004bc10b0  getty
  753     1   753     0  Ss+     ttyin   0xfffff80004bc18b0  getty
  752     1   752     0  Ss+     ttyin   0xfffff80004b8d0b0  getty
  698     1   698     0  Ss      nanslp  0xffffffff825331e0  cron
  694     1   694     0  Ss      select  0xfffff80004f470c0  sshd
  507     1   507     0  Ss      select  0xfffff80004f47540  syslogd
  436     1   436     0  Ss      wait    0xfffff80004f21000  devd
  435     1   435    65  Ss      select  0xfffff80004e2e8c0  dhclient
  350     1   350     0  Ss      select  0xfffff80004f47bc0  dhclient
  347     1   347     0  Ss      select  0xfffff80004e4c3c0  dhclient
   23     0     0     0  DL      vlruwt  0xfffff80004d5d528  [vnlru]
   22     0     0     0  DL      syncer  0xffffffff826226b8  [syncer]
   21     0     0     0  DL      (threaded)                  [bufdaemon]
100070                   D       qsleep  0xffffffff826217a0  [bufdaemon]
100077                   D       -       0xffffffff8200ac80  [bufspacedaemon-0]
100086                   D       sdflush 0xfffff80004f39ce8  [/ worker]
   20     0     0     0  DL      psleep  0xffffffff82648cc8  [vmdaemon]
   19     0     0     0  DL      (threaded)                  [pagedaemon]
100068                   D       psleep  0xffffffff8263d138  [dom0]
100075                   D       launds  0xffffffff8263d144  [laundry: dom0]
100076                   D       umarcl  0xffffffff81528700  [uma]
   18     0     0     0  DL      -       0xffffffff82367578  [rand_harvestq]
   17     0     0     0  RL      CPU 1                       [sctp_iterator]
   16     0     0     0  DL      pftm    0xffffffff82da3430  [pf purge]
   15     0     0     0  DL      -       0xffffffff8261ed5c  [soaiod4]
    9     0     0     0  DL      -       0xffffffff8261ed5c  [soaiod3]
    8     0     0     0  DL      -       0xffffffff8261ed5c  [soaiod2]
    7     0     0     0  DL      -       0xffffffff8261ed5c  [soaiod1]
    6     0     0     0  DL      (threaded)                  [cam]
100034                   D       -       0xffffffff8223f2c0  [doneq0]
100067                   D       -       0xffffffff8223f190  [scanner]
   14     0     0     0  DL      seqstat 0xfffff80004589888  [sequencer 00]
    5     0     0     0  DL      crypto_ 0xfffff80004538d90  [crypto returns 1]
    4     0     0     0  DL      crypto_ 0xfffff80004538d30  [crypto returns 0]
    3     0     0     0  DL      crypto_ 0xffffffff8263a630  [crypto]
   13     0     0     0  DL      (threaded)                  [geom]
100025                   D       -       0xffffffff82512a20  [g_event]
100026                   D       -       0xffffffff82512a28  [g_up]
100027                   D       -       0xffffffff82512a30  [g_down]
    2     0     0     0  DL      (threaded)                  [KTLS]
100018                   D       -       0xfffff8000446e900  [thr_0]
100019                   D       -       0xfffff8000446e980  [thr_1]
   12     0     0     0  WL      (threaded)                  [intr]
100012                   I                                   [swi5: fast taskq]
100014                   I                                   [swi6: task queue]
100016                   I                                   [swi6: Giant taskq]
100020                   I                                   [swi3: vm]
100021                   I                                   [swi1: netisr 0]
100022                   I                                   [swi4: clock (0)]
100023                   I                                   [swi4: clock (1)]
100035                   I                                   [irq24: virtio_pci0]
100036                   I                                   [irq25: virtio_pci0]
100037                   I                                   [irq26: virtio_pci0]
100038                   I                                   [irq27: virtio_pci0]
100039                   I                                   [irq28: virtio_pci1]
100040                   I                                   [irq29: virtio_pci1]
100041                   I                                   [irq30: virtio_pci1]
100042                   I                                   [irq31: virtio_pci1]
100043                   I                                   [irq32: virtio_pci1]
100048                   I                                   [irq10: virtio_pci2]
100050                   I                                   [irq1: atkbd0]
100051                   I                                   [irq12: psm0]
100052                   I                                   [swi0: uart uart++]
100060                   I                                   [swi1: pf send]
100073                   I                                   [swi1: hpts]
100074                   I                                   [swi1: hpts]
   11     0     0     0  RL      (threaded)                  [idle]
100003                   CanRun                              [idle: cpu0]
100004                   CanRun                              [idle: cpu1]
    1     0     1     0  SLs     wait    0xfffff8000448b528  [init]
   10     0     0     0  DL      audit_w 0xffffffff8263ab50  [audit]
    0     0     0     0  DLs     (threaded)                  [kernel]
100000                   D       swapin  0xffffffff82512fb0  [swapper]
100005                   D       -       0xfffff8000446ee00  [if_config_tqg_0]
100006                   D       -       0xfffff8000446ed00  [softirq_0]
100007                   D       -       0xfffff8000446ec00  [softirq_1]
100008                   D       -       0xfffff8000446eb00  [if_io_tqg_0]
100009                   D       -       0xfffff8000446ea00  [if_io_tqg_1]
100010                   D       -       0xfffff8000446de00  [thread taskq]
100011                   D       -       0xfffff8000446dd00  [aiod_kick taskq]
100013                   D       -       0xfffff8000446db00  [kqueue_ctx taskq]
100015                   D       -       0xfffff8000446d900  [in6m_free taskq]
100017                   D       -       0xfffff8000446d700  [inm_free taskq]
100024                   D       -       0xfffff8000446d600  [firmware taskq]
100028                   D       -       0xfffff800044a9b00  [crypto_0]
100029                   D       -       0xfffff800044a9b00  [crypto_1]
100044                   D       -       0xfffff800044a9400  [vtnet0 rxq 0]
100045                   D       -       0xfffff800044a9300  [vtnet0 txq 0]
100046                   D       -       0xfffff800044a9200  [vtnet0 rxq 1]
100047                   D       -       0xfffff800044a9100  [vtnet0 txq 1]
100049                   D       vtbslp  0xfffff80004669980  [virtio_balloon]
100053                   D       -       0xfffff800044a9000  [mca taskq]
100058                   D       -       0xffffffff81d65220  [deadlkres]
100062                   D       -       0xfffff800044a9a00  [acpi_task_0]
100063                   D       -       0xfffff800044a9a00  [acpi_task_1]
100064                   D       -       0xfffff800044a9a00  [acpi_task_2]
100066                   D       -       0xfffff800044a9500  [CAM taskq]
 3103   786   786     0  Z                                   syz-executor.1
db> show all locks
Process 855 (syz-executor.2) thread 0xfffffe00887c5000 (100091)
exclusive lockmgr bufwait (bufwait) r = 0 (0xfffffe0003851080) locked @ /syzkaller/managers/i386/kernel/sys/kern/vfs_bio.c:3927
exclusive lockmgr ufs (ufs) r = 0 (0xfffff800184db070) locked @ /syzkaller/managers/i386/kernel/sys/kern/vfs_cache.c:4252
Process 17 (sctp_iterator) thread 0xfffffe0051c5a300 (100061)
exclusive sleep mutex sctp-inp (inp) r = 0 (0xfffff80075401968) locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctputil.c:1455
exclusive sleep mutex sctp-it (iterator) r = 0 (0xffffffff82c9c7d8) locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctputil.c:1452
shared rw sctp-info (sctp-info) r = 0 (0xfffffe00041b22d8) locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctputil.c:1451
db> show malloc
              Type        InUse        MemUse     Requests
           pf_hash            5        11524K            5
            devbuf         4216         4340K         4244
          tcp_hpts            5         3201K            5
             vtbuf           24         1968K           46
         sysctloid        30605         1795K        30671
              kobj          329         1316K          489
            newblk            7         1026K         2815
          vfscache            3         1025K            3
               pcb           95          614K        14563
          inodedep           12          517K         2369
         ufs_quota            1          512K            1
          vfs_hash            1          512K            1
           callout            2          512K            2
              intr            4          472K            4
           subproc          127          244K         3179
            acpica         1674          184K        58233
         vnet_data            1          168K            1
           tidhash            3          141K            3
           pagedep            8          130K         4478
        tfo_ccache            1          128K            1
               sem            4          106K            4
            DEVFS1          105          105K          122
          filedesc           14          105K         4437
            linker          278          100K          313
               bus          983           80K         3364
         sctp_timw          303           76K          303
          mtx_pool            2           72K            2
          syncache            1           68K            1
          acpitask            1           64K            1
       ddb_capture            1           64K            1
            module          503           63K          503
         sctp_stro           34           41K         4507
              umtx          324           41K          324
           kdtrace          192           38K         5774
               BPF           22           36K           22
              temp           35           33K         3655
         hostcache            1           32K            1
               shm            1           32K            2
            DEVFS3          124           31K          134
               msg            4           30K            4
         sctp_atcl           76           29K        16262
              vmem            3           26K            5
        gtaskqueue           18           26K           18
            kbdmux            6           22K            6
        DEVFS_RULE           56           20K           56
            ifaddr           69           20K           69
         ufs_mount            5           17K            6
              proc            3           17K            3
               tty           16           16K           16
           ithread           99           16K           99
           lltable           49           16K           62
            bus-sc           32           14K         1598
            KTRACE          100           13K          100
             ifnet            7           13K            7
       ether_multi          152           13K          162
              kenv           93           12K           93
      eventhandler          129           11K          129
              GEOM           60           10K          489
              rman           82           10K          423
         in6_multi           65            9K           65
         bmsafemap            2            9K         2261
              UART           12            9K           12
           devstat            4            9K            4
              ksem            1            8K            1
               rpc            2            8K            2
             shmfd            1            8K            9
       pfs_vncache            1            8K            1
         pfs_nodes           20            8K           20
     audit_evclass          236            8K          294
            sglist            5            7K            5
           CAM DEV            3            6K          510
            kqueue           56            6K         3114
            dirrem           22            6K         2219
            plimit           21            6K          364
              cred           21            6K          251
         CAM queue            5            6K         1528
         taskqueue           48            6K           48
         sctp_atky          122            5K        19300
       ufs_dirhash           24            5K           24
            DEVFSP           72            5K           76
          pf_ifnet           10            5K           19
               UMA          260            5K          260
                vt           11            5K           11
           memdesc            1            4K            1
               MCA           32            4K           32
          kcovinfo           64            4K           68
             evdev            4            4K            4
          routetbl           24            4K           24
           pwddesc           53            4K         3106
             hhook           13            4K           13
           session           25            4K           39
          terminal           11            3K           11
           acpisem           22            3K           22
         proc-args           44            3K          591
           uidinfo            3            3K           24
             lockf           20            3K           51
         sctp_stri            4            2K         3056
        local_apic            1            2K            1
           io_apic            1            2K            1
       fpukern_ctx            2            2K            2
         ipsec-saq            2            2K            2
             selfd           31            2K        58272
          freefile           15            2K         2217
            ip6ndp           12            2K           13
          sctp_ifa           13            2K           14
           CAM XPT           22            2K          543
            Unitno           26            2K           46
          in_multi            6            2K            8
       ipsecpolicy            2            2K            2
           acpidev           20            2K           20
            select           10            2K           42
         sctp_athm           76            2K        16272
               msi            9            2K            9
             clone            9            2K            9
               tun            7            2K            7
          sctp_map           68            2K         9002
           softdep            1            1K            1
            sahead            1            1K            1
          secasvar            1            1K            1
             nhops            6            1K            8
       vnodemarker            2            1K           20
      NFSD session            1            1K            1
        CAM periph            4            1K          271
             ipsec            3            1K            3
          sctp_ifn            6            1K           14
               mld            6            1K            6
              igmp            6            1K            6
         toponodes            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
            diradd            4            1K         2251
              pfil            4            1K            4
           CAM SIM            2            1K            2
              cdev            2            1K            2
         newdirblk            3            1K         2204
             mkdir            3            1K         4408
    chacha20random            1            1K            1
               osd            3            1K           10
         sctp_iter            1            1K           15
         sctp_cpal            1            1K            3
       inpcbpolicy            8            1K          413
            vnodes            1            1K            1
              ktls            1            1K            1
          procdesc            2            1K           12
      NFSD lckfile            1            1K            1
     NFSD V4client            1            1K            1
             DEVFS            9            1K           10
            feeder            7            1K            7
           tcpfunc            3            1K            3
        loginclass            3            1K            6
            prison            6            1K            6
        aesni_data            2            1K            2
     CAM dev queue            2            1K            2
 CAM I/O Scheduler            1            1K            1
            apmdev            1            1K            1
          atkbddev            2            1K            2
          CAM path            4            1K         1034
          freework            1            1K         2225
          pmchooks            1            1K            1
            soname            4            1K         9810
          nexusdev            6            1K            6
          sctp_vrf            1            1K            1
           entropy            2            1K           39
              vnet            1            1K            1
               pmc            1            1K            1
          acpiintr            1            1K            1
              cpus            2            1K            2
    vnet_data_free            1            1K            1
           Per-cpu            1            1K            1
          filecaps            2            1K           90
          p1003.1b            1            1K            1
            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_temp            0            0K            0
        sctp_mcore            0            0K            0
        sctp_socko            0            0K         2919
         sctp_mvrf            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
         ciss_data            0            0K            0
           ath_hal            0            0K            0
            athdev            0            0K            0
        madt_table            0            0K            2
          smartpqi            0            0K            0
           ata_pci            0            0K            0
           ata_dma            0            0K            0
       ata_generic            0            0K            0
            pvscsi            0            0K            0
               amr            0            0K            0
           scsi_da            0            0K           69
            ata_da            0            0K            0
              iavf            0            0K            0
               ixl            0            0K            0
           scsi_ch            0            0K            0
           scsi_cd            0            0K            0
            USBdev            0            0K            0
               USB            0            0K            0
       AHCI driver            0            0K            0
               agp            0            0K            0
        ice-resmgr            0            0K            0
         ice-osdep            0            0K            0
               ice            0            0K            0
             axgbe            0            0K            0
          xen_intr            0            0K            0
           nvme_da            0            0K            0
           xen_hvm            0            0K            0
         legacydrv            0            0K            0
            qpidrv            0            0K            0
           acpipwr            0            0K            0
            twsbuf            0            0K            0
      dmar_idpgtbl            0            0K            0
          dmar_dom            0            0K            0
          dmar_ctx            0            0K            0
      twe_commands            0            0K            0
      twa_commands            0            0K            0
       tcp_log_dev            0            0K            2
              isci            0            0K            0
      iommu_dmamap            0            0K            0
      midi buffers            0            0K            0
     hyperv_socket            0            0K            0
           bxe_ilt            0            0K            0
            xenbus            0            0K            0
             mixer            0            0K            0
              ac97            0            0K            0
     vm_fictitious            0            0K            0
             hdacc            0            0K            0
              hdac            0            0K            0
              hdaa            0            0K            0
         acpi_perf            0            0K            0
         acpicmbat            0            0K            0
       SIIS driver            0            0K            0
           CAM CCB            0            0K         6632
           UMAHash            0            0K            0
               PUC            0            0K            0
         vm_pgdata            0            0K            0
           jblocks            0            0K            0
          savedino            0            0K         7260
          sentinel            0            0K            0
            jfsync            0            0K            0
            jtrunc            0            0K            0
             sbdep            0            0K            7
           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
          freeblks            0            0K         2212
          freefrag            0            0K            6
        allocindir            0            0K            0
          indirdep            0            0K           31
       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
             xform            0            0K            0
          ppbusdev            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            7
       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
agtiapi_MemAlloc malloc            0            0K            0
               LRO            0            0K            0
      newreno data            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
    osti_cacheable            0            0K            0
            statfs            0            0K         2384
     namei_tracker            0            0K            0
       export_host            0            0K            0
        cl_savebuf            0            0K            4
          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
          mrsasbuf            0            0K            0
            biobuf            0            0K            0
              aios            0            0K            0
               lio            0            0K            0
               acl            0            0K            0
          mpt_user            0            0K            0
          mbuf_tag            0            0K          102
              accf            0            0K            0
               pts            0            0K            0
               iov            0            0K        18377
          ioctlops            0            0K          199
           eventfd            0            0K            0
           Witness            0            0K            0
             stack            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
              sbuf            0            0K          288
               mpr            0            0K            0
          firmware            0            0K            0
        compressor            0            0K            0
            mfibuf            0            0K            0
              SWAP            0            0K            0
        md_sectors            0            0K            0
           md_disk            0            0K            0
         sysctltmp            0            0K          627
            sysctl            0            0K            1
           malodev            0            0K            0
              ekcd            0            0K            0
            dumper            0            0K            0
          sendfile            0            0K            0
              rctl            0            0K            0
               LED            0            0K            0
          ix_sriov            0            0K            0
        aacraidcam            0            0K            0
             cache            0            0K            0
                ix            0            0K            0
            ipsbuf            0            0K            0
      prison_racct            0            0K            0
       Fail Points            0            0K            0
             sigio            0            0K            3
filedesc_to_leader            0            0K            0
               pwd            0            0K            0
       tty console            0            0K            0
            iirbuf            0            0K            0
       aacraid_buf            0            0K            0
            aaccam            0            0K            0
            aacbuf            0            0K            0
              zstd            0            0K            0
            nvlist            0            0K            0
          SCSI ENC            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
   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 diroffdiroff            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
     NFSD srvcache            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
           SCSI sa            0            0K            0
         scsi_pass            0            0K            0
               xnb            0            0K            0
              xbbd            0            0K            0
               xbd            0            0K            0
           Balloon            0            0K            0
          sysmouse            0            0K            0
            vtfont            0            0K            0
db> show uma
              Zone   Size    Used    Free    Requests  Sleeps  Bucket  Total Mem    XFree
   mbuf_jumbo_page   4096    8332     973     1500159       0     254   38113280        0
              pbuf   2632       0     989           0       0       2    2603048        0
              mbuf    256    8782     788     2407387       0     254    2449920        0
        RADIX NODE    144   14866     195      116096       0      62    2168784        0
           tcp_log    416       0    5103       10000       0     254    2122848        0
          BUF TRIE    144     176   13292        5164       0      62    1939392        0
        malloc-384    384    4168      12        4169       0      30    1605120        0
       malloc-4096   4096     336       1         499       0       2    1380352        0
        malloc-128    128   10030     262       12316       0     126    1317376        0
      mbuf_cluster   2048     615       1         615       0     254    1261568        0
       UMA Slabs 0    112   10531      14       10531       0     126    1181040        0
         sctp_asoc   2288      34     476        4501       0     254    1166880        0
           sctp_ep   1280      38     451        7188       0     254     625920        0
         FFS inode   1128     507      25        2726       0       8     600096        0
        sctp_raddr    736      57     504       19792       0     254     412896        0
        256 Bucket   2048     170      14       18116       0       8     376832        0
       tcp_bbr_map    128       0    2604        8818       0     126     333312        0
         VM OBJECT    264    1102      83       45825       0      30     312840        0
             VNODE    488     544      88        2765       0      30     308416        0
            THREAD   1792     137      25        2667       0       8     290304        0
      malloc-65536  65536       4       0           4       0       1     262144        0
       malloc-4096   4096      54       7        3106       0       2     249856        0
         malloc-64     64    3203     451        6259       0     254     233856        0
            DEVCTL   1024      12     200         129       0       0     217088        0
      malloc-16384  16384       7       6        2217       0       1     212992        0
         malloc-16     16   12663     337       12729       0     254     208000        0
      malloc-65536  65536       1       2           4       0       1     196608        0
        malloc-256    256     197     538        3130       0      62     188160        0
        malloc-128    128    1192     265       31725       0     126     186496        0
         UMA Zones    768     232       2         232       0      16     179712        0
       FFS2 dinode    256     507     138        2724       0      62     165120        0
      malloc-32768  32768       0       5          20       0       1     163840        0
         malloc-32     32    4819     221        4836       0     254     161280        0
         MAP ENTRY     96    1250     430      164124       0     126     161280        0
       mbuf_packet    256      96     519       12543       0     254     157440        0
            socket    944      27     137        8770       0     254     154816        0
       S VFS Cache    104    1012     314        3268       0     126     137904        0
       malloc-1024   1024     125       7         142       0      16     135168        0
      malloc-65536  65536       2       0           2       0       1     131072        0
      malloc-65536  65536       0       2          76       0       1     131072        0
       malloc-2048   2048      40      24        7194       0       8     131072        0
        malloc-128    128     696     327        5950       0     126     130944        0
         vmem btag     56    2232      60        2232       0     254     128352        0
        malloc-256    256      89     376       18577       0      62     119040        0
          ksiginfo    112      57     987        1908       0     126     116928        0
       malloc-2048   2048       7      49        7405       0       8     114688        0
        128 Bucket   1024      72      35        1027       0      16     109568        0
        malloc-384    384      99     181       18670       0      30     107520        0
           VMSPACE   2544      30      12        3089       0       4     106848        0
        malloc-256    256     246     129        9940       0      62      96000        0
              PROC   1320      53      19        3105       0       8      95040        0
        malloc-256    256     320      25         321       0      62      88320        0
          UMA Kegs    384     218       5         218       0      30      85632        0
        sctp_chunk    152      47     499       15287       0     254      82992        0
         filedesc0   1072      53      24        3106       0       8      82544        0
             g_bio    408       0     200       23993       0      30      81600        0
        malloc-128    128     338     282        2733       0     126      79360        0
       malloc-4096   4096      17       1          34       0       2      73728        0
         64 Bucket    512      81      63        4698       0      30      73728        0
         malloc-64     64     574     560        9198       0     254      72576        0
       malloc-1024   1024      33      35        4500       0      16      69632        0
      malloc-65536  65536       1       0           1       0       1      65536        0
      malloc-65536  65536       0       1         124       0       1      65536        0
      malloc-65536  65536       1       0           1       0       1      65536        0
      malloc-32768  32768       2       0           2       0       1      65536        0
       malloc-8192   8192       6       1          97       0       1      57344        0
         malloc-64     64     347     472        3545       0     254      52416        0
        malloc-128    128     361      42        1881       0     126      51584        0
        sctp_readq    152       3     335        1106       0     254      51376        0
         32 Bucket    256      58     137        6909       0      62      49920        0
      malloc-16384  16384       3       0           3       0       1      49152        0
      malloc-16384  16384       3       0           9       0       1      49152        0
       malloc-8192   8192       1       5           7       0       1      49152        0
       malloc-8192   8192       4       2           8       0       1      49152        0
            clpbuf   2632       0      16          19       0      16      42112        0
       malloc-4096   4096       9       1          11       0       2      40960        0
              pipe    744      20      30         417       0      16      37200        0
           DIRHASH   1024      34       2          34       0      16      36864        0
             NAMEI   1024       1      35       22280       0      16      36864        0
        malloc-512    512       4      68        3055       0      30      36864        0
            pcpu-8      8    4551      57        4699       0     254      36864        0
         malloc-64     64     481      86         971       0     254      36288        0
      malloc-32768  32768       0       1         117       0       1      32768        0
      malloc-32768  32768       1       0           1       0       1      32768        0
       malloc-8192   8192       2       2           6       0       1      32768        0
       malloc-8192   8192       2       2          30       0       1      32768        0
       malloc-4096   4096       4       4        2981       0       2      32768        0
           pcpu-64     64     456      56         456       0     254      32768        0
         malloc-64     64     122     382        3227       0     254      32256        0
        malloc-384    384      74       6          83       0      30      30720        0
             KNOTE    160      28     147      132607       0      62      28000        0
             Files     80     191     159       16128       0     126      28000        0
         TURNSTILE    136     163      26         163       0      62      25704        0
       malloc-8192   8192       3       0           5       0       1      24576        0
       malloc-8192   8192       3       0           3       0       1      24576        0
       malloc-2048   2048       9       3          24       0       8      24576        0
         malloc-32     32     150     606       15057       0     254      24192        0
            ttyinq    160     135      15         300       0      62      24000        0
          8 Bucket     80      48     252        1950       0     126      24000        0
             tcpcb   1048       4      18         126       0     254      23056        0
           ttyoutq    256      72      18         160       0      62      23040        0
        malloc-256    256      65      25         171       0      62      23040        0
       malloc-1024   1024       6      14          47       0      16      20480        0
               PWD     32      17     613        2295       0     254      20160        0
         malloc-32     32      66     564        3610       0     254      20160        0
      vtnet_tx_hdr     24       0     835      761839       0     254      20040        0
        malloc-128    128     110      45         776       0     126      19840        0
       Mountpoints   2752       2       5           2       0       4      19264        0
        malloc-384    384      36      14          36       0      30      19200        0
        malloc-256    256      44      31         689       0      62      19200        0
        malloc-256    256      17      58        3360       0      62      19200        0
        SLEEPQUEUE     88     163      29         163       0     126      16896        0
      malloc-16384  16384       1       0           1       0       1      16384        0
      malloc-16384  16384       0       1         153       0       1      16384        0
       malloc-8192   8192       2       0           2       0       1      16384        0
       malloc-2048   2048       5       3         196       0       8      16384        0
       malloc-1024   1024      11       5          25       0      16      16384        0
       malloc-1024   1024      12       4          18       0      16      16384        0
         malloc-64     64     146     106       73231       0     254      16128        0
         malloc-32     32     335     169         565       0     254      16128        0
         16 Bucket    144      46      66         347       0      62      16128        0
          2 Bucket     32      63     441         982       0     254      16128        0
        malloc-128    128      95      29          96       0     126      15872        0
         tcp_inpcb    488       4      28         126       0     254      15616        0
      tcp_rack_pcb    704       0      22          46       0      16      15488        0
        malloc-384    384      26      14          40       0      30      15360        0
       tcp_bbr_pcb    832       0      18          14       0      16      14976        0
       malloc-2048   2048       3       3         101       0       8      12288        0
       malloc-1024   1024      11       1          11       0      16      12288        0
        malloc-512    512      10      14         636       0      30      12288        0
          4 Bucket     48       7     245         152       0     254      12096        0
         malloc-16     16     124     626       22923       0     254      12000        0
         malloc-16     16      97     653       11675       0     254      12000        0
             ripcb    488       2      22          62       0     254      11712        0
     udplite_inpcb    488       0      24          34       0     254      11712        0
         udp_inpcb    488       2      22         191       0     254      11712        0
        malloc-384    384      21       9         333       0      30      11520        0
       malloc-4096   4096       1       1           3       0       2       8192        0
       malloc-2048   2048       2       2           2       0       8       8192        0
       malloc-1024   1024       2       6        1119       0      16       8192        0
        malloc-512    512       7       9          27       0      30       8192        0
        malloc-512    512       4      12          59       0      30       8192        0
           rtentry    176      30      16          34       0      62       8096        0
              PGRP     88      25      67          39       0     126       8096        0
          rl_entry     40      42     160          42       0     254       8080        0
sctp_stream_msg_out    112      17      55        1163       0     254       8064        0
        sctp_laddr     48      40     128        1440       0     254       8064        0
             udpcb     32       2     250         225       0     254       8064        0
         malloc-64     64      26     100          26       0     254       8064        0
         malloc-64     64      84      42         662       0     254       8064        0
         malloc-32     32       2     250          22       0     254       8064        0
         malloc-32     32      65     187         929       0     254       8064        0
         malloc-32     32      58     194         123       0     254       8064        0
         malloc-32     32      19     233        1716       0     254       8064        0
         malloc-16     16       6     494           6       0     254       8000        0
         malloc-16     16      35     465        3160       0     254       8000        0
         malloc-16     16     195     305        1369       0     254       8000        0
         malloc-16     16      25     475          46       0     254       8000        0
         malloc-16     16     271     229       26639       0     254       8000        0
      tcp_rack_map    120       0      66          72       0     126       7920        0
              kenv    258       3      27        1044       0      30       7740        0
     routing nhops    256      27       3          34       0      62       7680        0
             unpcb    256      11      19        1142       0     254       7680        0
        malloc-256    256      11      19         403       0      62       7680        0
     FPU_save_area    832       1       8           1       0      16       7488        0
            cpuset    104       7      55           7       0     126       6448        0
 epoch_record pcpu    256       4      12           4       0      62       4096        0
       malloc-4096   4096       1       0           1       0       2       4096        0
       malloc-2048   2048       1       1           1       0       8       4096        0
       malloc-2048   2048       0       2          36       0       8       4096        0
       malloc-1024   1024       2       2         156       0      16       4096        0
        malloc-512    512       1       7           1       0      30       4096        0
        malloc-512    512       1       7           1       0      30       4096        0
        malloc-512    512       0       8           5       0      30       4096        0
           pcpu-16     16       7     249           7       0     254       4096        0
          tcpreass     48       0      84           3       0     254       4032        0
         hostcache     96       1      41           1       0     254       4032        0
          syncache    168       0      24           4       0     254       4032        0
        malloc-128    128       5      26           5       0     126       3968        0
       UMA Slabs 1    176       8      14           8       0      62       3872        0
            mqnode    416       3       6           3       0      30       3744        0
        KMAP ENTRY     96      12      27          12       0       0       3744        0
              vmem   1856       1       1           1       0       8       3712        0
           SMR CPU     32       2      61           2       0     254       2016        0
        SMR SHARED     24       2      61           2       0     254       1512        0
       FFS1 dinode    128       0       0           0       0     126          0        0
             swblk    136       0       0           0       0      62          0        0
          swpctrie    144       0       0           0       0      62          0        0
   sctp_asconf_ack     48       0       0           0       0     254          0        0
       sctp_asconf     40       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      62          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    296       0       0           0       0     254          0        0
           pf tags    104       0       0           0       0     126          0        0
          pf mtags     48       0       0           0       0     254          0        0
    IPsec SA lft_c     16       0       0           0       0     254          0        0
      tcp_log_node    120       0       0           0       0     126          0        0
    tcp_log_bucket    176       0       0           0       0      62          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     88       0       0           0       0     254          0        0
               ipq     56       0       0           0       0     254          0        0
            itimer    352       0       0           0       0      30          0        0
            AIOLIO    272       0       0           0       0      30          0        0
             AIOCB    552       0       0           0       0      16          0        0
              AIOP     32       0       0           0       0     254          0        0
               AIO    208       0       0           0       0      62          0        0
        TMPFS node    224       0       0           0       0      62          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
           NCLNODE    592       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
   IOMMU_MAP_ENTRY    120       0       0           0       0     126          0        0
      ktls_session    192       0       0           0       0      62          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
         domainset     40       0       0           0       0     254          0        0
        MAC labels     40       0       0           0       0     254          0        0
            vnpbuf   2632       0       0           0       0      64          0        0
            mdpbuf   2632       0       0           0       0       3          0        0
           nfspbuf   2632       0       0           0       0      16          0        0
            swwbuf   2632       0       0           0       0       8          0        0
            swrbuf   2632       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-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-4096   4096       0       0           0       0       2          0        0
        malloc-512    512       0       0           0       0      30          0        0
        malloc-384    384       0       0           0       0      30          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
2021/01/30 19:42 freebsd-src a63eae65ff87 fc9fd31e console log report ci-freebsd-i386 panic: lock (sleep mutex) sctp-tcb not locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctputil.c:LINE
* Struck through repros no longer work on HEAD.