syzbot


panic: _mtx_lock_sleep: recursed on non-recursive mutex process lock @ /syzkaller/managers/i386/kernel/sys/kern/kern_sig

Status: fixed on 2021/05/12 08:32
Reported-by: syzbot+d5c53cb2d7b92df7834c@syzkaller.appspotmail.com
Fix commit: 5cc1d199412e realtimer_expire: avoid proc lock recursion when called from itimer_proc_continue()
First crash: 1323d, last: 1323d

Sample crash report:
panic: _mtx_lock_sleep: recursed on non-recursive mutex process lock @ /syzkaller/managers/i386/kernel/sys/kern/kern_sig.c:2136

cpuid = 1
time = 1618056000
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe009495f680
vpanic() at vpanic+0x1c7/frame 0xfffffe009495f6e0
panic() at panic+0x43/frame 0xfffffe009495f740
__mtx_lock_sleep() at __mtx_lock_sleep+0x6e9/frame 0xfffffe009495f7d0
__mtx_lock_flags() at __mtx_lock_flags+0x150/frame 0xfffffe009495f830
sigev_findtd() at sigev_findtd+0x80/frame 0xfffffe009495f860
realtimer_expire() at realtimer_expire+0x528/frame 0xfffffe009495f8f0
itimer_proc_continue() at itimer_proc_continue+0x2fa/frame 0xfffffe009495f950
tdsendsignal() at tdsendsignal+0x9ee/frame 0xfffffe009495fa00
kern_kill() at kern_kill+0x203/frame 0xfffffe009495fab0
ia32_syscall() at ia32_syscall+0x237/frame 0xfffffe009495fbf0
int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0xffffd6c8
KDB: enter: panic
[ thread pid 786 tid 100127 ]
Stopped at      kdb_enter+0x67: movq    $0,0x143ce7e(%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         0xffffffff81134260  vprintf+0x140
rdx                        0x1
rbx                          0
rsp         0xfffffe009495f660
rbp         0xfffffe009495f680
rsi                          0
rdi         0xffffffff81134296  vprintf+0x176
r8                           0
r9          0x8080808080808080
r10         0xfffffe009495f550
r11              0x1ff6bfff59c
r12         0xffffffff82067ac0  ddb_dbbe
r13                          0
r14         0xffffffff81a60842
r15         0xffffffff81a60842
rip         0xffffffff8112b287  kdb_enter+0x67
rflags                0x200086  kernload+0x86
kdb_enter+0x67: movq    $0,0x143ce7e(%rip)
db> show proc
Process 786 (syz-executor.3) at 0xfffff80014a10538:
 state: NORMAL
 uid: 0  gids: 0, 0, 5
 parent: pid 780 at 0xfffff80004fa7000
 ABI: FreeBSD ELF32
 flag: 0x10004000  flag2: 0
 arguments: /root/syz-executor.3
 reaper: 0xfffff80004458538 reapsubtree: 1
 sigparent: 20
 vmspace: 0xfffffe0094b813e0
   (map 0xfffffe0094b813e0)
   (map.pmap 0xfffffe0094b814a0)
   (pmap 0xfffffe0094b81500)
 threads: 1
100127                   Run     CPU 1                       syz-executor.3
db> ps
  pid  ppid  pgrp   uid  state   wmesg   wchan               cmd
19103   786   786     0  R       (threaded)                  syz-executor.3
100091                   RunQ                                syz-executor.3
118389                   S       uwait   0xfffff800142cc880  syz-executor.3
18768 18762 18768     0  Ss      select  0xfffff80014f882c0  dhclient
18765     1 18765     0  Ss      select  0xfffff80014f0e440  dhclient
18762 18755   436    65  S       select  0xfffff80014c3aac0  dhclient
18755   436   436     0  S       wait    0xfffff80014b49538  sh
18751     1 18751    65  Ss      select  0xfffff80014d32c40  dhclient
16864     1 16864     0  Ss      select  0xfffff80014e2acc0  dhclient
16861     1 16861     0  Ss      select  0xfffff80014df3cc0  dhclient
16837     1 16837    65  Ss      select  0xfffff80014c3ab40  dhclient
 9928     1  9928     0  Ss      select  0xfffff80014e2abc0  dhclient
 9921     1  9921     0  Ss      select  0xfffff80014d562c0  dhclient
 9884     1  9884    65  Ss      select  0xfffff80014cff5c0  dhclient
 1617     1  1617     0  Ss      select  0xfffff80014d67c40  dhclient
 1605     1  1605     0  Ss      select  0xfffff80014c6df40  dhclient
  786   780   786     0  Rs      CPU 1                       syz-executor.3
  784   780   784     0  Ss      piperd  0xfffff80014a6fba0  syz-executor.2
  783   780   783     0  Ss      piperd  0xfffff80014a345d0  syz-executor.1
  782   780   782     0  Ss      piperd  0xfffff80014a03000  syz-executor.0
  780   778   778     0  S       (threaded)                  syz-fuzzer
100100                   S       uwait   0xfffff80004e4d400  syz-fuzzer
100117                   S       uwait   0xfffff80004b98500  syz-fuzzer
100118                   S       uwait   0xfffff80004b98600  syz-fuzzer
100119                   S       uwait   0xfffff80004b98700  syz-fuzzer
100120                   S       uwait   0xfffff80004b98800  syz-fuzzer
100121                   S       uwait   0xfffff80004b98900  syz-fuzzer
100122                   S       uwait   0xfffff80004e4d100  syz-fuzzer
100123                   S       uwait   0xfffff80004b98a00  syz-fuzzer
100125                   S       kqread  0xfffff800144c8b00  syz-fuzzer
100209                   S       uwait   0xfffff80014c2d000  syz-fuzzer
  778   776   778     0  Ss      pause   0xfffff800144c95e8  csh
  776   694   776     0  Ss      select  0xfffff80004efcbc0  sshd
  760     1   760     0  Ss+     ttyin   0xfffff800048540b0  getty
  759     1   759     0  Ss+     ttyin   0xfffff80004bb18b0  getty
  758     1   758     0  Ss+     ttyin   0xfffff80004bb1cb0  getty
  757     1   757     0  Ss+     ttyin   0xfffff80004b3d0b0  getty
  756     1   756     0  Ss+     ttyin   0xfffff80004b3d4b0  getty
  755     1   755     0  Ss+     ttyin   0xfffff80004b3d8b0  getty
  754     1   754     0  Ss+     ttyin   0xfffff80004b3dcb0  getty
  753     1   753     0  Ss+     ttyin   0xfffff80004b2a0b0  getty
  752     1   752     0  Ss+     ttyin   0xfffff80004b2a4b0  getty
  698     1   698     0  Ss      nanslp  0xffffffff8253b8a1  cron
  694     1   694     0  Ss      select  0xfffff80004b57cc0  sshd
  507     1   507     0  Ss      select  0xfffff80004efccc0  syslogd
  436     1   436     0  Ss      wait    0xfffff80004f23538  devd
  435     1   435    65  Ss      select  0xfffff80004b57940  dhclient
  350     1   350     0  Ss      select  0xfffff80004efcdc0  dhclient
  347     1   347     0  Ss      select  0xfffff80004336340  dhclient
   23     0     0     0  DL      syncer  0xffffffff8262acd0  [syncer]
   22     0     0     0  DL      vlruwt  0xfffff80004d52a70  [vnlru]
   21     0     0     0  DL      (threaded)                  [bufdaemon]
100080                   D       qsleep  0xffffffff82629d80  [bufdaemon]
100085                   D       -       0xffffffff8200ad80  [bufspacedaemon-0]
100096                   D       sdflush 0xfffff800040868e8  [/ worker]
   20     0     0     0  DL      psleep  0xffffffff82651bc8  [vmdaemon]
   19     0     0     0  DL      (threaded)                  [pagedaemon]
100078                   D       psleep  0xffffffff82646038  [dom0]
100086                   D       launds  0xffffffff82646044  [laundry: dom0]
100087                   D       umarcl  0xffffffff815b97e0  [uma]
   18     0     0     0  DL      -       0xffffffff8236fbe8  [rand_harvestq]
   17     0     0     0  DL      waiting 0xffffffff82de8818  [sctp_iterator]
   16     0     0     0  DL      pftm    0xffffffff82bb93c0  [pf purge]
   15     0     0     0  DL      -       0xffffffff826273dc  [soaiod4]
    9     0     0     0  DL      -       0xffffffff826273dc  [soaiod3]
    8     0     0     0  DL      -       0xffffffff826273dc  [soaiod2]
    7     0     0     0  DL      -       0xffffffff826273dc  [soaiod1]
    6     0     0     0  DL      (threaded)                  [cam]
100043                   D       -       0xffffffff822470c0  [doneq0]
100044                   D       -       0xffffffff82247040  [async]
100077                   D       -       0xffffffff82246f10  [scanner]
   14     0     0     0  DL      seqstat 0xfffff800044f4888  [sequencer 00]
    5     0     0     0  DL      crypto_ 0xfffff80004561d90  [crypto returns 1]
    4     0     0     0  DL      crypto_ 0xfffff80004561d30  [crypto returns 0]
    3     0     0     0  DL      crypto_ 0xffffffff82643520  [crypto]
   13     0     0     0  DL      (threaded)                  [geom]
100034                   D       -       0xffffffff8251b0a0  [g_event]
100035                   D       -       0xffffffff8251b0a8  [g_up]
100036                   D       -       0xffffffff8251b0b0  [g_down]
    2     0     0     0  DL      (threaded)                  [KTLS]
100027                   D       -       0xfffff800044a4000  [thr_0]
100028                   D       -       0xfffff800044a4080  [thr_1]
   12     0     0     0  WL      (threaded)                  [intr]
100013                   I                                   [swi6: task queue]
100015                   I                                   [swi6: Giant taskq]
100017                   I                                   [swi5: fast taskq]
100029                   I                                   [swi3: vm]
100030                   I                                   [swi4: clock (0)]
100031                   I                                   [swi4: clock (1)]
100032                   I                                   [swi1: netisr 0]
100045                   I                                   [irq24: virtio_pci0]
100046                   I                                   [irq25: virtio_pci0]
100047                   I                                   [irq26: virtio_pci0]
100048                   I                                   [irq27: virtio_pci0]
100049                   I                                   [irq28: virtio_pci1]
100050                   I                                   [irq29: virtio_pci1]
100051                   I                                   [irq30: virtio_pci1]
100052                   I                                   [irq31: virtio_pci1]
100053                   I                                   [irq32: virtio_pci1]
100058                   I                                   [irq10: virtio_pci2]
100060                   I                                   [irq1: atkbd0]
100061                   I                                   [irq12: psm0]
100062                   I                                   [swi0: uart uart++]
100070                   I                                   [swi1: pf send]
100083                   I                                   [swi1: hpts]
100084                   I                                   [swi1: hpts]
   11     0     0     0  RL      (threaded)                  [idle]
100003                   Run     CPU 0                       [idle: cpu0]
100004                   CanRun                              [idle: cpu1]
    1     0     1     0  SLs     wait    0xfffff80004458538  [init]
   10     0     0     0  DL      audit_w 0xffffffff82643a40  [audit]
    0     0     0     0  DLs     (threaded)                  [kernel]
100000                   D       swapin  0xffffffff8251b630  [swapper]
100005                   D       -       0xfffff8000434ad00  [if_io_tqg_0]
100006                   D       -       0xfffff8000434ac00  [if_io_tqg_1]
100007                   D       -       0xfffff8000434ab00  [if_config_tqg_0]
100008                   D       -       0xfffff8000434aa00  [softirq_0]
100009                   D       -       0xfffff8000434a900  [softirq_1]
100010                   D       -       0xfffff800044a8d00  [kqueue_ctx taskq]
100011                   D       -       0xfffff800044a8b00  [inm_free taskq]
100012                   D       -       0xfffff800044a8900  [linuxkpi_irq_wq]
100014                   D       -       0xfffff800044a8500  [aiod_kick taskq]
100016                   D       -       0xfffff800044a8100  [thread taskq]
100018                   D       -       0xfffff800044a4c00  [in6m_free taskq]
100019                   D       -       0xfffff800044a4a00  [linuxkpi_short_wq_0]
100020                   D       -       0xfffff800044a4a00  [linuxkpi_short_wq_1]
100021                   D       -       0xfffff800044a4a00  [linuxkpi_short_wq_2]
100022                   D       -       0xfffff800044a4a00  [linuxkpi_short_wq_3]
100023                   D       -       0xfffff800044a4500  [linuxkpi_long_wq_0]
100024                   D       -       0xfffff800044a4500  [linuxkpi_long_wq_1]
100025                   D       -       0xfffff800044a4500  [linuxkpi_long_wq_2]
100026                   D       -       0xfffff800044a4500  [linuxkpi_long_wq_3]
100033                   D       -       0xfffff80004497800  [firmware taskq]
100037                   D       -       0xfffff80004497300  [crypto_0]
100038                   D       -       0xfffff80004497300  [crypto_1]
100054                   D       -       0xfffff8000455d200  [vtnet0 rxq 0]
100055                   D       -       0xfffff8000455d100  [vtnet0 txq 0]
100056                   D       -       0xfffff8000455d000  [vtnet0 rxq 1]
100057                   D       -       0xfffff8000486be00  [vtnet0 txq 1]
100059                   D       vtbslp  0xfffff80004336480  [virtio_balloon]
100063                   D       -       0xfffff800048bce00  [mca taskq]
100066                   D       -       0xffffffff81e0c280  [deadlkres]
100072                   D       -       0xfffff800044d8600  [acpi_task_0]
100073                   D       -       0xfffff800044d8600  [acpi_task_1]
100074                   D       -       0xfffff800044d8600  [acpi_task_2]
100076                   D       -       0xfffff8000455db00  [CAM taskq]
db> show all locks
Process 786 (syz-executor.3) thread 0xfffffe0094c58100 (100127)
exclusive sleep mutex process lock (process lock) r = 0 (0xfffff80004e4ab98) locked @ /syzkaller/managers/i386/kernel/sys/kern/kern_proc.c:450
db> show malloc
              Type        InUse        MemUse     Requests
           pf_hash            5        11524K            5
            devbuf         4216         4340K         4244
          tcp_hpts            5         3201K            5
             vtbuf           24         1968K           46
         sysctloid        30935         1814K        31002
              kobj          332         1328K          492
            newblk            8         1026K        18882
          vfscache            3         1025K            3
               pcb          250          789K         5395
          inodedep           16          518K        18505
         ufs_quota            1          512K            1
          vfs_hash            1          512K            1
           callout            2          512K            2
              intr            4          472K            4
           subproc          141          274K        19656
            acpica         1674          184K        55406
         vnet_data            1          168K            1
           tidhash            3          141K            3
           pagedep           12          131K        18319
        tfo_ccache            1          128K            1
         sctp_stro          112          112K          252
            DEVFS1          106          106K          123
               sem            4          106K            4
            linker          287          101K          322
          filedesc           12           89K        36295
               BPF           46           88K           46
         sctp_atcl          224           84K         2245
               bus          995           81K         3509
          mtx_pool            2           72K            2
          syncache            1           68K            1
          acpitask            1           64K            1
       ddb_capture            1           64K            1
            module          507           64K          507
              umtx          342           43K          342
           kdtrace          215           43K        37521
               shm            2           34K          791
              temp           35           33K         4412
         hostcache            1           32K            1
            DEVFS3          125           32K          135
               msg            4           30K            4
              vmem            3           26K            4
        gtaskqueue           18           26K           18
            kbdmux            6           22K            6
            ifaddr           70           20K           72
        DEVFS_RULE           56           20K           56
         ufs_mount            5           17K            6
              proc            3           17K            3
               tty           16           16K           16
           ithread           99           16K           99
         sctp_atky          336           14K         2497
            bus-sc           33           14K         1719
            KTRACE          100           13K          100
             ifnet            7           13K            7
       ether_multi          152           13K          162
           lltable           40           12K           48
              kenv           93           12K           93
      eventhandler          133           12K          133
              rman           84           10K          425
              GEOM           60           10K          489
              ksem            4           10K          558
         in6_multi           65            9K           65
         bmsafemap            3            9K        18476
              UART           12            9K           12
           devstat            4            9K            4
               rpc            2            8K            2
             shmfd            1            8K          172
       pfs_vncache            1            8K            1
         sctp_timw           31            8K           31
         pfs_nodes           20            8K           20
     audit_evclass          236            8K          294
              cred           27            7K          308
            sglist            5            7K            5
            kqueue           63            7K        19159
           CAM DEV            3            6K          510
            plimit           24            6K          439
         taskqueue           57            6K           57
         CAM queue            5            6K         1528
            DEVFSP           78            5K           82
       ufs_dirhash           24            5K           24
               UMA          263            5K          263
          pf_ifnet           10            5K           19
           session           34            5K           50
                vt           11            5K           11
           memdesc            1            4K            1
               MCA           32            4K           32
             evdev            4            4K            4
          kcovinfo           64            4K           68
           pwddesc           61            4K        19119
          routetbl           23            4K           23
         sctp_athm          224            4K         2245
          sctp_map          224            4K          504
           acpisem           28            4K           28
             lockf           32            4K           54
             selfd           52            4K       244933
             hhook           13            4K           13
       fpukern_ctx            3            3K            3
         proc-args           53            3K          677
          terminal           11            3K           11
            select           19            3K           55
           uidinfo            3            3K           33
        local_apic            1            2K            1
           io_apic            1            2K            1
         ipsec-saq            2            2K            2
            ip6ndp           12            2K           14
            Unitno           31            2K           47
          sctp_ifa           13            2K           14
           CAM XPT           22            2K          543
          in_multi            6            2K            8
       ipsecpolicy            2            2K            2
           acpidev           20            2K           20
               msi            9            2K            9
             clone            9            2K            9
               tun            7            2K            7
           softdep            1            1K            1
            diradd            8            1K        18462
            sahead            1            1K            1
          secasvar            1            1K            1
             nhops            6            1K            8
       vnodemarker            2            1K           26
      NFSD session            1            1K            1
        CAM periph            4            1K          271
          sctp_ifn            6            1K           14
             ipsec            3            1K            3
            dirrem            3            1K        18421
             mkdir            6            1K        36598
               mld            6            1K            6
              igmp            6            1K            6
         toponodes            6            1K            6
            isadev            6            1K            6
             mount           16            1K           89
          pci_link           10            1K           10
          freework            3            1K        18308
            crypto            4            1K            4
 encap_export_host           12            1K           12
          procdesc            5            1K           18
      linuxcurrent            3            1K            4
         newdirblk            4            1K        18299
          freeblks            2            1K        18307
              pfil            4            1K            4
           CAM SIM            2            1K            2
              cdev            2            1K            2
    chacha20random            1            1K            1
       inpcbpolicy           11            1K         8893
               osd            3            1K           10
      NFSD lckfile            1            1K            1
     NFSD V4client            1            1K            1
             DEVFS            9            1K           10
          freefile            2            1K        18417
            vnodes            1            1K            1
              ktls            1            1K            1
            feeder            7            1K            7
           tcpfunc            3            1K            3
        loginclass            3            1K            6
            prison            6            1K            6
             linux            5            1K            6
        aesni_data            2            1K            2
            apmdev            1            1K            1
          atkbddev            2            1K            2
     CAM dev queue            2            1K            2
 CAM I/O Scheduler            1            1K            1
          CAM path            4            1K         1034
          pmchooks            1            1K            1
          nexusdev            7            1K            7
            soname            4            1K        12213
          filecaps            5            1K          115
          sctp_vrf            1            1K            1
              vnet            1            1K            1
           entropy            2            1K           42
          acpiintr            1            1K            1
               pmc            1            1K            1
              cpus            2            1K            2
    vnet_data_free            1            1K            1
           Per-cpu            1            1K            1
          p1003.1b            1            1K            1
        sctp_mcore            0            0K            0
        sctp_socko            0            0K           17
         sctp_iter            0            0K            7
         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            7
         sctp_aadr            0            0K            0
         sctp_stri            0            0K            0
            mqdata            0            0K            0
          pf_table            0            0K            0
           pf_rule            0            0K            0
           pf_altq            0            0K            0
           pf_osfp            0            0K            0
           pf_temp            0            0K            0
       NFSD string            0            0K            0
       NFSD V4lock            0            0K            0
        madt_table            0            0K            2
          smartpqi            0            0K            0
      NFSD V4state            0            0K            0
     NFSD srvcache            0            0K            0
       msdosfs_fat            0            0K            0
     msdosfs_mount            0            0K            0
      msdosfs_node            0            0K            0
              iavf            0            0K            0
               ixl            0            0K            0
            DEVFS4            0            0K            0
            DEVFS2            0            0K            0
            gntdev            0            0K            0
       privcmd_dev            0            0K            0
        ice-resmgr            0            0K            0
         ice-osdep            0            0K            0
               ice            0            0K            0
             axgbe            0            0K            0
        evtchn_dev            0            0K            0
          xenstore            0            0K            0
         ciss_data            0            0K            0
         BACKLIGHT            0            0K            0
               xnb            0            0K            0
              xbbd            0            0K            0
               xbd            0            0K            0
           Balloon            0            0K            0
          sysmouse            0            0K            0
            vtfont            0            0K            0
          xen_intr            0            0K            0
           xen_hvm            0            0K            0
         legacydrv            0            0K            0
            qpidrv            0            0K            0
           ath_hal            0            0K            0
            athdev            0            0K            0
      dmar_idpgtbl            0            0K            0
          dmar_dom            0            0K            0
          dmar_ctx            0            0K            0
           ata_pci            0            0K            0
           ata_dma            0            0K            0
       ata_generic            0            0K            0
              isci            0            0K            0
      iommu_dmamap            0            0K            0
               amr            0            0K            0
     hyperv_socket            0            0K            0
           bxe_ilt            0            0K            0
            xenbus            0            0K            0
            pvscsi            0            0K            0
           scsi_da            0            0K           69
     vm_fictitious            0            0K            0
            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
           UMAHash            0            0K            0
           acpipwr            0            0K            0
         acpi_perf            0            0K            0
         vm_pgdata            0            0K            0
           jblocks            0            0K            0
          savedino            0            0K        16457
          sentinel            0            0K            0
            jfsync            0            0K            0
            jtrunc            0            0K            0
             sbdep            0            0K           11
           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            7
        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
             xform            0            0K            0
            twsbuf            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            0            0K            0
        MLX5EEPROM            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
          seq_file            0            0K            0
             radix            0            0K            0
               idr            0            0K            0
            lkpifw            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           60
       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
      twe_commands            0            0K            0
               LRO            0            0K            0
      newreno data            0            0K            0
        ip_msource            0            0K            0
       ip_moptions            0            0K           46
        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
      twa_commands            0            0K            0
            statfs            0            0K        18482
     namei_tracker            0            0K            0
       export_host            0            0K            0
        cl_savebuf            0            0K            4
       tcp_log_dev            0            0K            0
      midi buffers            0            0K            0
             mixer            0            0K            0
              ac97            0            0K            0
             hdacc            0            0K            0
              hdac            0            0K            0
              hdaa            0            0K            0
         acpicmbat            0            0K            0
       SIIS driver            0            0K            0
           CAM CCB            0            0K         2394
               PUC            0            0K            0
          ppbusdev            0            0K            0
agtiapi_MemAlloc malloc            0            0K            0
    osti_cacheable            0            0K            0
          tempbuff            0            0K            0
            biobuf            0            0K            0
              aios            0            0K            0
               lio            0            0K            0
               acl            0            0K            0
          tempbuff            0            0K            0
          mbuf_tag            0            0K          109
ag_tgt_map_t malloc            0            0K            0
ag_slr_map_t malloc            0            0K            0
lDevFlags * malloc            0            0K            0
tiDeviceHandle_t * malloc            0            0K            0
ag_portal_data_t malloc            0            0K            0
ag_device_t malloc            0            0K            0
     STLock malloc            0            0K            0
          CCB List            0            0K            0
            sr_iov            0            0K            0
               OCS            0            0K            0
               OCS            0            0K            0
              nvme            0            0K            0
               nvd            0            0K            0
            netmap            0            0K            0
            mwldev            0            0K            0
        MVS driver            0            0K            0
     CAM ccb queue            0            0K            0
          mrsasbuf            0            0K            0
          mpt_user            0            0K            0
          mps_user            0            0K            0
              accf            0            0K            0
               pts            0            0K            0
               iov            0            0K        19660
          ioctlops            0            0K         3006
           eventfd            0            0K            0
           Witness            0            0K            0
             stack            0            0K            0
            MPSSAS            0            0K            0
               mps            0            0K            0
          mpr_user            0            0K            0
            MPRSAS            0            0K            0
               mpr            0            0K            0
            mfibuf            0            0K            0
              sbuf            0            0K          288
        md_sectors            0            0K            0
          firmware            0            0K            0
        compressor            0            0K            0
           md_disk            0            0K            0
              SWAP            0            0K            0
           malodev            0            0K            0
               LED            0            0K            0
         sysctltmp            0            0K          739
            sysctl            0            0K            1
              ekcd            0            0K            0
            dumper            0            0K            0
          sendfile            0            0K            0
              rctl            0            0K            0
          ix_sriov            0            0K            0
        aacraidcam            0            0K            0
       aacraid_buf            0            0K            0
                ix            0            0K            0
            ipsbuf            0            0K            0
             cache            0            0K            0
            iirbuf            0            0K            0
      prison_racct            0            0K            0
       Fail Points            0            0K            0
             sigio            0            0K          202
filedesc_to_leader            0            0K            0
               pwd            0            0K            0
       tty console            0            0K            0
            aaccam            0            0K            0
            aacbuf            0            0K            0
              zstd            0            0K            0
            XZ_DEC            0            0K            0
            nvlist            0            0K            0
          SCSI ENC            0            0K            0
           SCSI sa            0            0K            0
         scsi_pass            0            0K            0
        isofs_node            0            0K            0
       isofs_mount            0            0K            0
     tr_raid5_data            0            0K            0
    tr_raid1e_data            0            0K            0
     tr_raid1_data            0            0K            0
     tr_raid0_data            0            0K            0
    tr_concat_data            0            0K            0
       md_sii_data            0            0K            0
   md_promise_data            0            0K            0
    md_nvidia_data            0            0K            0
   md_jmicron_data            0            0K            0
     md_intel_data            0            0K            0
       md_ddf_data            0            0K            0
         raid_data            0            0K           72
     geom_flashmap            0            0K            0
         tmpfs dir            0            0K            0
        tmpfs name            0            0K            0
       tmpfs mount            0            0K            0
           NFS FHA            0            0K            0
         newnfsmnt            0            0K            0
  newnfsclient_req            0            0K            0
   NFSCL layrecall            0            0K            0
     NFSCL session            0            0K            0
     NFSCL sockreq            0            0K            0
     NFSCL devinfo            0            0K            0
     NFSCL flayout            0            0K            0
      NFSCL layout            0            0K            0
     NFSD rollback            0            0K            0
      NFSCL diroff            0            0K            0
       NEWdirectio            0            0K            0
        NEWNFSnode            0            0K            0
         NFSCL lck            0            0K            0
      NFSCL lckown            0            0K            0
      NFSCL client            0            0K            0
       NFSCL deleg            0            0K            0
        NFSCL open            0            0K            0
       NFSCL owner            0            0K            0
            NFS fh            0            0K            0
           NFS req            0            0K            0
     NFSD usrgroup            0            0K            0
db> show uma
              Zone   Size    Used    Free    Requests  Sleeps  Bucket  Total Mem    XFree
   mbuf_jumbo_page   4096    8320     985       34487       0     254   38113280        0
              pbuf   2624       0     989           0       0       2    2595136        0
              mbuf    256    8851     719       99218       0     254    2449920        0
        malloc-384    384     240    5620       20774       0      30    2250240        0
          BUF TRIE    144     184   13284         854       0      62    1939392        0
        malloc-384    384    4116       4        4116       0      30    1582080        0
       malloc-4096   4096     367       1        1069       0       2    1507328        0
        malloc-256    256      70    5630       37369       0      62    1459200        0
        malloc-256    256      46    5489       16563       0      62    1416960        0
      mbuf_cluster   2048     675       1         675       0     254    1384448        0
        malloc-128    128   10187      74       10588       0     126    1313408        0
       UMA Slabs 0    112   10628      25       10628       0     126    1193136        0
        malloc-128    128     594    5637       19640       0     126     797568        0
        RADIX NODE    144    5205     224      487415       0      62     781776        0
         FFS inode   1160     517     106       19023       0       8     722680        0
         VM OBJECT    264    1462      83      269563       0      30     407880        0
      malloc-65536  65536       6       0           6       0       1     393216        0
       malloc-4096   4096      71       7       19417       0       2     319488        0
             VNODE    448     554     157       19062       0      30     318528        0
            THREAD   1792     153      18       18401       0       8     306432        0
        256 Bucket   2048     124      16       11169       0       8     286720        0
         sctp_asoc   2288     112       3         252       0     254     263120        0
      malloc-65536  65536       2       2          10       0       1     262144        0
       malloc-2048   2048     116       6        2025       0       8     249856        0
         malloc-64     64    3475      53       22930       0     254     225792        0
            DEVCTL   1024       0     216         131       0       0     221184        0
         MAP ENTRY     96    1546     680     1051045       0     127     213696        0
         malloc-16     16   12845     405       12954       0     254     212000        0
      malloc-16384  16384       5       7       18145       0       1     196608        0
         UMA Zones    768     235       4         235       0      16     183552        0
        malloc-128    128    1307      88       47809       0     126     178560        0
         malloc-32     32    5176     368       23657       0     254     177408        0
       mbuf_packet    256     150     525       17916       0     254     172800        0
       malloc-2048   2048       9      73        6414       0       8     167936        0
       FFS2 dinode    256     517     113       19022       0      62     161280        0
           sctp_ep   1280     112       8        1993       0     254     153600        0
       S VFS Cache    104    1066     338       21354       0     126     146016        0
         64 Bucket    512     245      27       14784       0      30     139264        0
      malloc-65536  65536       0       2         136       0       1     131072        0
      malloc-65536  65536       0       2         150       0       1     131072        0
           VMSPACE   2544      38      13       19102       0       4     129744        0
       malloc-1024   1024     118       6        1634       0      16     126976        0
         vmem btag     56    2167      53        2167       0     254     124320        0
            socket    944      36      88       12339       0     254     117056        0
          ksiginfo    112      63     981         277       0     126     116928        0
       malloc-1024   1024     106       6         123       0      16     114688        0
             g_bio    408       0     280        7041       0      30     114240        0
              PROC   1336      60      18       19118       0       8     104208        0
        128 Bucket   1024      79      20        1787       0      16     101376        0
       malloc-8192   8192       8       4         137       0       1      98304        0
         32 Bucket    256     243     117       20613       0      62      92160        0
         filedesc0   1072      61      23       19119       0       8      90048        0
        sctp_raddr    736     112       9         252       0     254      89056        0
          UMA Kegs    384     220       3         220       0      30      85632        0
        malloc-256    256     205     125       56001       0      62      84480        0
      malloc-65536  65536       1       0           1       0       1      65536        0
      malloc-32768  32768       0       2         130       0       1      65536        0
      malloc-32768  32768       2       0           2       0       1      65536        0
      malloc-16384  16384       3       1         173       0       1      65536        0
        malloc-128    128     350      53        1142       0     126      51584        0
         udp_inpcb    488       2     102        7449       0     254      50752        0
      malloc-16384  16384       3       0           3       0       1      49152        0
        malloc-128    128     361      11         365       0     126      47616        0
        malloc-384    384      94      26         628       0      30      46080        0
        malloc-256    256     157      23       21219       0      62      46080        0
         malloc-64     64     535     158       17766       0     254      44352        0
            clpbuf   2624       0      16          19       0      16      41984        0
            pcpu-8      8    4628     492        4784       0     254      40960        0
              pipe    744      23      32        4275       0      16      40920        0
         malloc-64     64     539      91         740       0     254      40320        0
        malloc-256    256     134      16         148       0      62      38400        0
           DIRHASH   1024      34       2          34       0      16      36864        0
             NAMEI   1024       0      36       93963       0      16      36864        0
       malloc-4096   4096       3       6       18485       0       2      36864        0
       malloc-1024   1024      32       4          32       0      16      36864        0
        malloc-512    512       2      70         520       0      30      36864        0
             tcpcb   1048       4      29         645       0     254      34584        0
      malloc-32768  32768       1       0           1       0       1      32768        0
      malloc-16384  16384       1       1           7       0       1      32768        0
       malloc-8192   8192       2       2           4       0       1      32768        0
       malloc-8192   8192       4       0           4       0       1      32768        0
           pcpu-64     64     479      33         479       0     254      32768        0
         malloc-64     64     182     322       21355       0     254      32256        0
             Files     80     231     169       49791       0     126      32000        0
        malloc-256    256      89      31         427       0      62      30720        0
         TURNSTILE    136     172      38         172       0      62      28560        0
             KNOTE    160      28     147      154536       0      62      28000        0
        malloc-384    384      51      19          61       0      30      26880        0
        malloc-256    256      63      42         746       0      62      26880        0
       malloc-8192   8192       3       0           3       0       1      24576        0
       malloc-1024   1024      12      12         473       0      16      24576        0
               PWD     32      19     737       18230       0     254      24192        0
            ttyinq    160     135      15         300       0      62      24000        0
        malloc-128    128      38     148       54948       0     126      23808        0
        sctp_chunk    152     112      44         112       0     254      23712        0
           ttyoutq    256      72      18         160       0      62      23040        0
        malloc-384    384      53       7         399       0      30      23040        0
        malloc-256    256      56      34       19499       0      62      23040        0
          8 Bucket     80      55     195        3150       0     126      20000        0
        malloc-128    128     134      21         622       0     126      19840        0
       Mountpoints   2752       2       5           2       0       4      19264        0
        SLEEPQUEUE     88     172      20         172       0     126      16896        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       2       2          89       0       2      16384        0
       malloc-2048   2048       6       2          60       0       8      16384        0
         malloc-64     64     184      68         205       0     254      16128        0
         malloc-64     64      96     156      244977       0     254      16128        0
      vtnet_tx_hdr     24       0     668       27395       0     254      16032        0
         tcp_inpcb    488       4      28         645       0     254      15616        0
       tcp_bbr_pcb    832       0      18          14       0      16      14976        0
       malloc-2048   2048       6       0           6       0       8      12288        0
       malloc-2048   2048       5       1         196       0       8      12288        0
       malloc-1024   1024       7       5          33       0      16      12288        0
       malloc-1024   1024       9       3          10       0      16      12288        0
        malloc-512    512      11      13          11       0      30      12288        0
         malloc-64     64      93      96       19213       0     254      12096        0
          2 Bucket     32      54     324        2176       0     254      12096        0
         malloc-16     16     480     270        2919       0     254      12000        0
             ripcb    488       5      19         799       0     254      11712        0
              kenv    258      15      30        1065       0      30      11610        0
     routing nhops    256      27      18          34       0      62      11520        0
             unpcb    256      20      25        1417       0     254      11520        0
       malloc-8192   8192       1       0           1       0       1       8192        0
       malloc-4096   4096       0       2           2       0       2       8192        0
       malloc-4096   4096       0       2           5       0       2       8192        0
       malloc-2048   2048       2       2           2       0       8       8192        0
        malloc-512    512       5      11         206       0      30       8192        0
        malloc-512    512       8       8           8       0      30       8192        0
           rtentry    176      30      16          34       0      62       8096        0
              PGRP     88      34      58          50       0     126       8096        0
          rl_entry     40      65     137          65       0     254       8080        0
sctp_stream_msg_out    112       0      72         112       0     254       8064        0
        sctp_laddr     48       0     168          12       0     254       8064        0
             udpcb     32       2     250        7449       0     254       8064        0
         malloc-64     64      65      61         318       0     254       8064        0
         malloc-32     32      38     214         149       0     254       8064        0
         malloc-32     32      78     174          91       0     254       8064        0
         malloc-32     32      44     208          72       0     254       8064        0
         malloc-32     32      78     174        9640       0     254       8064        0
         malloc-32     32      49     203        5692       0     254       8064        0
         malloc-32     32     235      17        4711       0     254       8064        0
         16 Bucket    144      39      17         302       0      62       8064        0
          4 Bucket     48       5     163         443       0     254       8064        0
         malloc-16     16       0     500           3       0     254       8000        0
         malloc-16     16      28     472         143       0     254       8000        0
         malloc-16     16     288     212         483       0     254       8000        0
         malloc-16     16      16     484          16       0     254       8000        0
         malloc-16     16     195     305        1329       0     254       8000        0
         malloc-16     16      15     485       33798       0     254       8000        0
        malloc-128    128      20      42          30       0     126       7936        0
            itimer    352       1      21         459       0      30       7744        0
        malloc-384    384      20       0          20       0      30       7680        0
        malloc-384    384       1      19           4       0      30       7680        0
     FPU_save_area    832       1       8           1       0      16       7488        0
            cpuset    104       7      55           7       0     126       6448        0
 epoch_record pcpu    256       4      12           4       0      62       4096        0
       malloc-4096   4096       0       1           1       0       2       4096        0
       malloc-4096   4096       1       0           1       0       2       4096        0
       malloc-2048   2048       2       0           2       0       8       4096        0
        malloc-512    512       1       7           1       0      30       4096        0
        malloc-512    512       2       6           3       0      30       4096        0
           pcpu-16     16       7     249           7       0     254       4096        0
          syncache    168       0      24           4       0     254       4032        0
         malloc-32     32      32      94         155       0     254       4032        0
         hostcache     80       1      49           1       0     254       4000        0
       UMA Slabs 1    176       9      13           9       0      62       3872        0
            mqnode    416       3       6           3       0      30       3744        0
        KMAP ENTRY     96      12      27          12       0       0       3744        0
              vmem   1856       1       1           1       0       8       3712        0
           SMR CPU     32       2      29           2       0     254        992        0
        SMR SHARED     24       2      29           2       0     254        744        0
       FFS1 dinode    128       0       0           0       0     126          0        0
             swblk    136       0       0           0       0      62          0        0
          swpctrie    144       0       0           0       0      62          0        0
   sctp_asconf_ack     48       0       0           0       0     254          0        0
       sctp_asconf     40       0       0           0       0     254          0        0
        sctp_readq    152       0       0           0       0     254          0        0
   pf state scrubs     40       0       0           0       0     254          0        0
   pf frag entries     40       0       0           0       0     254          0        0
          pf frags    248       0       0           0       0      62          0        0
  pf table entries    160       0       0           0       0      62          0        0
pf table entry counters     64       0       0           0       0     254          0        0
   pf source nodes    136       0       0           0       0     254          0        0
     pf state keys     88       0       0           0       0     126          0        0
         pf states    296       0       0           0       0     254          0        0
           pf tags    104       0       0           0       0     126          0        0
          pf mtags     48       0       0           0       0     254          0        0
      tcp_rack_pcb    704       0       0           0       0      16          0        0
      tcp_rack_map    120       0       0           0       0     126          0        0
       tcp_bbr_map    128       0       0           0       0     126          0        0
    IPsec SA lft_c     16       0       0           0       0     254          0        0
     udplite_inpcb    488       0       0           0       0     254          0        0
      tcp_log_node    120       0       0           0       0     126          0        0
    tcp_log_bucket    176       0       0           0       0      62          0        0
           tcp_log    416       0       0           0       0     254          0        0
          tcpreass     48       0       0           0       0     254          0        0
tfo_ccache_entries     80       0       0           0       0     126          0        0
               tfo      4       0       0           0       0     254          0        0
          sackhole     32       0       0           0       0     254          0        0
             tcptw     88       0       0           0       0     254          0        0
               ipq     56       0       0           0       0     254          0        0
            AIOLIO    272       0       0           0       0      30          0        0
             AIOCB    552       0       0           0       0      16          0        0
              AIOP     32       0       0           0       0     254          0        0
               AIO    208       0       0           0       0      62          0        0
           NCLNODE    584       0       0           0       0      16          0        0
        mqnotifier    216       0       0           0       0      62          0        0
            mvdata     64       0       0           0       0     254          0        0
            mqueue    248       0       0           0       0      62          0        0
        TMPFS node    224       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     24       0       0           0       0     254          0        0
  linux_dma_pctrie    144       0       0           0       0      62          0        0
   IOMMU_MAP_ENTRY    120       0       0           0       0     126          0        0
      ktls_session    192       0       0           0       0      62          0        0
    mbuf_jumbo_16k  16384       0       0           0       0     254          0        0
     mbuf_jumbo_9k   9216       0       0           0       0     254          0        0
      audit_record   1280       0       0           0       0       8          0        0
         domainset     40       0       0           0       0     254          0        0
        MAC labels     40       0       0           0       0     254          0        0
            vnpbuf   2624       0       0           0       0      64          0        0
            mdpbuf   2624       0       0           0       0       3          0        0
           nfspbuf   2624       0       0           0       0      16          0        0
            swwbuf   2624       0       0           0       0       8          0        0
            swrbuf   2624       0       0           0       0      16          0        0
          umtx_shm     88       0       0           0       0     126          0        0
           umtx pi     96       0       0           0       0     126          0        0
rangeset pctrie nodes    144       0       0           0       0      62          0        0
      malloc-65536  65536       0       0           0       0       1          0        0
      malloc-65536  65536       0       0           0       0       1          0        0
      malloc-65536  65536       0       0           0       0       1          0        0
      malloc-32768  32768       0       0           0       0       1          0        0
      malloc-32768  32768       0       0           0       0       1          0        0
      malloc-32768  32768       0       0           0       0       1          0        0
      malloc-32768  32768       0       0           0       0       1          0        0
      malloc-32768  32768       0       0           0       0       1          0        0
      malloc-16384  16384       0       0           0       0       1          0        0
      malloc-16384  16384       0       0           0       0       1          0        0
      malloc-16384  16384       0       0           0       0       1          0        0
       malloc-8192   8192       0       0           0       0       1          0        0
       malloc-2048   2048       0       0           0       0       8          0        0
       malloc-1024   1024       0       0           0       0      16          0        0
       malloc-1024   1024       0       0           0       0      16          0        0
        malloc-512    512       0       0           0       0      30          0        0
        malloc-512    512       0       0           0       0      30          0        0
        malloc-384    384       0       0           0       0      30          0        0
           pcpu-32     32       0       0           0       0     254          0        0
            pcpu-4      4       0       0           0       0     254          0        0
            fakepg    104       0       0           0       0     126          0        0
          UMA Hash    256       0       0           0       0      62          0        0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/10 11:59 freebsd-src 041c50494242 bfeda1b1 console log report ci-freebsd-i386 panic: _mtx_lock_sleep: recursed on non-recursive mutex process lock @ /syzkaller/managers/i386/kernel/sys/kern/kern_sig
* Struck through repros no longer work on HEAD.