Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1591328pxp; Thu, 10 Mar 2022 08:19:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHkD1wgr7MPS9t8ddllqpN8xaoNQiJ/OQR59sBf9SX87NJeGLF1mM6PavG/bWg8tOYV8BR X-Received: by 2002:a17:907:8a04:b0:6b7:ebf1:efbe with SMTP id sc4-20020a1709078a0400b006b7ebf1efbemr4888965ejc.488.1646929159843; Thu, 10 Mar 2022 08:19:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646929159; cv=none; d=google.com; s=arc-20160816; b=FS2NHRRLbDnpGX6kf3KaMTG2mSyzx8LLmyO/DRem8LVB2XDu4E3XFTfK1mpACPb5q6 eF6Ctz6o1MWziBqtgXRixVlwzZdJW66T9/sOfJry+AA5tMqF++Aong7XGi83iadMR+Jh 4OtNL7L1Rj/9+zt4+UwhbHY73+LwXdoQIrO1EFAPyI+4NG5LmA78Lqru+pv0V5IcCsSn AyCTCcIIvfga1MfdkEv872nlNYH9aYuQWEeAFC+fxHamdGPwHDP5AW7cwSGuqOxceBux El+lOa+/lf6N2iAGMy4qLEkVDIZXvfWjZ9RvtiQ8bIfM/HJDE8h4LS5twXzboJtazSiS tUNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=VLgjqBH7y19p60K4Q2Ak7wtKmRZ855mtbsvRlPCnkqo=; b=ji9P7tbNkcdk0yxERrY2yrXuemyDIpKTv8wDTuoNt4ZHebzBB0g6Ty8kemcFo/roag oX/FurszWZeOPWOMguDT3pTGb3/jRbqdQ8UNICiNS8Z5h2uFd6pMNJNIiimea1KgSju0 Lvz9sU8gFll20ZZsfJujqev1makN7j4COB7UeqKWfeJuQrP1AXmccPcNeIwsjjZPtWmR Y0stmpwnAkEu/16gSYWI9GVjx16fN52yYEWMk19XsiaL6BibOb3MbBp7TW/ei27oe3xO O7FC6pvHyrzg6sugfg1UPyFRCMuObXE9bI3BuhmvpBFcQzy4EvMx8NqIAS73DOnVapX+ oD5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JV7uq62m; 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 ju5-20020a17090798a500b006d6e97b3a32si3161371ejc.735.2022.03.10.08.18.54; Thu, 10 Mar 2022 08:19:19 -0800 (PST) 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=JV7uq62m; 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 S238416AbiCIVXN (ORCPT + 99 others); Wed, 9 Mar 2022 16:23:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234273AbiCIVXL (ORCPT ); Wed, 9 Mar 2022 16:23:11 -0500 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 479C89D07F; Wed, 9 Mar 2022 13:22:12 -0800 (PST) Received: by mail-lj1-x22c.google.com with SMTP id q5so5031181ljb.11; Wed, 09 Mar 2022 13:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=VLgjqBH7y19p60K4Q2Ak7wtKmRZ855mtbsvRlPCnkqo=; b=JV7uq62mN7i7UY+NhyIwrofK7K7yFAIp5nBtQTM4ofMVYrsQ5p3JtLKfsksnYMy5i0 +G2KQlWUZ408FTElUX6qI3mVTxva7PfFjrY87KL6FXrDUyjFoT4bW2eiR0zlWTMQgwbB us0F+bMEG3/iDEkQu+CMMm+oaXH8g+hwMy8zrrb96nDIEPNwYHvyhrfZV5KTRxGNFNrz MquuR+V7GmpvpR4peeqIUozmbtVEvmQZyHqPQMlp2NTNDf9vz/9687bzI327w9J9TG2J MxqI3JLktNaXMaKSa+LZpABInarWyXgEGEGC8B8UQ/co5gqWFwUDgxyCT+C73btA6Ek0 aA0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=VLgjqBH7y19p60K4Q2Ak7wtKmRZ855mtbsvRlPCnkqo=; b=O+7pNEfCyCtUKxpmW55a+e2iyWrDLzka5sK44gsFpTe6VhST51IUgZzsZt6sfo1tdS NfcqVLjXAlY+L1Oc8mMfCPBL5y0Cl1wWX4QowcRbCEVRv2N4HTmmOW0TCo7jCtumt9gA cQeB++MkrujnuDwSNufO/RK2D3yWY7oVkv5GeAprUoIqdTfUPqztjblgluEfqWK9HPi2 /SzWif+ZZYR5ar/FceYdBPxV5JX3aaw1AwEHw5UPnPAL75/Pe0KV0jBFCLhrHqxIcWNT NbxIJjpQovW6V1crMjtuIecgKUDTP44HFY4DwFL0g1Az8Bnq/CUqyfHDIw82/64ADMd/ BAUQ== X-Gm-Message-State: AOAM531xqg3/RCbDG7DwUowMAhLQ9azK6qAASjX32XbhgvDGWPHqNmTi CZWUJbzP788bhcVID91wru9vJ8I2siQ= X-Received: by 2002:a2e:3e15:0:b0:247:d94b:c004 with SMTP id l21-20020a2e3e15000000b00247d94bc004mr954489lja.428.1646860930274; Wed, 09 Mar 2022 13:22:10 -0800 (PST) Received: from [192.168.1.11] ([94.103.229.107]) by smtp.gmail.com with ESMTPSA id bq30-20020a056512151e00b0044313dc8e74sm587455lfb.197.2022.03.09.13.22.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Mar 2022 13:22:09 -0800 (PST) Message-ID: <4078dca8-b5d7-7f84-5605-2f5a98563137@gmail.com> Date: Thu, 10 Mar 2022 00:22:08 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH] NFC: port100: fix use-after-free in port100_send_complete Content-Language: en-US From: Pavel Skripkin To: Krzysztof Kozlowski Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+16bcb127fb73baeecb14@syzkaller.appspotmail.com References: <20220308185007.6987-1-paskripkin@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, 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 3/9/22 21:27, Pavel Skripkin wrote: > Hi Krzysztof, > > On 3/9/22 12:52, Krzysztof Kozlowski wrote: >> >> >> Reviewed-by: Krzysztof Kozlowski >> >> Thanks, this looks good. I think I saw similar patterns also in other >> drivers, e.g. pn533. I will check it later, but if you have spare time, >> feel free to investigate. >> >> Similar cases (unresolved): >> https://syzkaller.appspot.com/bug?extid=1dc8b460d6d48d7ef9ca This one is crazy :) No logs from driver at all. Even can't find where probe failure comes from (or even is there any failures...) >> https://syzkaller.appspot.com/bug?extid=abd2e0dafb481b621869 Looks like this patch fixes it. >> https://syzkaller.appspot.com/bug?extid=dbec6695a6565a9c6bc0 >> This one is already fixed. Fix bisection is bogus, but this bug is not reproducible anymore. With regards, Pavel Skripkin