[LU-10141] Integer overflow in llapi_changelog_start Created: 19/Oct/17  Updated: 15/Nov/17  Resolved: 24/Oct/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0, Lustre 2.10.2

Type: Improvement Priority: Minor
Reporter: Henri Doreau (Inactive) Assignee: Henri Doreau (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
is related to LU-7659 Replace KUC by more standard mechanisms Reopened
Rank (Obsolete): 9223372036854775807

 Description   

When reading changelogs from a high (more than 32bits) offset, the return value from lseek() is not properly interpreted and spurious errors can occur.

ex. w/ robinhood:
ERROR -95 opening changelog for MDT 'lustre-MDT0000': Operation not supported



 Comments   
Comment by Gerrit Updater [ 19/Oct/17 ]

Henri Doreau (henri.doreau@cea.fr) uploaded a new patch: https://review.whamcloud.com/29674
Subject: LU-10141 llapi: integer overflow in llapi_changelog_start
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3b6f2b425d2443090b57d7c531f61a4f1479c84f

Comment by Peter Jones [ 19/Oct/17 ]

Thanks Henri

Comment by Henri Doreau (Inactive) [ 19/Oct/17 ]

For information: the regression has been introduced by yours truly in 2.10 (https://review.whamcloud.com/#/c/18900/).

I think that once we have a fix landed, a backport to 2.10 would be needed.

Comment by Peter Jones [ 19/Oct/17 ]

ok Henri - I have marked it as such

Comment by Gerrit Updater [ 24/Oct/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29674/
Subject: LU-10141 llapi: integer overflow in llapi_changelog_start
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: aaa808e7a40198581956a1d648f413cc30e830ed

Comment by Peter Jones [ 24/Oct/17 ]

Landed for 2.11

Comment by Gerrit Updater [ 24/Oct/17 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/29735
Subject: LU-10141 llapi: integer overflow in llapi_changelog_start
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 4004ef114f634b2b6a8926e1ec86592d84acdef7

Comment by Gerrit Updater [ 15/Nov/17 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29735/
Subject: LU-10141 llapi: integer overflow in llapi_changelog_start
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: 7736aa81d1633ce4c710f842a88b65a8be84029e

Generated at Sat Feb 10 02:32:25 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.