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

NULL pointer dereference when handling RDMA_CM_EVENT_UNREACHABLE with no context

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In kiblnd_cm_callback, when we handle a RDMA_CM_EVENT_UNREACHABLE, we read cmid->context fields. But in some cases, the pointer can be NULL. We should handle this scenario, and check if we can have similar cases for other types of events.

      Attachments

        Activity

          [LU-18897] NULL pointer dereference when handling RDMA_CM_EVENT_UNREACHABLE with no context
          pjones Peter Jones added a comment -

          Merged for 2.17

          pjones Peter Jones added a comment - Merged for 2.17

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/59498/
          Subject: LU-18897 o2iblnd: NULL pointer dereference
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 47b4886e12dc31c71c24c71ffa3aa2a01ec094af

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/59498/ Subject: LU-18897 o2iblnd: NULL pointer dereference Project: fs/lustre-release Branch: master Current Patch Set: Commit: 47b4886e12dc31c71c24c71ffa3aa2a01ec094af

          "Cyril Bordage <cbordage@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/59498
          Subject: LU-18897 o2iblnd: NULL pointer dereference
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: e0101ca3cffa4ecec09a0c17eef6da745820854e

          gerrit Gerrit Updater added a comment - "Cyril Bordage <cbordage@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/59498 Subject: LU-18897 o2iblnd: NULL pointer dereference Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: e0101ca3cffa4ecec09a0c17eef6da745820854e

          Yes. I assigned it to me.

          cbordage Cyril Bordage added a comment - Yes. I assigned it to me.
          cfaber Colin Faber added a comment -

          Hi cbordage do you have time to work on this?

          cfaber Colin Faber added a comment - Hi cbordage do you have time to work on this?

          People

            cbordage Cyril Bordage
            cbordage Cyril Bordage
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: