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

Various issues with checksum calculation for Kerberos and SSK

Details

    • 3
    • 9223372036854775807

    Description

      When computing checksum for Kerberos, krb5 wire token header is appended to the plain text. We need to make sure the actual header is appended in gss_digest_hash().

      In gss_crypt_generic(), it is better to protect against an undefined behavior by
      switching from memcpy to memmove.

      Attachments

        Activity

          [LU-12401] Various issues with checksum calculation for Kerberos and SSK

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35536/
          Subject: LU-12401 gss: fix checksum for Kerberos and SSK
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set:
          Commit: d29eea632bb8a99b83442ba7946707e8baf2dcef

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35536/ Subject: LU-12401 gss: fix checksum for Kerberos and SSK Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: d29eea632bb8a99b83442ba7946707e8baf2dcef

          Still trying to have patch https://review.whamcloud.com/35536 landed for next 2.12 release.

          sebastien Sebastien Buisson added a comment - Still trying to have patch https://review.whamcloud.com/35536 landed for next 2.12 release.
          pjones Peter Jones added a comment -

          Landed for 2.13

          pjones Peter Jones added a comment - Landed for 2.13

          Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/35536
          Subject: LU-12401 gss: fix checksum for Kerberos and SSK
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set: 1
          Commit: 61d18ff20a8ba3e2377aafe60156bdf021902ba4

          gerrit Gerrit Updater added a comment - Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/35536 Subject: LU-12401 gss: fix checksum for Kerberos and SSK Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 61d18ff20a8ba3e2377aafe60156bdf021902ba4

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35099/
          Subject: LU-12401 gss: fix checksum for Kerberos and SSK
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 218fc688c11f081881b2cc1c1632ceaf9ec77a77

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35099/ Subject: LU-12401 gss: fix checksum for Kerberos and SSK Project: fs/lustre-release Branch: master Current Patch Set: Commit: 218fc688c11f081881b2cc1c1632ceaf9ec77a77

          Also, when computing checksum for SSK, we need to make sure the actual token is used to store the checksum.

          sebastien Sebastien Buisson added a comment - Also, when computing checksum for SSK, we need to make sure the actual token is used to store the checksum.

          Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/35099
          Subject: LU-12401 gss: fix checksum for Kerberos
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 5d539c480e352db07adf12f5b53878a67b8e5fd2

          gerrit Gerrit Updater added a comment - Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/35099 Subject: LU-12401 gss: fix checksum for Kerberos Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 5d539c480e352db07adf12f5b53878a67b8e5fd2

          People

            sebastien Sebastien Buisson
            sebastien Sebastien Buisson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: