CVE-2026-53269: netfilter: synproxy: add mutex to guard hook reference counting
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
netfilter: synproxy: add mutex to guard hook reference counting
As the synproxy infrastructure register netfilter hooks on-demand when a user adds the first iptables target or nftables expression, if done concurrently they can race each other.
Introduce a mutex to serialize the refcount control blocks access from both frontends. While a per namespace mutex might be more efficient, it is not needed for target/expression like SYNPROXY.
The Linux kernel CVE team has assigned CVE-2026-53269 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.3 with commit ad49d86e07a497e834cb06f2b151dccd75f8e148 and fixed in 5.10.259 with commit 0ec9ddc1bda261a2c57636c74c8b4e53000102c9 Issue introduced in 5.3 with commit ad49d86e07a497e834cb06f2b151dccd75f8e148 and fixed in 5.15.210 with commit 56ffbe3a08c01dcdb0d6adee9ce1e535bfb3b389 Issue introduced in 5.3 with commit ad49d86e07a497e834cb06f2b151dccd75f8e148 and fixed in 6.1.176 with commit debc57b83d5b323df74bf010c8d50fe26ad2ed6b Issue introduced in 5.3 with commit ad49d86e07a497e834cb06f2b151dccd75f8e148 and fixed in 6.6.143 with commit 0f8ba5e4c53d2e4a536aa68140beda9fe59b2f88 Issue introduced in 5.3 with commit ad49d86e07a497e834cb06f2b151dccd75f8e148 and fixed in 6.12.94 with commit 640441348258220e78daed40528b85b8afcedab6 Issue introduced in 5.3 with commit ad49d86e07a497e834cb06f2b151dccd75f8e148 and fixed in 6.18.36 with commit aaf80701dc2f7a48fe543961e21f8ca3924d587c Issue introduced in 5.3 with commit ad49d86e07a497e834cb06f2b151dccd75f8e148 and fixed in 7.0.13 with commit fbf0591275f50eae5733c3d7a8cd6c1e79933ffa Issue introduced in 5.3 with commit ad49d86e07a497e834cb06f2b151dccd75f8e148 and fixed in 7.1 with commit 2fcba19caaeb2a33017459d3430f057967bb91b6
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53269
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/netfilter/nf_synproxy_core.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/0ec9ddc1bda261a2c57636c74c8b4e53000102c9 https://git.kernel.org/stable/c/56ffbe3a08c01dcdb0d6adee9ce1e535bfb3b389 https://git.kernel.org/stable/c/debc57b83d5b323df74bf010c8d50fe26ad2ed6b https://git.kernel.org/stable/c/0f8ba5e4c53d2e4a536aa68140beda9fe59b2f88 https://git.kernel.org/stable/c/640441348258220e78daed40528b85b8afcedab6 https://git.kernel.org/stable/c/aaf80701dc2f7a48fe543961e21f8ca3924d587c https://git.kernel.org/stable/c/fbf0591275f50eae5733c3d7a8cd6c1e79933ffa https://git.kernel.org/stable/c/2fcba19caaeb2a33017459d3430f057967bb91b6