]> 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)
commitd861fa48bb9945eab11bb87d15e4ee7296e42a8c
treeb240ab494a23255f2f8b59bd682c33420675fdd3
parent4560f2000c89c4516c4c077960d4e8588504d256
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