Netdev List
 help / color / mirror / Atom feed
* [backport request] “netfilter: nf_tables: fix reset request deadlock” to LTS 6.18, 6.12
@ 2026-07-22 17:22 Konstantin Andreev
  2026-07-24 11:22 ` Sasha Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Andreev @ 2026-07-22 17:22 UTC (permalink / raw)
  To: stable; +Cc: netdev, Brian Witte, Florian Westphal, Phil Sutter

Please consider backporting the following series to LTS 6.18, 6.12
(listed in the order of appearance in mainline)

779c60a5190c ("netfilter: nft_counter: serialize reset with spinlock")
30c4d7fb59ac ("netfilter: nft_quota: use atomic64_xchg for reset")
7f261bb906bf ("netfilter: nf_tables: revert commit_mutex usage in reset path")

The last and the first commits are registered as CVE:

     CVE-2026-45897 for 779c60a5190c
     CVE-2026-45901 for 7f261bb906bf

The series came into mainline in v7.0-rc1 and
was backported into concurrent 6.19 stable,
but was not backported into LTS kernels.

The series applies cleanly on top of v6.18.39 and v6.12.96.

The series came into mainline as parts 2-4 of the wider patch set:

[PATCH net 00/10] netfilter: updates for net
Link: https://lore.kernel.org/netdev/20260217163233.31455-1-fw@strlen.de/

and comprises a distinct, self-contained functional unit
originating from Brian Witte's series in netfilter-devel:

[PATCH v5 nf-next 0/3] netfilter: nf_tables: fix reset request deadlock
Link: https://lore.kernel.org/netfilter-devel/20260204202639.497235-1-brianwitte@mailfence.com/

Here is a relevant excerpt from Brian Witte's cover letter:

| syzbot reported a possible circular locking dependency between
| commit_mutex, nfnl_subsys_ipset and nlk_cb_mutex-NETFILTER:
|   ...
| Link: https://syzkaller.appspot.com/bug?extid=ff16b505ec9152e5f448
|
| The bug was introduced by commits that added commit_mutex locking to
| serialize reset requests.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [backport request] “netfilter: nf_tables: fix reset request deadlock” to LTS 6.18, 6.12
  2026-07-22 17:22 [backport request] “netfilter: nf_tables: fix reset request deadlock” to LTS 6.18, 6.12 Konstantin Andreev
@ 2026-07-24 11:22 ` Sasha Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2026-07-24 11:22 UTC (permalink / raw)
  To: stable
  Cc: Sasha Levin, netdev, Brian Witte, Florian Westphal, Phil Sutter,
	Konstantin Andreev

> Please consider backporting the following series to LTS 6.18, 6.12
> (listed in the order of appearance in mainline)
>
> 779c60a5190c ("netfilter: nft_counter: serialize reset with spinlock")
> 30c4d7fb59ac ("netfilter: nft_quota: use atomic64_xchg for reset")
> 7f261bb906bf ("netfilter: nf_tables: revert commit_mutex usage in reset path")

Queued for 6.12 and 6.18, thanks.

-- 
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-24 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22 17:22 [backport request] “netfilter: nf_tables: fix reset request deadlock” to LTS 6.18, 6.12 Konstantin Andreev
2026-07-24 11:22 ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox