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

Null pointer dereference in lustre_set_wire_obdo

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      [ 279.518552] kasan: GPF could be caused by NULL-ptr deref or user memory access
      [ 279.520881] general protection fault: 0000 1 SMP KASAN NOPTI
      [ 279.523366] CPU: 1 PID: 555 Comm: test Tainted: G O 5.4.148+ #7
      [ 279.527232] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
      [ 279.530776] RIP: 0010:lustre_set_wire_obdo+0x7e/0x570 [obdclass]
      [ 279.556223] Call Trace:
      [ 279.556666] osc_getattr+0x1eb/0x950 [osc]
      [ 279.558046] osc_iocontrol+0x4f1/0xe80 [osc]
      [ 279.559241] lov_iocontrol+0x4ba/0x5de0 [lov]
      [ 279.567254] ll_dir_ioctl+0x2834/0x17cc0 [lustre]
      [ 279.590353] do_vfs_ioctl+0x405/0x660
      [ 279.590784] ksys_ioctl+0x5e/0x90
      

      Attachments

        Issue Links

          Activity

            [LU-16634] Null pointer dereference in lustre_set_wire_obdo
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-13107 [ LU-13107 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.16.0 [ 15190 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Andreas Dilger [ adilger ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-16688 [ LU-16688 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-16617 [ LU-16617 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-16616 [ LU-16616 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-12613 [ LU-12613 ]
            adilger Andreas Dilger made changes -
            Attachment New: LU-16634-ioctl.diff.diff [ 48441 ]
            adilger Andreas Dilger made changes -
            Description New: {noformat}
            [ 279.518552] kasan: GPF could be caused by NULL-ptr deref or user memory access
            [ 279.520881] general protection fault: 0000 1 SMP KASAN NOPTI
            [ 279.523366] CPU: 1 PID: 555 Comm: test Tainted: G O 5.4.148+ #7
            [ 279.527232] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
            [ 279.530776] RIP: 0010:lustre_set_wire_obdo+0x7e/0x570 [obdclass]
            [ 279.556223] Call Trace:
            [ 279.556666] osc_getattr+0x1eb/0x950 [osc]
            [ 279.558046] osc_iocontrol+0x4f1/0xe80 [osc]
            [ 279.559241] lov_iocontrol+0x4ba/0x5de0 [lov]
            [ 279.567254] ll_dir_ioctl+0x2834/0x17cc0 [lustre]
            [ 279.590353] do_vfs_ioctl+0x405/0x660
            [ 279.590784] ksys_ioctl+0x5e/0x90
            {noformat}
            adilger Andreas Dilger made changes -
            Comment [ [~tao.lyu] there isn't enough information for anyone to have an idea of what went wrong to trigger this issue. 

            Please provide at least the stack trace and console log messages from before the crash, along with a description of what the client(s) were running at the time.   ]
            tao.lyu Tao Lyu created issue -

            People

              adilger Andreas Dilger
              tao.lyu Tao Lyu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: