lists.openwall.net   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-next>] [day] [month] [year] [list]
Message-ID: <CAGXu5jLFDFF6ggSLRbvgfQ7cqTGNqGf4i-FeCSn0SftOcVg3TQ@mail.gmail.com>
Date:   Mon, 12 Mar 2018 10:06:54 -0700
From:   Kees Cook <keescook@...gle.com>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Alexander Popov <alex.popov@...ux.com>
Subject: Future of STACKLEAK plugin?

Hi Linus,

I was curious, after the last week of discussion, what you thought of
the future of Alexander's port of the STACKLEAK plugin[0]. Given that
there is progress being made (by at least 8 people at last count) to
actually remove VLAs (and bogus warnings)[1], and that there appears
to be consensus[2] on the approach for how to deal with uninitialized
stack variables, this still leaves an aspect of STACKLEAK unaddressed,
which is reducing the lifetime of stack content validity.

We have options available for heap memory poison-on-free[3] (which can
serve both as a debugging feature and a security feature), but we
continue not to have this for the stack. I'd still like to be able to
provide coverage here. AIUI, your objections revolved around not
directly addressing the VLA and uninit cases (which are now underway).
Would you reconsider your NACK, and if not, what do you think the
right approach would be for performing stack clearing at the end of
syscalls?

Thanks!

-Kees

[0] http://www.openwall.com/lists/kernel-hardening/2018/03/03/7
[1] https://patchwork.kernel.org/project/LKML/list/?q=VLA
[2] https://marc.info/?l=kernel-hardening&m=152036383124266&w=2
[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/mm/Kconfig.debug?h=v4.15#n42
-- 
Kees Cook
Pixel Security

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ