-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Lustre 2.18.0
-
None
-
3
-
9223372036854775807
After SOCKNAL_MAX_RETRIES refused connects, ksocknal_connect() fails with rc = +EALREADY and completes the queued txs with that positive status. lnet_ping() returns it as a NID count, and lnet_ping_show_dump() dereferences NULL:
BUG: kernel NULL pointer dereference, address: 0000000000000001 RIP: lnet_ping_show_dump+0x3dc
Reproduced 3/3 by sanity-lnet test_239 on a tree without the LU-21218 fix.
Fixes: d4c52652c357 ("LU-19225 socklnd: cap the number of retries")
Fix: use -EALREADY when failing; lnet_ping() returns only negative errors.
- is related to
-
LU-21218 ksocklnd: stuck outgoing connect locks the peer out
-
- Open
-