Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp118263imm; Thu, 30 Aug 2018 17:43:09 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZkDKLG0R9p5Nz15lZRK69V0OMyyAnVk3rDmXKQerRJHNi8Kjl/KPKUVy2H0W9YJhd0JsIk X-Received: by 2002:a63:e516:: with SMTP id r22-v6mr12146644pgh.170.1535676189241; Thu, 30 Aug 2018 17:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535676189; cv=none; d=google.com; s=arc-20160816; b=YcwqLu65lvnX1EcQuzddVQnaIllavB44um8R4AVz3ukR1jbgATorBq6z1nehwwMI+e BfHjVZwxOQYXafOian0NJPB753Bpbq+i+0HB8les07uza+ZgcsCeyhXQZJjRzWwPHxuG AfqXCMBZnJZPdqHShalQWgpj82TNrqsiV1hrFKKCLxqMe5OsvyrQYT4Ud0tjKV3KgJuT QEFh1RTDnv/YcIILntsUzR4COSmIPz79ONG4X+G2YUbXtEBUChnKtpNT9Kh+j63Ea71N p4QrhaoYIpaNGBzX9usgmWYA2LYqd/QmlriHHFwGJv1Nh37AM6SxzBrpJJ5lQggila0x f03Q== 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=rIk/d5e/e95skvL6ohRrrSb5PcGHZDa+eEl4jruQpkw=; b=NUB/rqp3cZDCI7pray5Kxca7qtYDj5kW7Vw/HWqxhvRBaVxg6+mIBLIuDkp6ln6Mcw OBKUP803UYSoTDAzBZ4CF9Qod5cvYtLymSJthQz6m5tQgwHwY1TPDQ9+0OCuHtlEJWkb +bUtz4gpkxPK+Fk8J+fMxlxrsYoMm+QP1s01CC2a3FENg7pGaodaB/6NTcceCZpvKYaw gWanPqXCbdY2ZgLSuKHt1QNkBz01T6B6Tizs79iXnYwciwyX5Fw9BC7HERyCO2QHShqc oHFDTR57OwjfSNTOIiCd+YweqorO20SX8Nif9Cpv+ucGKHbtbevQVSGxCh1aag+g3aWX 6PSw== 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 137-v6si8404626pfx.155.2018.08.30.17.42.53; Thu, 30 Aug 2018 17:43:09 -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 S1727258AbeHaEqd (ORCPT + 99 others); Fri, 31 Aug 2018 00:46:33 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:53256 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725849AbeHaEqd (ORCPT ); Fri, 31 Aug 2018 00:46:33 -0400 Received: from localhost (unknown [72.28.92.217]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 92614EC7; Fri, 31 Aug 2018 00:41:46 +0000 (UTC) Date: Thu, 30 Aug 2018 17:41:44 -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: <20180831004144.GC20664@kroah.com> References: <20180830230946.228701-1-drosen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180830230946.228701-1-drosen@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 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