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

OOPS from null pointer dereference in mdc_unpack_acl

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • Lustre 2.6.0
    • Lustre 2.6.0, Lustre 2.5.1, Lustre 2.4.3
    • None
    • ZFS based 2.5.1 MGS/MDS/OSS + 2.5.1 or in-kernel client
    • 3
    • 13166

    Description

      A kernel oops is generated when body->aclsize != 0 in mdc_unpack_acl, but posix_acl_from_xattr
      returns a null pointer. The pointer is checked for error codes, but not for a null value.
      The cause of the problem is most likely some data corruption on the MDT side, but the client should tolerate this by sending an error.

      Attachments

        1. 0001-QL-Lustre-Avoid-null-pointer-dereference-in-mdc_unpa.patch
          1 kB
          Roland Fehrenbacher
        2. lustre-acl-oops
          5 kB
          Roland Fehrenbacher

        Issue Links

          Activity

            [LU-4787] OOPS from null pointer dereference in mdc_unpack_acl
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.6.0 [ 10595 ]
            Resolution New: Duplicate [ 3 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            dmiter Dmitry Eremin (Inactive) made changes -
            Link New: This issue is related to LU-5150 [ LU-5150 ]
            jlevi Jodi Levi (Inactive) made changes -
            Affects Version/s New: Lustre 2.6.0 [ 10595 ]
            rfehren Roland Fehrenbacher made changes -
            rfehren Roland Fehrenbacher made changes -
            Attachment New: lustre-acl-oops [ 14512 ]
            rfehren Roland Fehrenbacher created issue -

            People

              wc-triage WC Triage
              rfehren Roland Fehrenbacher
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: