Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752555AbdIAUs3 (ORCPT ); Fri, 1 Sep 2017 16:48:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54706 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752377AbdIAUs2 (ORCPT ); Fri, 1 Sep 2017 16:48:28 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 06654C058EA1 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=mpatocka@redhat.com Date: Fri, 1 Sep 2017 16:48:22 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: Greg Kroah-Hartman cc: =?ISO-8859-15?Q?Pasi_K=E4rkk=E4inen?= , Michael Neuling , Dmitry Vyukov , Stephen Rothwell , Peter Hurley , Nathan March , centos-virt@centos.org, linux-kernel@vger.kernel.org Subject: Re: Status of reverted Linux patch "tty: Fix ldisc crash on reopened tty", Linux 4.9 kernel frequent crashes In-Reply-To: <20170831043600.GD3359@kroah.com> Message-ID: References: <20170830201014.GO4090@reaktio.net> <20170831043600.GD3359@kroah.com> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="185206533-710604308-1504233674=:32309" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 01 Sep 2017 20:48:28 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2341 Lines: 52 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --185206533-710604308-1504233674=:32309 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15 Content-Transfer-Encoding: 8BIT Content-ID: On Thu, 31 Aug 2017, Greg Kroah-Hartman wrote: > On Wed, Aug 30, 2017 at 11:10:14PM +0300, Pasi K?rkk?inen wrote: > > Hello everyone, > > > > Recently Nathan March reported on centos-virt list he's getting frequent Linux kernel crashes with Linux 4.9 LTS kernel because of the missing patch "tty: Fix ldisc crash on reopened tty". > > Crashes with "normal" operation, or crashes when running a fuzzer or > other type of program? I can crash it reliably (in a few tries), if I use an old Debian 5 userspace on PA-RISC. The crash happens when I connect to the machine with ssh and type something to the terminal before the prompt appears. Mikulas > > The patch was already merged upstream here: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71472fa9c52b1da27663c275d416d8654b905f05 > > > > but then reverted here: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=896d81fefe5d1919537db2c2150ab6384e4a6610 > > > > Nathan confirmed if he applies the patch from 71472fa9c52b1da27663c275d416d8654b905f05 to his Linux 4.9 LTS kernel the bug/problem goes away, so the patch (or similar fix) is still needed, at least for 4.9 LTS kernel. > > > > > > Mikulas reported he's able to trigger the same crash on Linux 4.10: > > https://www.spinics.net/lists/kernel/msg2440637.html > > https://lists.gt.net/linux/kernel/2664604?search_string=ldisc%20reopened;#2664604 > > > > Michael Neuling reported he's able to trigger the bug on PowerPC: > > https://lkml.org/lkml/2017/3/10/1582 > > > > > > So now the question is.. is anyone currently working on getting this patch fixed and applied upstream? I think one of the problems earlier was being able to reliable reproduce the crash.. Nathan says he's able to reproduce it many times per week on his environment on x86_64. > > I don't know of anyone working on it, want to do it yourself? > > thanks, > > greg k-h > --185206533-710604308-1504233674=:32309--