[LU-12101] lctl push causes a crash Created: 25/Mar/19 Updated: 12/Jul/19 Resolved: 12/Jul/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Upstream |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Neil Brown | Assignee: | Neil Brown |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Tested on SLE15 + Lustre 2.11, and drivers/staging. |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
The command: lctl --net tcp push will cause a host with any active lustre connections to crash. Code in ksocknal_push() has an incorrect termination condition and falls off the end of a linked lists, dereferencing an invalid pointer. Precise results vary. e.g. an LASSERT failure in ksocknal_connsock_addref(), or a NULL pointer dereference. |
| Comments |
| Comment by Gerrit Updater [ 25/Mar/19 ] |
|
Neil Brown (neilb@suse.com) uploaded a new patch: https://review.whamcloud.com/34499 |
| Comment by Gerrit Updater [ 12/Jul/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34499/ |
| Comment by Peter Jones [ 12/Jul/19 ] |
|
Landed for 2.12.3 |