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

migrate symlink with target name length > 59 cause crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.14.0, Lustre 2.12.5
    • Lustre 2.12.0
    • None
    • 3
    • 9223372036854775807

    Description

      mdd_migrate() allocate 'la_size + 1' for symlink target name, the extra '+1' is a mistake, which will cause read beyond range fault: if target name is 59 bytes long, then it will try to read target name from external block other than inline i_block[15], that's why when target name is shorter than 59 it won't cause any problem.

      Attachments

        Issue Links

          Activity

            People

              laisiyao Lai Siyao
              laisiyao Lai Siyao
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: