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

sanity-sec: crash in lov_connect/lmv_connect ->__kernfs_new_node->kstrdup->__kmalloc_track_caller

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      This issue was created by maloo for Sergey Cheremencev <scherementsev@ddn.com>

      This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/a991bf01-9b1f-4f14-870d-dd88df7dd910

      Test session details:
      clients: https://build.whamcloud.com/job/lustre-reviews/107651 - 5.14.0-362.24.1.el9_3.x86_64
      servers: https://build.whamcloud.com/job/lustre-b2_14/2 - 4.18.0-240.1.1.el8_lustre.x86_64

      [  599.434268] Lustre: DEBUG MARKER: mount -t lustre -o user_xattr,flock,network=tcp999 10.240.42.201@tcp999:/lustre /mnt/lustre
      [  600.487995] general protection fault, probably for non-canonical address 0x6c68fee59ed236dc: 0000 [#1] PREEMPT SMP PTI
      [  600.491430] CPU: 0 PID: 34667 Comm: mount.lustre Kdump: loaded Tainted: G           OE     -------  ---  5.14.0-362.24.1.el9_3.x86_64 #1
      [  600.492807] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
      [  600.493512] RIP: 0010:__kmalloc_track_caller+0x124/0x390
      [  600.494203] Code: 51 08 48 8b 01 48 83 79 10 00 48 89 44 24 10 0f 84 ce 01 00 00 48 85 c0 0f 84 c5 01 00 00 41 8b 4c 24 28 49 8b 3c 24 48 01 c1 <48> 8b 19 48 89 ce 49 33 9c 24 b8 00 00 00 48 8d 8a 00 20 00 00 48
      [  600.496272] RSP: 0018:ffffaa7b80b4b9b8 EFLAGS: 00010202
      [  600.496909] RAX: 6c68fee59ed236bc RBX: ffff9b718113a0c0 RCX: 6c68fee59ed236dc
      [  600.497744] RDX: 0000000057018000 RSI: 0000000000000cc0 RDI: 00000000000370a0
      [  600.498578] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
      [  600.499420] R10: 0000000000000001 R11: 0000000000000000 R12: ffff9b7181042500
      [  600.500255] R13: 0000000000000cc0 R14: 0000000000000024 R15: 0000000000000cc0
      [  600.501092] FS:  00007fb03d094340(0000) GS:ffff9b723fc00000(0000) knlGS:0000000000000000
      [  600.502025] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      [  600.502713] CR2: 000055a85eb9c398 CR3: 000000000554a005 CR4: 00000000000606f0
      [  600.503549] Call Trace:
      [  600.503891]  <TASK>
      [  600.504208]  ? show_trace_log_lvl+0x1c4/0x2df
      [  600.504783]  ? show_trace_log_lvl+0x1c4/0x2df
      [  600.505332]  ? kstrdup+0x2e/0x60
      [  600.505777]  ? __die_body.cold+0x8/0xd
      [  600.506263]  ? die_addr+0x39/0x60
      [  600.506720]  ? exc_general_protection+0x1ac/0x400
      [  600.507345]  ? asm_exc_general_protection+0x22/0x30
      [  600.507965]  ? __kmalloc_track_caller+0x124/0x390
      [  600.508545]  ? __kmalloc_track_caller+0x6e/0x390
      [  600.509121]  ? __kernfs_new_node+0x41/0x1d0
      [  600.509671]  kstrdup+0x2e/0x60
      [  600.510091]  __kernfs_new_node+0x41/0x1d0
      [  600.510611]  ? mod_delayed_work_on+0x57/0x90
      [  600.511181]  ? ptlrpc_pinger_add_import+0x183/0x240 [ptlrpc]
      [  600.511950]  kernfs_new_node+0x31/0x60
      [  600.512437]  kernfs_create_link+0x31/0xa0
      [  600.512971]  sysfs_do_create_link_sd+0x62/0xe0
      [  600.513536]  lov_connect_osc+0x6a1/0x7d0 [lov]
      [  600.514114]  lov_connect+0x27e/0x400 [lov]
      [  600.514640]  obd_connect.constprop.0+0x8d/0x340 [lustre]
      [  600.515337]  client_common_fill_super+0xaad/0x3240 [lustre]
      [  600.516046]  ? vsnprintf+0x36d/0x570
      [  600.516541]  ? snprintf+0x49/0x70
      [  600.516984]  ll_fill_super+0x900/0x1060 [lustre]
      [  600.517594]  lustre_fill_super+0xe6/0x480 [lustre]
      [  600.518232]  ? __pfx_lustre_fill_super+0x10/0x10 [lustre]
      [  600.518923]  mount_nodev+0x44/0x90
      [  600.519385]  legacy_get_tree+0x27/0x50
      [  600.519883]  vfs_get_tree+0x25/0xc0
      [  600.520354]  do_new_mount+0x17a/0x310
      [  600.520837]  __x64_sys_mount+0x107/0x140
      [  600.521341]  do_syscall_64+0x5c/0x90
      [  600.521802]  ? syscall_exit_to_user_mode+0x22/0x40
      [  600.522395]  ? do_syscall_64+0x69/0x90
      [  600.522874]  ? exc_page_fault+0x62/0x150
      [  600.523380]  entry_SYSCALL_64_after_hwframe+0x72/0xdc
      [  600.524013] RIP: 0033:0x7fb03c83f7be
      [  600.524517] Code: 48 8b 0d 65 a6 1b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 32 a6 1b 00 f7 d8 64 89 01 48
      [  600.526565] RSP: 002b:00007ffe83680fa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
      [  600.527451] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb03c83f7be
      [  600.528288] RDX: 000000000040e98d RSI: 00007ffe83682218 RDI: 000000000138d500
      [  600.529124] RBP: 00007ffe83682218 R08: 000000000138d930 R09: 0000000000000000
      [  600.529963] R10: 0000000001000000 R11: 0000000000000202 R12: 000000000138d930
      [  600.530793] R13: 0000000001000000 R14: 000000000040e98d R15: 00000000fffff
      

      Attachments

        Issue Links

          Activity

            People

              scherementsev Sergey Cheremencev
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: