Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1028223rwd; Tue, 13 Jun 2023 04:00:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ69N6CAZwvN6STSQ436wXCt5ykcUtj1fdoSC9F1y3bhvwYwQJgQTTsA5VdqFNLakRHP7dyo X-Received: by 2002:a17:902:db08:b0:1ac:750e:33d5 with SMTP id m8-20020a170902db0800b001ac750e33d5mr11850380plx.15.1686654050280; Tue, 13 Jun 2023 04:00:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686654050; cv=none; d=google.com; s=arc-20160816; b=cyvICG/60e2CaUrrdxwDPdHwkXkgVJ85T3ZJCz84gq0h1/r3LpxQrusC+Q2O4/m1EF rI/Cfyb9A3sZa6zYz5GOAJ9rk1BZ2PEy/BAj5wdkfWU3uqzYOIYMDAf345Lwm1Jkqo4p KG0JdBLZZFEAxl1OvqrnHEd2vRqQCcyz+fmqKanKKp9qB0wjs6jzk722A+a1O4ngS9NM XJjGeaASkbd3uQAzJkCGD+4iXnKe8e2OWnxrzprgQBvgdwdAlRsDN5/hoR7giUp8gT7v rzK073X1ByeYpvqwf2YlZK4TuL/SpqNq9Wv98sfE1ff5B4Qa67TEugMFwBMOxykgzSQe 56Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mXnA9exMj6VasfllZnSa3cMB2FDlvxQglvxKLAlSzpo=; b=CW1CWVlhCG1O7BCH0PoaqmU3O8nqKrRg2tVyZfBl0Vut05WBjEHGZXXc0O7I8AZqNl SDnMbUIR0/7EaM1ZmvQnQFHgtgkL+kt3/pTgAf/KtxMXIdL+osiI1k2FK3V+dTmZ4zUd oOB5rJH/Apo9Mrw2cp4cDcYuN02F3GP2idGuMW/kKk6SznmAo+xX5QVav/jdVt9AnYqU gRnr6At1yoLIAgNj4R3us/DHVhnrwbJoS1RfLTUzA14wm3z4Vjvi7DmDf4ErB7sSMPIw 3VL47VSj1d2tac6eqijunCs0kW+iLq6XlFb0akvFob8FYfL24PcCcCpv68pLo1u+qzct n8MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ParxHeN2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q8-20020a170902dac800b001afaa1f6a9fsi4785916plx.616.2023.06.13.04.00.35; Tue, 13 Jun 2023 04:00:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ParxHeN2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242037AbjFMKYu (ORCPT + 99 others); Tue, 13 Jun 2023 06:24:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241915AbjFMKY1 (ORCPT ); Tue, 13 Jun 2023 06:24:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AB8D1FC3; Tue, 13 Jun 2023 03:23:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8C7406347B; Tue, 13 Jun 2023 10:23:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C8ADC4339B; Tue, 13 Jun 2023 10:23:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686651824; bh=wJubVzqmPotnRKfDseTWfTVIJKeVzQ5R2525+A6LYno=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ParxHeN2HcwjlI1cxi8Vg5s0dVCHH3jTCAIPymrNaqBpSUOAVJPEpB0zGu6ko6Jrm MPbjK8ZqHHESMGqHdsXm8QQFcqJM7CqapkBAPJKPJYlocJRUtxZQLjxMhoLtaeNcq2 lH9UPqxBK78RVXoB5GD1PCmfdhVwLCPpw3PvwpvA= Date: Tue, 13 Jun 2023 12:23:41 +0200 From: Greg KH To: Michal Sekletar Cc: jirislaby@kernel.org, arozansk@redhat.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, shuah@kernel.org Subject: Re: [PATCH v2 1/2] tty: tty_io: update timestamps on all device nodes Message-ID: <2023061325-alibi-grappling-c764@gregkh> References: <20230608101616.44152-1-msekleta@redhat.com> <2023060816-quicken-around-d619@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 08, 2023 at 07:52:54PM +0200, Michal Sekletar wrote: > On Thu, Jun 8, 2023 at 1:51 PM Greg KH wrote: > > > So how are you protecting this from being an information leak like we > > have had in the past where you could monitor how many characters were > > being sent to the tty through a proc file? Seems like now you can just > > monitor any tty node in the system and get the same information, while > > today you can only do it for the tty devices you have permissions for, > > right? > > Hi Greg, > > I am not protecting against it in any way, but proposed changes are only > about timestamp updates which still happen in at least 8 seconds intervals > so exact timing of read/writes to tty can't be inferred. Frankly, I may > have misunderstood something. It would be great if you could mention a bit > more details about CVE you had in mind. Ah, I missed that this is in 8 second increments, nevermind then! thanks, greg k-h