Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1013443rwd; Tue, 13 Jun 2023 03:44:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4+52aHUpyuh4NbD+wpI/COqFf7GApg2kB0W3OIUnAeTa/vPFZTwBYnry6aNE0vtMDalZ4p X-Received: by 2002:a0d:cf86:0:b0:56c:a07b:2d21 with SMTP id r128-20020a0dcf86000000b0056ca07b2d21mr1251478ywd.47.1686653058296; Tue, 13 Jun 2023 03:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686653058; cv=none; d=google.com; s=arc-20160816; b=skYe4d+ykkSkvHHevrjdS55tbe3W0AVMN3pk76OwZFdiBzdpc+zkBTxJK2otlQwZVs g5WPgCsF2dM7RBqPlBaHvz4OETdcr9MytfqLK1odlHZ2p1ZZ3BxnkAoES7Mpc0S6DJq0 M0dikn9j0vNHtdBmRf0dpLUK9WpmeYQgPWnTQCX3Onclj9qcLP9vCBWXfyItrurzn+vO cme87/FTNMe60qBlchbfnkIVOGyezh5/QNDGNtiGNS3xTZUjry+Yi2kVGjGiSvpsZixl 3I9zon/ZZ4UB2rlk2qgeDSuwpX0EBruuNzmq/IUIJwsH7ryiodSQOfbQamdns6CME8Es F7ng== 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=peoHf9om5qGGQWAnFcp+bqPZKY2Z5/uvvJm0K67ZKvc=; b=OmhT5TRwVEl1XI6zPov2jvGDWXaUJkF1amNGXVo+lRwrbBqFqxfPOTpukkUv/h40yW Vb/R31JlQJzkw/4PTyu718uDvapGZbFjir8HEXH0c1G9FgTjbJ+16ohZrl4goRbe05sS +E3fz1Reqa+oRMpfvXH1kJy8uF3u25v2mtcWnII41QtMhFSK0tv2ktMHgGDFWZtdYaxL Lq55k0rXZxR0NQzzJ8Zkz34o9X8nUVP1J4JVKAE7bH9o+DB86mKLDYwZ8wqyDEQoFrpb QJsJTCCgqnGphMJLKKCVoIQnlVmcjP0c7dxCwF16j6fqKhaPd8iq4kk5rOwI4CUeA5DU 74Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eKJchQZf; 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 mn24-20020a17090b189800b0025be4f94ca8si3226387pjb.114.2023.06.13.03.44.06; Tue, 13 Jun 2023 03:44:18 -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=eKJchQZf; 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 S241840AbjFMKZv (ORCPT + 99 others); Tue, 13 Jun 2023 06:25:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242189AbjFMKZU (ORCPT ); Tue, 13 Jun 2023 06:25:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F2801984; Tue, 13 Jun 2023 03:24:32 -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 17B1560CA5; Tue, 13 Jun 2023 10:24:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31AB3C433D2; Tue, 13 Jun 2023 10:24:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686651856; bh=kmBMMIwD/yv1wQlDFbuD7w3rwb8n0X0M2t781svCHZw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eKJchQZffSxtukjB8t6lkEW9i+DIy54ptlyPirr2IakXGGwhXltdxh9eVr5UPHmV0 jHaxTOKMLsLffeh+r97kMT3MzZcfKX8dLjz+L2EYoZVOTKtvmz0gC5rWrUR9DkZGq0 GUUmGngWcdw7fLS2O9jGUJudTaL0p4hwuGtKHTuE= Date: Tue, 13 Jun 2023 12:24:14 +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: <2023061359-document-armband-d67d@gregkh> References: <20230608101616.44152-1-msekleta@redhat.com> <2023060816-quicken-around-d619@gregkh> <2023061325-alibi-grappling-c764@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2023061325-alibi-grappling-c764@gregkh> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Tue, Jun 13, 2023 at 12:23:41PM +0200, Greg KH wrote: > 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! > Note, I still can't take this series for the obvious reason in patch 2/2. Please fix. thanks, greg k-h