syzbot


panic: lock (sleep mutex) unp not locked @ /syzkaller/managers/main/kernel/sys/kern/uipc_usrreq.c:LINE

Status: fixed on 2023/06/21 23:45
Reported-by: syzbot+c2da2dbae5fe006556bc@syzkaller.appspotmail.com
Fix commit: 712079d38106 unix: Fix uipc_peeraddr() to handle self-connected sockets
First crash: 521d, last: 521d

Sample crash report:
panic: lock (sleep mutex) unp not locked @ /syzkaller/managers/main/kernel/sys/kern/uipc_usrreq.c:902
cpuid = 0
time = 1687369041
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0xc7/frame 0xfffffe0057d636f0
kdb_backtrace() at kdb_backtrace+0xd1/frame 0xfffffe0057d63850
vpanic() at vpanic+0x252/frame 0xfffffe0057d63930
panic() at panic+0xb5/frame 0xfffffe0057d639f0
witness_unlock() at witness_unlock+0x4fa/frame 0xfffffe0057d63a70
__mtx_unlock_flags() at __mtx_unlock_flags+0xeb/frame 0xfffffe0057d63b40
uipc_peeraddr() at uipc_peeraddr+0x116/frame 0xfffffe0057d63b70
kern_getpeername() at kern_getpeername+0x237/frame 0xfffffe0057d63c50
sys_getpeername() at sys_getpeername+0x100/frame 0xfffffe0057d63d30
amd64_syscall() at amd64_syscall+0x40a/frame 0xfffffe0057d63f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0057d63f30
--- syscall (0, FreeBSD ELF64, syscall), rip = 0x2b3c1a, rsp = 0x8206a52b8, rbp = 0x8206a52d0 ---
KDB: enter: panic
[ thread pid 779 tid 100100 ]
Stopped at      kdb_enter+0x6b: movq    $0,0x214590a(%rip)
db> 
db> set $lines = 0
db> set $maxwidth = 0
db> show registers
cs                        0x20
ds                        0x3b
es                        0x3b
fs                        0x13
gs                        0x1b
ss                        0x28
rax                       0x12
rcx         0xfffffe00033eee30
rdx         0xdffff7c000000000
rbx                          0
rsp         0xfffffe0057d63830
rbp         0xfffffe0057d63850
rsi                        0x1
rdi                          0
r8                         0x3
r9                  0xffffffff
r10                          0
r11         0xfffffe0058f0bc40
r12                          0
r13         0xfffffe0058f0b720
r14         0xffffffff8269e040  .str.26
r15         0xffffffff8269e040  .str.26
rip         0xffffffff815ab78b  kdb_enter+0x6b
rflags                    0x46
kdb_enter+0x6b: movq    $0,0x214590a(%rip)
db> show proc
Process 779 (syz-executor1119894) at 0xfffffe0057bacac0:
 state: NORMAL
 uid: 0  gids: 0, 0, 5
 parent: pid 777 at 0xfffffe0058f9e560
 ABI: FreeBSD ELF64
 flag: 0x10004000  flag2: 0
 arguments: ./syz-executor1119894084
 reaper: 0xfffffe00541da040 reapsubtree: 1
 sigparent: 20
 vmspace: 0xfffffe00541e4000
   (map 0xfffffe00541e4000)
   (map.pmap 0xfffffe00541e40c0)
   (pmap 0xfffffe00541e4130)
 threads: 1
100100                   Run     CPU 0                       syz-executor1119894
db> ps
  pid  ppid  pgrp   uid  state   wmesg   wchan               cmd
  779   777   777     0  R       CPU 0                       syz-executor1119894
  777   775   777     0  Ss      pause   0xfffffe0058f9e610  csh
  775   688   775     0  Ss      select  0xfffffe006ca20ec0  sshd
  754     1   754     0  Ss+     ttyin   0xfffffe0057665cb0  getty
  753     1   753     0  Ss+     ttyin   0xfffffe0057b5f0b0  getty
  752     1   752     0  Ss+     ttyin   0xfffffe0057b5f4b0  getty
  751     1   751     0  Ss+     ttyin   0xfffffe0057b5f8b0  getty
  750     1   750     0  Ss+     ttyin   0xfffffe0057664cb0  getty
  749     1   749     0  Ss+     ttyin   0xfffffe0057b5fcb0  getty
  748     1   748     0  Ss+     ttyin   0xfffffe0057b600b0  getty
  747     1   747     0  Ss+     ttyin   0xfffffe0057b604b0  getty
  746     1   746     0  Ss+     ttyin   0xfffffe0057b608b0  getty
  744     1    18     0  S+      piperd  0xfffffe0058c71888  logger
  743   742    18     0  S+      nanslp  0xffffffff836d2840  sleep
  742     1    18     0  S+      wait    0xfffffe0058fa0b00  sh
  692     1   692     0  Ss      nanslp  0xffffffff836d2840  cron
  688     1   688     0  Ss      select  0xfffffe006ca21040  sshd
  501     1   501     0  Ss      select  0xfffffe006ca210c0  syslogd
  430     1   430     0  Ss      select  0xfffffe006ca21dc0  devd
  429     1   429    65  Ss      select  0xfffffe0058c03ec0  dhclient
  344     1   344     0  Ss      select  0xfffffe006ca21cc0  dhclient
  341     1   341     0  Ss      select  0xfffffe0058c040c0  dhclient
   17     0     0     0  DL      vlruwt  0xfffffe0057183ae0  [vnlru]
   16     0     0     0  DL      syncer  0xffffffff837d4d20  [syncer]
   15     0     0     0  DL      (threaded)                  [bufdaemon]
100079                   D       psleep  0xffffffff837d3340  [bufdaemon]
100082                   D       -       0xffffffff82c0a140  [bufspacedaemon-0]
100093                   D       sdflush 0xfffffe005407b0e8  [/ worker]
    9     0     0     0  DL      psleep  0xffffffff8380ac00  [vmdaemon]
    8     0     0     0  DL      (threaded)                  [pagedaemon]
100077                   D       psleep  0xffffffff837feab8  [dom0]
100080                   D       launds  0xffffffff837feac4  [laundry: dom0]
100081                   D       umarcl  0xffffffff81d24b70  [uma]
    7     0     0     0  DL      -       0xffffffff83496e48  [rand_harvestq]
    6     0     0     0  DL      pftm    0xffffffff84286310  [pf purge]
    5     0     0     0  DL      waiting 0xffffffff840cb1c0  [sctp_iterator]
    4     0     0     0  DL      (threaded)                  [cam]
100044                   D       -       0xffffffff83479340  [doneq0]
100045                   D       -       0xffffffff834792c0  [async]
100076                   D       -       0xffffffff83479140  [scanner]
   14     0     0     0  DL      seqstat 0xfffffe0054383c88  [sequencer 00]
    3     0     0     0  DL      (threaded)                  [crypto]
100040                   D       crypto_ 0xffffffff837fa360  [crypto]
100041                   D       crypto_ 0xfffffe005408ce30  [crypto returns 0]
100042                   D       crypto_ 0xfffffe005408ce80  [crypto returns 1]
   13     0     0     0  DL      (threaded)                  [geom]
100035                   D       -       0xffffffff836a8640  [g_event]
100036                   D       -       0xffffffff836a8660  [g_up]
100037                   D       -       0xffffffff836a8680  [g_down]
    2     0     0     0  WL      (threaded)                  [clock]
100029                   I                                   [clock (0)]
100030                   I                                   [clock (1)]
   12     0     0     0  WL      (threaded)                  [intr]
100016                   I                                   [swi5: fast taskq]
100019                   I                                   [swi6: task queue]
100020                   I                                   [swi6: Giant taskq]
100031                   I                                   [swi1: netisr 0]
100032                   I                                   [swi1: hpts]
100033                   I                                   [swi1: hpts]
100046                   I                                   [irq24: virtio_pci0]
100047                   I                                   [irq25: virtio_pci0]
100048                   I                                   [irq26: virtio_pci0]
100049                   I                                   [irq27: virtio_pci0]
100050                   I                                   [irq28: virtio_pci1]
100051                   I                                   [irq29: virtio_pci1]
100052                   I                                   [irq30: virtio_pci1]
100053                   I                                   [irq31: virtio_pci1]
100054                   I                                   [irq32: virtio_pci1]
100059                   I                                   [irq33: virtio_pci2]
100060                   I                                   [irq34: virtio_pci2]
100061                   I                                   [irq35: virtio_pci2]
100063                   I                                   [irq1: atkbd0]
100064                   I                                   [irq12: psm0]
100065                   I                                   [swi0: uart uart++]
100069                   I                                   [swi1: pf send]
   11     0     0     0  RL      (threaded)                  [idle]
100003                   CanRun                              [idle: cpu0]
100004                   Run     CPU 1                       [idle: cpu1]
    1     0     1     0  SLs     wait    0xfffffe00541da040  [init]
   10     0     0     0  DL      audit_w 0xffffffff837fada0  [audit]
    0     0     0     0  DLs     (threaded)                  [kernel]
100000                   D       swapin  0xffffffff836a9060  [swapper]
100005                   D       -       0xfffffe0054297100  [if_io_tqg_0]
100006                   D       -       0xfffffe0054297000  [if_io_tqg_1]
100007                   D       -       0xfffffe0054296e00  [if_config_tqg_0]
100008                   D       -       0xfffffe0054296d00  [softirq_0]
100009                   D       -       0xfffffe0054296c00  [softirq_1]
100010                   D       -       0xfffffe00085ff300  [linuxkpi_irq_wq]
100011                   D       -       0xfffffe00085ff100  [thread taskq]
100012                   D       -       0xfffffe00085fee00  [inm_free taskq]
100013                   D       -       0xfffffe00085fec00  [aiod_kick taskq]
100014                   D       -       0xfffffe00085fea00  [deferred_unmount ta]
100015                   D       -       0xfffffe00085fe800  [in6m_free taskq]
100017                   D       -       0xfffffe00085fe400  [kqueue_ctx taskq]
100018                   D       -       0xfffffe00085fe200  [pci_hp taskq]
100021                   D       -       0xfffffe00085fdb00  [linuxkpi_short_wq_0]
100022                   D       -       0xfffffe00085fdb00  [linuxkpi_short_wq_1]
100023                   D       -       0xfffffe00085fdb00  [linuxkpi_short_wq_2]
100024                   D       -       0xfffffe00085fdb00  [linuxkpi_short_wq_3]
100025                   D       -       0xfffffe00085fd600  [linuxkpi_long_wq_0]
100026                   D       -       0xfffffe00085fd600  [linuxkpi_long_wq_1]
100027                   D       -       0xfffffe00085fd600  [linuxkpi_long_wq_2]
100028                   D       -       0xfffffe00085fd600  [linuxkpi_long_wq_3]
100034                   D       -       0xfffffe00085fcb00  [firmware taskq]
100038                   D       -       0xfffffe00085fc600  [crypto_0]
100039                   D       -       0xfffffe00085fc600  [crypto_1]
100055                   D       -       0xfffffe00570bd900  [vtnet0 rxq 0]
100056                   D       -       0xfffffe00570bd800  [vtnet0 txq 0]
100057                   D       -       0xfffffe00570bd700  [vtnet0 rxq 1]
100058                   D       -       0xfffffe00570bd600  [vtnet0 txq 1]
100062                   D       vtbslp  0xfffffe005715f300  [virtio_balloon]
100066                   D       -       0xffffffff826a2f80  [deadlkres]
100070                   D       -       0xfffffe0057a87500  [acpi_task_0]
100071                   D       -       0xfffffe0057a87500  [acpi_task_1]
100072                   D       -       0xfffffe0057a87500  [acpi_task_2]
100073                   D       -       0xfffffe000798f100  [mca taskq]
100075                   D       -       0xfffffe00570be100  [CAM taskq]
db> show all locks
db> show malloc
              Type        InUse        MemUse     Requests
           pf_hash            5        11524K            5
          tcp_hpts            7         4801K            7
            devbuf         4218         4324K         4243
         sysctloid        34805         2051K        34876
             vtbuf           24         1968K           46
              kobj          326         1304K          488
            newblk          804         1225K          816
          vfscache            3         1025K            3
               pcb           23          669K           42
          inodedep           50          531K           72
         ufs_quota            1          512K            1
          vfs_hash            1          512K            1
           callout            2          512K            2
              intr            4          472K            4
            acpica         1674          184K        57877
           subproc           96          181K          836
           tidhash            3          141K            3
              vmem            3          134K            4
           pagedep           14          132K           18
        tfo_ccache            1          128K            1
          IP reass            1          128K            1
            linker          324          127K          353
         vnet_data            1          112K            1
               sem            4          106K            4
            DEVFS1          105          105K          114
               bus          988           81K         5135
          mtx_pool            2           72K            2
     NFSD srvcache            3           68K            3
          syncache            1           68K            1
          acpitask            1           64K            1
       ddb_capture            1           64K            1
            module          508           64K          508
              temp           19           53K         1604
         hostcache            1           32K            1
               shm            1           32K            1
           kdtrace          157           32K          897
            DEVFS3          124           31K          134
              umtx          242           31K          242
               msg            4           30K            4
            kbdmux            6           28K            6
        gtaskqueue           18           26K           18
        DEVFS_RULE           56           20K           56
               BPF           10           18K           10
         ufs_mount            4           17K            5
              proc            3           17K            3
               tty           16           16K           16
           ithread           97           16K           97
            bus-sc           34           15K         1648
      eventhandler          157           13K          157
            KTRACE          100           13K          100
              kenv           95           12K           95
            ifaddr           30           12K           32
              rman           88           11K          431
              GEOM           61           11K          481
          routetbl           50           11K          176
         CAM queue            5           11K         1528
         bmsafemap            3            9K           39
               rpc            4            9K            4
              UART           12            9K           12
           devstat            4            9K            4
              ksem            1            8K            1
       pfs_vncache            1            8K            1
             shmfd            1            8K            1
     audit_evclass          237            8K          297
         taskqueue           63            7K           63
            sglist            5            7K            5
           CAM DEV            3            6K          510
              cred           23            6K          234
         pfs_nodes           20            5K           20
       ufs_dirhash           24            5K           24
               UMA          267            5K          267
            dirrem           17            5K           28
            plimit           17            5K          322
                vt           11            5K           11
             ifnet            3            5K            3
           memdesc            1            4K            1
               MCA           32            4K           32
          filedesc            1            4K            1
             evdev            4            4K            4
           acpisem           28            4K           28
             hhook           15            4K           17
            diradd           26            4K           37
       ether_multi           40            4K           50
           lltable           11            4K           11
          pf_ifnet            5            3K            6
         in6_multi           25            3K           25
          terminal           11            3K           11
           session           20            3K           31
            kqueue           40            3K          782
           pwddesc           40            3K          780
             clone            9            3K            9
           uidinfo            3            3K            8
         proc-args           62            3K         1720
        local_apic            1            2K            1
           io_apic            1            2K            1
       fpukern_ctx            2            2K            2
         ipsec-saq            2            2K            2
             selfd           27            2K        12361
            Unitno           27            2K           41
           CAM XPT           22            2K          543
             lockf           15            2K           22
               msi           12            2K           12
       ipsecpolicy            2            2K            2
           acpidev           20            2K           20
      NFSD session            1            1K            1
           softdep            1            1K            1
            sahead            1            1K            1
          secasvar            1            1K            1
       vnodemarker            2            1K            8
        CAM periph            4            1K          271
            select            7            1K           29
             ipsec            3            1K            3
          indirdep            3            1K            3
            CC Mem            3            1K            7
             nhops            6            1K            6
              pfil            6            1K            6
         toponodes            6            1K            6
            isadev            6            1K            6
             mount           16            1K           89
          pci_link           10            1K           10
          sctp_ifa            5            1K            6
            crypto            4            1K            4
            ip6ndp            4            1K            5
 encap_export_host           12            1K           12
         newdirblk            4            1K            8
             mkdir            4            1K           16
          in_multi            2            1K            4
              cdev            2            1K            2
               osd            8            1K           20
    chacha20random            1            1K            1
            biobuf            1            1K            1
       inpcbpolicy           10            1K          139
          sctp_ifn            2            1K            6
      NFSD lckfile            1            1K            1
     NFSD V4client            1            1K            1
            DEVFSP            4            1K            9
             DEVFS            9            1K           10
               mld            2            1K            2
              igmp            2            1K            2
            vnodes            1            1K            1
            soname            6            1K         3427
           CAM SIM            2            1K            2
            feeder            7            1K            7
           tcpfunc            3            1K            3
        loginclass            3            1K            7
            prison            6            1K            6
       lkpikmalloc            5            1K            6
        aesni_data            2            1K            2
         cryptodev            2            1K           49
          nexusdev            8            1K            8
            apmdev            1            1K            1
          atkbddev            2            1K            2
           netlink            1            1K            1
     CAM dev queue            2            1K            2
 CAM I/O Scheduler            1            1K            1
          CAM path            4            1K         1034
          procdesc            1            1K            6
          pmchooks            1            1K            1
          filecaps            4            1K           66
               tun            3            1K            3
          sctp_vrf            1            1K            1
              vnet            1            1K            1
           entropy            2            1K           35
               pmc            1            1K            1
          acpiintr            1            1K            1
              cpus            2            1K            2
          freework            1            1K           26
    vnet_data_free            1            1K            1
           Per-cpu            1            1K            1
          p1003.1b            1            1K            1
            tcp_do            0            0K            0
           tcp_fsb            0            0K            0
            ipcomp            0            0K            0
               esp            0            0K            0
                ah            0            0K            0
          pf_table            0            0K            0
           pf_rule            0            0K            0
           pf_altq            0            0K            0
           pf_osfp            0            0K            0
     pf_krule_item            0            0K            0
           pf_temp            0            0K            0
        sctp_mcore            0            0K            0
        sctp_socko            0            0K            0
         sctp_iter            0            0K            4
         sctp_mvrf            0            0K            0
         sctp_timw            0            0K            0
         sctp_cpal            0            0K            0
         sctp_cmsg            0            0K            0
         sctp_stre            0            0K            0
         sctp_athi            0            0K            0
         sctp_athm            0            0K            0
         sctp_atky            0            0K            0
         sctp_atcl            0            0K            0
         sctp_a_it            0            0K            4
         sctp_aadr            0            0K            0
         sctp_stro            0            0K            0
         sctp_stri            0            0K            0
          sctp_map            0            0K            0
           filemon            0            0K            0
            mqdata            0            0K            0
     md_intel_data            0            0K            0
       md_ddf_data            0            0K            0
        madt_table            0            0K            2
          smartpqi            0            0K            0
         raid_data            0            0K           72
     geom_flashmap            0            0K            0
               ixl            0            0K            0
         tmpfs dir            0            0K            0
        tmpfs name            0            0K            0
       tmpfs mount            0            0K            0
     tmpfs extattr            0            0K            0
           NFS FHA            0            0K            0
        ice-resmgr            0            0K            0
         ice-osdep            0            0K            0
               ice            0            0K            0
              iavf            0            0K            0
             axgbe            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
          xen_intr            0            0K            0
      NFSCL diroff            0            0K            0
       NEWdirectio            0            0K            0
           xen_hvm            0            0K            0
         legacydrv            0            0K            0
            bounce            0            0K            0
            busdma            0            0K            0
            qpidrv            0            0K            0
        NEWNFSnode            0            0K            0
         NFSCL lck            0            0K            0
      dmar_idpgtbl            0            0K            0
          dmar_dom            0            0K            0
          dmar_ctx            0            0K            0
      NFSCL lckown            0            0K            0
      NFSCL client            0            0K            0
       NFSCL deleg            0            0K            0
              isci            0            0K            0
      iommu_dmamap            0            0K            0
        NFSCL open            0            0K            0
     hyperv_socket            0            0K            0
           bxe_ilt            0            0K            0
       NFSCL owner            0            0K            0
            xenbus            0            0K            0
            NFS fh            0            0K            0
           NFS req            0            0K            0
     NFSD usrgroup            0            0K            0
     vm_fictitious            0            0K            0
       NFSD string            0            0K            0
       NFSD V4lock            0            0K            0
      NFSD V4state            0            0K            0
       msdosfs_fat            0            0K            0
     msdosfs_mount            0            0K            0
      msdosfs_node            0            0K            0
           UMAHash            0            0K            0
            DEVFS4            0            0K            0
         vm_pgdata            0            0K            0
           jblocks            0            0K            0
          savedino            0            0K           15
          sentinel            0            0K            0
            jfsync            0            0K            0
            jtrunc            0            0K            0
             sbdep            0            0K            2
           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
          freefile            0            0K            9
          freeblks            0            0K           25
          freefrag            0            0K            1
        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
            DEVFS2            0            0K            0
            gntdev            0            0K            0
       privcmd_dev            0            0K            0
        evtchn_dev            0            0K            0
          xenstore            0            0K            0
         scsi_pass            0            0K            0
         ciss_data            0            0K            0
               xnb            0            0K            0
          xen_acpi            0            0K            0
              xbbd            0            0K            0
               xbd            0            0K            0
           Balloon            0            0K            0
          sysmouse            0            0K            0
            vtfont            0            0K            0
          ktls_ocf            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
      MLX5E_TLS_RX            0            0K            0
        MLX5EEPROM            0            0K            0
         MLX5E_TLS            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
            MLX5EN            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
          MLX5DUMP            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
       simple_attr            0            0K            0
          seq_file            0            0K            0
           lkpiskb            0            0K            0
             radix            0            0K            0
               idr            0            0K            0
          lkpindev            0            0K            0
           lkpimhi            0            0K            0
            lkpifw            0            0K            0
         lkpi80211            0            0K            0
               NLM            0            0K            0
    ipsec-spdcache            0            0K            0
         ipsec-reg            0            0K            0
        ipsec-misc            0            0K            0
      ipsecrequest            0            0K            0
            ip6opt            0            0K            3
       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
         BACKLIGHT            0            0K            0
               LRO            0            0K            0
        ip_msource            0            0K            0
       ip_moptions            0            0K            0
        in_mfilter            0            0K            0
              ipid            0            0K            0
         80211scan            0            0K            0
      80211ratectl            0            0K            0
        80211power            0            0K            0
       80211nodeie            0            0K            0
         80211node            0            0K            0
      80211mesh_gt            0            0K            0
      80211mesh_rt            0            0K            0
         80211perr            0            0K            0
         80211prep            0            0K            0
         80211preq            0            0K            0
          80211dfs            0            0K            0
       80211crypto            0            0K            0
          80211vap            0            0K            0
             iflib            0            0K            0
              vlan            0            0K            0
               gif            0            0K            0
           ifdescr            0            0K            0
              zlib            0            0K            0
           fadvise            0            0K            0
           VN POLL            0            0K            0
           ath_hal            0            0K            0
            statfs            0            0K          195
     namei_tracker            0            0K            0
       export_host            0            0K            0
        cl_savebuf            0            0K            3
            athdev            0            0K            0
           ata_pci            0            0K            0
           ata_dma            0            0K            0
       ata_generic            0            0K            0
            pvscsi            0            0K            0
           scsi_da            0            0K           69
            ata_da            0            0K            0
           scsi_ch            0            0K            0
           scsi_cd            0            0K            0
       AHCI driver            0            0K            0
            USBdev            0            0K            0
               USB            0            0K            0
               agp            0            0K            0
           nvme_da            0            0K            0
           acpipwr            0            0K            0
         acpi_perf            0            0K            0
            twsbuf            0            0K            0
       tcp_log_dev            0            0K            0
               aio            0            0K            0
               lio            0            0K            0
               acl            0            0K            0
      midi buffers            0            0K            0
          mbuf_tag            0            0K            0
              ktls            0            0K            0
             mixer            0            0K            0
              ac97            0            0K            0
             hdacc            0            0K            0
              hdac            0            0K            0
              hdaa            0            0K            0
         acpicmbat            0            0K            0
       SIIS driver            0            0K            0
           CAM CCB            0            0K          523
               PUC            0            0K            0
          ppbusdev            0            0K            0
            sr_iov            0            0K            0
               OCS            0            0K            0
               OCS            0            0K            0
              nvme            0            0K            0
               nvd            0            0K            0
            netmap            0            0K            0
            mwldev            0            0K            0
        MVS driver            0            0K            0
     CAM ccb queue            0            0K            0
              accf            0            0K            0
               pts            0            0K            0
               iov            0            0K        13727
          ioctlops            0            0K           86
           eventfd            0            0K            0
           Witness            0            0K            0
             stack            0            0K            0
          mrsasbuf            0            0K            0
          mpt_user            0            0K            0
          mps_user            0            0K            0
            MPSSAS            0            0K            0
               mps            0            0K            0
              sbuf            0            0K          288
          mpr_user            0            0K            0
          firmware            0            0K            0
        compressor            0            0K            0
            MPRSAS            0            0K            0
              SWAP            0            0K            0
               mpr            0            0K            0
            mfibuf            0            0K            0
         sysctltmp            0            0K          650
            sysctl            0            0K            3
        md_sectors            0            0K            0
              ekcd            0            0K            0
            dumper            0            0K            0
          sendfile            0            0K            0
              rctl            0            0K            0
           md_disk            0            0K            0
           malodev            0            0K            0
               LED            0            0K            0
          ix_sriov            0            0K            0
             cache            0            0K            0
        aacraidcam            0            0K            0
          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
                ix            0            0K            0
            ipsbuf            0            0K            0
       aacraid_buf            0            0K            0
            aaccam            0            0K            0
         boottrace            0            0K            0
            aacbuf            0            0K            0
              zstd            0            0K            0
            XZ_DEC            0            0K            0
            nvlist            0            0K            0
          SCSI ENC            0            0K            0
           SCSI sa            0            0K            0
        isofs_node            0            0K            0
       isofs_mount            0            0K            0
     tr_raid5_data            0            0K            0
    tr_raid1e_data            0            0K            0
     tr_raid1_data            0            0K            0
     tr_raid0_data            0            0K            0
    tr_concat_data            0            0K            0
       md_sii_data            0            0K            0
   md_promise_data            0            0K            0
    md_nvidia_data            0            0K            0
   md_jmicron_data            0            0K            0
db> show uma
              Zone   Size    Used    Free    Requests  Sleeps  Bucket  Total Mem    XFree
   mbuf_jumbo_page   4096    8320    1078       15316       0     254   38494208        0
              mbuf    256    8578    1084       18527       0     254    2473472        0
          BUF TRIE    144     190   11626         531       0      62    1701504        0
        malloc-384    384    4150      20        4152       0      30    1601280        0
        malloc-128    128   12214     155       12519       0     126    1583232        0
       malloc-4096   4096     326       2         488       0       2    1343488        0
       UMA Slabs 0    112   10633      17       10633       0     126    1192800        0
      mbuf_cluster   2048     508       0         508       0     254    1040384        0
         vmem btag     56   15402      45       15402       0     254     865032        0
         FFS inode   1160     500      25         509       0       8     609000        0
              pbuf   2624       0     202           0       0       2     530048        0
        RADIX NODE    144    3322     173       20038       0      62     503280        0
            socket    960      19     489        1320       0     254     487680        0
         VM OBJECT    264    1411      89       24443       0      30     396000        0
            lkpimm    168       1    2327           1       0      62     391104        0
          lkpicurr    168       2    2326           2       0      62     391104        0
       malloc-2048   2048       8     160         515       0       8     344064        0
      malloc-65536  65536       4       0           4       0       1     262144        0
      malloc-65536  65536       2       2          10       0       1     262144        0
        256 Bucket   2048     113      15         829       0       8     262144        0
         malloc-64     64    3802     293        3831       0     254     262080        0
             VNODE    448     530      46         541       0      30     258048        0
         malloc-16     16   14382     368       14452       0     254     236000        0
            DEVCTL   1024       0     220         124       0       0     225280        0
        malloc-256    256     857      13         989       0      62     222720        0
            THREAD   1824     116       5         116       0       8     220704        0
      malloc-65536  65536       1       2          47       0       1     196608        0
       malloc-4096   4096      43       5        1396       0       2     196608        0
         MAP ENTRY     96    1583     433       85319       0     126     193536        0
         UMA Zones    768     239       0         239       0      16     183552        0
         malloc-32     32    5294     376        5364       0     254     181440        0
        malloc-128    128    1126     269       26919       0     126     178560        0
       malloc-1024   1024     116      28         126       0      16     147456        0
       FFS2 dinode    256     500      70         509       0      62     145920        0
      malloc-65536  65536       0       2         126       0       1     131072        0
      malloc-65536  65536       2       0           2       0       1     131072        0
             unpcb    256       8     502        1164       0     254     130560        0
       mbuf_packet    256       0     508          97       0     254     130048        0
       S VFS Cache    104     967     203        1008       0     126     121680        0
     FPU_save_area    832     118      26         130       0      16     119808        0
          ksiginfo    112      39    1005          54       0     126     116928        0
       malloc-4096   4096      23       1          34       0       2      98304        0
          UMA Kegs    384     226       7         226       0      30      89472        0
        128 Bucket   1024      45      38         487       0      16      84992        0
              PROC   1376      39      16         779       0       8      75680        0
       malloc-8192   8192       8       1          34       0       1      73728        0
             g_bio    408       0     180        4485       0      30      73440        0
         malloc-64     64     527     544       13809       0     254      68544        0
         malloc-64     64     525     546        1622       0     254      68544        0
        malloc-128    128     289     238         361       0     126      67456        0
      malloc-32768  32768       2       0           2       0       1      65536        0
      malloc-32768  32768       0       2         120       0       1      65536        0
        malloc-256    256     145     110         459       0      62      65280        0
        malloc-256    256     189      66         565       0      62      65280        0
         filedesc0   1072      40      16         780       0       8      60032        0
       malloc-8192   8192       6       1           8       0       1      57344        0
         64 Bucket    512      63      41        1547       0      30      53248        0
         malloc-64     64     273     546       13690       0     254      52416        0
        malloc-128    128     171     232         581       0     126      51584        0
        malloc-256    256      77     118         508       0      62      49920        0
         32 Bucket    256      59     136        2239       0      62      49920        0
           DIRHASH   1024      35      13          35       0      16      49152        0
             NAMEI   1024       0      48       12181       0      16      49152        0
      malloc-16384  16384       3       0           3       0       1      49152        0
      malloc-16384  16384       2       1          12       0       1      49152        0
       malloc-2048   2048       2      22         525       0       8      49152        0
       malloc-1024   1024      10      38        1394       0      16      49152        0
          syncache    168       0     264           5       0     254      44352        0
       malloc-8192   8192       5       0           5       0       1      40960        0
         udp_inpcb    424       6      84         128       0      30      38160        0
            da_ccb    544       0      70        1251       0      16      38080        0
            pcpu-8      8    4268     340        4296       0     254      36864        0
         malloc-64     64       7     560          22       0     254      36288        0
         malloc-64     64     202     365        2321       0     254      36288        0
         malloc-64     64      57     510         310       0     254      36288        0
        malloc-128    128      27     252          86       0     126      35712        0
        malloc-128    128      52     227        3327       0     126      35712        0
        malloc-128    128     100     179         817       0     126      35712        0
        malloc-128    128     131     148         146       0     126      35712        0
     routing nhops    256      10     125          17       0      62      34560        0
           ttyoutq    256      72      63         160       0      62      34560        0
        malloc-384    384      50      40          72       0      30      34560        0
        malloc-384    384      56      34         417       0      30      34560        0
        malloc-256    256      51      84         977       0      62      34560        0
        malloc-256    256      28     107          39       0      62      34560        0
        malloc-256    256      27     108         382       0      62      34560        0
        malloc-256    256      32     103          42       0      62      34560        0
      malloc-32768  32768       1       0           1       0       1      32768        0
      malloc-32768  32768       1       0           1       0       1      32768        0
      malloc-32768  32768       1       0           1       0       1      32768        0
      malloc-16384  16384       0       2         160       0       1      32768        0
       malloc-2048   2048       3      13          15       0       8      32768        0
       malloc-2048   2048       4      12          38       0       8      32768        0
       malloc-2048   2048       1      15          51       0       8      32768        0
       malloc-2048   2048       3      13           3       0       8      32768        0
       malloc-2048   2048       3      13         194       0       8      32768        0
       malloc-1024   1024       2      30          42       0      16      32768        0
       malloc-1024   1024       1      31          17       0      16      32768        0
       malloc-1024   1024       4      28         155       0      16      32768        0
       malloc-1024   1024      16      16          16       0      16      32768        0
       malloc-1024   1024      17      15          17       0      16      32768        0
       malloc-1024   1024       5      27           5       0      16      32768        0
        malloc-512    512       5      59           5       0      30      32768        0
        malloc-512    512       0      64          10       0      30      32768        0
        malloc-512    512       3      61          52       0      30      32768        0
        malloc-512    512       8      56           8       0      30      32768        0
           pcpu-64     64     486      26         486       0     254      32768        0
            ttyinq    160     135      65         300       0      62      32000        0
           VMSPACE    520      23      37         764       0      16      31200        0
            cpuset    104       7     272           7       0     126      29016        0
         malloc-32     32     315     567         701       0     254      28224        0
         16 Bucket    144      49     147         252       0      62      28224        0
          4 Bucket     48       6     582           6       0     254      28224        0
         TURNSTILE    136     122      67         122       0      62      25704        0
             ripcb    392       1      62           4       0      30      24696        0
       malloc-8192   8192       2       1         103       0       1      24576        0
       malloc-4096   4096       4       2           7       0       2      24576        0
       malloc-4096   4096       4       2           4       0       2      24576        0
              PGRP     88      20     256          31       0     126      24288        0
    ertt_txseginfo     40       1     605         270       0     254      24240        0
          rl_entry     40      31     575          31       0     254      24240        0
               PWD     40      10     596         100       0     254      24240        0
           rtentry    168      13     131          17       0      62      24192        0
              pipe    728       7      26         284       0      16      24024        0
             Files     80      72     228        6565       0     126      24000        0
          8 Bucket     80      60     240         553       0     126      24000        0
         tcp_inpcb   1304       3      15           7       0       8      23472        0
        malloc-384    384       5      55          16       0      30      23040        0
        malloc-384    384      53       7          53       0      30      23040        0
        malloc-384    384       7      53           9       0      30      23040        0
       Mountpoints   2816       2       6           2       0       4      22528        0
        SLEEPQUEUE     88     122     134         122       0     126      22528        0
            clpbuf   2624       0       8          25       0       4      20992        0
         hostcache     64       1     314           1       0     254      20160        0
   udp_inpcb ports     32       3     627          40       0     254      20160        0
              ertt     72       3     277           7       0     126      20160        0
         malloc-32     32     119     511         155       0     254      20160        0
         malloc-32     32      77     553        1591       0     254      20160        0
         malloc-32     32      33     597         757       0     254      20160        0
         malloc-32     32       1     629          20       0     254      20160        0
         malloc-32     32      32     598        2807       0     254      20160        0
          2 Bucket     32      51     579         298       0     254      20160        0
 epoch_record pcpu    256       4      60           4       0      62      16384        0
      malloc-16384  16384       1       0           1       0       1      16384        0
      malloc-16384  16384       1       0           1       0       1      16384        0
      malloc-16384  16384       1       0           1       0       1      16384        0
       malloc-8192   8192       2       0           2       0       1      16384        0
       malloc-8192   8192       2       0           2       0       1      16384        0
       malloc-4096   4096       1       3           2       0       2      16384        0
       malloc-4096   4096       1       3         199       0       2      16384        0
       malloc-2048   2048       5       3           7       0       8      16384        0
        malloc-512    512       2      30         120       0      30      16384        0
        malloc-512    512       0      32           1       0      30      16384        0
        malloc-512    512       2      30           8       0      30      16384        0
           SMR CPU     32       7     504           7       0     254      16352        0
        sctp_laddr     48       0     336           4       0     254      16128        0
              kenv    258      15      45        1034       0      30      15480        0
            mqnode    416       3      33           3       0      30      14976        0
              vmem   1856       1       7           1       0       8      14848        0
        SMR SHARED     24       7     504           7       0     254      12264        0
   tcp_inpcb ports     32       1     377           1       0     254      12096        0
         malloc-32     32       9     369          56       0     254      12096        0
      vtnet_tx_hdr     24       0     501        2314       0     254      12024        0
             KNOTE    160       0      75           8       0      62      12000        0
         malloc-16     16      16     734          59       0     254      12000        0
         malloc-16     16      41     709         243       0     254      12000        0
         malloc-16     16      38     712         240       0     254      12000        0
         malloc-16     16     188     562        3056       0     254      12000        0
         malloc-16     16       8     742           8       0     254      12000        0
         malloc-16     16     286     464        1508       0     254      12000        0
         malloc-16     16      32     718       26379       0     254      12000        0
        malloc-384    384       1      29           1       0      30      11520        0
        malloc-384    384       1      29           1       0      30      11520        0
       malloc-8192   8192       1       0           1       0       1       8192        0
           pcpu-16     16       8     504           8       0     254       8192        0
       UMA Slabs 1    176       8      14           8       0      62       3872        0
        KMAP ENTRY     96      12      27          14       0       0       3744        0
       FFS1 dinode    128       0       0           0       0     126          0        0
           ada_ccb    272       0       0           0       0      30          0        0
             swblk    136       0       0           0       0      62          0        0
          swpctrie    144       0       0           0       0      62          0        0
   pf state scrubs     40       0       0           0       0     254          0        0
   pf frag entries     40       0       0           0       0     254          0        0
          pf frags    248       0       0           0       0      62          0        0
  pf table entries    160       0       0           0       0     254          0        0
pf table entry counters     64       0       0           0       0     254          0        0
   pf source nodes    152       0       0           0       0     254          0        0
     pf state keys     88       0       0           0       0     126          0        0
         pf states    344       0       0           0       0     254          0        0
           pf tags    104       0       0           0       0     126          0        0
          pf mtags    184       0       0           0       0      62          0        0
       tcp_bbr_pcb    832       0       0           0       0      16          0        0
       tcp_bbr_map    128       0       0           0       0     126          0        0
      tcp_rack_pcb   1024       0       0           0       0      16          0        0
      tcp_rack_map    128       0       0           0       0     126          0        0
tfo_ccache_entries     80       0       0           0       0     126          0        0
               tfo      4       0       0           0       0     254          0        0
          sackhole     32       0       0           0       0     254          0        0
               ipq     56       0       0           0       0     254          0        0
   tcp_log_id_node    120       0       0           0       0     126          0        0
 tcp_log_id_bucket    176       0       0           0       0      62          0        0
           tcp_log    416       0       0           0       0     254          0        0
          tcpreass     48       0       0           0       0     254          0        0
   sctp_asconf_ack     48       0       0           0       0     254          0        0
       sctp_asconf     40       0       0           0       0     254          0        0
sctp_stream_msg_out    112       0       0           0       0     254          0        0
        sctp_readq    152       0       0           0       0     254          0        0
        sctp_chunk    152       0       0           0       0     254          0        0
        sctp_raddr    736       0       0           0       0     254          0        0
         sctp_asoc   2264       0       0           0       0     254          0        0
           sctp_ep   1176       0       0           0       0     254          0        0
       ripcb ports     32       0       0           0       0     254          0        0
udplite_inpcb ports     32       0       0           0       0     254          0        0
     udplite_inpcb    424       0       0           0       0      30          0        0
    IPsec SA lft_c     16       0       0           0       0     254          0        0
           netlink   2048       0       0           0       0       8          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
               AIO    208       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    608       0       0           0       0      16          0        0
        TMPFS node    232       0       0           0       0      62          0        0
     LTS VFS Cache    360       0       0           0       0      30          0        0
       L VFS Cache    320       0       0           0       0      30          0        0
     STS VFS Cache    144       0       0           0       0      62          0        0
           cryptop    280       0       0           0       0      30          0        0
  linux_dma_object     32       0       0           0       0     254          0        0
  linux_dma_pctrie    144       0       0           0       0      62          0        0
   IOMMU_MAP_ENTRY    104       0       0           0       0     126          0        0
    mbuf_jumbo_16k  16384       0       0           0       0     254          0        0
     mbuf_jumbo_9k   9216       0       0           0       0     254          0        0
      audit_record   1280       0       0           0       0       8          0        0
         domainset     40       0       0           0       0     254          0        0
        MAC labels     40       0       0           0       0     254          0        0
            vnpbuf   2624       0       0           0       0      16          0        0
           nfspbuf   2624       0       0           0       0       4          0        0
            swwbuf   2624       0       0           0       0       2          0        0
            swrbuf   2624       0       0           0       0       4          0        0
          umtx_shm     88       0       0           0       0     126          0        0
           umtx pi     96       0       0           0       0     126          0        0
rangeset pctrie nodes    144       0       0           0       0      62          0        0
      malloc-65536  65536       0       0           0       0       1          0        0
      malloc-65536  65536       0       0           0       0       1          0        0
      malloc-65536  65536       0       0           0       0       1          0        0
      malloc-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-8192   8192       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-64     64       0       0           0       0     254          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 (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/21 17:39 freebsd-src 83c701af5340 ee50e71c console log report syz C ci-freebsd-main panic: lock (sleep mutex) unp not locked @ /syzkaller/managers/main/kernel/sys/kern/uipc_usrreq.c:LINE
2023/06/21 17:26 freebsd-src 83c701af5340 ee50e71c console log report ci-freebsd-main panic: lock (sleep mutex) unp not locked @ /syzkaller/managers/main/kernel/sys/kern/uipc_usrreq.c:LINE
* Struck through repros no longer work on HEAD.