syzbot


panic: Assertion p2->p_ktrioparms == NULL failed at /syzkaller/managers/i386/kernel/sys/kern/kern_ktrace.c:LINE

Status: fixed on 2021/05/28 01:51
Reported-by: syzbot+d96676592978f137e05c@syzkaller.appspotmail.com
Fix commit: f3851b235b23 ktrace: Fix a race with fork()
First crash: 1279d, last: 1279d

Sample crash report:
panic: Assertion p2->p_ktrioparms == NULL failed at /syzkaller/managers/i386/kernel/sys/kern/kern_ktrace.c:666
cpuid = 0
time = 1621892306
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0088765890
vpanic() at vpanic+0x1c7/frame 0xfffffe00887658f0
panic() at panic+0x43/frame 0xfffffe0088765950
ktrprocfork() at ktrprocfork+0x157/frame 0xfffffe0088765980
fork1() at fork1+0x1ae5/frame 0xfffffe0088765a50
sys_fork() at sys_fork+0x5e/frame 0xfffffe0088765ab0
ia32_syscall() at ia32_syscall+0x237/frame 0xfffffe0088765bf0
int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0xffffd5d8
KDB: enter: panic
[ thread pid 51932 tid 100117 ]
Stopped at      kdb_enter+0x67: movq    $0,0x163739e(%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         0xffffffff8113aa40  vprintf+0x140
rdx                        0x1
rbx                          0
rsp         0xfffffe0088765870
rbp         0xfffffe0088765890
rsi                          0
rdi         0xffffffff8113aa76  vprintf+0x176
r8                           0
r9          0x8080808080808080
r10         0xfffffe0088765760
r11              0x1ff77fff59c
r12         0xffffffff82267b90  ddb_dbbe
r13                          0
r14         0xffffffff81a74c82
r15         0xffffffff81a74c82
rip         0xffffffff81131a67  kdb_enter+0x67
rflags                0x200082  kernload+0x82
kdb_enter+0x67: movq    $0,0x163739e(%rip)
db> show proc
Process 51932 (syz-executor.1) at 0xfffff80032462a60:
 state: NORMAL
 uid: 0  gids: 0, 0, 5
 parent: pid 780 at 0xfffff80015d1aa60
 ABI: FreeBSD ELF32
 flag: 0x10004000  flag2: 0
 arguments: /root/syz-executor.1
 reaper: 0xfffff80004bc7530 reapsubtree: 1
 sigparent: 20
 vmspace: 0xfffffe0088c6a000
   (map 0xfffffe0088c6a000)
   (map.pmap 0xfffffe0088c6a0c0)
   (pmap 0xfffffe0088c6a120)
 threads: 1
100117                   Run     CPU 0                       syz-executor.1
db> ps
  pid  ppid  pgrp   uid  state   wmesg   wchan               cmd
52961 51932 51932     0  N                                   syz-executor.1
52958 52636 52636     0  S       (threaded)                  syz-executor.2
100246                   S       nanslp  0xffffffff8273c561  syz-executor.2
155076                   S       nanslp  0xffffffff8273c561  syz-executor.2
155079                   S       uwait   0xfffff800322fc500  syz-executor.2
52957   782   782     0  R       (threaded)                  syz-executor.0
101559                   Run     CPU 1                       syz-executor.0
155078                   S       uwait   0xfffff80015e47300  syz-executor.0
52636   780 52636     0  Ss      nanslp  0xffffffff8273c560  syz-executor.2
51932   780 51932     0  RLs     CPU 0                       syz-executor.1
51836 51809 51836     0  Ss      select  0xfffff80032d112c0  dhclient
51817   780 51817     0  Ss      nanslp  0xffffffff8273c561  syz-executor.3
51812     1 51812     0  Ss      select  0xfffff80011739a40  dhclient
51809 51798   436    65  S       select  0xfffff80032c728c0  dhclient
51798   436   436     0  S       wait    0xfffff80011810000  sh
10813     1 10813    65  Ss      select  0xfffff80015c95140  dhclient
  843     1   843     0  Ss      select  0xfffff800329ddbc0  dhclient
  835     1   835     0  Ss      select  0xfffff80032a5c2c0  dhclient
  782   780   782     0  Rs                                  syz-executor.0
  780   778   778     0  S       (threaded)                  syz-fuzzer
100089                   S       uwait   0xfffff80015a11b00  syz-fuzzer
100119                   S       uwait   0xfffff80015a11300  syz-fuzzer
100120                   S       kqread  0xfffff8003227bd00  syz-fuzzer
100121                   S       uwait   0xfffff8003294dd00  syz-fuzzer
100122                   S       uwait   0xfffff80015e47700  syz-fuzzer
100123                   S       uwait   0xfffff8003294d700  syz-fuzzer
100124                   S       uwait   0xfffff8003294d900  syz-fuzzer
100125                   S       uwait   0xfffff8003294db00  syz-fuzzer
102256                   S       uwait   0xfffff80032c24300  syz-fuzzer
145349                   S       uwait   0xfffff80032d49500  syz-fuzzer
  778   776   778     0  Ss      pause   0xfffff80015d5fb10  csh
  776   694   776     0  Ss      select  0xfffff800324d1d40  sshd
  760     1   760     0  Ss+     ttyin   0xfffff800153e7cb0  getty
  759     1   759     0  Ss+     ttyin   0xfffff80015a7e4b0  getty
  758     1   758     0  Ss+     ttyin   0xfffff80015a7ecb0  getty
  757     1   757     0  Ss+     ttyin   0xfffff80015a054b0  getty
  756     1   756     0  Ss+     ttyin   0xfffff80015a05cb0  getty
  755     1   755     0  Ss+     ttyin   0xfffff80015a074b0  getty
  754     1   754     0  Ss+     ttyin   0xfffff80015a07cb0  getty
  753     1   753     0  Ss+     ttyin   0xfffff80015a0d4b0  getty
  752     1   752     0  Ss+     ttyin   0xfffff80015a0dcb0  getty
  698     1   698     0  Ss      nanslp  0xffffffff8273c561  cron
  694     1   694     0  Ss      select  0xfffff80015c955c0  sshd
  507     1   507     0  Ss      select  0xfffff80015dccd40  syslogd
  436     1   436     0  Ss      wait    0xfffff80015e14530  devd
  435     1   435    65  Ss      select  0xfffff80032142740  dhclient
  350     1   350     0  Ss      select  0xfffff80032142bc0  dhclient
  347     1   347     0  Ss      select  0xfffff80032142ec0  dhclient
   23     0     0     0  DL      vlruwt  0xfffff80015c60530  [vnlru]
   22     0     0     0  DL      syncer  0xffffffff8282b9d0  [syncer]
   21     0     0     0  DL      (threaded)                  [bufdaemon]
100081                   D       qsleep  0xffffffff8282aa80  [bufdaemon]
100084                   D       -       0xffffffff8220ae80  [bufspacedaemon-0]
100099                   D       sdflush 0xfffff80015c7bce8  [/ worker]
   20     0     0     0  DL      psleep  0xffffffff828528c8  [vmdaemon]
   19     0     0     0  DL      (threaded)                  [pagedaemon]
100079                   D       psleep  0xffffffff82846d38  [dom0]
100082                   D       launds  0xffffffff82846d44  [laundry: dom0]
100083                   D       umarcl  0xffffffff815cd300  [uma]
   18     0     0     0  DL      -       0xffffffff82570908  [rand_harvestq]
   17     0     0     0  DL      waiting 0xffffffff82e76828  [sctp_iterator]
   16     0     0     0  DL      pftm    0xffffffff82f703c0  [pf purge]
   15     0     0     0  DL      -       0xffffffff828280dc  [soaiod4]
    9     0     0     0  DL      -       0xffffffff828280dc  [soaiod3]
    8     0     0     0  DL      -       0xffffffff828280dc  [soaiod2]
    7     0     0     0  DL      -       0xffffffff828280dc  [soaiod1]
    6     0     0     0  DL      (threaded)                  [cam]
100044                   D       -       0xffffffff82447dc0  [doneq0]
100045                   D       -       0xffffffff82447d40  [async]
100078                   D       -       0xffffffff82447c10  [scanner]
   14     0     0     0  DL      seqstat 0xfffff80004daa488  [sequencer 00]
    5     0     0     0  DL      crypto_ 0xfffff80004d2b380  [crypto returns 1]
    4     0     0     0  DL      crypto_ 0xfffff80004d2b330  [crypto returns 0]
    3     0     0     0  DL      crypto_ 0xffffffff82844220  [crypto]
   13     0     0     0  DL      (threaded)                  [geom]
100035                   D       -       0xffffffff8271bda0  [g_event]
100036                   D       -       0xffffffff8271bda8  [g_up]
100037                   D       -       0xffffffff8271bdb0  [g_down]
    2     0     0     0  DL      (threaded)                  [KTLS]
100028                   D       -       0xfffff80004c3bd00  [thr_0]
100029                   D       -       0xfffff80004c3bd80  [thr_1]
   12     0     0     0  WL      (threaded)                  [intr]
100012                   I                                   [swi5: fast taskq]
100015                   I                                   [swi6: task queue]
100017                   I                                   [swi6: Giant taskq]
100030                   I                                   [swi4: clock (0)]
100031                   I                                   [swi4: clock (1)]
100032                   I                                   [swi1: netisr 0]
100033                   I                                   [swi3: vm]
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                                   [irq10: virtio_pci2]
100061                   I                                   [irq1: atkbd0]
100062                   I                                   [irq12: psm0]
100063                   I                                   [swi0: uart uart++]
100071                   I                                   [swi1: pf send]
100087                   I                                   [swi1: hpts]
100088                   I                                   [swi1: hpts]
   11     0     0     0  RL      (threaded)                  [idle]
100003                   CanRun                              [idle: cpu0]
100004                   CanRun                              [idle: cpu1]
    1     0     1     0  SLs     wait    0xfffff80004bc7530  [init]
   10     0     0     0  DL      audit_w 0xffffffff82844730  [audit]
    0     0     0     0  DLs     (threaded)                  [kernel]
100000                   D       swapin  0xffffffff8271c330  [swapper]
100005                   D       -       0xfffff80004bbd100  [if_config_tqg_0]
100006                   D       -       0xfffff80004c64900  [softirq_0]
100007                   D       -       0xfffff80004c64100  [softirq_1]
100008                   D       -       0xfffff80004c62900  [if_io_tqg_0]
100009                   D       -       0xfffff80004c62100  [if_io_tqg_1]
100010                   D       -       0xfffff8000443d900  [in6m_free taskq]
100011                   D       -       0xfffff8000443d500  [aiod_kick taskq]
100013                   D       -       0xfffff80004c5ad00  [kqueue_ctx taskq]
100014                   D       -       0xfffff80004c5a900  [pci_hp taskq]
100016                   D       -       0xfffff80004c5a100  [inm_free taskq]
100018                   D       -       0xfffff80004c55900  [linuxkpi_irq_wq]
100019                   D       -       0xfffff80004c55500  [thread taskq]
100020                   D       -       0xfffff80004c55100  [linuxkpi_short_wq_0]
100021                   D       -       0xfffff80004c55100  [linuxkpi_short_wq_1]
100022                   D       -       0xfffff80004c55100  [linuxkpi_short_wq_2]
100023                   D       -       0xfffff80004c55100  [linuxkpi_short_wq_3]
100024                   D       -       0xfffff80004c4dd00  [linuxkpi_long_wq_0]
100025                   D       -       0xfffff80004c4dd00  [linuxkpi_long_wq_1]
100026                   D       -       0xfffff80004c4dd00  [linuxkpi_long_wq_2]
100027                   D       -       0xfffff80004c4dd00  [linuxkpi_long_wq_3]
100034                   D       -       0xfffff80004c4d900  [firmware taskq]
100038                   D       -       0xfffff80004c4d500  [crypto_0]
100039                   D       -       0xfffff80004c4d500  [crypto_1]
100055                   D       -       0xfffff8001534cd00  [vtnet0 rxq 0]
100056                   D       -       0xfffff8001534c900  [vtnet0 txq 0]
100057                   D       -       0xfffff8001534c500  [vtnet0 rxq 1]
100058                   D       -       0xfffff8001534c100  [vtnet0 txq 1]
100060                   D       vtbslp  0xfffff80015369300  [virtio_balloon]
100064                   D       -       0xfffff80015427d00  [mca taskq]
100066                   D       -       0xffffffff81e21630  [deadlkres]
100074                   D       -       0xfffff80015a13d00  [acpi_task_0]
100075                   D       -       0xfffff80015a13d00  [acpi_task_1]
100076                   D       -       0xfffff80015a13d00  [acpi_task_2]
100077                   D       -       0xfffff80004c4d100  [CAM taskq]
52960 51817 51817     0  Z                                   syz-executor.3
db> show all locks
db> show malloc
              Type        InUse        MemUse     Requests
         sysctloid        34288        12858K        34355
           pf_hash            5        11560K            5
            devbuf         4216         6982K         4244
          tcp_hpts            5         3219K            5
              kobj          328         2624K          488
             vtbuf           24         2064K           46
            newblk           64         1064K        52889
          vfscache            3         1035K            3
          inodedep          324          843K        61689
            acpica         1674          649K        55230
               pcb           26          613K         8334
           subproc          140          546K        53268
           callout            2          528K            2
         ufs_quota            1          520K            1
          vfs_hash            1          520K            1
          routetbl         1324          518K         3840
              intr            4          480K            4
               bus          990          378K         3499
            linker          348          270K          469
          filedesc           16          243K       103929
            DEVFS1          107          214K          124
               BPF           30          203K           86
            module          512          192K          512
           kdtrace          219          183K       108044
         vnet_data            1          176K            1
           pagedep           66          169K        51861
           tidhash            3          164K            3
              umtx          374          164K          374
        tfo_ccache            1          136K            1
               sem            4          120K            4
            dirrem          236          118K        57578
               UMA          270          102K          270
          freefile          236           89K        57572
     audit_evclass          236           89K          294
          mtx_pool            2           80K            2
              temp           35           77K        15164
          syncache            1           76K            1
              vmem            3           72K            6
               msg            4           68K            4
            ifaddr           71           67K          137
          acpitask            1           64K            1
       ddb_capture            1           64K            1
            DEVFS3          126           63K          136
       ether_multi          167           63K          697
        gtaskqueue           18           57K           18
        DEVFS_RULE           56           54K           56
              kenv           95           52K           95
      eventhandler          133           50K          133
           ithread           99           43K           99
              rman           84           42K          425
           lltable           45           39K          170
            KTRACE          103           39K        21386
         taskqueue           60           36K           60
         in6_multi           83           36K          360
              proc            3           34K            3
         ufs_mount            5           34K            6
            bus-sc           33           34K         1710
           devstat            4           33K            4
         hostcache            1           32K            1
               tty           16           32K           16
               shm            1           32K          549
            diradd           82           31K        57698
            kqueue           60           31K        59439
            DEVFSP           76           29K         2679
              GEOM           60           29K          489
            kbdmux            6           28K            6
             ifnet            7           25K            7
              cred           24           24K          415
          kcovinfo           64           24K          408
             mkdir           61           23K       103680
            plimit           22           22K          908
         newdirblk           57           22K        51840
           pwddesc           57           22K        52962
         CAM queue            5           21K         1528
         pfs_nodes           20           20K           20
         sctp_timw           37           19K           37
         proc-args           47           18K         1025
              UART           12           18K           12
         bmsafemap            3           17K        59630
              ksem            1           16K          228
               rpc            2           16K            2
             shmfd            1           16K         1191
       pfs_vncache            1           16K            1
             selfd           38           15K       684483
       ufs_dirhash           24           14K           24
           session           28           14K           79
            ip6ndp           29           14K           73
            sglist            5           13K            5
               MCA           32           12K           32
           CAM DEV            3           12K          510
                vt           11           11K           11
             lockf           29           11K          310
           acpisem           28           11K           28
           CAM XPT           22           11K          543
            Unitno           27           11K           47
           uidinfo            3            9K           11
          pf_ifnet           10            9K           19
           memdesc            1            8K            1
         ipsec-saq            2            8K            2
             evdev            4            8K            4
           acpidev           20            8K           20
             hhook           15            8K           17
             mount           16            7K           90
          sctp_ifa           16            6K           74
       fpukern_ctx            3            6K            3
          terminal           11            6K           11
       inpcbpolicy           13            5K        28518
            select           13            5K           75
       ipsecpolicy            2            5K            2
 encap_export_host           12            5K           12
             clone            9            5K            9
        local_apic            1            4K            1
           io_apic            1            4K            1
            sahead            1            4K            1
          secasvar            1            4K            1
             nhops            6            4K            8
          pci_link           10            4K           10
               msi            9            4K            9
             DEVFS            9            4K           10
               tun            7            4K            7
               osd            8            4K         6250
             ipsec            3            3K            3
          in_multi            6            3K           28
          nexusdev            7            3K            7
            feeder            7            3K            7
          freework            5            3K        51874
          sctp_ifn            6            3K           74
               mld            6            3K            6
              igmp            6            3K            6
         toponodes            6            3K            6
            prison            6            3K            6
            isadev            6            3K            6
           softdep            1            2K            1
          freeblks            4            2K        51841
       vnodemarker            2            2K           72
      NFSD session            1            2K            1
             linux            5            2K            6
        CAM periph            4            2K          271
            crypto            4            2K            4
              pfil            4            2K            4
          CAM path            4            2K         1034
            soname            4            2K        20013
          procdesc            3            2K           24
           tcpfunc            3            2K            3
        loginclass            3            2K            6
          filecaps            3            2K          162
    chacha20random            1            1K            1
            vnodes            1            1K            1
           CAM SIM            2            1K            2
              ktls            1            1K            1
              cdev            2            1K            2
        aesni_data            2            1K            2
              cpus            2            1K            2
          atkbddev            2            1K            2
     CAM dev queue            2            1K            2
             xform            2            1K         2592
           entropy            2            1K           71
      NFSD lckfile            1            1K            1
     NFSD V4client            1            1K            1
          pmchooks            1            1K            1
          sctp_vrf            1            1K            1
            apmdev            1            1K            1
 CAM I/O Scheduler            1            1K            1
        ip_msource            1            1K            1
    vnet_data_free            1            1K            1
              vnet            1            1K            1
           Per-cpu            1            1K            1
          p1003.1b            1            1K            1
          acpiintr            1            1K            1
               pmc            1            1K            1
            tcp_do            0            0K            0
           tcp_fsb            0            0K            0
            mqdata            0            0K            0
          cdg data            0            0K           21
          chd data            0            0K           23
        cubic data            0            0K           29
        dctcp data            0            0K          147
         htcp data            0            0K           19
        vegas data            0            0K           12
          pf_table            0            0K            0
           pf_rule            0            0K            0
           pf_altq            0            0K            0
           pf_osfp            0            0K            0
           pf_temp            0            0K            0
        sctp_mcore            0            0K            0
        sctp_socko            0            0K           80
         sctp_iter            0            0K           72
         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_athm            0            0K         3093
         sctp_atky            0            0K         4112
         sctp_atcl            0            0K         3058
         sctp_a_it            0            0K           72
         sctp_aadr            0            0K            0
         sctp_stro            0            0K         1054
         sctp_stri            0            0K            0
          sctp_map            0            0K         2108
       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        26522
          sentinel            0            0K            0
            jfsync            0            0K            0
            jtrunc            0            0K            0
             sbdep            0            0K           34
           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           72
        allocindir            0            0K            0
          indirdep            0            0K           12
       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
            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          603
       ip6_msource            0            0K            0
      ip6_moptions            0            0K           18
       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           22
       ip_moptions            0            0K           87
        in_mfilter            0            0K           44
              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        54104
     namei_tracker            0            0K          606
       export_host            0            0K            0
        cl_savebuf            0            0K            9
       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         9349
               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          824
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        40831
          ioctlops            0            0K          239
           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          904
            sysctl            0            0K            3
              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          184
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
       NFSD string            0            0K            0
db> show uma
              Zone   Size    Used    Free    Requests  Sleeps  Bucket  Total Mem    XFree
   mbuf_jumbo_page   4096    8320     960       75249       0     254   38010880        0
        malloc-384    384   34458      82       67165       0      30   13263360        0
       malloc-1024   1024    4509    4191       69234       0      16    8908800        0
       malloc-1024   1024      34    3962       26626       0      16    4091904        0
       malloc-8192   8192     329       6         608       0       1    2744320        0
              mbuf    256    8690     850      276186       0     254    2442240        0
        malloc-512    512     333    4275      124190       0      30    2359296        0
        malloc-384    384    1128    4212      801708       0      30    2050560        0
              pbuf   2624       0     778           0       0       2    2041472        0
          BUF TRIE    144     188   13280        7032       0      62    1939392        0
       UMA Slabs 0    112   14660      25       14660       0     126    1644720        0
      mbuf_cluster   2048     585       1         585       0     254    1200128        0
        RADIX NODE    144    5247     518     1360090       0      64     830160        0
        malloc-384    384    2048      92      198301       0      30     821760        0
        malloc-384    384    2055      55      138116       0      30     810240        0
         FFS inode   1160     600      23       58187       0       8     722680        0
       malloc-8192   8192      61      14       55132       0       1     614400        0
        malloc-384    384    1409      41      106383       0      30     556800        0
        malloc-512    512     307     533       53200       0      30     430080        0
      malloc-32768  32768       8       5       52083       0       1     425984        0
         VM OBJECT    264    1433     127      746223       0      30     411840        0
      malloc-16384  16384      13      12          41       0       1     409600        0
            socket    944      30     374       48079       0     254     381376        0
            lkpimm    160       1    2324           1       0      62     372000        0
          lkpicurr    160       2    2323           2       0      62     372000        0
       malloc-1024   1024     312      48       61534       0      16     368640        0
            THREAD   1808     160      27       55081       0       8     338096        0
             VNODE    448     638      91       58227       0      30     326592        0
       malloc-4096   4096      14      54       10459       0       2     278528        0
       malloc-2048   2048     110      20        1707       0       8     266240        0
      malloc-65536  65536       4       0           5       0       1     262144        0
            DEVCTL   1024      30     186         172       0       0     221184        0
         MAP ENTRY     96    1412     814     2893184       0     127     213696        0
      malloc-16384  16384       9       4          28       0       1     212992        0
        256 Bucket   2048      84      20       11372       0       8     212992        0
      malloc-65536  65536       3       0           3       0       1     196608        0
      malloc-65536  65536       1       2         177       0       1     196608        0
      malloc-16384  16384       9       3         335       0       1     196608        0
         UMA Zones    768     242       2         242       0      16     187392        0
       FFS2 dinode    256     600     120       58186       0      62     184320        0
        malloc-512    512     235      77       55458       0      30     159744        0
       malloc-8192   8192      14       5         919       0       1     155648        0
       S VFS Cache    104    1065     378       65453       0     126     150072        0
       mbuf_packet    256       9     576       58063       0     254     149760        0
       malloc-8192   8192      12       6       54113       0       1     147456        0
         vmem btag     56    2466      42        2468       0     254     140448        0
        malloc-384    384     302      58        1323       0      30     138240        0
         32 Bucket    256     390     150       30726       0      62     138240        0
      malloc-32768  32768       4       0          19       0       1     131072        0
      malloc-16384  16384       3       5          37       0       1     131072        0
           VMSPACE   2544      34      17       52965       0       4     129744        0
        malloc-384    384     285      45       40887       0      30     126720        0
         sctp_asoc   2288       0      55        1054       0     254     125840        0
          ksiginfo    112      66     978        4974       0     126     116928        0
             tcpcb   1064       4     101        6238       0     254     111720        0
              PROC   1328      57      24       52961       0       8     107568        0
         16 Bucket    144     561     167        8336       0      62     104832        0
      malloc-32768  32768       1       2          19       0       1      98304        0
             g_bio    408       0     230       34861       0      30      93840        0
       malloc-1024   1024      61      27         256       0      16      90112        0
         filedesc0   1072      57      27       52962       0       8      90048        0
         tcp_inpcb    488       4     180        6238       0     254      89792        0
          UMA Kegs    384     227       6         227       0      30      89472        0
            clpbuf   2624       0      32          20       0      16      83968        0
      malloc-16384  16384       3       2          18       0       1      81920        0
       malloc-8192   8192       4       6         552       0       1      81920        0
        malloc-512    512     134      18         538       0      30      77824        0
       malloc-1024   1024      43      25        1806       0      16      69632        0
        128 Bucket   1024      31      36       14755       0      16      68608        0
      malloc-65536  65536       1       0           1       0       1      65536        0
      malloc-16384  16384       4       0           4       0       1      65536        0
       malloc-2048   2048      14      18        4103       0       8      65536        0
       malloc-4096   4096      10       5        1337       0       2      61440        0
        malloc-384    384      88      72       53405       0      30      61440        0
        malloc-512    512      22      90       53148       0      30      57344        0
         64 Bucket    512      47      65       18633       0      30      57344        0
           sctp_ep   1280       0      42        2004       0     254      53760        0
     udplite_inpcb    488       0     104       18899       0     254      50752        0
             unpcb    256      14     181       17455       0     254      49920        0
        sctp_raddr    736       0      66        1054       0     254      48576        0
              pipe    744      21      44       10930       0      16      48360        0
       malloc-2048   2048       2      20         510       0       8      45056        0
       malloc-1024   1024       7      37         662       0      16      45056        0
        malloc-512    512      71      17       52765       0      30      45056        0
       malloc-4096   4096       8       2        1201       0       2      40960        0
            pcpu-8      8    4667     453        5257       0     254      40960        0
             Files     80     205     295      151840       0     126      40000        0
           DIRHASH   1024      34       2          34       0      16      36864        0
             NAMEI   1024       0      36      290987       0      16      36864        0
       malloc-2048   2048       4      14         164       0       8      36864        0
             ripcb    488       3      69        1348       0     254      35136        0
      malloc-32768  32768       1       0           1       0       1      32768        0
      malloc-32768  32768       1       0           1       0       1      32768        0
       malloc-4096   4096       1       7         105       0       2      32768        0
       malloc-2048   2048      16       0          16       0       8      32768        0
       malloc-2048   2048      10       6          14       0       8      32768        0
        malloc-512    512      21      43        1364       0      30      32768        0
           pcpu-64     64     486      26         486       0     254      32768        0
        malloc-512    512      34      22         126       0      30      28672        0
         TURNSTILE    136     188      22         188       0      62      28560        0
             KNOTE    160      28     147      453996       0      62      28000        0
       malloc-8192   8192       0       3          13       0       1      24576        0
       malloc-4096   4096       4       2          20       0       2      24576        0
    ertt_txseginfo     40       1     605       72870       0     254      24240        0
               PWD     32      18     738       51944       0     254      24192        0
            ttyinq    160     135      15         300       0      62      24000        0
      tcp_log_node    120       0     198         138       0     126      23760        0
         udp_inpcb    488       6      42        2033       0     254      23424        0
           ttyoutq    256      72      18         160       0      62      23040        0
       malloc-4096   4096       0       5          11       0       2      20480        0
          2 Bucket     32     112     518        8685       0     254      20160        0
        SLEEPQUEUE     88     188      36         188       0     126      19712        0
       Mountpoints   2752       2       5           2       0       4      19264        0
      malloc-16384  16384       1       0           1       0       1      16384        0
       malloc-4096   4096       2       2          93       0       2      16384        0
       malloc-2048   2048       7       1           7       0       8      16384        0
       malloc-1024   1024       7       9          75       0      16      16384        0
        sctp_laddr     48       0     336        4345       0     254      16128        0
      vtnet_tx_hdr     24       0     668       75873       0     254      16032        0
           rtentry    176      33      36         134       0      62      12144        0
              ertt     72       4     164        6238       0     126      12096        0
          8 Bucket     80      51      99        8511       0     126      12000        0
              kenv    258      15      30        1066       0      30      11610        0
     routing nhops    256      27      18         134       0      62      11520        0
       malloc-8192   8192       1       0           1       0       1       8192        0
       malloc-2048   2048       1       3           9       0       8       8192        0
       malloc-1024   1024       0       8           9       0      16       8192        0
    tcp_log_bucket    176       0      46          20       0      62       8096        0
              PGRP     88      28      64         226       0     126       8096        0
          rl_entry     40      79     123          79       0     254       8080        0
             udpcb     32       6     246       20932       0     254       8064        0
               ipq     56       0     144           8       0     254       8064        0
          4 Bucket     48       9     159        1191       0     254       8064        0
            itimer    352       0      22         232       0      30       7744        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
           pcpu-16     16       7     249           7       0     254       4096        0
         hostcache     64       1      62           1       0     254       4032        0
          syncache    168       0      24           4       0     254       4032        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       3      60           3       0     254       2016        0
        SMR SHARED     24       3      60           3       0     254       1512        0
       FFS1 dinode    128       0       0           0       0     126          0        0
            da_ccb    544       0       0           0       0      16          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
   sctp_asconf_ack     48       0       0           0       0     254          0        0
       sctp_asconf     40       0       0           0       0     254          0        0
sctp_stream_msg_out    112       0       0           0       0     254          0        0
        sctp_readq    152       0       0           0       0     254          0        0
        sctp_chunk    152       0       0           0       0     254          0        0
   cdg_qdiffsample     16       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    304       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    832       0       0           0       0      16          0        0
      tcp_rack_map    112       0       0           0       0     126          0        0
       tcp_bbr_pcb    832       0       0           0       0      16          0        0
       tcp_bbr_map    128       0       0           0       0     126          0        0
           tcp_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
    IPsec SA lft_c     16       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-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-8192   8192       0       0           0       0       1          0        0
       malloc-4096   4096       0       0           0       0       2          0        0
        malloc-256    256       0       0           0       0      62          0        0
        malloc-256    256       0       0           0       0      62          0        0
        malloc-256    256       0       0           0       0      62          0        0
        malloc-256    256       0       0           0       0      62          0        0
        malloc-256    256       0       0           0       0      62          0        0
        malloc-256    256       0       0           0       0      62          0        0
        malloc-256    256       0       0           0       0      62          0        0
        malloc-256    256       0       0           0       0      62          0        0
        malloc-128    128       0       0           0       0     126          0        0
        malloc-128    128       0       0           0       0     126          0        0
        malloc-128    128       0       0           0       0     126          0        0
        malloc-128    128       0       0           0       0     126          0        0
        malloc-128    128       0       0           0       0     126          0        0
        malloc-128    128       0       0           0       0     126          0        0
        malloc-128    128       0       0           0       0     126          0        0
        malloc-128    128       0       0           0       0     126          0        0
         malloc-64     64       0       0           0       0     254          0        0
         malloc-64     64       0       0           0       0     254          0        0
         malloc-64     64       0       0           0       0     254          0        0
         malloc-64     64       0       0           0       0     254          0        0
         malloc-64     64       0       0           0       0     254          0        0
         malloc-64     64       0       0           0       0     254          0        0
         malloc-64     64       0       0           0       0     254          0        0
         malloc-64     64       0       0           0       0     254          0        0
         malloc-32     32       0       0           0       0     254          0        0
         malloc-32     32       0       0           0       0     254          0        0
         malloc-32     32       0       0           0       0     254          0        0
         malloc-32     32       0       0           0       0     254          0        0
         malloc-32     32       0       0           0       0     254          0        0
         malloc-32     32       0       0           0       0     254          0        0
         malloc-32     32       0       0           0       0     254          0        0
         malloc-32     32       0       0           0       0     254          0        0
         malloc-16     16       0       0           0       0     254          0        0
         malloc-16     16       0       0           0       0     254          0        0
         malloc-16     16       0       0           0       0     254          0        0
         malloc-16     16       0       0           0       0     254          0        0
         malloc-16     16       0       0           0       0     254          0        0
         malloc-16     16       0       0           0       0     254          0        0
         malloc-16     16       0       0           0       0     254          0        0
         malloc-16     16       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
2021/05/24 21:37 freebsd-src e779604f1d4e 3c7fef33 console log report ci-freebsd-i386 panic: Assertion p2->p_ktrioparms == NULL failed at /syzkaller/managers/i386/kernel/sys/kern/kern_ktrace.c:LINE
* Struck through repros no longer work on HEAD.