Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932724AbbDORjM (ORCPT ); Wed, 15 Apr 2015 13:39:12 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:48786 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755020AbbDORjJ (ORCPT ); Wed, 15 Apr 2015 13:39:09 -0400 From: Joseph Salisbury To: gregkh@linuxfoundation.org, luis.henriques@canonical.com, sasha.levin@oracle.com, kamal.mostafa@canonical.com, jslaby@suse.cz Cc: peter@hurleysoftware.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [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 Date: Wed, 15 Apr 2015 13:39:02 -0400 Message-Id: X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1467 Lines: 48 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 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/