Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4465265pxf; Tue, 16 Mar 2021 14:21:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuDqVX2vKNIU0PDxdzWA3/yACuj0DpBU5WFgYjaQy/0O4+8W+rHoi8PMW5yc6A9EISnjvL X-Received: by 2002:aa7:d954:: with SMTP id l20mr38516900eds.1.1615929689033; Tue, 16 Mar 2021 14:21:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615929689; cv=none; d=google.com; s=arc-20160816; b=LW2ckEaBllv80j35jMIAw1IRMcc7O0O1SnZaQnxO7XhP8Pm11qcVzLtRGMQajXWiJa XlPor2EKYE+Ew9eZNQLxTJ8FTyEYyJZJuvkNDJsSqkAtm2IplhPQ1nzFdV0AWMjLpIKk ZNHr2UygZ5NhYpuJAy0b0gav1KIBACu2xLkXNjXlD4OJWAB12ydSouml1Pb56jmZyPW6 ulzaCbPYbqv3ZlSSwxBXisTlyRG5CX96rMdne3M9NPc04aT+K27M1cvWEmGckA1BGfNf DmDdp0GkoJMTZCEM9IKoQGel6wQ38Rx3/31pWE5fVmgbaArG66qvjbvhvVBg2nAWFSAW tzsQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZYCIwusXOn9GIbUjPY+Z1gvgGv1eCVcPoYFgPm/ZsBw=; b=vNDmoPbQXCwjVZw/l+S7unXkw6urt8qYwQXh1NUQmOEAbwp7WFm/9euNWHXKN/DiOz QwJ8ctetJo+ZXdFbzIr9NY/DIngdy3mwDMzYw7xifLCc3P33XejZ0yJJOa4ZW/7loZrO FooHCAFMMjwwpecu7/74TLehBpic2m4feV7oFrZKNzDPEulSG4zOqfaRFYWkgZYrn6J4 bkE0NslMmZPifjbzq/V+N+XVaR3okGksGIaagMJQLaekOIGa9h5XdE0lGyXLCHM0SIky koQGXZeui9Ru9LLDpSUyQf43sR78bKsdC3Ip5sH0PkalMloWsnfDituBN9tWXD2QuppY FWFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PghuLEmc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id ka24si14723705ejc.64.2021.03.16.14.21.06; Tue, 16 Mar 2021 14:21:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PghuLEmc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229702AbhCPSvF (ORCPT + 99 others); Tue, 16 Mar 2021 14:51:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240153AbhCPSuj (ORCPT ); Tue, 16 Mar 2021 14:50:39 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC466C06174A for ; Tue, 16 Mar 2021 11:50:38 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id d15so11031486wrv.5 for ; Tue, 16 Mar 2021 11:50:38 -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; bh=ZYCIwusXOn9GIbUjPY+Z1gvgGv1eCVcPoYFgPm/ZsBw=; b=PghuLEmcLXD6wtSYmtr9Asf1mywcnZil/eiZ7U/X1wOSv14YPWgKWrVsWXrVB1hskv VYlpRFINPGuL3IZI9bFlqul5iNue6ol4NzZ03u2n2hr1YUVBfUATmDri09NHWfp29/5d hBHdrPxmO2YclrwWMKLBJwWOgdbC/EKrSoMUElY4v9QciAgKuO+hcDFu6UqR9oH6RxWC vg6fauwyLboYvVFuQPAXjN9HO3RE3x3dXKHOwjwFIlkET2f6e2nzLe6uZ/9T+mxD8iKB DC2Rn9ig96MiFGTYWfIrMnLYYIeUL78vQQRmS892ohBei+G9kE7lwkOq/EqAt47sTiL4 od8A== 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; bh=ZYCIwusXOn9GIbUjPY+Z1gvgGv1eCVcPoYFgPm/ZsBw=; b=uf9J6olrZIkqOuOAMHajLDK2uJtorkhw9HuQP8G6thBt+3PMJatdQ66+Cbyy94Lbeo WvNB7adGtwdxueyTr+16DDdFtPNCF6nk+0iAFT1VWXtzXLH/P+2NDFsTNNW4/OtK6Ba/ h3+omzTscTLlTnls2GT15ZEMcEuThd6bqR2ryL+YAx2EeV5Maddt+WUXopMm/YAy5qzl +kOJi0jcUJXldhJ+KwAVoiZLMxyM193suFGMiu714neVUEc9AjRteATDFCbrN/IS2LVL sscPrNdpn8k6SSWwgCpgCnClKyA0y8SKxrmP/erCEWaOhcbeYnuEwv1ARJtRiQmSQ38O hmuw== X-Gm-Message-State: AOAM530CwvLSJDFG9W1Vu4cPlN6rAppSnMg0TxvowVwQ/dfsOagDMj6q Mei4G7F1oAWHKEGmpptf0A== X-Received: by 2002:a5d:6342:: with SMTP id b2mr405735wrw.421.1615920637509; Tue, 16 Mar 2021 11:50:37 -0700 (PDT) Received: from localhost.localdomain ([46.53.253.49]) by smtp.gmail.com with ESMTPSA id y18sm23289935wrw.39.2021.03.16.11.50.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 11:50:37 -0700 (PDT) Date: Tue, 16 Mar 2021 21:50:35 +0300 From: Alexey Dobriyan To: Cyrill Gorcunov Cc: linux-kernel@vger.kernel.org Subject: Re: auxv stuff (Re: [PATCH] prctl: fix PR_SET_MM_AUXV kernel stack leak) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 15, 2021 at 09:42:47AM +0300, Cyrill Gorcunov wrote: > On Mon, Mar 15, 2021 at 09:00:00AM +0300, Alexey Dobriyan wrote: > > On Sun, Mar 14, 2021 at 02:40:05PM -0700, Linus Torvalds wrote: > > > [mm->saved_auxv] > > > > > > That's a separate issue, and I can't find it in myself to care (and > > > nobody has ever complained), but I thought I'd mention it. > > > > There is another (non-security) one. Compat 32-bit process will report > > 2 longs too many: > > Good catch! Alexey, should I address it? Or you have fixed it already? I didn't and I don't know how frankly. Something I've noticed during more important auxv rewrite.