Re: [PATCH v2 0/2] tty: erase buffers when the kernel is done with it.
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2018-10-10 18:24:27
Also in:
lkml
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2018-10-10 18:24:27
Also in:
lkml
On Wed, Oct 10, 2018 at 08:20:06PM +0200, Milan Broz wrote:
On 04/10/2018 20:06, Greg Kroah-Hartman wrote:quoted
azlig and Milan Broz reported that when the tty layer is done with a buffer, the data can hang around in it for a very long time. That sometimes can "leak" to userspace under some conditions. Because of this, just zero out the data after the tty layer is finished with it, for buffers that we "think" should be zeroed out. v2 - addressed some review comments on the 2/2 patch.Hello Greg, together with our intern we re-tested both patches and it fixes the reported problem, so, if it helps anything, you can add Tested-by: Milan Broz <redacted> Tested-by: Daniel Zatovic <redacted> Do you plan to add this to linux-next?
Yes, I'll queue it up soon, thanks for testing! greg k-h