Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2231092imm; Tue, 4 Sep 2018 00:07:44 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaM88u+g5wkFbfT5+eQRnvL8kCNW52Uq5CdIQYgLOQPA2CQ0MOMaDTuVPogXqqy4iQm8Swk X-Received: by 2002:a17:902:a405:: with SMTP id p5-v6mr32142138plq.222.1536044864127; Tue, 04 Sep 2018 00:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536044864; cv=none; d=google.com; s=arc-20160816; b=gjCXqdehWuvFgFpw/lHbbH/kg1edMVE93TRG3KnnmeP3zS1fy1FpKfBfuVgAvCt4xv 3QSMh5gOu9SlXD3Cd8gJsVncqUhKFICwuizkt3hy4cSPc/y/4Ux5i55VyNOvUlS7bmEz NKr3oPazGmwQn8XumezFrVzHN+uY3zyAcNFmmnQ31EnvVoDmEqkU6ZUIfw293urazcZo SwzBzoyqP5KvwdhVHFGmQaceSHMmw/XFIXiIN194zIdTtVkxhVU+OFehMJtAdlqG9SQ9 fjr0dwUKa42IIM6qSinPNzi+6BfowNMTeSMG0lLvtGdgvJFZywXjzKLMtXqzg7T8bfXO NlZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=svu6c6Gb+2afHOTExqKRs13z01PtzHgjngZpaLueMPw=; b=tP1FZY/f7nO7IMMHbRMwrW23NQ27ktqalKLUPgDBhtb8GfQOPyrlKuYyXyw097Jq+q /sZ1FgHxpXZFhZV7FV2Nf3RNwnzlwNcN1QbgtMiGTa/xF3+aZzoev486h/6iYbVP7YXq +mv/KZcd4x7/JIOtpUJiUo4evhAc2Q/5GFhugKZD2h34Gcl7T9hM/gT+jEVfCCtnF6j0 ibewrUTS9pvuZuBQd+qRfADxUiodoVlv1vzBB46RuJBKVfZJlAEvWn+SxVkgM1eyAojs mvn/XpC+OfE6z2SNSWWsL94cNzWMHRvhIcntGLlO9Ayalv0xr3AhzEMSiZLKJ2aPP4DQ JcKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n3AOUEZV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4-v6si20625230pgk.630.2018.09.04.00.07.28; Tue, 04 Sep 2018 00:07:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n3AOUEZV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726336AbeIDLaH (ORCPT + 99 others); Tue, 4 Sep 2018 07:30:07 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:36045 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbeIDLaH (ORCPT ); Tue, 4 Sep 2018 07:30:07 -0400 Received: by mail-pf1-f195.google.com with SMTP id b11-v6so1227930pfo.3; Tue, 04 Sep 2018 00:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=svu6c6Gb+2afHOTExqKRs13z01PtzHgjngZpaLueMPw=; b=n3AOUEZVllmg9dQBtKw6KU64LqjFTO8EdhZh33jvHBNV/kDbOlY4WIG4dFIf85cuWz R8lmAAxkgIHdwaSHlwQtKznr84ebYVz/fj9++8aGHxUB0IRIqk5QI32pmZuPRoz6siqu Bo1Ot0IONVHgYlm1Tj1DKD6GWbgJ00h9POBxX0AtK4L7sZYN8SGKBr+EvwoC9IX6nTHA 3UkqqlSWJPFxLaJY3TcT/1WOadvaKhF0s7o6aKdowTKRpfcIa2ESsuSZdfYCQc4wo67y MSBc5NYlyBjy1XdckobYGo1LVRhsbSI1afOe16kvDQJGJ5fiP4qxffhqO9GCMl7YjaBk Uglw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=svu6c6Gb+2afHOTExqKRs13z01PtzHgjngZpaLueMPw=; b=GToC7dkcevqq2QFKBNgrmtzKmE6aahiB+P5Jf2LyVA1+m9OxvBcpZsMKBwedEqCMnc 0UkzbN9ITFpEhc1BOcbNaZoFUgvU8KDuAd20JJgmAn/l+rom5ji0CPXqHFH7nlALz5E2 V/gUUqg18mvVrTIZJyOE+gt42yHCo1db/puRHvCSHAPuB/xatBp8RtkwJrHjFreQQK9n FjB0w36UXr4nsmdR5O+SRRhWjR9p85u2d4LSSI4mazY99LJLm6QRvTzuOUNuGYo3kyaa e4VwA75KZB5MF1CoLVRDcpdv9QDOen1xOssEJvmWAS0oj/uYTO4x0O9rBA8zR/w7DMdr 7HZA== X-Gm-Message-State: APzg51DOjYYIZXPCJmBPyDNZkq7YGubeqbxjORJJ/28iluQNYh8JgVL8 4bsotbU7Caqc1xt03cJbt3oM9uzv X-Received: by 2002:a63:d613:: with SMTP id q19-v6mr30167260pgg.327.1536044781105; Tue, 04 Sep 2018 00:06:21 -0700 (PDT) Received: from localhost ([175.223.26.230]) by smtp.gmail.com with ESMTPSA id e73-v6sm36104380pfb.153.2018.09.04.00.06.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Sep 2018 00:06:19 -0700 (PDT) Date: Tue, 4 Sep 2018 16:06:16 +0900 From: Sergey Senozhatsky To: Jiri Slaby Cc: Sergey Senozhatsky , Dmitry Safonov , linux-kernel@vger.kernel.org, Dmitry Safonov <0x7f454c46@gmail.com>, Daniel Axtens , Dmitry Vyukov , Michael Neuling , Mikulas Patocka , Nathan March , Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= , Peter Hurley , Tan Xiaojun , Tetsuo Handa , syzbot+3aa9784721dfb90e984d@syzkaller.appspotmail.com, Greg Kroah-Hartman , stable@vger.kernel.org Subject: Re: [PATCHv2 2/4] tty: Hold tty_ldisc_lock() during tty_reopen() Message-ID: <20180904070616.GA11702@jagdpanzerIV> References: <20180903165257.29227-1-dima@arista.com> <20180903165257.29227-3-dima@arista.com> <20180904015139.GA4251@jagdpanzerIV> <7e62b122-3b9e-dc46-d99f-9055bb67d670@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7e62b122-3b9e-dc46-d99f-9055bb67d670@suse.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (09/04/18 08:30), Jiri Slaby wrote: > > >> Cc: stable@vger.kernel.org # depends on commit b027e2298bd5 ("tty: fix > >> data race between tty_init_dev and flush of buf") > > > > I believe there's a "Fixes" tag for that > > > > Fixes: b027e2298bd5 ("tty: fix data race between tty_init_dev and flush of buf") > > Cc: stable@vger.kernel.org > > Nope, it would be translated as: > Backport-first: b027e2298bd5 > :) :) Ah, OK. So this "Backport-first:" is for pre-4.9 longterm kernels. As far as I can see linux-4.9.y picked up b027e2298bd5: commit 55eaecffe3d663d02084023b9fc06d5f39b97389 Author: Gaurav Kohli Date: Tue Jan 23 13:16:34 2018 +0530 tty: fix data race between tty_init_dev and flush of buf commit b027e2298bd588d6fa36ed2eda97447fb3eac078 upstream. -ss