🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8189

Re: [PATCH net] nfp: flower: fix use-after-free in neighbour update work

#8189
From: patchwork-bot+netdevbpf
Date: Wed, 28 Oct 2026 10:20
28 lines
8936 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Dave Miller <davem@davem-thinkpadp1gen8.ibmlond.csb>:

On Sat, 24 Oct 2026 12:49:03 +0800 you wrote:
> The netevent notifier handles neighbour updates and redirects by
> queuing nfp_tun_neigh_update() on system_highpri_wq. Each work item
> holds a reference to the neighbour, but only stores a pointer to the
> flower app.
> 
> During device removal, nfp_tunnel_config_stop() unregisters the
> notifier. This waits for notifier callbacks to return, but does not
> wait for the work they queued. The teardown then frees app->priv and
> app without waiting for these work items. Flushing cmsg_work in
> nfp_flower_clean() does not cover the neighbour update work.
> 
> [...]

Here is the summary with links:
  - [net] nfp: flower: fix use-after-free in neighbour update work
    https://git.kernel.org/netdev/net/c/083aaafd453c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179318280406.630848.412198034968801807.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352808-linux-kernel-netdev=dewy.ru
References: <20261024044903.1130380-1-congei42@163.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352808-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] nfp: flower: fix use-after-free in neighbour update
 work
Date: Wed, 28 Oct 2026 10:20:04 +0000
Organization: Usenet Network
Message-ID: <179318280406.630848.412198034968801807.git-patchwork-notify@kernel.org>
References: <20261024044903.1130380-1-congei42@163.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1748066"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:qhl586ko0sTnrLhyw9+HnRpYjY4= sha256:vkM9aEs3hSc+FmBI/x0Nh2gtfKemGiSA2WxDWTw/e1s=
	sha1:l1p51qaCGQIbbuSEajAfmrxdleU= sha256:+NCcTCy+jhCWhhBLkib6SDhIPX9Gkq1fvOFS6mXnNIM=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 0B4DC125C34; Wed, 28 Oct 2026 13:20:59 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id GZYzwu_lYMhl;
	Wed, 28 Oct 2026 13:20:56 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-352808-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id F19A7125C33; Wed, 28 Oct 2026 13:20:47 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 04071262F0; Wed, 28 Oct 2026 10:20:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793182811;
	b=NSzVBFdaqhlk26pfMXxKsWNckaGWRyS4MtHl4oZpJ8G9hZsEa2SOe0hHNX9l+p4IGLzI
	 mTM+sQ57mjt0tL98xkScotzROEKuFaiK5fFrxJqONkGPFzj8sR9wSmtjdD7GJnomVLhHm
	 IhCG3wK8OCbFStRI14gCHPcnPa199+J1KMzfttmHlzKjyZcQGbmX4ZgVHYCKKNRORoHGy
	 zzkM8EsulWaqHcE82ahp53/ZgWoGbYj/Zqd4xRcC8rb+PeGNQTGsZ2O6SC0qtGCjRnaSu
	 vhvN62nUOYAqRgpldzSO3FRV3kzDkWKblBgWFSFHCO/fFHIOwhiDSu+Q8iiMH7DoBAg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793182811;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=ttFynIgy/Xcly1gdjgWDoK67waLOKt/oo+hGSYTDE4U=;
	b=UvNBEXmRFw8QX2RS3m4FAGLKkA7CT6Oohki+m/ftXlsD7L9iXx8eXH3XwL73G+2uBLbM
	 UsO7HxAwbwlU1Nr4V2TD2D1pSECj2i/NLNG2hidcWPwTLXsr64n8CbrK62tfSN1F+IeCV
	 SpJEkcEqjF2JrzV+IO1POzKv0kl/YsAygBhJXB0WMqldbb80a9RC7+DtZrWswvve5kJI6
	 ycWoyVjX4YMQJsoQvmFSpX+IXkhgpzF/1G0LjfPToSQfgZBx7xqHOZKKaQfsHFzCeCoH5
	 CIH2Xmy12hljjyDlvCNRyMlCwtrBW3eg5RcyBASrHgMfXARXH6j+95OwZ3uVTQHXmmg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="ngBrL/Sd";
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id CFD47606A321;
	Wed, 28 Oct 2026 10:20:11 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ngBrL/Sd
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793182806;
	b=qw+8AoRLaNZb/LfI5xBqNahXUVNaVrCeHb/EFq3vVzuXl2Phzfh5NRT/c0Lhgv/Uem3q
	 YTRs/6bNh/ELyq4L+2iWJVvQAuk+xDKq0SeXbbpgXBrUt3hxwOgeklS4q9Gkm2oO4mo+K
	 8NnDc3qmufzhjWpIdLIq3p/0rzo4/8Fd/lFqVX/wxWkY8yPf/OYOHI4abcCVxR3xRzR0p
	 jOY0XVD3Kc+r2DLOnutU8XBhrNyWsaYbkmvpyYsl3/IciTK62MQodYIGlCiGqce0aZDaE
	 kB1rZgX5+aZ50rzow3qQIQaxWyRWsHvcF6DXpWpQHiUNSRZl2UFh99l5Itje7xW5xvQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793182806;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=ttFynIgy/Xcly1gdjgWDoK67waLOKt/oo+hGSYTDE4U=;
	b=yy+6AZcWM1MfRyr3uTKGEIBt9qw43G7tc4TPaKNZxur77koxXvICYDhUdX7CTUa+zJ+4
	 /Eok1McOAZ8fVrr5CjmSZGqIibgHL2veRm6Vyv1qMooJ4KujzRdmKXyD41IUDdBaQ++W5
	 JHbanofMdS6VUFQVHoJQd1fV1/Z80VLJrTs9iAjLtDBXE7XEPW4xcjFA3+YcT8L2eXxBH
	 2iWPKC3/YR/6CCQ9cp2TR7wMYlCQAV/VxYSDzj2hybqq192zOJ0ool+LUTKRRoE35g1gJ
	 fnsW9k9BTXLC7EYmNz4hRlYu/1PaVZb2S4grsnDZx1T0/htWjzD+jGv+q8ZUPNZePPQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="ngBrL/Sd";
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFA22606A31C;
	Wed, 28 Oct 2026 10:20:05 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C7F31F01825;
	Wed, 28 Oct 2026 10:20:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793182805;
	bh=ttFynIgy/Xcly1gdjgWDoK67waLOKt/oo+hGSYTDE4U=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=ngBrL/SdB8O3qFUvtXOLQS89OW2rO4K8L0OJbMKgvYDhuScmujS1r28xNokLCN26m
	 VcRIZ9cD+//kjTouB2ytqQ9zaqwXqx8NRpORhHmSdihu7Ci/Vu8RlwsR3F+2ZCrwI5
	 6qN8bW0ojhCTHenBzIVw6xj9BcBktLfgVPCjuA5Xc7OoREYcElT/ZhqV28toQHFxvh
	 jL46cTVyuZ6gsntZrjyYUa3qUMrk/0PTbAeXZpbUmq+vvYriojWYaTgqSe5sRZnnWS
	 Yc9AdU/j/7AEPhWPJlfN2js6wL33it0+VqlbaOpa4GgF6vcTPhJNCqOtY0zCsfL1xh
	 nPYhP/ytKJSMA==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 444763AAA0DC;
	Wed, 28 Oct 2026 10:20:05 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261024044903.1130380-1-congei42@163.com>
X-Cc: netdev@vger.kernel.org, kuba@kernel.org, horms@kernel.org,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 pabeni@redhat.com, louis.peens@corigine.com, hui.zhou@corigine.com,
 oss-drivers@corigine.com, linux-kernel@vger.kernel.org