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

Use after free, double lock found by coccinelle

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.6.0
    • None
    • 3
    • 14857

    Description

      When coccinelle (a static analyser) is run on the Lustre code, with the current Linux kernel scripts, it finds, amongst other things, the following errors:

        
      lustre/include/obd_support.h:792:19-22: ERROR: reference preceded by free on line 791
      lustre/ptlrpc/nrs_tbf.c:312:2-8: preceding lock on line 307
      lustre/fid/fid_handler.c:73:43-51: ERROR: cli is NULL but dereferenced.
      lustre/lfsck/lfsck_lib.c:1564:1-10: second lock on line 1571
      

      Attachments

        Issue Links

          Activity

            People

              jlevi Jodi Levi (Inactive)
              fzago Frank Zago (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: