Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3472401imw; Thu, 7 Jul 2022 02:17:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uFE7fCIBmjtUir4ViX10IkQ91AjBNFBh1O3beEkt8OCzOw7T/YK5BCUoJQmXvow5CuwMIW X-Received: by 2002:a17:907:7242:b0:726:f510:4bfa with SMTP id ds2-20020a170907724200b00726f5104bfamr43193264ejc.219.1657185461284; Thu, 07 Jul 2022 02:17:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657185461; cv=none; d=google.com; s=arc-20160816; b=gf2aaexHS8AdlQVKqvmviG7Q17Rqn8+pgCh1dJDJwt9LcZctNtEZFX65MIQWIj92BC UOqkqpyAgYugfoq1iO2vdVY+3YjdMuWOl6z08WBSBqsOQcMj+ekfXR1XJ1qNvkU0LxcG nivVlmCn0gHVjrNGzwVKHSwh0VGqfu+f05sOxYrXaw+t74Cd8/Cvj/Tta5cBHPvNZKbN gMuCNiBZJpX190v0eYknC0u7D1fKLCx42BzGI/M8ey3+xt7lf3yPsns/xtbHqNjOkVN/ iiDJnOEQvHKIIQiVO+mal7bwuF59fBh6cG3NxzmRHTAGmDRJpVnXsFceCC8Zp2eGzk3X gLrg== 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:to:from:date:dkim-signature; bh=Qia7K7oXMVoh++cPl/L18hRITa83j7MGb2ebBNSvcKk=; b=vxCcR+w3wlRuL7CV/2MtG8mdqx9dkPHNOmR/c50dZ+7sVX/zMTo+sVu0MGyPku+Tyb xxgzV7u27pfIu1GlZBDXxaY9fa12//pHBGJP+CUgMoulr7tiHOojnCflnGJ3o9+Mfypv tQVuYZ6OE2YDugn7YrR/hBecrLzQ2av2OwDmx2YYAE9ymER/MEr3gihPFhk+xF4ImKDP J7XvBheehierXs6JorzGYvKqQjUbK4I1Lx5WA1cTb15sg5TSe9Hd4/fIYrOGXmFW0bEN a8CqG/Rg62ZZFnd4y/XsPkT1XzdHovIBOL7avN15sm+VFIo0reRS6QpomBYtOVy5eD8n 3ykQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qRrDuIpd; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x9-20020aa7d389000000b0043a7370677dsi10923673edq.221.2022.07.07.02.17.16; Thu, 07 Jul 2022 02:17:41 -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=@gmail.com header.s=20210112 header.b=qRrDuIpd; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234666AbiGGJAO (ORCPT + 99 others); Thu, 7 Jul 2022 05:00:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230222AbiGGJAN (ORCPT ); Thu, 7 Jul 2022 05:00:13 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 290E0266B; Thu, 7 Jul 2022 02:00:12 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id w185so14377641pfb.4; Thu, 07 Jul 2022 02:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Qia7K7oXMVoh++cPl/L18hRITa83j7MGb2ebBNSvcKk=; b=qRrDuIpdE/Ta4sjVTzdZDHOsikCs7bP/WvW9c8CAbFe6pSSvzH+eBG2Qy508UAHwI6 fAS6CssqGhiC/5iuu1cbyA0s1pc0XRWqx3BE7lAqBkWu6FHUHXe7GOQ3eKBDUf4+5nFV RnWePmC/UR+IlMZ3xY1VuANZDCe94+lLpPlFdQnQDerwdqbX5J8JLBI9XR7bvrxXm0bj Th8qgk6sWyYckErKtlecNLW04NfJYcTPrGoHDlcuv/tA318z4F7+UKUWgTLPbTqFg9a1 XDdyYLFQLwXTU6n39RdOsv8YHR+qTuZkhnX0f/SMcn61JQ8xTcBwjzPR+NAP/lCpJIHG oXVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Qia7K7oXMVoh++cPl/L18hRITa83j7MGb2ebBNSvcKk=; b=OmkEWCkSF2yLzWsBGhtRiGYN5OJqS/g2dkIZvFmhA0xZWsKokhHWf1zxvNCsTOU14S P1ibsegPWLGAFuN4BKB+5CfZMHlXA4jRwdr2dEGasajX02r+HKcO/qpjkZF/rqY8prkW Vje1aIYJts9YeV7M8O74pfxgPPRWAup1mFIp7yIqzag2rE9v68USQtIRxVrHYvINCS/C XDdywyZdI/e4qUxJCJrltmym/hvhswbZiifvFHAUMdkaPmV0hyyjlBZ4FMJYDFVGaPJL YFZU5WfzyByyFJ4gvEzc0m1jx/gxYND8y2ZTGPv4uaFv81oLwfM2ZBmpxIB+KxlNsYlP 5f4A== X-Gm-Message-State: AJIora9CgOHGRvx2UFidk3KMAFMjLk94GCZRGWZrvDUPBvXwBTJg6AjR PWNp3NSW5aoKn6tlbjpahTA6Pz7JLbk= X-Received: by 2002:a05:6a00:80d:b0:525:520a:1736 with SMTP id m13-20020a056a00080d00b00525520a1736mr50798742pfk.36.1657184411294; Thu, 07 Jul 2022 02:00:11 -0700 (PDT) Received: from sol (110-174-58-111.static.tpgi.com.au. [110.174.58.111]) by smtp.gmail.com with ESMTPSA id n4-20020a170903110400b0016bef4a9dadsm6156874plh.77.2022.07.07.02.00.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 02:00:10 -0700 (PDT) Date: Thu, 7 Jul 2022 17:00:06 +0800 From: Kent Gibson To: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, brgl@bgdev.pl, linus.walleij@linaro.org Subject: Re: [PATCH] gpiolib: cdev: fix null pointer dereference in linereq_free() Message-ID: <20220707090006.GB57165@sol> References: <20220706084507.2259415-1-warthog618@gmail.com> <20220706085025.GA2259579@sol> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220706085025.GA2259579@sol> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Wed, Jul 06, 2022 at 04:50:25PM +0800, Kent Gibson wrote: > On Wed, Jul 06, 2022 at 04:45:07PM +0800, Kent Gibson wrote: > > This patch fixes a kernel NULL pointer dereference that is reported by > > gpio kselftests. > > > > Should be: > > Fix a kernel NULL pointer dereference reported by gpio kselftests. > > Sorry - I rushed this one a bit. > And I might not've been totally clear, but this bug is present in v5.19-rc1 onwards (when HTE was added), up to and including rc5. Would be good to get it fixed before v5.19 goes out the door. Cheers, Kent.