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

NULL deref of out_clean_llog_fileset in nodemap_del()

    XMLWordPrintable

Details

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

    Description

      In nodemap_del() around line 4364, there's this check:

      if (fileset_prim_exists && !rc && !nodemap->nmf_fileset_use_iam &&
        !nodemap->nm_dyn)
        *out_clean_llog_fileset = true;

      But nodemap_del() is called with NULL for that param at line 4311 (nodemap_del(nm->nm_name, NULL)). The other two spots in the same function do guard with && out_clean_llog_fileset before dereferencing, so it looks like this one just got missed?

       

      Discovered by code inspect.

      Attachments

        Activity

          People

            wc-triage WC Triage
            skoyama Sohei Koyama
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: