Thread (3 messages) flat view 3 messages, 3 authors, 20d ago

Re: [PATCH net v2] net: openvswitch: fix nf_connlabels leak in ovs_ct_init

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-08-18 17:39:26
Also in: lkml, stable

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Sat, 15 Aug 2026 23:17:29 +0800 you wrote:
ovs_ct_init() acquires a connlabels reference before initializing the
conntrack limit state. If ovs_ct_limit_init() fails, its error is returned
directly. The pernet core does not invoke the exit callback for the
operation whose initialization failed, so ovs_ct_exit() cannot drop the
reference.

This leaves labels_used elevated when Open vSwitch pernet registration
fails for an existing network namespace. Subsequent conntrack entries in
that namespace may allocate label extensions even though Open vSwitch
failed to register.

[...]
Here is the summary with links:
  - [net,v2] net: openvswitch: fix nf_connlabels leak in ovs_ct_init
    https://git.kernel.org/netdev/net/c/f9de5db270a4

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help