Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5256833imm; Sun, 26 Aug 2018 14:58:23 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda34oWlz/JIeGqb0qdrMSl1YY1PQTxkb5NTGkNzP+UBaU0SvrNDiF3hLJf3XM8kO+sogyZ6 X-Received: by 2002:a17:902:760b:: with SMTP id k11-v6mr10615404pll.185.1535320703251; Sun, 26 Aug 2018 14:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535320703; cv=none; d=google.com; s=arc-20160816; b=x5HitkfjLjMpkioKM3xkEOyWGE/WoheAXNixgCj0vFuosXTA02UC+SQxzAx9Ax7F4z PaY9CrSxg39WK0quYcaQvBjEwGzgbYmMtuUzN88eqnZyuQnJa2X8GoCrUDC98M8sIsp/ 0woCesLLeyUL18Wiwi9jQNmt2cNq7/OxxEmfSQ6hedOaUFWPYKHyJ+xvaP41XSg1pHOz bqjTm1IJXyNF+dXuZA2NoehFOQRzEiGDYxxN/rJAAkCydzoXdVtXyV+UIKaLOBHaho97 qXfXhUBx4UeEbrpbUnFV4+GPSrePTh5m4qsEp6iQes6ORtDvfylZYwA7x135d7DSg0GV fjIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=aFAGpveJSCZ8Z5J8xfX0Jkvh4HQchaGUGLQgiO+eQRk=; b=Zb69Ywr12cOjUDLgwxOKsHUBGCAOp0/KvBG2/vK9QXMNI2eYwAvTb1ud8V4nivunhG D1vbjSfidbPJBMK9wKObsCsRK51574LX5eCMIYDfQNZ4bvlJ5QQxA8blcFij76jxg5iz iWQsFt6+V29Z1gyIeBy8OIgY/DZ03A0eyEvxgNJgdVL8YvTbxzryJpzLOU61CZrvffWc d+YH4BbW29YfDW2qBcnAHHQd6A/oMJEc1OH5L78NtSSutmvFf+bAq+xNhN/gc5V6JRRE xNBPu8fwzlutpNNnkrKvNtP4oxRQtU0VXRyRMSaXBEIYy+GXYLeW5ZECp6lCUuDLdnXB mWUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LLmC+rWp; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t66-v6si12331685pgt.181.2018.08.26.14.58.05; Sun, 26 Aug 2018 14:58:23 -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=@chromium.org header.s=google header.b=LLmC+rWp; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726949AbeH0Bkl (ORCPT + 99 others); Sun, 26 Aug 2018 21:40:41 -0400 Received: from mail-yb0-f196.google.com ([209.85.213.196]:41436 "EHLO mail-yb0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726831AbeH0Bkl (ORCPT ); Sun, 26 Aug 2018 21:40:41 -0400 Received: by mail-yb0-f196.google.com with SMTP id z3-v6so5365535ybm.8 for ; Sun, 26 Aug 2018 14:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aFAGpveJSCZ8Z5J8xfX0Jkvh4HQchaGUGLQgiO+eQRk=; b=LLmC+rWpZyS8225oS8E309vDYWx+9HauJ9fAvpbIuLu6yMjsgTwqgLp0Lvb8ZUonSH 9nguc3726J56XFbPAustGkQPV0Pxzp7ZtcsXyi1lP04SH7pDR0eajzQYq73RxQy9Onww nj/hjyghncQLovWeBWBoHvQhDIYsAmtBYFKN8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aFAGpveJSCZ8Z5J8xfX0Jkvh4HQchaGUGLQgiO+eQRk=; b=j84/EfUiRwg25wuWinfRIFTHh/Toj+Na42l0cT7ykNFe0BfBt1RElUROR0Ey9opmxs lEW0hOdtOUQ7eUm33ZDocaSzqomiAgEMYo7u0C9W/6TPGzmvLi2n/l9j4zhJzAHjDcSv Lb0dnuqzHionoiZquXNyMDjpm9uVwdvSF7u90hJvcl/+cvezC0BvF9fU4P8ZwR0F3brl h1C6kB4iLcQJUnFL95m1sQ+jWZ3Mhti5yRlGOnmYv8i6ZSvf4JAx2sNRWoyvlxCpnm4D 4WxX2p32a4KoIqzF6QIB9jAxIaGm/tA9fkeWd2unosB4jLkauEGMNRQo3Rq3FXo+txQ/ F+xw== X-Gm-Message-State: APzg51ARvkn/TtzVxEKbJZDoHNqnICePETa884BEYSRWyMIAsLKSakzX hFND+lgoZ6GYW5WjxF9EmRsfS0PK74U= X-Received: by 2002:a25:b445:: with SMTP id c5-v6mr5812284ybg.263.1535320610684; Sun, 26 Aug 2018 14:56:50 -0700 (PDT) Received: from mail-yw1-f42.google.com (mail-yw1-f42.google.com. [209.85.161.42]) by smtp.gmail.com with ESMTPSA id b6-v6sm5646110ywb.78.2018.08.26.14.56.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Aug 2018 14:56:49 -0700 (PDT) Received: by mail-yw1-f42.google.com with SMTP id n207-v6so4915310ywn.9 for ; Sun, 26 Aug 2018 14:56:48 -0700 (PDT) X-Received: by 2002:a0d:db10:: with SMTP id d16-v6mr5884208ywe.124.1535320608141; Sun, 26 Aug 2018 14:56:48 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:2c11:0:0:0:0:0 with HTTP; Sun, 26 Aug 2018 14:56:47 -0700 (PDT) In-Reply-To: <5c88b08d-b9ca-f3df-ae78-cf685ee6723a@mojatatu.com> References: <20180826055801.GA42063@beast> <20180826061534.GT6515@ZenIV.linux.org.uk> <5c88b08d-b9ca-f3df-ae78-cf685ee6723a@mojatatu.com> From: Kees Cook Date: Sun, 26 Aug 2018 14:56:47 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] net: sched: Fix memory exposure from short TCA_U32_SEL To: Jamal Hadi Salim Cc: Al Viro , LKML , Cong Wang , Jiri Pirko , "David S. Miller" , Network Development Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 26, 2018 at 10:30 AM, Jamal Hadi Salim wrote: > We should add an nla_policy later. What's the right way to do that for cases like this? -Kees -- Kees Cook Pixel Security