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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 20 Mar 2014 13:24:14 -0700
From:	Kees Cook <>
To:	Andi Kleen <>
Cc:	Andrew Morton <>,
	Ingo Molnar <>,
	Peter Zijlstra <>,
	Rik van Riel <>, Mel Gorman <>,
	Aaron Tomlin <>,
	Andrew Shewmaker <>,
	Li Zefan <>,
	Dario Faggioli <>,
	Dave Hansen <>,
	Wanpeng Li <>,
	"David S. Miller" <>,
	Benjamin Herrenschmidt <>,
	Eric Dumazet <>,
	Willem de Bruijn <>,
	Frederic Weisbecker <>,
	Pavel Emelyanov <>,
	LKML <>
Subject: Re: [PATCH 1/2] sysctl: fix incorrect write position handling

On Wed, Mar 19, 2014 at 6:56 PM, Andi Kleen <> wrote:
>> Why are we fixing this?
> Also sysctl writes are root only anyways.
> Protecting root against root? Seems odd.

I think you misunderstood my motivation. I don't want to protect
anything here except a code auditor's mind. :)

The flaw itself was entirely with Chrome OS and poor filtering of
options that landed in procfs. The failure to recognize the needed
filtering came from the fact that procfs writes behave in an
unexpected manner.

I'd still be curious to see if we could improve things at all without
breaking actual uses. At least some better documentation seems


Kees Cook
Chrome OS Security
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists