Skip to content

tty: erase buffers when the kernel is done with it.

Greg Kroah-Hartman linux-serial lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tty: wipe buffer.drivers/tty/tty_buffer.c+5 -10 replies
2/2tty: wipe buffer if not echoing datadrivers/tty/n_tty.c+17 -30 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMilan BrozaszligDaniel Zatovic
SeriesT-b T-b
1/2T-b T-b
2/2T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] tty: erase buffers when the kernel is done with it.

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.

Greg Kroah-Hartman (1):
tty: wipe buffer if not echoing data

Linus Torvalds (1):
tty: wipe buffer.

 drivers/tty/n_tty.c      | 20 +++++++++++++++++---
 drivers/tty/tty_buffer.c |  6 +++++-
 2 files changed, 22 insertions(+), 4 deletions(-)
Signature · 1 line
2.19.0