syzbot


Fatal trap NUM: page fault in filt_bpfwrite

Status: fixed on 2021/10/27 01:46
Reported-by: syzbot+ae45d5166afe15a5a21d@syzkaller.appspotmail.com
Fix commit: 426682b05a4c bpf: Fix the write filter for detached descriptors
First crash: 481d, last: 475d

Sample crash report:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x28
fault code		= supervisor read data, page not present
instruction pointer	= 0x20:0xffffffff81993c1f
stack pointer	        = 0x28:0xfffffe00577d3480
frame pointer	        = 0x28:0xfffffe00577d3490
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 780 (syz-executor1843592)
trap number		= 12
panic: page fault
cpuid = 0
time = 1634649269
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0xc7/frame 0xfffffe00577d2c90
kdb_backtrace() at kdb_backtrace+0xd3/frame 0xfffffe00577d2df0
vpanic() at vpanic+0x2c5/frame 0xfffffe00577d2ed0
panic() at panic+0xb5/frame 0xfffffe00577d2f90
trap_fatal() at trap_fatal+0x6a4/frame 0xfffffe00577d3090
trap_pfault() at trap_pfault+0x186/frame 0xfffffe00577d31d0
trap() at trap+0x5e7/frame 0xfffffe00577d33b0
calltrap() at calltrap+0x8/frame 0xfffffe00577d33b0
--- trap 0xc, rip = 0xffffffff81993c1f, rsp = 0xfffffe00577d3480, rbp = 0xfffffe00577d3490 ---
filt_bpfwrite() at filt_bpfwrite+0x4f/frame 0xfffffe00577d3490
kqueue_register() at kqueue_register+0x1364/frame 0xfffffe00577d35d0
kqueue_kevent() at kqueue_kevent+0x218/frame 0xfffffe00577d39e0
kern_kevent_fp() at kern_kevent_fp+0xec/frame 0xfffffe00577d3a30
kern_kevent() at kern_kevent+0x157/frame 0xfffffe00577d3b10
kern_kevent_generic() at kern_kevent_generic+0x17c/frame 0xfffffe00577d3bf0
sys_kevent() at sys_kevent+0x1e6/frame 0xfffffe00577d3d30
amd64_syscall() at amd64_syscall+0x412/frame 0xfffffe00577d3f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00577d3f30
--- syscall (0, FreeBSD ELF64, nosys), rip = 0x2b3d6a, rsp = 0x7fffffffea68, rbp = 0x7fffffffea80 ---
KDB: enter: panic
[ thread pid 780 tid 100108 ]
Stopped at      kdb_enter+0x6b: movq    $0,0x28df37a(%rip)
db> 
db> set $lines = 0
db> set $maxwidth = 0
db> show registers
cs                        0x20
ds                        0x3b
es                        0x3b
fs                        0x13
gs                        0x1b
ss                        0x28
rax                       0x12
rcx         0x4dd8a56cb3eb363c
rdx         0xdffff7c000000000
rbx                          0
rsp         0xfffffe00577d2dd0
rbp         0xfffffe00577d2df0
rsi                        0x1
rdi                          0
r8                         0x3
r9          0xfffffe00577d2908
r10                          0
r11         0xfffffe009e45dfd0
r12         0xfffffe009e45dac0
r13         0xfffffe00577d2e01
r14         0xffffffff82c86ec0  .str.18
r15         0xffffffff82c86ec0  .str.18
rip         0xffffffff817b46bb  kdb_enter+0x6b
rflags                    0x46
kdb_enter+0x6b: movq    $0,0x28df37a(%rip)
db> show proc
Process 780 (syz-executor1843592) at 0xfffffe009e45a538:
 state: NORMAL
 uid: 0  gids: 0, 0, 5
 parent: pid 778 at 0xfffffe009e9cda70
 ABI: FreeBSD ELF64
 flag: 0x10004000  flag2: 0
 arguments: ./syz-executor184359277
 reaper: 0xfffffe0053d56538 reapsubtree: 1
 sigparent: 20
 vmspace: 0xfffffe009e5479f8
   (map 0xfffffe009e5479f8)
   (map.pmap 0xfffffe009e547ab8)
   (pmap 0xfffffe009e547b20)
 threads: 1
100108                   Run     CPU 0                       syz-executor1843592
db> ps
  pid  ppid  pgrp   uid  state   wmesg   wchan               cmd
  780   778   778     0  R       CPU 0                       syz-executor1843592
  778   776   778     0  Ss      pause   0xfffffe009e9cdb20  csh
  776   689   776     0  Ss      select  0xfffffe0056b852c0  sshd
  755     1   755     0  Ss+     ttyin   0xfffffe0056ff5cb0  getty
  754     1   754     0  Ss+     ttyin   0xfffffe00583ea0b0  getty
  753     1   753     0  Ss+     ttyin   0xfffffe00583ea4b0  getty
  752     1   752     0  Ss+     ttyin   0xfffffe00583ea8b0  getty
  751     1   751     0  Ss+     ttyin   0xfffffe00583eacb0  getty
  750     1   750     0  Ss+     ttyin   0xfffffe00583910b0  getty
  749     1   749     0  Ss+     ttyin   0xfffffe00583914b0  getty
  748     1   748     0  Ss+     ttyin   0xfffffe00583918b0  getty
  747     1   747     0  Ss+     ttyin   0xfffffe0058391cb0  getty
  745     1    19     0  S+      piperd  0xfffffe00588ab000  logger
  744   743    19     0  S+      nanslp  0xffffffff84060940  sleep
  743     1    19     0  S+      wait    0xfffffe0056b23000  sh
  693     1   693     0  Ss      nanslp  0xffffffff84060940  cron
  689     1   689     0  Ss      select  0xfffffe0056b83ac0  sshd
  502     1   502     0  Ds      biowr   0xfffffe00079526c8  syslogd
  431     1   431     0  Ss      select  0xfffffe00573fea40  devd
  430     1   430    65  Ss      select  0xfffffe00573fec40  dhclient
  345     1   345     0  Ss      select  0xfffffe0056b83d40  dhclient
  342     1   342     0  Ss      select  0xfffffe00573febc0  dhclient
   18     0     0     0  DL      syncer  0xffffffff84188d60  [syncer]
   17     0     0     0  DL      vlruwt  0xfffffe0058750a70  [vnlru]
   16     0     0     0  DL      (threaded)                  [bufdaemon]
100078                   D       qsleep  0xffffffff84186a60  [bufdaemon]
100081                   D       -       0xffffffff83411f80  [bufspacedaemon-0]
100093                   D       sdflush 0xfffffe0058949ce8  [/ worker]
   15     0     0     0  DL      psleep  0xffffffff841befc0  [vmdaemon]
    9     0     0     0  DL      (threaded)                  [pagedaemon]
100076                   D       psleep  0xffffffff841b2ab8  [dom0]
100082                   D       launds  0xffffffff841b2ac4  [laundry: dom0]
100083                   D       umarcl  0xffffffff81eb8bb0  [uma]
    8     0     0     0  DL      -       0xffffffff83e16be0  [rand_harvestq]
    7     0     0     0  DL      waiting 0xffffffff84c43760  [sctp_iterator]
    6     0     0     0  DL      pftm    0xffffffff8494c2f0  [pf purge]
    5     0     0     0  DL      (threaded)                  [cam]
100045                   D       -       0xffffffff83c9c3c0  [doneq0]
100046                   D       -       0xffffffff83c9c340  [async]
100075                   D       -       0xffffffff83c9c1c0  [scanner]
   14     0     0     0  DL      seqstat 0xfffffe000791c888  [sequencer 00]
    4     0     0     0  DL      crypto_ 0xfffffe00541bdd80  [crypto returns 1]
    3     0     0     0  DL      crypto_ 0xfffffe00541bdd30  [crypto returns 0]
    2     0     0     0  DL      crypto_ 0xffffffff841acb60  [crypto]
   13     0     0     0  DL      (threaded)                  [geom]
100036                   D       -       0xffffffff84033b00  [g_event]
100037                   D       -       0xffffffff84033b40  [g_up]
100038                   D       -       0xffffffff84033b80  [g_down]
   12     0     0     0  WL      (threaded)                  [intr]
100012                   I                                   [swi5: fast taskq]
100016                   I                                   [swi6: task queue]
100017                   I                                   [swi6: Giant taskq]
100029                   I                                   [swi1: netisr 0]
100030                   I                                   [swi4: clock (0)]
100031                   I                                   [swi4: clock (1)]
100032                   I                                   [swi3: vm]
100033                   I                                   [swi1: hpts]
100034                   I                                   [swi1: hpts]
100047                   I                                   [irq24: virtio_pci0]
100048                   I                                   [irq25: virtio_pci0]
100049                   I                                   [irq26: virtio_pci0]
100050                   I                                   [irq27: virtio_pci0]
100051                   I                                   [irq28: virtio_pci1]
100052                   I                                   [irq29: virtio_pci1]
100053                   I                                   [irq30: virtio_pci1]
100054                   I                                   [irq31: virtio_pci1]
100055                   I                                   [irq32: virtio_pci1]
100060                   I                                   [irq10: virtio_pci2]
100062                   I                                   [irq1: atkbd0]
100063                   I                                   [irq12: psm0]
100064                   I                                   [swi0: uart uart++]
100068                   I                                   [swi1: pf send]
   11     0     0     0  RL      (threaded)                  [idle]
100003                   CanRun                              [idle: cpu0]
100004                   Run     CPU 1                       [idle: cpu1]
    1     0     1     0  SLs     wait    0xfffffe0053d56538  [init]
   10     0     0     0  DL      audit_w 0xffffffff841adb00  [audit]
    0     0     0     0  DLs     (threaded)                  [kernel]
100000                   D       swapin  0xffffffff84034a00  [swapper]
100005                   D       -       0xfffffe0007921500  [softirq_0]
100006                   D       -       0xfffffe0007921400  [softirq_1]
100007                   D       -       0xfffffe0007921300  [if_io_tqg_0]
100008                   D       -       0xfffffe0007921200  [if_io_tqg_1]
100009                   D       -       0xfffffe0007921100  [if_config_tqg_0]
100010                   D       -       0xfffffe0007921000  [deferred_unmount ta]
100011                   D       -       0xfffffe0053df6e00  [thread taskq]
100013                   D       -       0xfffffe0053df6c00  [pci_hp taskq]
100014                   D       -       0xfffffe0053df6b00  [kqueue_ctx taskq]
100015                   D       -       0xfffffe0053df6a00  [linuxkpi_irq_wq]
100018                   D       -       0xfffffe0053df6700  [aiod_kick taskq]
100019                   D       -       0xfffffe0053df6600  [inm_free taskq]
100020                   D       -       0xfffffe0053df6500  [in6m_free taskq]
100021                   D       -       0xfffffe0053df6400  [linuxkpi_short_wq_0]
100022                   D       -       0xfffffe0053df6400  [linuxkpi_short_wq_1]
100023                   D       -       0xfffffe0053df6400  [linuxkpi_short_wq_2]
100024                   D       -       0xfffffe0053df6400  [linuxkpi_short_wq_3]
100025                   D       -       0xfffffe0053df6300  [linuxkpi_long_wq_0]
100026                   D       -       0xfffffe0053df6300  [linuxkpi_long_wq_1]
100027                   D       -       0xfffffe0053df6300  [linuxkpi_long_wq_2]
100028                   D       -       0xfffffe0053df6300  [linuxkpi_long_wq_3]
100035                   D       -       0xfffffe0053df6100  [firmware taskq]
100039                   D       -       0xfffffe0053df6000  [crypto_0]
100040                   D       -       0xfffffe0053df6000  [crypto_1]
100056                   D       -       0xfffffe0056b9cc00  [vtnet0 rxq 0]
100057                   D       -       0xfffffe0056b9cb00  [vtnet0 txq 0]
100058                   D       -       0xfffffe0056b9ca00  [vtnet0 rxq 1]
100059                   D       -       0xfffffe0056b9c900  [vtnet0 txq 1]
100061                   D       vtbslp  0xfffffe0056b82080  [virtio_balloon]
100065                   D       -       0xfffffe0057002a00  [mca taskq]
100066                   D       -       0xffffffff82c8de81  [deadlkres]
100070                   D       -       0xfffffe0058345700  [acpi_task_0]
100071                   D       -       0xfffffe0058345700  [acpi_task_1]
100072                   D       -       0xfffffe0058345700  [acpi_task_2]
100074                   D       -       0xfffffe0056aa9b00  [CAM taskq]
db> show all locks
Process 780 (syz-executor1843592) thread 0xfffffe009e45dac0 (100108)
exclusive sleep mutex bpf (bpf cdev lock) r = 0 (0xfffffe009e41fce0) locked @ /syzkaller/managers/main/kernel/sys/kern/kern_event.c:2491
Process 502 (syslogd) thread 0xfffffe0058b5d900 (100106)
exclusive lockmgr bufwait (bufwait) r = 0 (0xfffffe0007952748) locked @ /syzkaller/managers/main/kernel/sys/kern/vfs_bio.c:3937
exclusive lockmgr ufs (ufs) r = 0 (0xfffffe009e478230) locked @ /syzkaller/managers/main/kernel/sys/kern/vfs_syscalls.c:3543
db> show malloc
              Type        InUse        MemUse     Requests
           pf_hash            5        11524K            5
            devbuf         4213         4323K         4238
          tcp_hpts            6         3201K            6
         sysctloid        34962         2059K        35033
             vtbuf           24         1968K           46
              kobj          326         1304K          485
            newblk          807         1226K          819
          vfscache            3         1025K            3
               pcb           23          537K           77
          inodedep           50          531K           72
         ufs_quota            1          512K            1
          vfs_hash            1          512K            1
           callout            2          512K            2
              intr            4          472K            4
            acpica         1674          184K        55237
           subproc           93          184K          833
         vnet_data            1          168K            1
              vmem            3          146K            4
           tidhash            3          141K            3
            linker          355          140K          383
           pagedep           14          132K           18
        tfo_ccache            1          128K            1
               sem            4          106K            4
            DEVFS1          104          104K          113
               bus          986           80K         3474
          mtx_pool            2           72K            2
          syncache            1           68K            1
          acpitask            1           64K            1
       ddb_capture            1           64K            1
            module          509           64K          509
              temp           17           33K         1614
         hostcache            1           32K            1
               shm            1           32K            1
           kdtrace          156           32K          896
            DEVFS3          123           31K          133
              umtx          242           31K          242
               msg            4           30K            4
        gtaskqueue           18           26K           18
            kbdmux            6           22K            6
        DEVFS_RULE           56           20K           56
               BPF           11           19K           11
         ufs_mount            4           17K            5
              proc            3           17K            3
               tty           16           16K           16
           ithread           99           16K           99
            bus-sc           34           15K         1691
            KTRACE          100           13K          100
              kenv           95           12K           95
      eventhandler          133           12K          133
            ifaddr           30           12K           32
          routetbl           50           11K          176
         CAM queue            5           11K         1528
              GEOM           61           10K          490
              rman           84           10K          425
         bmsafemap            3            9K           40
              UART           12            9K           12
           devstat            4            9K            4
              ksem            1            8K            1
               rpc            2            8K            2
             shmfd            1            8K            1
       pfs_vncache            1            8K            1
         pfs_nodes           20            8K           20
     audit_evclass          237            8K          295
         taskqueue           63            7K           63
            sglist            5            7K            5
           CAM DEV            3            6K          510
              cred           23            6K          234
            kqueue           43            5K          785
       ufs_dirhash           24            5K           24
               UMA          268            5K          268
            dirrem           17            5K           28
            plimit           17            5K          322
                vt           11            5K           11
             ifnet            3            5K            3
           memdesc            1            4K            1
               MCA           32            4K           32
             evdev            4            4K            4
          filedesc            1            4K            1
           acpisem           28            4K           28
             hhook           15            4K           17
       ether_multi           40            4K           50
            diradd           25            4K           36
           lltable           11            4K           11
          pf_ifnet            5            3K            6
         in6_multi           25            3K           25
          terminal           11            3K           11
           pwddesc           41            3K          781
           session           20            3K           31
           uidinfo            3            3K            8
        local_apic            1            2K            1
           io_apic            1            2K            1
       fpukern_ctx            2            2K            2
         ipsec-saq            2            2K            2
         proc-args           39            2K          489
            Unitno           27            2K           39
           CAM XPT           22            2K          543
             lockf           15            2K           22
             selfd           22            2K        12506
       ipsecpolicy            2            2K            2
           acpidev           20            2K           20
               msi            9            2K            9
             clone            9            2K            9
           softdep            1            1K            1
            sahead            1            1K            1
          secasvar            1            1K            1
       vnodemarker            2            1K            8
      NFSD session            1            1K            1
        CAM periph            4            1K          271
            select            7            1K           29
             ipsec            3            1K            3
          indirdep            3            1K            3
             nhops            6            1K            6
         toponodes            6            1K            6
            isadev            6            1K            6
             mount           16            1K           89
          pci_link           10            1K           10
          sctp_ifa            5            1K            6
            crypto            4            1K            4
            ip6ndp            4            1K            5
 encap_export_host           12            1K           12
         newdirblk            4            1K            8
             mkdir            4            1K           16
          in_multi            2            1K            4
              pfil            4            1K            4
              cdev            2            1K            2
    chacha20random            1            1K            1
               osd            7            1K           18
            DEVFSP            5            1K           10
       inpcbpolicy           10            1K          137
          sctp_ifn            2            1K            6
      NFSD lckfile            1            1K            1
     NFSD V4client            1            1K            1
             DEVFS            9            1K           10
               mld            2            1K            2
              igmp            2            1K            2
            vnodes            1            1K            1
           CAM SIM            2            1K            2
            feeder            7            1K            7
           tcpfunc            3            1K            3
        loginclass            3            1K            7
            prison            6            1K            6
       lkpikmalloc            5            1K            6
        aesni_data            2            1K            2
          nexusdev            8            1K            8
            apmdev            1            1K            1
          atkbddev            2            1K            2
     CAM dev queue            2            1K            2
          freefrag            1            1K            2
             xform            2            1K           49
 CAM I/O Scheduler            1            1K            1
          CAM path            4            1K         1034
          procdesc            1            1K            6
          pmchooks            1            1K            1
            soname            4            1K         3471
          filecaps            4            1K           66
               tun            3            1K            3
          sctp_vrf            1            1K            1
              vnet            1            1K            1
           entropy            2            1K           35
          acpiintr            1            1K            1
               pmc            1            1K            1
              cpus            2            1K            2
    vnet_data_free            1            1K            1
           Per-cpu            1            1K            1
          freework            1            1K           26
          p1003.1b            1            1K            1
            tcp_do            0            0K            0
           tcp_fsb            0            0K            0
            mqdata            0            0K            0
          cdg data            0            0K            0
          chd data            0            0K            0
        cubic data            0            0K            0
         htcp data            0            0K            0
        vegas data            0            0K            0
        dctcp data            0            0K            0
        sctp_mcore            0            0K            0
        sctp_socko            0            0K            0
         sctp_iter            0            0K            4
         sctp_mvrf            0            0K            0
         sctp_timw            0            0K            0
         sctp_cpal            0            0K            0
         sctp_cmsg            0            0K            0
         sctp_stre            0            0K            0
         sctp_athi            0            0K            0
         sctp_athm            0            0K            0
         sctp_atky            0            0K            0
         sctp_atcl            0            0K            0
         sctp_a_it            0            0K            4
         sctp_aadr            0            0K            0
         sctp_stro            0            0K            0
         sctp_stri            0            0K            0
          sctp_map            0            0K            0
          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 rollback            0            0K            0
      NFSCL diroff            0            0K            0
        madt_table            0            0K            2
          smartpqi            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
              iavf            0            0K            0
               ixl            0            0K            0
            NFS fh            0            0K            0
           NFS req            0            0K            0
     NFSD usrgroup            0            0K            0
       NFSD string            0            0K            0
       NFSD V4lock            0            0K            0
      NFSD V4state            0            0K            0
        ice-resmgr            0            0K            0
         ice-osdep            0            0K            0
               ice            0            0K            0
             axgbe            0            0K            0
     NFSD srvcache            0            0K            0
       msdosfs_fat            0            0K            0
     msdosfs_mount            0            0K            0
      msdosfs_node            0            0K            0
            DEVFS4            0            0K            0
          xen_intr            0            0K            0
            DEVFS2            0            0K            0
           xen_hvm            0            0K            0
         legacydrv            0            0K            0
            qpidrv            0            0K            0
            gntdev            0            0K            0
       privcmd_dev            0            0K            0
      dmar_idpgtbl            0            0K            0
          dmar_dom            0            0K            0
          dmar_ctx            0            0K            0
        evtchn_dev            0            0K            0
          xenstore            0            0K            0
         ciss_data            0            0K            0
              isci            0            0K            0
      iommu_dmamap            0            0K            0
         BACKLIGHT            0            0K            0
     hyperv_socket            0            0K            0
           bxe_ilt            0            0K            0
               xnb            0            0K            0
            xenbus            0            0K            0
              xbbd            0            0K            0
               xbd            0            0K            0
           Balloon            0            0K            0
     vm_fictitious            0            0K            0
          sysmouse            0            0K            0
            vtfont            0            0K            0
           ath_hal            0            0K            0
            athdev            0            0K            0
           ata_pci            0            0K            0
           ata_dma            0            0K            0
       ata_generic            0            0K            0
               amr            0            0K            0
            pvscsi            0            0K            0
           UMAHash            0            0K            0
           scsi_da            0            0K           69
         vm_pgdata            0            0K            0
           jblocks            0            0K            0
          savedino            0            0K           15
          sentinel            0            0K            0
            jfsync            0            0K            0
            jtrunc            0            0K            0
             sbdep            0            0K            2
           jsegdep            0            0K            0
              jseg            0            0K            0
         jfreefrag            0            0K            0
          jfreeblk            0            0K            0
           jnewblk            0            0K            0
            jmvref            0            0K            0
           jremref            0            0K            0
           jaddref            0            0K            0
           freedep            0            0K            0
          freefile            0            0K            9
          freeblks            0            0K           25
        allocindir            0            0K            0
       allocdirect            0            0K            0
          ufs_trim            0            0K            0
           mactemp            0            0K            0
     audit_trigger            0            0K            0
 audit_pipe_presel            0            0K            0
     audit_pipeent            0            0K            0
        audit_pipe            0            0K            0
      audit_evname            0            0K            0
         audit_bsm            0            0K            0
      audit_gidset            0            0K            0
        audit_text            0            0K            0
        audit_path            0            0K            0
        audit_data            0            0K            0
        audit_cred            0            0K            0
            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
          ktls_ocf            0            0K            0
           nvme_da            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            3
       ip6_msource            0            0K            0
      ip6_moptions            0            0K            0
       in6_mfilter            0            0K            0
             frag6            0            0K            0
            tcplog            0            0K            0
        tcp_hwpace            0            0K            0
           acpipwr            0            0K            0
               LRO            0            0K            0
      newreno data            0            0K            0
        ip_msource            0            0K            0
       ip_moptions            0            0K            0
        in_mfilter            0            0K            0
              ipid            0            0K            0
         80211scan            0            0K            0
      80211ratectl            0            0K            0
        80211power            0            0K            0
       80211nodeie            0            0K            0
         80211node            0            0K            0
      80211mesh_gt            0            0K            0
      80211mesh_rt            0            0K            0
         80211perr            0            0K            0
         80211prep            0            0K            0
         80211preq            0            0K            0
          80211dfs            0            0K            0
       80211crypto            0            0K            0
          80211vap            0            0K            0
             iflib            0            0K            0
              vlan            0            0K            0
               gif            0            0K            0
           ifdescr            0            0K            0
              zlib            0            0K            0
           fadvise            0            0K            0
           VN POLL            0            0K            0
         acpi_perf            0            0K            0
            statfs            0            0K          195
     namei_tracker            0            0K            0
       export_host            0            0K            0
        cl_savebuf            0            0K            3
            twsbuf            0            0K            0
      twe_commands            0            0K            0
      twa_commands            0            0K            0
       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          523
               PUC            0            0K            0
          ppbusdev            0            0K            0
            biobuf            0            0K            0
              aios            0            0K            0
               lio            0            0K            0
               acl            0            0K            0
agtiapi_MemAlloc malloc            0            0K            0
          mbuf_tag            0            0K           27
              ktls            0            0K            0
    osti_cacheable            0            0K            0
          tempbuff            0            0K            0
          tempbuff            0            0K            0
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        13769
          ioctlops            0            0K           86
           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          658
            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
          kcovinfo            0            0K            0
      prison_racct            0            0K            0
       Fail Points            0            0K            0
             sigio            0            0K            1
filedesc_to_leader            0            0K            0
               pwd            0            0K            0
       tty console            0            0K            0
            aaccam            0            0K            0
            aacbuf            0            0K            0
              zstd            0            0K            0
            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
db> show uma
              Zone   Size    Used    Free    Requests  Sleeps  Bucket  Total Mem    XFree
   mbuf_jumbo_page   4096    8320     983       15371       0     254   38105088        0
              pbuf   2624       0     973           0       0       2    2553152        0
              mbuf    256    8577     993       18606       0     254    2449920        0
          BUF TRIE    144     189   11571         529       0      62    1693440        0
        malloc-384    384    4221       9        4244       0      30    1624320        0
        malloc-128    128   11558      36       11922       0     126    1484032        0
       malloc-4096   4096     326       2         488       0       2    1343488        0
       UMA Slabs 0    112   10088      25       10088       0     126    1132656        0
         vmem btag     56   15382      73       15382       0     254     865480        0
         FFS inode   1160     499      12         508       0       8     592760        0
        RADIX NODE    144    3087     184       21180       0      62     471024        0
      malloc-65536  65536       4       2          50       0       1     393216        0
            lkpimm    168       1    2327           1       0      62     391104        0
          lkpicurr    168       2    2326           2       0      62     391104        0
        256 Bucket   2048     109      15       10806       0       8     253952        0
         malloc-64     64    3843      63        3847       0     254     249984        0
             VNODE    448     529      20         540       0      30     245952        0
         VM OBJECT    264     891      39       12689       0      30     245520        0
         malloc-16     16   14439     311       14500       0     254     236000        0
            DEVCTL   1024       0     220         126       0       0     225280        0
            THREAD   1808     114       7         114       0       8     218768        0
        malloc-256    256     828      12         891       0      62     215040        0
       malloc-4096   4096      47       4         787       0       2     208896        0
      malloc-65536  65536       1       2         137       0       1     196608        0
         UMA Zones    768     240       4         240       0      16     187392        0
         malloc-32     32    5515     155        5642       0     254     181440        0
        malloc-128    128    1311      22       25974       0     126     170624        0
      malloc-65536  65536       2       0           2       0       1     131072        0
       FFS2 dinode    256     499      11         508       0      62     130560        0
       malloc-1024   1024     113       7         281       0      16     122880        0
          ksiginfo    112      38    1006          53       0     126     116928        0
         MAP ENTRY     96     836     382       38040       0     126     116928        0
       S VFS Cache    104     966      48        1006       0     126     105456        0
     FPU_save_area    832     116      10         128       0      16     104832        0
        malloc-128    128     792      14         828       0     126     103168        0
      malloc-16384  16384       6       0          21       0       1      98304        0
       malloc-8192   8192      11       1          13       0       1      98304        0
       malloc-4096   4096      22       2         575       0       2      98304        0
       malloc-2048   2048       5      41        1037       0       9      94208        0
          UMA Kegs    384     226       7         226       0      30      89472        0
            clpbuf   2624       0      32          25       0      16      83968        0
         malloc-64     64     816     444        2326       0     254      80640        0
           VMSPACE   2552      23       7         764       0       4      76560        0
              PROC   1336      40      11         780       0       8      68136        0
      mbuf_cluster   2048      30       2          30       0     254      65536        0
      malloc-65536  65536       1       0           1       0       1      65536        0
      malloc-65536  65536       1       0           1       0       1      65536        0
      malloc-65536  65536       0       1           8       0       1      65536        0
      malloc-32768  32768       0       2         130       0       1      65536        0
      malloc-32768  32768       2       0           2       0       1      65536        0
             g_bio    408       4     156        4506       0      30      65280        0
         filedesc0   1072      41      15         781       0       8      60032        0
       malloc-8192   8192       6       1         107       0       1      57344        0
       malloc-1024   1024      18      38        1412       0      16      57344        0
        128 Bucket   1024      40      11         607       0      16      52224        0
        malloc-128    128     365      38        4323       0     126      51584        0
        malloc-256    256     162      33         214       0      62      49920        0
      malloc-16384  16384       1       2         161       0       1      49152        0
       malloc-8192   8192       3       3          31       0       1      49152        0
        malloc-256    256     163      17        1080       0      62      46080        0
         32 Bucket    256      45     135        6664       0      62      46080        0
         malloc-64     64     531     162        1658       0     254      44352        0
        malloc-256    256     135      15         278       0      62      38400        0
           DIRHASH   1024      34       2          34       0      16      36864        0
             NAMEI   1024       0      36       12232       0      16      36864        0
       malloc-2048   2048      15       3          40       0       8      36864        0
            pcpu-8      8    4233     375        4261       0     254      36864        0
         64 Bucket    512      60      12        1254       0      30      36864        0
        malloc-128    128      35     244         298       0     126      35712        0
      malloc-32768  32768       1       0           1       0       1      32768        0
       malloc-8192   8192       4       0           4       0       1      32768        0
           pcpu-64     64     487      25         487       0     254      32768        0
        malloc-384    384      61       9          63       0      30      26880        0
            da_ccb    544       1      48        1256       0      16      26656        0
            ttyinq    160     135      15         300       0      62      24000        0
            socket    960      18       6        1333       0     254      23040        0
           ttyoutq    256      72      18         160       0      62      23040        0
        malloc-384    384      52       8          71       0      30      23040        0
        malloc-256    256      35      55         486       0      62      23040        0
       malloc-2048   2048       6       4         247       0       8      20480        0
       malloc-1024   1024      17       3          17       0      16      20480        0
         malloc-32     32     129     501        1309       0     254      20160        0
         TURNSTILE    136     122      25         122       0      62      19992        0
       Mountpoints   2752       2       5           2       0       4      19264        0
        malloc-256    256      38      37         413       0      62      19200        0
      malloc-16384  16384       1       0           1       0       1      16384        0
       malloc-4096   4096       4       0          95       0       2      16384        0
       malloc-1024   1024       3      13          43       0      16      16384        0
       malloc-1024   1024      10       6          14       0      16      16384        0
         16 Bucket    144      42      70         359       0      62      16128        0
             tcpcb   1096       3      11           7       0     254      15344        0
              pipe    744       7      13         284       0      16      14880        0
        SLEEPQUEUE     88     122      38         122       0     126      14080        0
       malloc-4096   4096       2       1           3       0       2      12288        0
        malloc-512    512       3      21         127       0      30      12288        0
    ertt_txseginfo     40       0     303         282       0     254      12120        0
         malloc-64     64      62     127       12570       0     254      12096        0
         malloc-64     64      54     135         797       0     254      12096        0
         malloc-32     32      22     356        1064       0     254      12096        0
             Files     80      73      77        6582       0     126      12000        0
         malloc-16     16     518     232        1971       0     254      12000        0
         udp_inpcb    496       6      18         126       0     254      11904        0
        malloc-128    128      45      48          92       0     126      11904        0
              kenv    258      15      30        1024       0      30      11610        0
        malloc-384    384      12      18          12       0      30      11520        0
        malloc-256    256       1      44          21       0      62      11520        0
       malloc-8192   8192       1       0           1       0       1       8192        0
       malloc-4096   4096       0       2         196       0       2       8192        0
       malloc-2048   2048       2       2          11       0       8       8192        0
       malloc-2048   2048       3       1           3       0       8       8192        0
       malloc-1024   1024       1       7           5       0      16       8192        0
        malloc-512    512       5      11          14       0      30       8192        0
        malloc-512    512      10       6          69       0      30       8192        0
        malloc-512    512       4      12           5       0      30       8192        0
           rtentry    176      13      33          17       0      62       8096        0
              PGRP     88      20      72          31       0     126       8096        0
          rl_entry     40      31     171          31       0     254       8080        0
        sctp_laddr     48       0     168           4       0     254       8064        0
             udpcb     32       6     246         126       0     254       8064        0
              ertt     72       3     109           7       0     126       8064        0
               PWD     32      10     242         100       0     254       8064        0
         malloc-64     64      26     100       13680       0     254       8064        0
         malloc-64     64      50      76         841       0     254       8064        0
         malloc-64     64      15     111          39       0     254       8064        0
         malloc-32     32      35     217         195       0     254       8064        0
         malloc-32     32      77     175          91       0     254       8064        0
         malloc-32     32      41     211        2792       0     254       8064        0
         malloc-32     32      47     205          87       0     254       8064        0
         malloc-32     32      37     215         211       0     254       8064        0
          4 Bucket     48       6     162          51       0     254       8064        0
          2 Bucket     32      44     208         496       0     254       8064        0
      vtnet_tx_hdr     24       0     334        2334       0     254       8016        0
             KNOTE    160       1      49           9       0      62       8000        0
         malloc-16     16      11     489          75       0     254       8000        0
         malloc-16     16      33     467          72       0     254       8000        0
         malloc-16     16      36     464       25219       0     254       8000        0
         malloc-16     16       7     493          16       0     254       8000        0
          8 Bucket     80      30      70         585       0     126       8000        0
         tcp_inpcb    496       3      13           7       0     254       7936        0
        malloc-128    128      12      50         132       0     126       7936        0
        malloc-128    128      26      36          32       0     126       7936        0
     routing nhops    256      10      20          17       0      62       7680        0
             unpcb    256       7      23        1179       0     254       7680        0
       mbuf_packet    256       0      30          93       0     254       7680        0
        malloc-384    384       1      19         341       0      30       7680        0
        malloc-384    384       2      18          12       0      30       7680        0
        malloc-384    384       3      17           3       0      30       7680        0
        malloc-256    256       7      23         580       0      62       7680        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           2       0       2       4096        0
       malloc-2048   2048       0       2          12       0       8       4096        0
       malloc-2048   2048       1       1           1       0       8       4096        0
       malloc-1024   1024       0       4           3       0      16       4096        0
       malloc-1024   1024       4       0           4       0      16       4096        0
        malloc-512    512       1       7           1       0      30       4096        0
        malloc-512    512       0       8           1       0      30       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           5       0     254       4032        0
         malloc-16     16       4     246           5       0     254       4000        0
         malloc-16     16       5     245          19       0     254       4000        0
             ripcb    496       1       7           4       0     254       3968        0
       UMA Slabs 1    176       8      14           8       0      62       3872        0
        malloc-384    384       0      10           1       0      30       3840        0
            mqnode    416       3       6           3       0      30       3744        0
        KMAP ENTRY     96      12      27          14       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
           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
        sctp_raddr    736       0       0           0       0     254          0        0
         sctp_asoc   2288       0       0           0       0     254          0        0
           sctp_ep   1272       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    312       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
     udplite_inpcb    496       0       0           0       0     254          0        0
      tcp_log_node    120       0       0           0       0     126          0        0
    tcp_log_bucket    176       0       0           0       0      62          0        0
           tcp_log    416       0       0           0       0     254          0        0
          tcpreass     48       0       0           0       0     254          0        0
tfo_ccache_entries     80       0       0           0       0     126          0        0
               tfo      4       0       0           0       0     254          0        0
          sackhole     32       0       0           0       0     254          0        0
             tcptw     88       0       0           0       0     254          0        0
               ipq     56       0       0           0       0     254          0        0
    IPsec SA lft_c     16       0       0           0       0     254          0        0
            itimer    352       0       0           0       0      30          0        0
            AIOLIO    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    592       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     32       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
    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-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-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-8192   8192       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-2048   2048       0       0           0       0       8          0        0
        malloc-512    512       0       0           0       0      30          0        0
        malloc-512    512       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 (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-freebsd-main 2021/10/19 13:16 freebsd-src bad324ace4f8 24dc29db console log report syz C Fatal trap NUM: page fault in filt_bpfwrite
ci-freebsd-main 2021/10/19 12:57 freebsd-src bad324ace4f8 24dc29db console log report Fatal trap NUM: page fault in filt_bpfwrite
ci-freebsd-i386 2021/10/13 14:05 freebsd-src 776df104fa54 2184365e console log report Fatal trap NUM: page fault in filt_bpfwrite
ci-freebsd-i386 2021/10/13 12:50 freebsd-src 776df104fa54 2184365e console log report Fatal trap NUM: page fault in filt_bpfwrite
* Struck through repros no longer work on HEAD.