Log inSkip to main contentSkip to sidebar
  • Whamcloud Community JIRA
  • Whamcloud Community Wiki
  • Whamcloud Build
  • Whamcloud Code Review
Whamcloud Community JIRA
  • More
    DashboardsProjectsIssues
  • Give feedback to Atlassian
  • Help
    • Jira Core help
    • Keyboard Shortcuts
    • About Jira
    • Jira Credits
  • Log In

Open issues

  • All issues
  • Open issues
  • Done issues
  • Viewed recently
  • Created recently
  • Resolved recently
  • Updated recently
View all issues and filters
Order by Priority
Order by Priority
  1. Bug
    LU-19059overflow in lov_stripe_size()
  2. Bug
    LU-19018Quota enforcement ignored with posix_fallocate()
  3. Bug
    LU-18948recovery-small 136 never work on single node
  4. Bug
    LU-18052osc checksums caused an client evictions during recovery
  5. Bug
    LU-18147client page cache - page still in cache
  6. Bug
    LU-4341Failure on test suite sanity test_170: expected 31 bad lines, but got 34
  7. Bug
    LU-17388sanity-flr test 38: resync panic.
  8. Bug
    LU-17185After deactivating OSTs, some clients see them as active
  9. Bug
    LU-16276stale data read with simple IOR testing.
  10. Bug
    LU-16156stale read during IOR test due LU-14541
  11. Bug
    LU-16137Lustre 2.15.1 server kernel issue (RHEL 8.6)
  12. Bug
    LU-7866BUG: unable to handle kernel NULL pointer dereference at (null)
  13. Technical task
    LU-13008WBC: memory limits for caching
  14. Technical task
    LU-13010WBC: Reopen the file when WBC EX lock revoking
  15. Technical task
    LU-13009WBC: fsync() support
  16. Bug
    LU-13370 some clients Intermittent lctl ping oss failure
  17. Bug
    LU-4776suite sanity-scrub: ASSERTION( info->oti_r_locks == 0 )
  18. Task
    LU-6858Demonstrate DNE2 functionality
  19. Bug
    LU-12643PFL layout don't inherit correctly from default layout.
  20. Bug
    LU-13080client ops hangs when mount filesystem through lnet reouter
  21. Technical task
    LU-13015WBC: lfs wbc and lctl wbc utils
  22. Bug
    LU-11936High ldlm load, slow/unusable filesystem
  23. Bug
    LU-12453ko2iblnd: problem handling link failures on bonded interfaces
  24. Bug
    LU-12162Major issue on OSS after upgrading Oak to 2.10.7
  25. Question/Request
    LU-12274Clients aren't connecting to OST defined failover.node
  26. Bug
    LU-10647Lustre Errors reported by MDS server under load
  27. Bug
    LU-7405Kernel bug when processing llog
  28. Bug
    LU-5483recovery-mds-scale test failover_mds: oom failure on client
  29. Bug
    LU-19092Crash in ll_release_user_pages in sanity-pcc test 40
  30. Bug
    LU-19050Support long nidlists in liblustre api
  31. Task
    LU-18877Add aarch64 64k kernel support
  32. Bug
    LU-9096sanity test_253: File creation failed after rm
  33. Improvement
    LU-18942rework a object limits for zfs from LU-5164
  34. Bug
    LU-18945corrupted ldlm flags on enqueue may lead to a crash
  35. Improvement
    LU-18938lu object free eats so much time
  36. Bug
    LU-18041struct obd_uuid is too small for MGC"NID" uuid
  37. Bug
    LU-3458OST not able to register at MGS with predefined index.
  38. Improvement
    LU-4232MDT and OST should validate incoming FIDs belong to local target
  39. Improvement
    LU-5879Tell interested people when a section of code they are interested in has a proposed change
  40. Improvement
    LU-10329DNE3: REMOTE_PARENT_DIR scalability
  41. Improvement
    LU-17532Don't LASSERT on received data
  42. Bug
    LU-18755landing a LU-17480 don't fixes an LBUG in CM event handler.
  43. Bug
    LU-18736pool_add_objects order 0 support for OBD_ALLOC_LARGE
  44. Bug
    LU-12582lustre 2.10.3 QoS nrs_tbf_rule_match LBUG
  45. Bug
    LU-18032disable unaligned AIO
  46. Bug
    LU-15535deadlock on lli->lli_lsm_sem
  47. Bug
    LU-18426reboot lustre server, crash in mlx5_del_flow_rules
  48. Improvement
    LU-11918Allow setting default file layout on root directory at mkfs time
  49. Bug
    LU-18234fail to build lustre client due to macros 'HAVE_HOTPLUG_STATE_MACHINE'
  50. Bug
    LU-7266Fix LDLM pool to make LRUR working properly
Refresh results
1 2 3 4 5Next >>
Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-19059

overflow in lov_stripe_size()

Add Node
Open
Export
undefined
    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Blocker
    • Lustre 2.17.0
    • Lustre 2.16.1
    • None
    • 3
    • 9223372036854775807

    Description

      u64 lov_stripe_size(struct lov_stripe_md *lsm, int index, u64 ost_size,
                          int stripeno)
      {
              u32 ssize = lsm->lsm_entries[index]->lsme_stripe_size;
      ..
              if (stripe_size)
                      lov_size = ost_size * swidth + stripeno * ssize + stripe_size;
              else
                      lov_size = (ost_size - 1) * swidth + (stripeno + 1) * ssize;
      

       (stripeno + 1) * ssize operates on 2 32-bit integers and may overflow. For instance if stripeno == 31 and ssize == 128 * 1048576.

      The causes miscalculation of file size.

      Attachments

        Issue Links

          is related to

          Bug - A problem which impairs or prevents the functions of the product. LU-6174 do_div() silently truncates divisor to uint32_t

          • Major - Major loss of function.
          • Resolved

          Activity

            • All
            • Comments
            • History
            • Activity
            adilger Andreas Dilger made changes - 26/May/25 11:30 PM
            Link New: This issue is related to EX-12337 [ EX-12337 ]
            adilger Andreas Dilger made changes - 26/May/25 8:11 PM
            Affects Version/s New: Lustre 2.16.1 [ 16820 ]
            adilger Andreas Dilger made changes - 26/May/25 8:10 PM
            Fix Version/s New: Lustre 2.17.0 [ 16192 ]
            adilger Andreas Dilger made changes - 26/May/25 8:10 PM
            Link New: This issue is related to LU-6174 [ LU-6174 ]
            adilger Andreas Dilger made changes - 26/May/25 8:04 PM
            Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
            pjones Peter Jones made changes - 26/May/25 1:00 PM
            Assignee Original: WC Triage [ wc-triage ] New: Vladimir Saveliev [ vsaveliev ]
            gerrit Gerrit Updater added a comment - 26/May/25 12:56 PM

            "Vladimir Saveliev <vladimir.saveliev@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/59436
            Subject: LU-19059 lov: fix lov_stripe_set
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 010f2fde2995d6eb18837ed87929cf91c6f15c4e

            gerrit Gerrit Updater added a comment - 26/May/25 12:56 PM "Vladimir Saveliev <vladimir.saveliev@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/59436 Subject: LU-19059 lov: fix lov_stripe_set Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 010f2fde2995d6eb18837ed87929cf91c6f15c4e
            vsaveliev Vladimir Saveliev created issue - 26/May/25 12:54 PM

            People

              vsaveliev Vladimir Saveliev
              vsaveliev Vladimir Saveliev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                26/May/25 12:54 PM
                Updated:
                26/May/25 11:30 PM
                1 of 3570
                • Atlassian Jira Project Management Software
                • About Jira
                • Report a problem

                Powered by a free Atlassian Jira open source license for DataDirect Network. Try Jira - bug tracking software for your team.

                Atlassian