[LU-7414] out_read() uses both tti_u.update and tti_u.rdbuf members of the same union Created: 10/Nov/15  Updated: 18/Nov/15  Resolved: 18/Nov/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: Blocker
Reporter: John Hammond Assignee: Di Wang
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

out_read() uses fields from both the update and rdbuf members of the tti_u union in struct tgt_thread_info. This can lead to data corruption since those fields of the union are overlapping in memory.



 Comments   
Comment by Gerrit Updater [ 12/Nov/15 ]

wangdi (di.wang@intel.com) uploaded a new patch: http://review.whamcloud.com/17129
Subject: LU-7414 target: do not share update and rdbuf
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 750c9ff9cf89f732b9fb42332a525e3dae9d1fa4

Comment by Gerrit Updater [ 17/Nov/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17129/
Subject: LU-7414 target: do not share update and rdbuf
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f0ff8fa3d8c6612b11004f01068ab590b11fc290

Comment by Joseph Gmitter (Inactive) [ 18/Nov/15 ]

Landed for 2.8

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