rpma icon indicating copy to clipboard operation
rpma copied to clipboard

librdmacm: ghost private data

Open janekmi opened this issue 4 years ago • 2 comments

If no private data provided for rdma_accept(3) the client may find it anyway. During our experiments, it was a chunk of zeroed-out memory.

Thanks @osalyk for finding this issue! :-)

janekmi avatar Jul 23 '20 09:07 janekmi

Proposal 1

  • if no data is provided send a non-empty known and documented pattern which indicates no data
  • when the other part receives this known pattern it does not pass it to the application

janekmi avatar Sep 30 '21 10:09 janekmi

Proposal 2

  • make sure the issue is present in at least one of the currently supported OSes

Ref: https://github.com/pmem/rpma/blob/master/INSTALL.md#os-support

janekmi avatar Sep 30 '21 10:09 janekmi