From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E075246783 for ; Tue, 9 Jun 2026 00:30:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780965018; cv=none; b=BLzyGx++M1ss7BJv0WTa/2AQOSXB+qMZ3kPwc0YrmfC/Jf9D9XURd1sJQuNr3SwWu6GF/wvvvUQ+rtnEjhgtz7SGrun2RbJC5/0rGEde9BF88OL2gBYjUlcSlkgTxKiUXaX4YH3VEqrhe6ZI5WgWInbOiMBOW/BvFyIBTC6hvI0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780965018; c=relaxed/simple; bh=nWuvcWOKHRZlAICMDGjK2WEQzW1Xfm4NW+ew5YF5pII=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=VVNC06dQorOhrUcYFEI4/5oXYnVcAPDZk8xYojv2ayRww1sdO9Gw5RTTQx2rPKX3QLyOSs1iKZQ2IVXkLjeWz1mY6fpqMlMJwytcTsKKjAgauXo3RKdXu+WzY3FyfDKsKlaPTRuaAWDYZZVDgQ6AKORPdogwWoN5PHZvcv/RpdY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=d1XEsqy4; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d1XEsqy4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A87EA1F00893; Tue, 9 Jun 2026 00:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780965016; bh=6oflT6M4vpQGh89Fk1A0b9ZXCKAsjZCOBE9yFrqdnsM=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=d1XEsqy43TiWZp6xjZr/FekUrH5OV4xC25lci/oH4II9/JgOELqBvLH4BMrVq+cVf mkC2ueEQuw2/0Tf/54X7Dy1UWxcoX9mSN89pkjpIx5M7sloychaZPTCgkwPoEBQ+oq i2fz5khBf4wzsZiuwQsZCc8tVSfkKqJ9eDYPMaqtFqIPsI7o6Rh0RuTTshZJNmBH/M lQGZvkxlkWVFDVo1go+FSp+CGo98wvsFvMP9c5RjXkqEuszQPsRBl5h6GGgtyLhyfC k4ARtBTigJ7swMDWOA3XTxZ+A6cEWK6h8ibjsBLPfRb+wZgb6/E5hEmx5jyRYIXP4x napRxTUqDQ/8A== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 93AB53812FDA; Tue, 9 Jun 2026 00:30:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] pds_core: quiesce DMA before freeing resources From: patchwork-bot+netdevbpf@kernel.org Message-Id: <178096501514.1726280.11716563786761485251.git-patchwork-notify@kernel.org> Date: Tue, 09 Jun 2026 00:30:15 +0000 References: <20260604213637.3844317-1-nikhil.rao@amd.com> In-Reply-To: <20260604213637.3844317-1-nikhil.rao@amd.com> To: Nikhil P. Rao Cc: netdev@vger.kernel.org, kuba@kernel.org, brett.creeley@amd.com, eric.joyner@amd.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, aleksander.lobakin@intel.com Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 4 Jun 2026 21:36:37 +0000 you wrote: > pdsc_teardown() frees DMA buffers but does not disable bus mastering, > leaving the device able to perform DMA after the buffers are freed. > This can lead to use-after-free if the device writes to freed memory. > > Add pci_clear_master() to pdsc_teardown() to disable bus mastering > before freeing resources, ensuring all DMA is quiesced. > > [...] Here is the summary with links: - [net,v2] pds_core: quiesce DMA before freeing resources https://git.kernel.org/netdev/net-next/c/6443f4f20bda You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html