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

OOPS from null pointer dereference in mdc_unpack_acl

    XMLWordPrintable

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: