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

use-after-free of lov_stripe_md

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      With the conversion to kref() a LASSERT() that prevented a UAF
      was removed. However some callers of lsm_addref() handled this
      case gracefully so the LASSERT() was not in the correct location.

      Remove the UAF race with kref_get_unless_zero() and returning NULL.
      Callers which cannot gracefully handle the UAF path should LASSERT()

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: