syzbot


panic: mtx_lock() of destroyed mutex at sys/kern/uipc_sockbuf.c:LINE

Status: fixed on 2021/09/10 03:03
Reported-by: syzbot+ed3e651f7d040af480a6@syzkaller.appspotmail.com
Fix commit: 4250aa1188b5 sctp: Clear assoc socket references when freeing a PCB
First crash: 1511d, last: 1321d

Sample crash report:
login: panic: mtx_lock() of destroyed mutex @ /syzkaller/managers/i386/kernel/sys/kern/uipc_sockbuf.c:410
cpuid = 0
time = 1601834003
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe000364c100
vpanic() at vpanic+0x1c7/frame 0xfffffe000364c160
panic() at panic+0x43/frame 0xfffffe000364c1c0
__mtx_lock_flags() at __mtx_lock_flags+0x1e2/frame 0xfffffe000364c220
socantsendmore() at socantsendmore+0x2c/frame 0xfffffe000364c240
sctp_free_assoc() at sctp_free_assoc+0x868/frame 0xfffffe000364c2d0
sctp_process_control() at sctp_process_control+0x89ef/frame 0xfffffe000364c750
sctp_common_input_processing() at sctp_common_input_processing+0x7db/frame 0xfffffe000364c8e0
sctp_input_with_port() at sctp_input_with_port+0x308/frame 0xfffffe000364c9d0
sctp_input() at sctp_input+0x1f/frame 0xfffffe000364c9f0
ip_input() at ip_input+0x388/frame 0xfffffe000364ca90
swi_net() at swi_net+0x20d/frame 0xfffffe000364cb10
ithread_loop() at ithread_loop+0x33f/frame 0xfffffe000364cbb0
fork_exit() at fork_exit+0xb3/frame 0xfffffe000364cbf0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe000364cbf0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic
[ thread pid 12 tid 100020 ]
Stopped at      kdb_enter+0x67: movq    $0,0x1480d96(%rip)
db> 
db> set $lines = 0
db> set $maxwidth = 0
db> show registers
cs                        0x20
ds                        0x3b  ll+0x1a
es                        0x3b  ll+0x1a
fs                        0x13
gs                        0x1b
ss                        0x28  ll+0x7
rax                       0x12
rcx                       0x80  ll+0x5f
rdx         0xffffffff818ecedd
rbx                          0
rsp         0xfffffe000364c0e0
rbp         0xfffffe000364c100
rsi                        0x1
rdi                          0
r8                           0
r9                  0xffffffff
r10         0xfffffe000364c7dc
r11                       0xbf  ll+0x9e
r12         0xffffffff82066ae0  ddb_dbbe
r13                          0
r14         0xffffffff81937751
r15         0xffffffff81937751
rip         0xffffffff810d12e7  kdb_enter+0x67
rflags                    0x82  ll+0x61
kdb_enter+0x67: movq    $0,0x1480d96(%rip)
db> show proc
Process 12 (intr) at 0xfffff80004314520:
 state: NORMAL
 uid: 0  gids: 0
 parent: pid 0 at 0xffffffff82504d10
 ABI: null
 reaper: 0xffffffff82504d10 reapsubtree: 12
 sigparent: 20
 vmspace: 0xffffffff82505960
   (map 0xffffffff82505960)
   (map.pmap 0xffffffff82505a20)
   (pmap 0xffffffff82505a80)
 threads: 23
100011                   I                                   [swi5: fast taskq]
100015                   I                                   [swi6: task queue]
100016                   I                                   [swi6: Giant taskq]
100020                   Run     CPU 0                       [swi1: netisr 0]
100021                   I                                   [swi3: vm]
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]
db> ps
  pid  ppid  pgrp   uid  state   wmesg   wchan               cmd
 1809   770   770     0  RE      CPU 1                       syz-executor.0
  807   795   807     0  Ss      select  0xfffff80004cbdb40  dhclient
  800     1   800     0  Ss      select  0xfffff80004bd38c0  dhclient
  795   785   424    65  S       select  0xfffff80004bd30c0  dhclient
  785   424   424     0  S       wait    0xfffff80004c8c000  sh
  770   768   770     0  Ss      nanslp  0xffffffff82525800  syz-executor.0
  768   766   766     0  S       (threaded)                  syz-execprog
100098                   S       uwait   0xfffff80004bf4000  syz-execprog
100110                   S       uwait   0xfffff80004be2200  syz-execprog
100111                   S       uwait   0xfffff80004be2380  syz-execprog
100112                   S       uwait   0xfffff80004be2480  syz-execprog
100113                   S       uwait   0xfffff80004be2580  syz-execprog
100114                   S       uwait   0xfffff80004b3b280  syz-execprog
100115                   S       uwait   0xfffff80004b3b380  syz-execprog
100116                   S       kqread  0xfffff800196cf200  syz-execprog
  766   764   766     0  Ss      pause   0xfffff800192ceae8  csh
  764   682   764     0  Ss      select  0xfffff80004bd3640  sshd
  742     1   742     0  Ss+     ttyin   0xfffff800047fbcb0  getty
  741     1   741     0  Ss+     ttyin   0xfffff80004a93cb0  getty
  740     1   740     0  Ss+     ttyin   0xfffff80004a960b0  getty
  739     1   739     0  Ss+     ttyin   0xfffff80004a964b0  getty
  738     1   738     0  Ss+     ttyin   0xfffff80004a968b0  getty
  737     1   737     0  Ss+     ttyin   0xfffff80004a96cb0  getty
  736     1   736     0  Ss+     ttyin   0xfffff80004a950b0  getty
  735     1   735     0  Ss+     ttyin   0xfffff80004a954b0  getty
  734     1   734     0  Ss+     ttyin   0xfffff80004a958b0  getty
  686     1   686     0  Ss      nanslp  0xffffffff82525801  cron
  682     1   682     0  Ss      select  0xfffff80004cbdd40  sshd
  495     1   495     0  Ss      select  0xfffff80004cbdec0  syslogd
  424     1   424     0  Ss      wait    0xfffff80004d13a40  devd
  423     1   423    65  Ss      select  0xfffff80004be2cc0  dhclient
  338     1   338     0  Ss      select  0xfffff80004be2bc0  dhclient
  335     1   335     0  Ss      select  0xfffff80004be2c40  dhclient
   23     0     0     0  DL      syncer  0xffffffff826128e8  [syncer]
   22     0     0     0  DL      vlruwt  0xfffff800043f9a40  [vnlru]
   21     0     0     0  DL      (threaded)                  [bufdaemon]
100070                   D       qsleep  0xffffffff82611c50  [bufdaemon]
100077                   D       -       0xffffffff8200ae00  [bufspacedaemon-0]
100088                   D       sdflush 0xfffff80004bde4e8  [/ worker]
   20     0     0     0  DL      psleep  0xffffffff82638ec8  [vmdaemon]
   19     0     0     0  DL      (threaded)                  [pagedaemon]
100068                   D       psleep  0xffffffff8262d2f8  [dom0]
100075                   D       launds  0xffffffff8262d304  [laundry: dom0]
100076                   D       umarcl  0xffffffff814d65e0  [uma]
   18     0     0     0  DL      -       0xffffffff82359388  [rand_harvestq]
   17     0     0     0  DL      waiting 0xffffffff82dce1b8  [sctp_iterator]
   16     0     0     0  DL      pftm    0xffffffff82bd6390  [pf purge]
   15     0     0     0  DL      -       0xffffffff8261122c  [soaiod4]
    9     0     0     0  DL      -       0xffffffff8261122c  [soaiod3]
    8     0     0     0  DL      -       0xffffffff8261122c  [soaiod2]
    7     0     0     0  DL      -       0xffffffff8261122c  [soaiod1]
    6     0     0     0  DL      (threaded)                  [cam]
100034                   D       -       0xffffffff822310c0  [doneq0]
100067                   D       -       0xffffffff82230f90  [scanner]
    5     0     0     0  DL      crypto_ 0xfffff80004216e90  [crypto returns 1]
    4     0     0     0  DL      crypto_ 0xfffff80004216e30  [crypto returns 0]
    3     0     0     0  DL      crypto_ 0xffffffff8262a7e0  [crypto]
   14     0     0     0  DL      seqstat 0xfffff800040df488  [sequencer 00]
   13     0     0     0  DL      (threaded)                  [geom]
100025                   D       -       0xffffffff82504770  [g_event]
100026                   D       -       0xffffffff82504778  [g_up]
100027                   D       -       0xffffffff82504780  [g_down]
    2     0     0     0  DL      (threaded)                  [KTLS]
100018                   D       -       0xfffff8000421e200  [thr_0]
100019                   D       -       0xfffff8000421e280  [thr_1]
   12     0     0     0  RL      (threaded)                  [intr]
100011                   I                                   [swi5: fast taskq]
100015                   I                                   [swi6: task queue]
100016                   I                                   [swi6: Giant taskq]
100020                   Run     CPU 0                       [swi1: netisr 0]
100021                   I                                   [swi3: vm]
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    0xfffff80004313000  [init]
   10     0     0     0  DL      audit_w 0xffffffff8262ad00  [audit]
    0     0     0     0  DLs     (threaded)                  [kernel]
100000                   D       swapin  0xffffffff82504d10  [swapper]
100005                   D       -       0xfffff8000420ae00  [if_io_tqg_0]
100006                   D       -       0xfffff8000420ad00  [if_io_tqg_1]
100007                   D       -       0xfffff8000420ac00  [if_config_tqg_0]
100008                   D       -       0xfffff8000420ab00  [softirq_0]
100009                   D       -       0xfffff8000420aa00  [softirq_1]
100010                   D       -       0xfffff8000420a900  [thread taskq]
100012                   D       -       0xfffff8000420a700  [inm_free taskq]
100013                   D       -       0xfffff8000420a600  [kqueue_ctx taskq]
100014                   D       -       0xfffff8000420a500  [aiod_kick taskq]
100017                   D       -       0xfffff8000420a200  [in6m_free taskq]
100024                   D       -       0xfffff8000420a100  [firmware taskq]
100029                   D       -       0xfffff80004209e00  [crypto_0]
100030                   D       -       0xfffff80004209e00  [crypto_1]
100044                   D       -       0xfffff80004209b00  [vtnet0 rxq 0]
100045                   D       -       0xfffff80004209a00  [vtnet0 txq 0]
100046                   D       -       0xfffff80004209900  [vtnet0 rxq 1]
100047                   D       -       0xfffff80004209800  [vtnet0 txq 1]
100049                   D       vtbslp  0xfffff8000451c680  [virtio_balloon]
100053                   D       -       0xfffff80004209600  [mca taskq]
100057                   D       -       0xffffffff81cdd391  [deadlkres]
100062                   D       -       0xfffff80004b1eb00  [acpi_task_0]
100063                   D       -       0xfffff80004b1eb00  [acpi_task_1]
100064                   D       -       0xfffff80004b1eb00  [acpi_task_2]
100066                   D       -       0xfffff80004209c00  [CAM taskq]
db> show all locks
Process 12 (intr) thread 0xfffffe00049cee00 (100020)
exclusive sleep mutex sctp-send-tcb (tcbs) r = 0 (0xfffffe00258853a0) locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctp_pcb.c:4837
exclusive sleep mutex sctp-tcb (tcb) r = 0 (0xfffffe0025885380) locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctp_pcb.c:4836
exclusive sleep mutex sctp-inp (inp) r = 0 (0xfffff80019a08468) locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctp_pcb.c:4835
exclusive rw sctp-info (sctp-info) r = 0 (0xfffffe00049405e0) locked @ /syzkaller/managers/i386/kernel/sys/netinet/sctp_pcb.c:4834
db> show malloc
              Type        InUse        MemUse     Requests
           pf_hash            5        11524K            5
            devbuf         4214         4854K         4242
          tcp_hpts            5         3201K            5
             vtbuf           24         1968K           46
         sysctloid        28170         1644K        28234
              kobj          335         1340K          494
            newblk           11         1027K         1402
          vfscache            4         1025K            4
          inodedep         1017         1020K         1090
               pcb           32          548K         4122
         ufs_quota            1          512K            1
          vfs_hash            1          512K            1
           callout            2          512K            2
              intr            4          472K            4
            dirrem         1007          252K         1038
           subproc          116          230K         1877
            acpica         1674          185K        52414
         vnet_data            1          168K            1
           pagedep            6          130K         1034
        tfo_ccache            1          128K            1
          freefile         1007          126K         1036
               sem            4          106K            4
            DEVFS1          102          102K          113
            linker          254           99K          285
               bus          975           79K         3020
          mtx_pool            2           72K            2
          syncache            1           68K            1
          acpitask            1           64K            1
       ddb_capture            1           64K            1
            module          505           64K          505
         sctp_timw          148           37K          148
          filedesc            5           37K         2037
              umtx          288           36K          288
               BPF           19           36K           19
              temp           23           33K         1638
         hostcache            1           32K            1
               shm            1           32K            1
           kdtrace          162           32K         5686
            DEVFS3          121           31K          131
               msg            4           30K            4
        DEVFS_RULE           56           27K           56
        gtaskqueue           18           26K           18
              vmem            3           22K            5
            kbdmux            6           22K            6
         ufs_mount            5           17K            6
              proc            3           17K            3
            ifaddr           43           17K           43
               tty           16           16K           16
           tidhash            1           16K            1
           ithread           99           16K           99
            bus-sc           30           14K         1405
            KTRACE          100           13K          100
              kenv           92           12K           92
      eventhandler          132           12K          132
         pfs_nodes           20           10K           20
              GEOM           60           10K          489
              rman           82           10K          423
         bmsafemap            3            9K         1057
              UART           12            9K           12
           devstat            4            9K            4
               rpc            2            8K            2
             shmfd            1            8K            1
       pfs_vncache            1            8K            1
     audit_evclass          233            8K          291
           lltable           20            7K           20
             ifnet            4            7K            4
           CAM DEV            3            6K          510
       ether_multi           73            6K           78
                vt           11            6K           11
            kqueue           51            6K         1814
              cred           21            6K          239
            sglist            5            6K            5
         CAM queue            5            6K         1528
         taskqueue           48            6K           48
         in6_multi           41            5K           41
       ufs_dirhash           24            5K           24
            plimit           18            5K          345
               UMA          251            5K          251
         sctp_atcl            8            4K         4386
           memdesc            1            4K            1
               MCA           32            4K           32
             evdev            4            4K            4
          routetbl           18            4K           18
          pf_ifnet            7            4K           10
             hhook           13            4K           13
           acpisem           22            3K           22
          terminal           11            3K           11
           session           22            3K           34
              pgrp           22            3K           34
            select           18            3K           18
           uidinfo            3            3K            8
         proc-args           41            3K          508
         sctp_stro            2            2K         2016
        local_apic            1            2K            1
           io_apic            1            2K            1
         ipsec-saq            2            2K            2
             lockf           19            2K           29
           CAM XPT           22            2K          543
            Unitno           26            2K         1998
       ipsecpolicy            2            2K            2
           acpidev           20            2K           20
               msi            9            2K            9
             clone            9            2K            9
          sctp_ifa            8            1K           10
           softdep            1            1K            1
            diradd            8            1K         1054
            sahead            1            1K            1
          secasvar            1            1K            1
       vnodemarker            2            1K           22
      NFSD session            1            1K            1
            ip6ndp            6            1K            9
        CAM periph            4            1K          271
             ipsec            3            1K            3
             mkdir            6            1K         2042
          in_multi            3            1K            4
             nhops            6            1K            6
         toponodes            6            1K            6
            isadev            6            1K            6
             mount           16            1K           89
          pci_link           10            1K           10
 encap_export_host           12            1K           12
            crypto            3            1K            3
         sctp_stri            1            1K          695
          indirdep            2            1K            4
              pfil            4            1K            4
    chacha20random            1            1K            1
           CAM SIM            2            1K            2
              cdev            2            1K            2
         sctp_atky           10            1K         6749
          sctp_ifn            3            1K           10
          freework            2            1K         1036
         newdirblk            3            1K         1021
               mld            3            1K            3
              igmp            3            1K            3
               tun            4            1K            4
               osd            3            1K            9
            DEVFSP            5            1K            5
          freeblks            1            1K         1035
            vnodes            1            1K            1
              ktls            1            1K            1
      NFSD lckfile            1            1K            1
     NFSD V4client            1            1K            1
             DEVFS            9            1K           10
            feeder            7            1K            7
       inpcbpolicy            7            1K          147
        loginclass            3            1K            7
            prison            6            1K            6
         sctp_athm            8            1K         4733
     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
           tcpfunc            2            1K            2
          pmchooks            1            1K            1
            soname            4            1K         7112
          nexusdev            5            1K            5
          sctp_vrf            1            1K            1
          sctp_map            4            1K         4032
           entropy            2            1K           39
              vnet            1            1K            1
          acpiintr            1            1K            1
               pmc            1            1K            1
              cpus            2            1K            2
    vnet_data_free            1            1K            1
           Per-cpu            1            1K            1
          filecaps            2            1K           69
          p1003.1b            1            1K            1
        sctp_mcore            0            0K            0
        sctp_socko            0            0K            0
         sctp_iter            0            0K            5
         sctp_mvrf            0            0K            0
         sctp_cpal            0            0K            0
         sctp_cmsg            0            0K            0
         sctp_stre            0            0K            0
         sctp_athi            0            0K            0
         sctp_a_it            0            0K            5
         sctp_aadr            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
            vtfont            0            0K            0
        madt_table            0            0K            2
           ath_hal            0            0K            0
            athdev            0            0K            0
           ata_pci            0            0K            0
           ata_dma            0            0K            0
       ata_generic            0            0K            0
               amr            0            0K            0
           scsi_da            0            0K           69
            pvscsi            0            0K            0
          smartpqi            0            0K            0
            ata_da            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
              iavf            0            0K            0
               ixl            0            0K            0
           nvme_da            0            0K            0
           acpipwr            0            0K            0
            twsbuf            0            0K            0
      twe_commands            0            0K            0
      twa_commands            0            0K            0
        ice-resmgr            0            0K            0
         ice-osdep            0            0K            0
               ice            0            0K            0
       fpukern_ctx            0            0K            0
       tcp_log_dev            0            0K            0
          xen_intr            0            0K            0
      midi buffers            0            0K            0
             mixer            0            0K            0
           xen_hvm            0            0K            0
         legacydrv            0            0K            0
            qpidrv            0            0K            0
              ac97            0            0K            0
      dmar_idpgtbl            0            0K            0
          dmar_dom            0            0K            0
          dmar_ctx            0            0K            0
             hdacc            0            0K            0
              hdac            0            0K            0
              hdaa            0            0K            0
              isci            0            0K            0
      iommu_dmamap            0            0K            0
         acpi_perf            0            0K            0
     hyperv_socket            0            0K            0
           bxe_ilt            0            0K            0
            xenbus            0            0K            0
         acpicmbat            0            0K            0
       SIIS driver            0            0K            0
     vm_fictitious            0            0K            0
           CAM CCB            0            0K         1847
               PUC            0            0K            0
          ppbusdev            0            0K            0
agtiapi_MemAlloc malloc            0            0K            0
    osti_cacheable            0            0K            0
          tempbuff            0            0K            0
          tempbuff            0            0K            0
           UMAHash            0            0K            0
ag_tgt_map_t malloc            0            0K            0
ag_slr_map_t malloc            0            0K            0
         vm_pgdata            0            0K            0
           jblocks            0            0K            0
          savedino            0            0K           14
          sentinel            0            0K            0
            jfsync            0            0K            0
            jtrunc            0            0K            0
             sbdep            0            0K            6
           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            5
        allocindir            0            0K            0
       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
lDevFlags * malloc            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            3
       ip6_msource            0            0K            0
      ip6_moptions            0            0K            0
       in6_mfilter            0            0K            0
             frag6            0            0K            0
            tcplog            0            0K            0
tiDeviceHandle_t * 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
ag_portal_data_t malloc            0            0K            0
            statfs            0            0K         1209
       export_host            0            0K            0
        cl_savebuf            0            0K            2
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
          mpt_user            0            0K            0
          mps_user            0            0K            0
            biobuf            0            0K            0
              aios            0            0K            0
               lio            0            0K            0
               acl            0            0K            0
            MPSSAS            0            0K            0
          mbuf_tag            0            0K           48
              accf            0            0K            0
               pts            0            0K            0
               iov            0            0K        15367
          ioctlops            0            0K           90
           Witness            0            0K            0
             stack            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
              sbuf            0            0K          288
           md_disk            0            0K            0
          firmware            0            0K            0
        compressor            0            0K            0
           malodev            0            0K            0
              SWAP            0            0K            0
               LED            0            0K            0
         sysctltmp            0            0K          608
            sysctl            0            0K            1
              ekcd            0            0K            0
            dumper            0            0K            0
          sendfile            0            0K            0
              rctl            0            0K            0
          ix_sriov            0            0K            0
        aacraidcam            0            0K            0
                ix            0            0K            0
            ipsbuf            0            0K            0
            iirbuf            0            0K            0
             cache            0            0K            0
       aacraid_buf            0            0K            0
          kcovinfo            0            0K            0
      prison_racct            0            0K            0
       Fail Points            0            0K            0
             sigio            0            0K            1
filedesc_to_leader            0            0K            0
               pwd            0            0K            0
       tty console            0            0K            0
            aaccam            0            0K            0
            aacbuf            0            0K            0
              zstd            0            0K            0
            nvlist            0            0K            0
          SCSI ENC            0            0K            0
           SCSI sa            0            0K            0
        isofs_node            0            0K            0
       isofs_mount            0            0K            0
     tr_raid5_data            0            0K            0
    tr_raid1e_data            0            0K            0
     tr_raid1_data            0            0K            0
     tr_raid0_data            0            0K            0
    tr_concat_data            0            0K            0
       md_sii_data            0            0K            0
   md_promise_data            0            0K            0
    md_nvidia_data            0            0K            0
   md_jmicron_data            0            0K            0
     md_intel_data            0            0K            0
       md_ddf_data            0            0K            0
         raid_data            0            0K           72
     geom_flashmap            0            0K            0
        tmpfs 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_pass            0            0K            0
         ciss_data            0            0K            0
               xnb            0            0K            0
              xbbd            0            0K            0
               xbd            0            0K            0
           Balloon            0            0K            0
          sysmouse            0            0K            0
db> show uma
              Zone   Size    Used    Free    Requests  Sleeps  Bucket  Total Mem    XFree
      mbuf_cluster   2048    9272     126        9272       0     254   19247104        0
       mbuf_packet    256    8193     951       25152       0     254    2340864        0
               512    512    4144      32        4146       0      30    2138112        0
   mbuf_jumbo_page   4096       0     508          10       0     254    2080768        0
          BUF TRIE    144     160   13308         469       0      62    1939392        0
               128    128   11059     163       11107       0     126    1436416        0
              4096   4096     335       1         494       0       2    1376256        0
         sctp_asoc   2288       2     508        2016       0     254    1166880        0
              pbuf    832       0     969           0       0       2     806208        0
       UMA Slabs 0    112    6813      21        6813       0     126     765408        0
           sctp_ep   1280       5     505        2022       0     254     652800        0
               512    512    1085      27        1669       0      30     569344        0
             tcpcb   1040       3     514           7       0     254     537680        0
            socket    960      20     488        3243       0     254     487680        0
        sctp_raddr    736       4     513        2712       0     254     380512        0
        RADIX NODE    144    2178     199       45738       0      62     342288        0
             VNODE    496     522     110        1560       0      30     313472        0
              4096   4096      68       4        1842       0       2     294912        0
        256 Bucket   2048     141       3         380       0       8     294912        0
               256    256    1013     112        4095       0      62     288000        0
         VM OBJECT    264     961      59       28146       0      30     269280        0
             65536  65536       4       0           4       0       1     262144        0
            THREAD   1792     126      18        2128       0       8     258048        0
             ripcb    488       2     510           5       0     254     249856        0
         tcp_inpcb    488       3     509           7       0     254     249856        0
         udp_inpcb    488       2     510         135       0     254     249856        0
            DEVCTL   1024       0     208         113       0       0     212992        0
                64     64    2761     326        4529       0     254     197568        0
              mbuf    256     403     368       18194       0     254     197376        0
                16     16   11830     420       11885       0     254     196000        0
               128    128    1131     264       24354       0     126     178560        0
         UMA Zones    768     226       1         226       0      16     174336        0
                32     32    4460     454        5515       0     254     157248        0
       FFS2 dinode    256     491      79        1527       0      62     145920        0
             65536  65536       0       2          55       0       1     131072        0
             65536  65536       2       0           2       0       1     131072        0
             65536  65536       1       1         111       0       1     131072        0
              1024   1024     114      14         129       0      16     131072        0
             unpcb    256      11     499        1054       0     254     130560        0
         MAP ENTRY     96     959     301       60259       0     126     120960        0
          ksiginfo    112      47     997          73       0     126     116928        0
         vmem btag     56    1835     241        1835       0     254     116256        0
              2048   2048       6      50        2616       0       8     114688        0
         FFS inode    160     491     209        1527       0      62     112000        0
               256    256      46     389        1556       0      62     111360        0
               256    256     324     111        4719       0      62     111360        0
       S VFS Cache    104     597     417        2159       0     126     105456        0
             16384  16384       2       4        1154       0       1      98304        0
           VMSPACE   2536      26      10        1790       0       4      91296        0
              PROC   1312      48      18        1809       0       8      86592        0
             g_bio    408       0     210        5042       0      30      85680        0
        128 Bucket   1024      45      38         251       0      16      84992        0
         filedesc0   1080      49      28        1810       0       8      83160        0
          UMA Kegs    384     212       4         212       0      30      82944        0
                64     64     512     559        1612       0     254      68544        0
               128    128     324     203         388       0     126      67456        0
             65536  65536       1       0           1       0       1      65536        0
             65536  65536       0       1           8       0       1      65536        0
             65536  65536       1       0           1       0       1      65536        0
              8192   8192       6       2          34       0       1      65536        0
              4096   4096      15       1          18       0       2      65536        0
              2048   2048       6      26        2023       0       8      65536        0
              8192   8192       6       1           8       0       1      57344        0
         64 Bucket    512      71      33         879       0      30      53248        0
                64     64     478     341         674       0     254      52416        0
               128    128     144     259        2220       0     126      51584        0
               128    128     148     255        2852       0     126      51584        0
               256    256     141      54         455       0      62      49920        0
               256    256      76     119        1400       0      62      49920        0
         32 Bucket    256      46     149         546       0      62      49920        0
           DIRHASH   1024      34      14          34       0      16      49152        0
             NAMEI   1024       0      48       16114       0      16      49152        0
             16384  16384       3       0           3       0       1      49152        0
             16384  16384       2       1           5       0       1      49152        0
              1024   1024       5      43        2152       0      16      49152        0
               512    512      61      35          61       0      30      49152        0
               512    512       3      93        1008       0      30      49152        0
               512    512      24      72        4423       0      30      49152        0
          syncache    168       0     264           5       0     254      44352        0
            clpbuf    832       0      48          89       0      16      39936        0
        sctp_chunk    152       3     257        1098       0     254      39520        0
           64 pcpu      8    3894     714        3898       0     254      36864        0
             selfd     64      38     529        3518       0     254      36288        0
                64     64      20     547          33       0     254      36288        0
                64     64     238     329       13312       0     254      36288        0
                64     64     166     401        1964       0     254      36288        0
                64     64       6     561          41       0     254      36288        0
                64     64      52     515        3007       0     254      36288        0
               128    128      18     261          64       0     126      35712        0
               128    128      45     234        2951       0     126      35712        0
               128    128     103     176         780       0     126      35712        0
     routing nhops    256      16     119          24       0      62      34560        0
           ttyoutq    256      72      63         160       0      62      34560        0
               256    256      54      81        1206       0      62      34560        0
               256    256      48      87        1423       0      62      34560        0
               256    256       6     129         325       0      62      34560        0
             32768  32768       1       0           1       0       1      32768        0
             32768  32768       1       0           1       0       1      32768        0
             32768  32768       0       1         112       0       1      32768        0
             32768  32768       1       0           1       0       1      32768        0
              2048   2048       2      14          14       0       8      32768        0
              2048   2048       8       8           8       0       8      32768        0
              2048   2048       7       9          10       0       8      32768        0
              1024   1024       4      28          44       0      16      32768        0
              1024   1024       6      26         922       0      16      32768        0
              1024   1024       2      30          16       0      16      32768        0
              1024   1024      16      16          16       0      16      32768        0
              1024   1024      17      15          17       0      16      32768        0
              1024   1024       1      31           6       0      16      32768        0
               512    512      22      42         140       0      30      32768        0
               512    512      10      54          10       0      30      32768        0
               512    512       2      62          25       0      30      32768        0
     mt_stats_zone     64     445      67         445       0     254      32768        0
            ttyinq    160     135      65         300       0      62      32000        0
            cpuset    104       7     272           7       0     126      29016        0
        sctp_laddr     48       0     588           7       0     254      28224        0
         hostcache     96       1     293           1       0     254      28224        0
               PWD     32      12     870        1112       0     254      28224        0
                32     32     308     574        1150       0     254      28224        0
          4 Bucket     48      11     577        7810       0     254      28224        0
        KMAP ENTRY     96      12     279          12       0     126      27936        0
              pipe    760      11      24         293       0      16      26600        0
         TURNSTILE    136     145      44         145       0      62      25704        0
              8192   8192       3       0           3       0       1      24576        0
              8192   8192       2       1          83       0       1      24576        0
              4096   4096       3       3         452       0       2      24576        0
           rtentry    176      20     118          24       0      62      24288        0
          rl_entry     40      34     572          34       0     254      24240        0
             Files     80      94     206        9672       0     126      24000        0
          8 Bucket     80      46     254       10372       0     126      24000        0
       Mountpoints   2816       2       6           2       0       4      22528        0
        SLEEPQUEUE     88     145     111         145       0     126      22528        0
             udpcb     32       2     628         135       0     254      20160        0
                32     32     102     528         153       0     254      20160        0
                32     32      35     595        1699       0     254      20160        0
                32     32      14     616          35       0     254      20160        0
                32     32      72     558        6262       0     254      20160        0
                32     32      21     609        2672       0     254      20160        0
         16 Bucket    144      43      97         138       0      62      20160        0
          2 Bucket     32      52     578        9536       0     254      20160        0
             KNOTE    160       8     117        5143       0      62      20000        0
          procdesc    136       2     143           8       0      62      19720        0
 epoch_record pcpu    256       4      60           4       0      62      16384        0
             16384  16384       1       0           1       0       1      16384        0
             16384  16384       1       0           1       0       1      16384        0
             16384  16384       1       0           1       0       1      16384        0
              8192   8192       2       0           2       0       1      16384        0
              4096   4096       1       3           4       0       2      16384        0
              4096   4096       1       3        1210       0       2      16384        0
              2048   2048       4       4           4       0       8      16384        0
              2048   2048       0       8          32       0       8      16384        0
              2048   2048       1       7         192       0       8      16384        0
      vtnet_tx_hdr     24       0     668         910       0     254      16032        0
           mt_zone     24     445     223         445       0     254      16032        0
                16     16     259     741        9023       0     254      16000        0
              kenv    258       3      57         999       0      30      15480        0
     FPU_save_area    832       1      17           1       0      16      14976        0
              vmem   1856       1       7           1       0       8      14848        0
                32     32      15     363         176       0     254      12096        0
                16     16      11     739          41       0     254      12000        0
                16     16      51     699        6381       0     254      12000        0
                16     16      44     706         461       0     254      12000        0
                16     16     182     568        1224       0     254      12000        0
                16     16      15     735          15       0     254      12000        0
                16     16      15     735       23667       0     254      12000        0
              8192   8192       1       0           1       0       1       8192        0
              4096   4096       0       2           1       0       2       8192        0
           SMR CPU     32       2     253           2       0     254       8160        0
        SMR SHARED     24       2     253           2       0     254       6120        0
       UMA Slabs 1    176       9      13           9       0      62       3872        0
          int pcpu      4      34     478          34       0     254       2048        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
sctp_stream_msg_out    112       0       0           0       0     254          0        0
        sctp_readq    152       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
       tcp_bbr_pcb    832       0       0           0       0      16          0        0
       tcp_bbr_map    128       0       0           0       0     126          0        0
     udplite_inpcb    488       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
           tcp_log    416       0       0           0       0     254          0        0
          tcpreass     48       0       0           0       0     254          0        0
tfo_ccache_entries     80       0       0           0       0     126          0        0
               tfo      4       0       0           0       0     254          0        0
          sackhole     32       0       0           0       0     254          0        0
             tcptw     88       0       0           0       0     254          0        0
               ipq     56       0       0           0       0     254          0        0
    IPsec SA lft_c     16       0       0           0       0     254          0        0
            itimer    352       0       0           0       0      30          0        0
            AIOLIO    280       0       0           0       0      30          0        0
             AIOCB    752       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    232       0       0           0       0      62          0        0
      TMPFS dirent     64       0       0           0       0     254          0        0
           NCLNODE    592       0       0           0       0      16          0        0
             rentr     24       0       0           0       0     254          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
         VNODEPOLL    120       0       0           0       0     126          0        0
    crypto_session     72       0       0           0       0     126          0        0
           cryptop    280       0       0           0       0      30          0        0
      nvme_request    128       0       0           0       0     126          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    832       0       0           0       0      62          0        0
            mdpbuf    832       0       0           0       0       4          0        0
           nfspbuf    832       0       0           0       0      16          0        0
            swwbuf    832       0       0           0       0       8          0        0
            swrbuf    832       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
             65536  65536       0       0           0       0       1          0        0
             32768  32768       0       0           0       0       1          0        0
             32768  32768       0       0           0       0       1          0        0
             32768  32768       0       0           0       0       1          0        0
             32768  32768       0       0           0       0       1          0        0
             16384  16384       0       0           0       0       1          0        0
             16384  16384       0       0           0       0       1          0        0
              8192   8192       0       0           0       0       1          0        0
              8192   8192       0       0           0       0       1          0        0
              4096   4096       0       0           0       0       2          0        0
            fakepg    104       0       0           0       0     126          0        0
          UMA Hash    256       0       0           0       0      62          0        0

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/04 17:56 freebsd cd0149b3b0ea 5ef9c291 console log report syz ci-freebsd-i386
2021/04/12 13:32 freebsd-src 5e98cae661f3 bfeda1b1 console log report ci-freebsd-main panic: mtx_lock() of destroyed mutex at sys/kern/uipc_sockbuf.c:LINE
2021/03/25 09:37 freebsd-src 24cd2796cf10 6a383ecf console log report ci-freebsd-main panic: mtx_lock() of destroyed mutex at sys/kern/uipc_sockbuf.c:LINE
2020/10/16 17:31 freebsd 930cf9f5374a 6e262c73 console log report ci-freebsd-i386
* Struck through repros no longer work on HEAD.