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

use-after-free in osd_object_delete()

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0, Lustre 2.12.1
    • Lustre 2.10.7, Lustre 2.12.1
    • None
    • 3
    • 9223372036854775807

    Description

      ldiskfs's osd_object_delete() releases inode then accesses LDISFKS_I(inode)->i_projid
      which may result in incorrect project space accounting.

      Attachments

        Issue Links

          Activity

            [LU-12160] use-after-free in osd_object_delete()

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34617/
            Subject: LU-12160 osd-ldiskfs: use-after-free in osd_object_delete()
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: 13aaf783bf7e1898b22694537fbafcb25b578698

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34617/ Subject: LU-12160 osd-ldiskfs: use-after-free in osd_object_delete() Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 13aaf783bf7e1898b22694537fbafcb25b578698
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34596/
            Subject: LU-12160 osd-ldiskfs: use-after-free in osd_object_delete()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 91ca866862aaa89218370996d9ed9c668611e069

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34596/ Subject: LU-12160 osd-ldiskfs: use-after-free in osd_object_delete() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 91ca866862aaa89218370996d9ed9c668611e069

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34617
            Subject: LU-12160 osd-ldiskfs: use-after-free in osd_object_delete()
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: a5c5efb792537162b8711253954bfe4df5824d9c

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34617 Subject: LU-12160 osd-ldiskfs: use-after-free in osd_object_delete() Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: a5c5efb792537162b8711253954bfe4df5824d9c

            It looks like this dates back to the original project quota patch landing, as the commit was landed as v2_9_55_0-43-g39f63cf54c.

            adilger Andreas Dilger added a comment - It looks like this dates back to the original project quota patch landing, as the commit was landed as v2_9_55_0-43-g39f63cf54c.

            Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34596
            Subject: LU-12160 osd-ldiskfs: use-after-free in osd_object_delete()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: cfd68d7ddd73e047589ee3048192ffcb9ac4dd1d

            gerrit Gerrit Updater added a comment - Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34596 Subject: LU-12160 osd-ldiskfs: use-after-free in osd_object_delete() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: cfd68d7ddd73e047589ee3048192ffcb9ac4dd1d

            People

              bzzz Alex Zhuravlev
              bzzz Alex Zhuravlev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: