[LU-6874] Potential buffer overflow in out_handler_find Created: 19/Jul/15  Updated: 03/Aug/15  Resolved: 03/Aug/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.8.0
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Major
Reporter: Oleg Drokin Assignee: Di Wang
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Patch http://review.whamcloud.com/15162 for LU-6602 introduced a new out_update operation OUT_NOOP, but did not add an entry to the out_update_ops table which now results in out_handler_find haning a potential buffer overflow.
Worse yet, once somebody adds another entry there, it'll likely cause a crash too.



 Comments   
Comment by Joseph Gmitter (Inactive) [ 20/Jul/15 ]

This is not critical, but frequently enough to be a concern.

Can you please have a look?

Thanks.
Joe

Comment by Gerrit Updater [ 23/Jul/15 ]

wangdi (di.wang@intel.com) uploaded a new patch: http://review.whamcloud.com/15692
Subject: LU-6874 out: missing noop in out_update_ops
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1fcdf3d05a97017b77885e9699f3b765bd5ae061

Comment by Gerrit Updater [ 03/Aug/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15692/
Subject: LU-6874 out: missing noop in out_update_ops
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: bf0b93a88479c3cb0bf2dc7cf890f60ae15ee05a

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