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

Prevent use after free following *_decref_locked() usage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In rare cases when one of:
      lnet_peer_net_decref_locked
      lnet_peer_decref_locked
      lnet_peer_ni_decref_locked
      Actually destroys the object it is not safe to use.
      Update the functions to return true when the object is deleted and ensure the object is not referenced (used) after it has been kfree()'d.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: