stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [3.14.y][3.16.y-ckt][3.18.y][3.19.y][PATCH 0/1] n_tty: Fix read buffer overwrite when no newline
@ 2015-04-15 17:39 Joseph Salisbury
  2015-04-15 17:39 ` [3.14.y][3.16.y-ckt][3.18.y][3.19.y][PATCH 1/1] " Joseph Salisbury
  0 siblings, 1 reply; 4+ messages in thread
From: Joseph Salisbury @ 2015-04-15 17:39 UTC (permalink / raw)
  To: gregkh, luis.henriques, sasha.levin, kamal.mostafa, jslaby
  Cc: peter, linux-kernel, stable

Hello,

Please consider including upstream commit fb5ef9e7da39968fec6d6f37f20a23d23740c75e 
in the next v3.14.y, 3.16.y-ckt, 3.18.y, and 3.19.y stable releases.  It was
included upstream as of v4.0-rc1.  It has been tested and confirmed to resolve
http://bugs.launchpad.net/bugs/1381005 .  This bug was introduced in v3.12-rc1 when 
commit 24a89d1 was applied.  This commit is not needed in stable kernels prior to 
v3.12.y.


commit fb5ef9e7da39968fec6d6f37f20a23d23740c75e
Author: Peter Hurley <peter@hurleysoftware.com>
Date:   Fri Jan 16 15:05:39 2015 -0500

    n_tty: Fix read buffer overwrite when no newline


This commit does not apply cleanly to the kernel versions mentined, so I performed 
a backport, which is in email 1/1.  

The 3.12.y and 3.13.y-ckt upstrem kernels can't use the cherry pick of fb5ef9e7 
becuase smp_load_acquire was not introduced until 3.14-rc1.  I'll look into 
alternative way that this bug could be fixed in 3.12.y and 3.13.y-ckt.


Sincerely, 

Joseph Salisbury
 
 




Peter Hurley (1):
  n_tty: Fix read buffer overwrite when no newline

 drivers/tty/n_tty.c | 108 +++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 81 insertions(+), 27 deletions(-)

-- 
2.1.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-15 18:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-15 17:39 [3.14.y][3.16.y-ckt][3.18.y][3.19.y][PATCH 0/1] n_tty: Fix read buffer overwrite when no newline Joseph Salisbury
2015-04-15 17:39 ` [3.14.y][3.16.y-ckt][3.18.y][3.19.y][PATCH 1/1] " Joseph Salisbury
2015-04-15 18:25   ` Peter Hurley
2015-04-15 18:55     ` Joseph Salisbury

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).