Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • Upstream
    • None
    • Tested on SLE15 + Lustre 2.11, and drivers/staging.
    • 3
    • 9223372036854775807

    Description

      The command:

      lctl --net tcp push

      will cause a host with any active lustre connections to crash.  Code in ksocknal_push() has an incorrect termination condition and falls off the end of a linked lists, dereferencing an invalid pointer.

      Precise results vary.  e.g. an LASSERT failure in ksocknal_connsock_addref(), or a NULL pointer dereference.

      Attachments

        Activity

          [LU-12101] lctl push causes a crash
          pjones Peter Jones added a comment -

          Landed for 2.12.3

          pjones Peter Jones added a comment - Landed for 2.12.3

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34499/
          Subject: LU-12101 socklnd: fix infinite loop in ksocknal_push()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 2bf657c025a593270e0ccbe5e8e2299355f8cf92

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34499/ Subject: LU-12101 socklnd: fix infinite loop in ksocknal_push() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 2bf657c025a593270e0ccbe5e8e2299355f8cf92

          Neil Brown (neilb@suse.com) uploaded a new patch: https://review.whamcloud.com/34499
          Subject: LU-12101 socklnd: fix infinite loop in ksocknal_push()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 6c654b18919939e5ba35367e1ffdced74d371d0c

          gerrit Gerrit Updater added a comment - Neil Brown (neilb@suse.com) uploaded a new patch: https://review.whamcloud.com/34499 Subject: LU-12101 socklnd: fix infinite loop in ksocknal_push() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6c654b18919939e5ba35367e1ffdced74d371d0c

          People

            neilb Neil Brown
            neilb Neil Brown
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: