Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp623894imm; Fri, 31 Aug 2018 08:58:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZcOIc+QXDVRM+/k3Hnltmu7nQxHGrYEIZzwNZm7LI4vBxoK8gvZ0IScEtSuRsQZ/X/UkZF X-Received: by 2002:a63:fc54:: with SMTP id r20-v6mr14991755pgk.377.1535731104661; Fri, 31 Aug 2018 08:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535731104; cv=none; d=google.com; s=arc-20160816; b=JIhBbs1hMH97PwLC2RmDCt2w/JHgr4e+ZoZ4u6OpsnyJOysvtHISdBJP5fULs2xOge Fq/5FtrOjempD9cN3m1M2FuQdkN1hmFBceSlaBRLCKbIiETg56gdv0t9Nhy3p9lIhuvF ydmaW5100qiCPqCuFy3YaWVgvrlsH/avw2yUfj50KW1E4pKzvO+9uU4sEd8dkz+qEekU Kl7vG2CcdkyIODrf8fhYVhctt0tS5Hjvi+Kv0A9qhZeWoE3v38TOAIw02RpT64dgQdSB AdpbTknOGLq3a18E94WM+qJDpVVpynaZzUDOtvTSj4nreNQirNRY8WeKe+4wiq2HU7lU nNEQ== 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:arc-authentication-results; bh=1QojEjq1y4rE5ACnHFmlh4EAIOc6st0wpvyk+K3KJaE=; b=gXlkC3zz/BusabWaFO/6tlUPx0j40L8sBhkcjgugo4RLwhEyOlXr1l76wNIM8vIZUq sid6LnxS+g67vDxhiR3Ph+y11ATmUOle0gJlRHto1Y79sYCMm7KX9x81lMYS9hTCRHk/ Q12gWwVdO+aaR1FjWVSQdTAZZYUlrpJTvLJIvjmzgJQFsPZPWb4WqSP4uL4MtiSfuiPi 9R0/VHP7EVlFQXk2xPzexHWmQs8Hi3IEvaONN8av64a0ngc8gaaXKSFCzf2PwfmRSvnu NiN6WShBInZBzwB4sdDgfoathGrJKj/nGMtLk8Y4rp0w2qOcG4mj4CMBBZJtT+mEx7d0 fI8A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6-v6si9982190pfu.143.2018.08.31.08.58.08; Fri, 31 Aug 2018 08:58:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728881AbeHaUFK (ORCPT + 99 others); Fri, 31 Aug 2018 16:05:10 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60202 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727286AbeHaUFK (ORCPT ); Fri, 31 Aug 2018 16:05:10 -0400 Received: from localhost (unknown [72.28.92.217]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 56BDEC83; Fri, 31 Aug 2018 15:57:01 +0000 (UTC) Date: Fri, 31 Aug 2018 08:56:57 -0700 From: Greg Kroah-Hartman To: Daniel Rosenberg Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH] staging: android: ion: check for kref overflow Message-ID: <20180831155657.GA25066@kroah.com> References: <20180830230946.228701-1-drosen@google.com> <20180831004144.GC20664@kroah.com> <589c036d-450a-3f3b-8f5a-4148713d4bfb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <589c036d-450a-3f3b-8f5a-4148713d4bfb@google.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 Thu, Aug 30, 2018 at 06:36:18PM -0700, Daniel Rosenberg wrote: > On 08/30/2018 05:41 PM, Greg Kroah-Hartman wrote: > > On Thu, Aug 30, 2018 at 04:09:46PM -0700, Daniel Rosenberg wrote: > > > This patch is against 4.9. It does not apply to master due to a large > > > rework of ion in 4.12 which removed the affected functions altogther. > > > 4c23cbff073f3b9b ("staging: android: ion: Remove import interface") > > > > > > Userspace can cause the kref to handles to increment > > > arbitrarily high. Ensure it does not overflow. > > > > > > Signed-off-by: Daniel Rosenberg > > > Signed-off-by: Greg Kroah-Hartman > > I signed off on this? Where? When? Are you sure? > > > > greg k-h > The sign off was on the 4.4.y version that I cherry-picked this from. Ah that wasn't obvious at all. What is that git commit id? You need to give us a hint as to what is going on when you do that :) > There was a trivial conflict moving it to 4.9, but it did not modify > any changed lines, so I hadn't thought that was worth noting on the > patch. I apologise if leaving the signed-off-by was incorrect here. Why did I only apply this to 4.4 and not 4.9 when the original patch was submitted? That seems odd. thanks, greg k-h