Re: [net-next PATCH] tls: async support causes out-of-bounds access in crypto APIs

2018-09-17 Thread David Miller
From: John Fastabend Date: Fri, 14 Sep 2018 13:01:46 -0700 > When async support was added it needed to access the sk from the async > callback to report errors up the stack. The patch tried to use space > after the aead request struct by directly setting the reqsize field in > aead_request. This

RE: [net-next PATCH] tls: async support causes out-of-bounds access in crypto APIs

2018-09-15 Thread Vakul Garg
.@iogearbox.net; > da...@davemloft.net > Subject: [net-next PATCH] tls: async support causes out-of-bounds access in > crypto APIs > > When async support was added it needed to access the sk from the async > callback to report errors up the stack. The patch tried to use space after the > a

[net-next PATCH] tls: async support causes out-of-bounds access in crypto APIs

2018-09-14 Thread John Fastabend
When async support was added it needed to access the sk from the async callback to report errors up the stack. The patch tried to use space after the aead request struct by directly setting the reqsize field in aead_request. This is an internal field that should not be used outside the crypto APIs.