Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp790702pxp; Fri, 11 Mar 2022 15:12:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBwKYqyhjXz15quXyNRkTGyZ0oW5QsN4BDVCGp42YHjXonXGn3kT3bwds6WoIGPJCpRXdV X-Received: by 2002:a63:235b:0:b0:380:5d91:6cc with SMTP id u27-20020a63235b000000b003805d9106ccmr10369424pgm.183.1647040370030; Fri, 11 Mar 2022 15:12:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647040370; cv=none; d=google.com; s=arc-20160816; b=v3MEdYAwQUGBq3stq3OjC+MO26TmCRQxMK7Z0FcZ11sxYbLc/QkvmnY0wTnoyUmuBq kdkDBRWlg3+RRCJbi4NkYnbtZF96NODYodn57NOpHjHASj6UCWE2o0O/x5zntJm3knUf 65sRa9Ce7jCI2UYdiFX6qXVIGcwS03F/0mCQV3BurAjAWCwOdkN1M7n74GqIyZ6eS3BP wgPC6SWjNB6JzxbHc3hP8/MqPq/OSy9pMcn1vu0yuHxd4TbZ145LC9DcBwU5N0wNOdWX xL39KOAOpVtWUscgXCelCW0iua4gGuek69JKktrlVWiN82gl1fG8EEf1jqb0sW8O+Kcc bIEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=RlWIpPf2C55AQcuOkbs0mmT1LAZhY9e0htVEjLEM0HM=; b=HvpgJBTxaJhY4y291R+UqEx2wxxmRc7o9Shgqq6OhcFW0hd6VSZNosF5Bsoi8mRmMx AM4Sekd03cIEoWDEjavQK5EDtx/H81AKZmp1H2Q7MGmBiEWWqwnDBGnVmSbflNLILeNy 5Ytd++oBLgNaUGyxLZIqjU0MSOmC6gD6XV5mh4TPNOqnWAiCkO1NxTjM3WJ+gMV8L3Vw 7/wLV2r9OkSqYqrTKeayWRYD+2mETH+gG3ygyESZiBBjWlctZOjQwohfCctHrKH/BY0y LVrzPLBNWE/A9ij5iFSQcWj5/nASWE8HbobvlawuEI+4TDPXdS9DBklw+TVF9atH8MM7 txVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ifkO3Pm1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y13-20020a17090a600d00b001bd14e01f77si9509610pji.101.2022.03.11.15.12.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 15:12:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ifkO3Pm1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 62C763B5CB2; Fri, 11 Mar 2022 14:11:33 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239412AbiCJELN (ORCPT + 99 others); Wed, 9 Mar 2022 23:11:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239285AbiCJELM (ORCPT ); Wed, 9 Mar 2022 23:11:12 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DA9E123413; Wed, 9 Mar 2022 20:10:11 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 17C8661812; Thu, 10 Mar 2022 04:10:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 6BF61C340EB; Thu, 10 Mar 2022 04:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646885410; bh=AQzK0dBnDk1T0hgHhUnFSvDzRcSlhthzIHTQepfssUA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=ifkO3Pm1BaalIDaUR6gy7MNkzTGjQXw+LBpGF5oXWEyLvGZSw2QQo07LoM4lY9dWm 0LoiARiJID7bNwswZ5zwN+6yYyk/bz2hepJ/JyQjBeTr9+qmWzOgrtn5hi+Gn3nKmU 0W7IbgO7rN7jZ0jn1mob6o4GT1qlp7GrckhPO/8+11UBKlQ70GdN5blBytOzdy44qb OjT+EpyD74/DEFtMsw4owd8zzmaS1ljq3Cij+orbZjacBjZQZsWA8X1chGlBBKDFmu P7xg/uHmUmh2Y3X95t/pfg/sa0TgqjeTPnnhOz0tQZQ4B70hO8nO770kiUNBT78Vc/ GY/MWoUFqf7vA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 54E33E6D3DE; Thu, 10 Mar 2022 04:10:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] NFC: port100: fix use-after-free in port100_send_complete From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164688541034.5045.14625682237475664726.git-patchwork-notify@kernel.org> Date: Thu, 10 Mar 2022 04:10:10 +0000 References: <20220308185007.6987-1-paskripkin@gmail.com> In-Reply-To: <20220308185007.6987-1-paskripkin@gmail.com> To: Pavel Skripkin Cc: krzysztof.kozlowski@canonical.com, sameo@linux.intel.com, thierry.escande@linux.intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+16bcb127fb73baeecb14@syzkaller.appspotmail.com X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Tue, 8 Mar 2022 21:50:07 +0300 you wrote: > Syzbot reported UAF in port100_send_complete(). The root case is in > missing usb_kill_urb() calls on error handling path of ->probe function. > > port100_send_complete() accesses devm allocated memory which will be > freed on probe failure. We should kill this urbs before returning an > error from probe function to prevent reported use-after-free > > [...] Here is the summary with links: - NFC: port100: fix use-after-free in port100_send_complete https://git.kernel.org/netdev/net/c/f80cfe2f2658 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html