Details

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

    Description

      ptlrpc: Use after free of 'conn' in rhashtable retry

      Use after free of 'conn' in the uncommon case of
      rhashtable_lookup_get_insert_fast failing with -EBUSY or -ENOMEM

      Move OBD_FREE_PTR(conn) below the retry and set conn2 to NULL
      on error, propagating to conn and returning to the caller.

      Fixes: 37b29a8f70 ("LU-8130 ptlrpc: convert conn_hash to rhashtable");

      Attachments

        Activity

          [LU-15634] Use after free in ptlrpc
          pjones Peter Jones made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          adilger Andreas Dilger made changes -
          Fix Version/s New: Lustre 2.15.0 [ 14791 ]
          adilger Andreas Dilger made changes -
          Affects Version/s New: Lustre 2.14.0 [ 14490 ]
          Affects Version/s New: Lustre 2.15.0 [ 14791 ]
          stancheff Shaun Tancheff made changes -
          Assignee Original: WC Triage [ wc-triage ] New: Shaun Tancheff [ stancheff ]
          stancheff Shaun Tancheff created issue -

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: