Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12811

lustre_swab_fiemap needs to check fm_mapped_extents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • Lustre 2.14.0
    • Lustre 2.13.0, Lustre 2.12.3
    • 3
    • 9223372036854775807

      It looks like lustre_swab_fiemap can go beyond request buffer as it uses extent count number from network without any checking at face value

      similar problem exist at lustre_swab_lmv_mds_md_v1 for lmm1->lmv_stripe_count

      lustre_swab_object_update for ou->ou_params_count

            emoly.liu Emoly Liu
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: