syzbot


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

Status: fixed on 2023/06/21 23:45
Reported-by: syzbot+b4d6b093b1d78bfa859b@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/i386/kernel/sys/kern/uipc_usrreq.c:902
cpuid = 1
time = 1687367976
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0xc7/frame 0xfffffe00740306f0
kdb_backtrace() at kdb_backtrace+0xd1/frame 0xfffffe0074030850
vpanic() at vpanic+0x252/frame 0xfffffe0074030930
panic() at panic+0xb5/frame 0xfffffe00740309f0
witness_unlock() at witness_unlock+0x4fa/frame 0xfffffe0074030a70
__mtx_unlock_flags() at __mtx_unlock_flags+0xeb/frame 0xfffffe0074030b40
uipc_peeraddr() at uipc_peeraddr+0x116/frame 0xfffffe0074030b70
kern_getpeername() at kern_getpeername+0x237/frame 0xfffffe0074030c50
sys_getpeername() at sys_getpeername+0x100/frame 0xfffffe0074030d30
ia32_syscall() at ia32_syscall+0x414/frame 0xfffffe0074030f30
int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0xfbffcf78
KDB: enter: panic
[ thread pid 19413 tid 123575 ]
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                           0
rax                       0x12
rcx         0xfffffe0072200000
rdx                    0x3ffff
rbx                          0
rsp         0xfffffe0074030830
rbp         0xfffffe0074030850
rsi                    0x40001
rdi         0xffffffff815bb9d8  printf+0x158
r8                           0
r9                  0xffffffff
r10                          0
r11         0xfffffe006ccf2540
r12                          0
r13         0xfffffe006ccf2020
r14         0xffffffff8269e040  .str.26
r15         0xffffffff8269e040  .str.26
rip         0xffffffff815ab78b  kdb_enter+0x6b
rflags                0x200046  kernload+0x46
kdb_enter+0x6b: movq    $0,0x214590a(%rip)
db> show proc
Process 19413 (syz-executor.3) at 0xfffffe0074239000:
 state: NORMAL
 uid: 0  gids: 0, 0, 5
 parent: pid 809 at 0xfffffe0057baeb00
 ABI: FreeBSD ELF32
 flag: 0x10000080  flag2: 0
 arguments: /root/syz-executor.3 exec
 reaper: 0xfffffe00541da040 reapsubtree: 1
 sigparent: 20
 vmspace: 0xfffffe0072117450
   (map 0xfffffe0072117450)
   (map.pmap 0xfffffe0072117510)
   (pmap 0xfffffe0072117580)
 threads: 2
118624                   RunQ                                syz-executor.3
123575                   Run     CPU 1                       syz-executor.3
db> ps
  pid  ppid  pgrp   uid  state   wmesg   wchan               cmd
19413   809   809     0  R       (threaded)                  syz-executor.3
118624                   RunQ                                syz-executor.3
123575                   Run     CPU 1                       syz-executor.3
19409   786   786     0  R       (threaded)                  syz-executor.1
116366                   RunQ                                syz-executor.1
123568                   S       connec  0xfffffe0058f1ac1a  syz-executor.1
123572                   RunQ                                syz-executor.1
19407   787   787     0  R       (threaded)                  syz-executor.2
116358                   RunQ                                syz-executor.2
123566                   S       connec  0xfffffe0058f1885a  syz-executor.2
123571                   RunQ                                syz-executor.2
19406   785   785     0  S       (threaded)                  syz-executor.0
118633                   S       nanslp  0xffffffff836d2841  syz-executor.0
123565                   S       connec  0xfffffe0058f2249a  syz-executor.0
123570                   S       uwait   0xfffffe006d1ba180  syz-executor.0
 3606     1  3606    65  Ss      select  0xfffffe006d1bad40  dhclient
 3012     1  3012     0  Ss      select  0xfffffe006cc1a6c0  dhclient
 3006     1  3006     0  Ss      select  0xfffffe006d1babc0  dhclient
 2980     1  2980    65  Ss      select  0xfffffe006d1bcd40  dhclient
 2835     1   786     0  S       uwait   0xfffffe006d1bd400  syz-executor.1
 2737     0     0     0  DL      aiordy  0xfffffe0058f47040  [aiod4]
 2736     0     0     0  DL      aiordy  0xfffffe0073fc6ae0  [aiod3]
 2735     0     0     0  DL      aiordy  0xfffffe0058f48060  [aiod2]
 2734     0     0     0  DL      aiordy  0xfffffe006cd18ac0  [aiod1]
 2373     1  2373     0  Ss      select  0xfffffe006d1bac40  dhclient
 2370     1  2370     0  Ss      select  0xfffffe006d1badc0  dhclient
 2343     1  2343    65  Ss      select  0xfffffe006d1baf40  dhclient
 1957     1  1957     0  Ss      select  0xfffffe006d1bb040  dhclient
 1952     1  1952     0  Ss      select  0xfffffe006cc1a840  dhclient
 1926     1  1926    65  Ss      select  0xfffffe006d1bb0c0  dhclient
  822     1   822     0  Ss      select  0xfffffe006d1bca40  dhclient
  818     1   818     0  Ss      select  0xfffffe006d1bcbc0  dhclient
  809   774   809     0  Ss      nanslp  0xffffffff836d2841  syz-executor.3
  787   774   787     0  Ss      nanslp  0xffffffff836d2841  syz-executor.2
  786   774   786     0  Ss      nanslp  0xffffffff836d2841  syz-executor.1
  785   774   785     0  Rs                                  syz-executor.0
  774   772   772     0  S       (threaded)                  syz-fuzzer
100118                   S       wait    0xfffffe006cd1b5c0  syz-fuzzer
100119                   S       uwait   0xfffffe006cc1bb80  syz-fuzzer
100120                   S       uwait   0xfffffe006cc1bc80  syz-fuzzer
100121                   S       uwait   0xfffffe006cc1bd80  syz-fuzzer
100122                   S       uwait   0xfffffe006cc1be80  syz-fuzzer
100123                   S       wait    0xfffffe006cd1b5c0  syz-fuzzer
100124                   S       uwait   0xfffffe005894e900  syz-fuzzer
100128                   S       wait    0xfffffe006cd1b5c0  syz-fuzzer
100129                   S       wait    0xfffffe006cd1b5c0  syz-fuzzer
100130                   S       uwait   0xfffffe005894e700  syz-fuzzer
100134                   S       uwait   0xfffffe006cc1b780  syz-fuzzer
100136                   S       uwait   0xfffffe006cc1b980  syz-fuzzer
101633                   S       kqread  0xfffffe000798fd00  syz-fuzzer
  772   770   772     0  Ss      pause   0xfffffe0057182610  csh
  770   688   770     0  Ss      select  0xfffffe005894e7c0  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   0xfffffe0057b5fcb0  getty
  749     1   749     0  Ss+     ttyin   0xfffffe0057664cb0  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
  692     1   692     0  Ss      nanslp  0xffffffff836d2840  cron
  688     1   688     0  Ss      select  0xfffffe006cc1c140  sshd
  501     1   501     0  Ss      select  0xfffffe005894eac0  syslogd
  430     1   430     0  Ss      select  0xfffffe0058b288c0  devd
  429     1   429    65  Ss      select  0xfffffe006cc1c340  dhclient
  344     1   344     0  Ss      select  0xfffffe0058b286c0  dhclient
  341     1   341     0  Ss      select  0xfffffe006cc1c3c0  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]
100094                   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    0xffffffff84191310  [pf purge]
    5     0     0     0  DL      waiting 0xffffffff844f81c0  [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  RL      (threaded)                  [intr]
100016                   I                                   [swi5: fast taskq]
100019                   I                                   [swi6: task queue]
100020                   I                                   [swi6: Giant taskq]
100031                   I                                   [swi1: netisr 0]
100032                   Run     CPU 0                       [swi1: hpts]
100033                   I                                   [swi1: hpts]
100046                   I                                   [irq24: virtio_pci0]
100047                   I                                   [irq25: virtio_pci0]
100048                   I                                   [irq26: virtio_pci0]
100049                   I                                   [irq27: virtio_pci0]
100050                   I                                   [irq28: virtio_pci1]
100051                   I                                   [irq29: virtio_pci1]
100052                   I                                   [irq30: virtio_pci1]
100053                   I                                   [irq31: virtio_pci1]
100054                   I                                   [irq32: virtio_pci1]
100059                   I                                   [irq33: virtio_pci2]
100060                   I                                   [irq34: virtio_pci2]
100061                   I                                   [irq35: virtio_pci2]
100063                   I                                   [irq1: atkbd0]
100064                   I                                   [irq12: psm0]
100065                   I                                   [swi0: uart uart++]
100069                   I                                   [swi1: pf send]
   11     0     0     0  RL      (threaded)                  [idle]
100003                   CanRun                              [idle: cpu0]
100004                   CanRun                              [idle: cpu1]
    1     0     1     0  SLs     wait    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       -       0xffffffff826a2f81  [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
Process 12 (intr) thread 0xfffffe00542abe40 (100032)
exclusive sleep mutex tcp_hpts_lck (hpts) r = 0 (0xfffffe005420b000) locked @ /syzkaller/managers/i386/kernel/sys/netinet/tcp_hpts.c:1391
db> show malloc
              Type        InUse        MemUse     Requests
           pf_hash            5        11524K            5
          tcp_hpts            7         4801K            7
            devbuf         4218         4324K         4246
         sysctloid        34805         2051K        34876
             vtbuf           24         1968K           46
              kobj          326         1304K          488
            newblk            9         1026K        20543
          vfscache            3         1025K            3
               pcb           73          721K        60156
          inodedep          162          573K        18728
         ufs_quota            1          512K            1
          vfs_hash            1          512K            1
           callout            2          512K            2
              intr            4          472K            4
           subproc          151          282K        19503
              vmem            3          266K            6
            acpica         1674          184K        57877
          filedesc           20          153K        36977
           tidhash            3          141K            3
           pagedep            9          130K        18495
        tfo_ccache            1          128K            1
          IP reass            1          128K            1
            linker          324          127K          361
         vnet_data            1          112K            1
            DEVFS1          109          109K          126
               sem            4          106K            4
               BPF           48           89K         1150
               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           36           53K         3377
              umtx          396           50K          396
           kdtrace          230           46K        42990
            dirrem          152           38K        18644
            DEVFS3          128           32K          138
         hostcache            1           32K            1
               shm            1           32K            3
               msg            4           30K            4
         sctp_timw          118           30K          118
            kbdmux            6           28K            6
        gtaskqueue           18           26K           18
            ifaddr           70           20K           72
        DEVFS_RULE           56           20K           56
          freefile          152           19K        18638
         sctp_stro           18           18K         7271
         ufs_mount            4           17K            5
              proc            3           17K            3
               tty           16           16K           16
         sctp_atcl           42           16K        40168
           ithread           97           16K           97
          routetbl          128           16K          411
            bus-sc           34           15K         1648
           lltable           43           14K          100
      eventhandler          157           13K          157
            KTRACE          100           13K          359
             ifnet            7           13K            7
       ether_multi          152           13K          162
              kenv           95           12K           95
              rman           88           11K          431
              GEOM           61           11K          481
         CAM queue            5           11K         1528
         in6_multi           65            9K           65
         bmsafemap            2            9K        18715
               rpc            4            9K            4
              UART           12            9K           12
           devstat            4            9K            4
              ksem            1            8K           14
       pfs_vncache            1            8K            1
             shmfd            1            8K            1
     audit_evclass          237            8K          297
         taskqueue           63            7K           63
              cred           26            7K          288
            kqueue           64            7K        19454
            sglist            5            7K            5
           CAM DEV            3            6K          510
            plimit           24            6K          499
         pfs_nodes           20            5K           20
       ufs_dirhash           24            5K           24
            DEVFSP           70            5K         1188
           session           35            5K           52
               UMA          267            5K          267
          pf_ifnet           10            5K           19
                vt           11            5K           11
           memdesc            1            4K            1
               MCA           32            4K           32
             evdev            4            4K            4
           pwddesc           62            4K        19414
           acpisem           28            4K           28
         proc-args           93            4K        20768
             selfd           55            4K       260862
             lockf           32            4K           63
             hhook           15            4K           17
          kcovinfo           52            4K           52
          terminal           11            3K           11
            CC Mem           10            3K        11976
         sctp_atky           60            3K        50882
            select           19            3K           54
             clone            9            3K            9
           uidinfo            3            3K           15
        local_apic            1            2K            1
           io_apic            1            2K            1
       fpukern_ctx            2            2K            2
         ipsec-saq            2            2K            2
            ip6ndp           12            2K           13
            Unitno           30            2K           49
          sctp_ifa           13            2K           14
           CAM XPT           22            2K          543
               msi           12            2K           12
          in_multi            6            2K            8
       ipsecpolicy            2            2K            2
           acpidev           20            2K           20
               tun            7            2K            7
          freework            5            2K        18740
      NFSD session            1            1K            1
           softdep            1            1K            1
             mkdir            8            1K        36948
          freeblks            4            1K        18621
            sahead            1            1K            1
          secasvar            1            1K            1
             nhops            6            1K            8
       vnodemarker            2            1K           86
        CAM periph            4            1K          271
             ipsec            3            1K            3
          sctp_ifn            6            1K           14
               mld            6            1K            6
              igmp            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_athm           42            1K        43030
       inpcbpolicy           21            1K        12444
            diradd            5            1K        18687
            crypto            4            1K            4
 encap_export_host           12            1K           12
          procdesc            5            1K           14
          sctp_map           36            1K        16108
               osd           15            1K        11989
         sctp_stri            1            1K         5716
         newdirblk            4            1K        18474
              cdev            2            1K            2
    chacha20random            1            1K            1
            biobuf            1            1K            1
            soname            9            1K        49498
      NFSD lckfile            1            1K            1
     NFSD V4client            1            1K            1
             DEVFS            9            1K           10
            vnodes            1            1K            1
           CAM SIM            2            1K            2
            feeder            7            1K            7
           tcpfunc            3            1K            3
        loginclass            3            1K            6
            prison            6            1K            6
       lkpikmalloc            5            1K            6
        aesni_data            2            1K            2
         cryptodev            2            1K           57
          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
               aio            4            1K            4
          CAM path            4            1K         1034
          pmchooks            1            1K            1
          filecaps            5            1K          102
          sctp_vrf            1            1K            1
              vnet            1            1K            1
           entropy            2            1K           48
               pmc            1            1K            1
          acpiintr            1            1K            1
              cpus            2            1K            2
    vnet_data_free            1            1K            1
           Per-cpu            1            1K            1
          p1003.1b            1            1K            1
            ipcomp            0            0K            0
               esp            0            0K            0
                ah            0            0K            0
        sctp_mcore            0            0K            0
        sctp_socko            0            0K         5661
         sctp_iter            0            0K           12
         sctp_mvrf            0            0K            0
         sctp_cpal            0            0K            0
         sctp_cmsg            0            0K            0
         sctp_stre            0            0K            0
         sctp_athi            0            0K            0
         sctp_a_it            0            0K           12
         sctp_aadr            0            0K           31
            mqdata            0            0K            0
          pf_table            0            0K            0
           pf_rule            0            0K            0
           pf_altq            0            0K            0
           pf_osfp            0            0K            0
     pf_krule_item            0            0K            0
           pf_temp            0            0K            0
            tcp_do            0            0K            0
           tcp_fsb            0            0K        10256
           filemon            0            0K            1
     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        16663
          sentinel            0            0K            0
            jfsync            0            0K            0
            jtrunc            0            0K            0
             sbdep            0            0K           41
           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          273
        allocindir            0            0K            0
          indirdep            0            0K           10
       allocdirect            0            0K            0
          ufs_trim            0            0K            0
           mactemp            0            0K            0
     audit_trigger            0            0K            0
 audit_pipe_presel            0            0K            0
     audit_pipeent            0            0K            0
        audit_pipe            0            0K            0
      audit_evname            0            0K            0
         audit_bsm            0            0K            0
      audit_gidset            0            0K            0
        audit_text            0            0K            0
        audit_path            0            0K            0
        audit_data            0            0K            0
        audit_cred            0            0K            0
            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        18670
     namei_tracker            0            0K            0
       export_host            0            0K            0
        cl_savebuf            0            0K           37
            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           28
               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        25468
          ioctlops            0            0K          192
           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          973
            sysctl            0            0K            3
        md_sectors            0            0K            0
              ekcd            0            0K            0
            dumper            0            0K            0
          sendfile            0            0K            0
              rctl            0            0K            0
           md_disk            0            0K            0
           malodev            0            0K            0
               LED            0            0K            0
          ix_sriov            0            0K            0
             cache            0            0K            0
        aacraidcam            0            0K            0
      prison_racct            0            0K            0
       Fail Points            0            0K            0
             sigio            0            0K            1
filedesc_to_leader            0            0K            0
               pwd            0            0K            0
       tty console            0            0K            0
                ix            0            0K            0
            ipsbuf            0            0K            0
       aacraid_buf            0            0K            0
            aaccam            0            0K            0
         boottrace            0            0K            0
            aacbuf            0            0K            0
              zstd            0            0K            0
            XZ_DEC            0            0K            0
            nvlist            0            0K            0
          SCSI ENC            0            0K            0
           SCSI sa            0            0K            0
        isofs_node            0            0K            0
       isofs_mount            0            0K            0
     tr_raid5_data            0            0K            0
    tr_raid1e_data            0            0K            0
     tr_raid1_data            0            0K            0
     tr_raid0_data            0            0K            0
    tr_concat_data            0            0K            0
       md_sii_data            0            0K            0
   md_promise_data            0            0K            0
    md_nvidia_data            0            0K            0
   md_jmicron_data            0            0K            0
db> show uma
              Zone   Size    Used    Free    Requests  Sleeps  Bucket  Total Mem    XFree
   mbuf_jumbo_page   4096    8320    1078     1383179       0     254   38494208        0
              mbuf    256    9944   11149     7793021       0     254    5399808        0
           tcp_log    416       0    5085      530291       0     254    2115360        0
        RADIX NODE    144   13027     380      456669       0      63    1930608        0
          BUF TRIE    144     194   11622        1263       0      62    1701504        0
        malloc-384    384    4150      20        4154       0      30    1601280        0
        malloc-128    128   12409      84       12749       0     126    1599104        0
      mbuf_cluster   2048     762       0         762       0     254    1560576        0
       malloc-4096   4096     326      12        5616       0       2    1384448        0
       UMA Slabs 0    112   11117       1       11117       0     126    1245216        0
         sctp_asoc   2264      18     492        7271       0     254    1154640        0
         vmem btag     56   18935      40       18935       0     254    1062600        0
           sctp_ep   1176      23     747       30039       0     254     905520        0
        malloc-384    384     162    2118       18728       0      30     875520        0
        256 Bucket   2048     295      29       29350       0       9     663552        0
        malloc-256    256     186    2364       48694       0      62     652800        0
         FFS inode   1160     521      25       19160       0       8     633360        0
    ertt_txseginfo     40      79   14667     3326785       0     254     589840        0
        malloc-256    256     163    2132       17764       0      62     587520        0
         VM OBJECT    264    2095     125      256302       0      30     586080        0
       malloc-2048   2048      25     247       30564       0       8     557056        0
        sctp_chunk    152     356    3206      310193       0     254     541424        0
              pbuf   2624       0     198           0       0       2     519552        0
            socket    960      53     455       43817       0     254     487680        0
            lkpimm    168       1    2327           1       0      62     391104        0
          lkpicurr    168       2    2326           2       0      62     391104        0
        sctp_raddr    736      18     499        7271       0     254     380512        0
            THREAD   1824     167      31       23575       0       8     361152        0
        malloc-128    128     263    2155       57037       0     126     309504        0
         MAP ENTRY     96    2714     436      653223       0     126     302400        0
             VNODE    448     560     106       19201       0      30     298368        0
       malloc-4096   4096      65       7       20031       0       2     294912        0
      malloc-65536  65536       4       0           4       0       1     262144        0
      malloc-65536  65536       1       3         375       0       1     262144        0
       malloc-1024   1024      22     234        7513       0      16     262144        0
         malloc-64     64    3806     289        5422       0     254     262080        0
      malloc-16384  16384      10       5       18487       0       2     245760        0
         malloc-16     16   14429     821       40977       0     254     244000        0
            DEVCTL   1024       0     220         152       0       0     225280        0
        malloc-384    384      65     475       40193       0      30     207360        0
      malloc-65536  65536       2       1          10       0       1     196608        0
       mbuf_packet    256     140     622       42661       0     254     195072        0
        malloc-256    256      71     679       20733       0      62     192000        0
         malloc-32     32    5300     622       23856       0     254     189504        0
         UMA Zones    768     239       0         239       0      16     183552        0
     FPU_save_area    832     169      47       33081       0      16     179712        0
        malloc-128    128    1126     269       26919       0     126     178560        0
       malloc-4096   4096      39       3          52       0       2     172032        0
       FFS2 dinode    256     521     109       19160       0      62     161280        0
       S VFS Cache    104    1070     451       19763       0     126     158184        0
       malloc-2048   2048       8      64         515       0       8     147456        0
       malloc-1024   1024     120      24         138       0      16     147456        0
        128 Bucket   1024      86      45        2625       0      16     134144        0
      malloc-65536  65536       0       2         126       0       1     131072        0
      malloc-65536  65536       2       0           2       0       1     131072        0
             unpcb    256      21     489        1281       0     254     130560        0
              PROC   1376      61      27       19413       0       8     121088        0
         64 Bucket    512     151      81       11456       0      30     118784        0
          ksiginfo    112      71     973        9689       0     126     116928        0
        malloc-256    256     288     147       80215       0      62     111360        0
         filedesc0   1072      62      22       19414       0       8      90048        0
          UMA Kegs    384     226       7         226       0      30      89472        0
       tcp_bbr_map    128      88     563      116640       0     126      83328        0
      malloc-16384  16384       3       2           5       0       1      81920        0
         32 Bucket    256     163     152       10556       0      62      80640        0
        sctp_readq    152       0     520        1956       0     254      79040        0
       malloc-8192   8192       8       1          34       0       1      73728        0
             g_bio    408       0     180        8356       0      30      73440        0
         malloc-64     64     577     494      280975       0     254      68544        0
         malloc-64     64     525     546        1622       0     254      68544        0
        malloc-128    128     289     238         408       0     126      67456        0
      malloc-32768  32768       2       0           2       0       1      65536        0
      malloc-32768  32768       0       2         120       0       1      65536        0
sctp_stream_msg_out    112      16     524        2267       0     254      60480        0
       malloc-8192   8192       7       0           9       0       1      57344        0
         tcp_inpcb   1304      10      32       11976       0       8      54768        0
         udp_inpcb    424       6     120         224       0      30      53424        0
         malloc-64     64     343     476       17248       0     254      52416        0
         malloc-64     64     137     682       13516       0     254      52416        0
      tcp_rack_map    128       0     403       51666       0     126      51584        0
        malloc-128    128     110     293       42390       0     126      51584        0
        malloc-128    128     215     188         660       0     126      51584        0
        malloc-256    256     166      29        1425       0      62      49920        0
        malloc-256    256      77     118        1204       0      62      49920        0
        malloc-256    256      44     151         581       0      62      49920        0
        malloc-256    256      34     161       30488       0      62      49920        0
             ripcb    392       5     121         243       0      30      49392        0
      tcp_rack_pcb   1024       0      48        5128       0      16      49152        0
           DIRHASH   1024      35      13          35       0      16      49152        0
             NAMEI   1024       0      48      101236       0      16      49152        0
      malloc-16384  16384       2       1          12       0       1      49152        0
       malloc-8192   8192       5       1           6       0       1      49152        0
       malloc-1024   1024      10      38        1764       0      16      49152        0
           VMSPACE    520      41      49       19399       0      16      46800        0
        malloc-384    384      89      31         464       0      30      46080        0
            pcpu-8      8    4798     834       12654       0     254      45056        0
       tcp_bbr_pcb    832       4      50        4513       0      16      44928        0
          syncache    168       0     264           4       0     254      44352        0
             Files     80     235     315       87058       0     126      44000        0
        sctp_laddr     48       2     838        5870       0     254      40320        0
              pipe    728      23      32         358       0      16      40040        0
            da_ccb    544       0      70        2209       0      16      38080        0
         hostcache     64       2     565           2       0     254      36288        0
         malloc-64     64      59     508          86       0     254      36288        0
         malloc-64     64     248     319       40010       0     254      36288        0
         malloc-32     32     395     739       50757       0     254      36288        0
        malloc-128    128      31     248         101       0     126      35712        0
        malloc-128    128      73     206        3482       0     126      35712        0
     routing nhops    256      27     108          34       0      62      34560        0
           ttyoutq    256      72      63         160       0      62      34560        0
         TURNSTILE    136     199      53         199       0      62      34272        0
        SLEEPQUEUE     88     199     185         199       0     126      33792        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-4096   4096       4       4          14       0       2      32768        0
       malloc-4096   4096       5       3           8       0       2      32768        0
       malloc-2048   2048       3      13          15       0       8      32768        0
       malloc-2048   2048       4      12         128       0       8      32768        0
       malloc-2048   2048       5      11           7       0       8      32768        0
       malloc-2048   2048       1      15         127       0       8      32768        0
       malloc-2048   2048       7       9           7       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      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       2      62         120       0      30      32768        0
        malloc-512    512      15      49        1115       0      30      32768        0
        malloc-512    512       0      64          25       0      30      32768        0
        malloc-512    512       4      60        5768       0      30      32768        0
        malloc-512    512       2      62          86       0      30      32768        0
        malloc-512    512       8      56           8       0      30      32768        0
           pcpu-64     64     486      26         486       0     254      32768        0
               PWD     40      23     785       18578       0     254      32320        0
             KNOTE    160      28     172      178977       0      62      32000        0
            ttyinq    160     135      65         300       0      62      32000        0
            clpbuf   2624       0      12          75       0       4      31488        0
            cpuset    104       7     272           7       0     126      29016        0
   tcp_inpcb ports     32       6     876       10937       0     254      28224        0
         16 Bucket    144      89     107         569       0      62      28224        0
          4 Bucket     48       6     582          12       0     254      28224        0
          8 Bucket     80      83     267        6293       0     126      28000        0
       malloc-8192   8192       2       1         103       0       1      24576        0
       malloc-4096   4096       1       5       18676       0       2      24576        0
              PGRP     88      35     241          53       0     126      24288        0
          rl_entry     40      63     543          63       0     254      24240        0
           rtentry    168      30     114          34       0      62      24192        0
        malloc-384    384      22      38         106       0      30      23040        0
        malloc-384    384      53       7          53       0      30      23040        0
       Mountpoints   2816       2       6           2       0       4      22528        0
   udp_inpcb ports     32       3     627          33       0     254      20160        0
              ertt     72      10     270       11976       0     126      20160        0
         malloc-32     32     122     508       17650       0     254      20160        0
         malloc-32     32     169     461        1856       0     254      20160        0
         malloc-32     32      33     597         768       0     254      20160        0
         malloc-32     32       5     625         193       0     254      20160        0
         malloc-32     32      32     598        2807       0     254      20160        0
          2 Bucket     32      68     562        2341       0     254      20160        0
         malloc-16     16     355     895       63612       0     254      20000        0
             AIOCB    552       0      35           2       0      16      19320        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-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-512    512       0      32           1       0      30      16384        0
           SMR CPU     32       7     504           7       0     254      16352        0
      vtnet_tx_hdr     24       0     668      850612       0     254      16032        0
               AIO    208       0      76           2       0      62      15808        0
              kenv    258      15      45        1046       0      30      15480        0
     udplite_inpcb    424       0      36           1       0      30      15264        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
         malloc-32     32      13     365          56       0     254      12096        0
         malloc-16     16      16     734          59       0     254      12000        0
         malloc-16     16      41     709       37455       0     254      12000        0
         malloc-16     16      54     696         309       0     254      12000        0
         malloc-16     16     188     562        7933       0     254      12000        0
         malloc-16     16       8     742         130       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      10      12          10       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       0          0        0
           pf tags    104       0       0           0       0     126          0        0
          pf mtags    184       0       0           0       0      62          0        0
tfo_ccache_entries     80       0       0           0       0     126          0        0
               tfo      4       0       0           0       0     254          0        0
          sackhole     32       0       0           0       0     254          0        0
               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
          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
       ripcb ports     32       0       0           0       0     254          0        0
udplite_inpcb ports     32       0       0           0       0     254          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
        TMPFS node    232       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
     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 (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/21 17:19 freebsd-src 133b132bc1b6 ee50e71c console log report ci-freebsd-i386 panic: lock (sleep mutex) unp not locked @ /syzkaller/managers/i386/kernel/sys/kern/uipc_usrreq.c:LINE
* Struck through repros no longer work on HEAD.