]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Don't leak the service-side session key to userspace
authorDavid Howells <dhowells@redhat.com>
Sun, 27 Sep 2020 10:07:21 +0000 (11:07 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 23 Nov 2020 18:09:29 +0000 (18:09 +0000)
commit511e7c9b5ca3c5a796ca8229cdb38c74dac0af43
treeb240ab494a23255f2f8b59bd682c33420675fdd3
parentf002f3c5b07f94dd5ae7ed3257db064c398ad820
rxrpc: Don't leak the service-side session key to userspace

Don't let someone reading a service-side rxrpc-type key get access to the
session key that was exchanged with the client.  The server application
will, at some point, need to be able to read the information in the ticket,
but this probably shouldn't include the key material.

Signed-off-by: David Howells <dhowells@redhat.com>
include/keys/rxrpc-type.h
net/rxrpc/key.c