[LU-539] small size for RMF_CONNECT_DATA caused out of bound memory crash Created: 26/Jul/11 Updated: 25/Apr/13 Resolved: 01/Aug/11 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.0 |
| Fix Version/s: | Lustre 2.1.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | nasf (Inactive) | Assignee: | Zhenyu Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 4936 | ||||||||
| Description |
|
For the interoperability between 1.8 and 2.x, we use small size structure of "obd_connect_data_v1" for "RMF_CONNECT_DATA" as following: ==========
But when server process connection in "target_handle_connect()", it treats related fileds as large size structure of "obd_connect_data", assigning such fileds maybe cause out of bound memory over-written, and then cause memory crash as following: ============ Call Trace: ============ |
| Comments |
| Comment by Zhenyu Xu [ 26/Jul/11 ] |
|
patch tracking at http://review.whamcloud.com/1144 |
| Comment by nasf (Inactive) [ 01/Aug/11 ] |
|
Oleg, |
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|
| Comment by Build Master (Inactive) [ 01/Aug/11 ] |
|
Integrated in Oleg Drokin : c05d602f27d4cb326dd10423e09046b16bee1d21
|