Re: [PATCH v5] exec: load_script: Do not exec truncated interpreter path
From: Linus Torvalds
Date: Mon Feb 18 2019 - 19:52:26 EST
On Mon, Feb 18, 2019 at 4:36 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> This attempts the protection again, but allows arguments to
> remain truncated. In an effort to improve readability, helper functions
> and comments have been added.
Applied directly, in the (maybe naive) belief that this can't possibly
break anything, and let's just get it fixed for 5.0 rather than wait
another release.
Famous last words.
Linus