Thread (21 messages) read the whole thread 21 messages, 5 authors, 2018-09-26

Re: [PATCH v8 5/9] dm: Remove VLA usage from hashes

From: Kees Cook <hidden>
Date: 2018-09-13 17:35:46
Also in: dm-devel, lkml

On Mon, Sep 3, 2018 at 8:13 PM, Herbert Xu [off-list ref] wrote:
On Tue, Aug 07, 2018 at 02:18:39PM -0700, Kees Cook wrote:
quoted
In the quest to remove all stack VLA usage from the kernel[1], this uses
the new HASH_MAX_DIGESTSIZE from the crypto layer to allocate the upper
bounds on stack usage.

[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com

Signed-off-by: Kees Cook <redacted>
Can the dm folks please review this patch?
Mike or Alasdair, can you Ack this patch so Herbert can include it in
the crypto tree? This is blocking some VLA removals[1]...

Thanks!

-Kees

[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com

-- 
Kees Cook
Pixel Security
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help