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

lustre_swab_fiemap needs to check fm_mapped_extents

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: