Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4710899rwb; Tue, 6 Sep 2022 11:23:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR6nBGwtvj9YMl0YY02F9mGgCnw9sKOoDK9fmQv0r+ZMkTLgR7ytokRwCDKw+FEIE2/YQvRX X-Received: by 2002:a17:902:6b07:b0:172:a76d:7cc5 with SMTP id o7-20020a1709026b0700b00172a76d7cc5mr55274460plk.128.1662488600668; Tue, 06 Sep 2022 11:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662488600; cv=none; d=google.com; s=arc-20160816; b=W6j+m3bcQJxlj5yqz+VpSJY1ilCXGAkRmX2EzoW5QkjWuw1gnA9XcEoTV+1hs9PAQv GsBlcY1AjfmLXXlzoqHNtGFjKF/ArHbofIV0AnnX626dxLl71WmG/wE5TJSQ8pIEMWD6 /hLt7GXtGHwTcnk8A4C/sgSOw0ral+p6zNkCyCE4qrPA1gUsRORmvax3GtGg7XuGcARx wB7qGx0jB6lSQst9YdcnyNPsX42/XUdzNOvnSWLvxTTRBLJ7o8JoWVKqZad5WRHZUP2L Sy23HhWWFwkLMme3omti/koWmM7cThuQatENCjni7BlFGr7l11napBZsoCqihn5eql1M vxYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=K59f1Tpfob9n/llY6HrAt9pBw7AZwp44Lr77rOcXPy4=; b=nwZ2pawCUfzPLDnV6aN9pF6pUuvHAqLnR+rnuliCpN+J1wmBlJHntLSsq7tZEQNJIU RkJ0OWIZswLcUK91T4mMepUvD3WeepS1GdmXehNIgW+AkYcwNZArUs3FGgmlQwbBJ9AH UP6/L3bPSPm9POCAj2rJNUsJXhdqD6rr/0Xdkaigv4svmb/QLhCcrWPDffSWpiMGRtYj XupgQj1hLX5GGMeQoFm1f4AaTwstc/D79CFsBteBv46/mHOmtBrKWzf/OALsyF1k5VS5 EmhqrtJNeQiuzN8itS60aj/WY90O2OZZ/v37dJN6hETP16EU9azCV7dto9WcE/UKBWVA vqZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PDObf7vF; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m33-20020a634c61000000b0043087ac1272si375691pgl.586.2022.09.06.11.23.08; Tue, 06 Sep 2022 11:23:20 -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=@google.com header.s=20210112 header.b=PDObf7vF; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229457AbiIFRy3 (ORCPT + 99 others); Tue, 6 Sep 2022 13:54:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbiIFRy1 (ORCPT ); Tue, 6 Sep 2022 13:54:27 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 025D79C214 for ; Tue, 6 Sep 2022 10:54:16 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id cu2so25171571ejb.0 for ; Tue, 06 Sep 2022 10:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=K59f1Tpfob9n/llY6HrAt9pBw7AZwp44Lr77rOcXPy4=; b=PDObf7vFCbGSWNV4kWnyUou5IM7KJ+sNRDRNRPdolWMsXhi2ITI6riQuQHZJR/DNum Gh2esEm4P8TOkV7teSdUKVd7CBRxdcI1p1yIPXCc3OR1iCbd4EXCQWi1QSkgv1r4ysSk cJ1/hZgyeL0d+xXFJQsai89xsYBc54GD2jy4wfjFW/h+Mu75dTqLzJimHqLDrjLcsj7Y W2ae0YMJCUP7LEO6idA3NtuAI0F51t5Q06IwQb4j9jMQ70WfJ0qFy662jS/EAyvbNdlY vDs0IjqJxhVAOu4JQGrNhlD2BUuo88/A8C/lOKWDN2R22qswy3sXWF092F9IuZewBUOF RM3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=K59f1Tpfob9n/llY6HrAt9pBw7AZwp44Lr77rOcXPy4=; b=AiXxbSkkEWIC3IsHnsVjy2xQhOD0fR9B2xhtsgh9FRDSEZgLzQyRyjj7tBBGyrKzSh /SRXwhq4h1R1NE4FvfyP4aVMJ3i/2pCW9oIfHancP7QVsPHcC01TFnY0P6q6fM+OmkSA 1VMnXnWkHzyzuKsO8NWF3KBXsCbYV8iWnzzz+BjIGR1n790TZzVmJz5s8D4TdCFeRmgV rFcEnBwBsDQbSlqsOTlBqzTNBcAF9u5mSUVdX8Up4sJg9S7MADeq4HCZiIgwV7igIpQ7 TrsS3HCJDYCFjVP9qQChFcBWONC6jqy10a2HC2Z4CJfarBbROKzYVwfKY35AdCOqViwk 7AgA== X-Gm-Message-State: ACgBeo2IDP7yikka8a7k3IqLcai84dm6Ca8GwCkFf1Xq1bC3m5hz3p/F adDkxKX1UR3PIKo+zCC4w0LVHfjbEpxj2S1kAKpfcUsbPVd7eA== X-Received: by 2002:a17:907:d0c:b0:741:6115:a69 with SMTP id gn12-20020a1709070d0c00b0074161150a69mr32162441ejc.325.1662486854579; Tue, 06 Sep 2022 10:54:14 -0700 (PDT) MIME-Version: 1.0 References: <20220818172852.3548-1-isaacmanjarres@google.com> <094b6125-6b3e-1b8e-024f-a924e4775305@gmail.com> In-Reply-To: <094b6125-6b3e-1b8e-024f-a924e4775305@gmail.com> From: Isaac Manjarres Date: Tue, 6 Sep 2022 10:54:03 -0700 Message-ID: Subject: Re: [PATCH v2] amba: Fix use-after-free in amba_read_periphid() To: Gabriel Francisco Cc: Russell King , Saravana Kannan , "Russell King (Oracle)" , patches@armlinux.org.uk, Guenter Roeck , kernel-team@android.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Sun, Sep 4, 2022 at 4:15 AM Gabriel Francisco wrote: > > This patch alone on top of v6.0-rc2 still gives me the null pointer. > > But combining it with Zhen Lei's patch (from > https://lkml.org/lkml/2022/8/27/164) my device boots successfully. Hi Gabriel, Thanks for your e-mail. I think my AMBA bus patch and https://lore.kernel.org/all/20220817184026.3468620-1-isaacmanjarres@google.com/ (merged in 6.0-rc4), instead of Zhen Lei's patch, should fix the problem entirely. Thanks, Isaac