lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 12 Jul 2018 23:05:20 +0100
From:   David Howells <>
To:     Arnd Bergmann <>
Cc:, Kees Cook <>,
        Herbert Xu <>,
        "Gustavo A. R. Silva" <>,
        Eric Biggers <>,
        Alasdair Kergon <>,
        Giovanni Cabiddu <>,
        Lars Persson <>,
        Mike Snitzer <>,
        Rabin Vincent <>,
        Tim Chen <>,
        "David S. Miller" <>,
        Masahiro Yamada <>,
        Linux Kernel Mailing List <>
Subject: Re: [PATCH v4 13/14] rxrpc: Prepare to remove VLA usage for SKCIPHER_REQUEST_ON_STACK

Arnd Bergmann <> wrote:

> From what I can tell, neither of the two are called in atomic context, so
> you should be able to use a GFP_KERNEL allocation.

You need to be careful doing that since the allocation might happen in the AFS
writeback path.  I use GFP_NOIO or GFP_NOFS in rxkad.c and skb_cow_data() uses
GFP_ATOMIC - though we should have single ownership of the packet at this


Powered by blists - more mailing lists