CVE-2026-23391: netfilter: xt_CT: drop pending enqueued packets on template removal
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
netfilter: xt_CT: drop pending enqueued packets on template removal
Templates refer to objects that can go away while packets are sitting in nfqueue refer to:
- helper, this can be an issue on module removal.
- timeout policy, nfnetlink_cttimeout might remove it.
The use of templates with zone and event cache filter are safe, since this just copies values.
Flush these enqueued packets in case the template rule gets removed.
The Linux kernel CVE team has assigned CVE-2026-23391 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.4 with commit 24de58f465165298aaa8f286b2592f0163706cfe and fixed in 6.1.167 with commit d2d0bae0c9a2a17b6990a2966f5cdce0813d6256 Issue introduced in 3.4 with commit 24de58f465165298aaa8f286b2592f0163706cfe and fixed in 6.6.130 with commit 63b8097cea1923fe82cd598068d0796da8c015ec Issue introduced in 3.4 with commit 24de58f465165298aaa8f286b2592f0163706cfe and fixed in 6.12.78 with commit 19a230dec6bb8928e3f96387f9085cf2c79bcef9 Issue introduced in 3.4 with commit 24de58f465165298aaa8f286b2592f0163706cfe and fixed in 6.18.20 with commit cb549925875fa06dd155e49db4ac2c5044c30f9c Issue introduced in 3.4 with commit 24de58f465165298aaa8f286b2592f0163706cfe and fixed in 6.19.10 with commit 777d02efe3d630cca4c1b63962cec17c57711325 Issue introduced in 3.4 with commit 24de58f465165298aaa8f286b2592f0163706cfe and fixed in 7.0-rc5 with commit f62a218a946b19bb59abdd5361da85fa4606b96b
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-23391
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/xt_CT.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/d2d0bae0c9a2a17b6990a2966f5cdce0813d6256 https://git.kernel.org/stable/c/63b8097cea1923fe82cd598068d0796da8c015ec https://git.kernel.org/stable/c/19a230dec6bb8928e3f96387f9085cf2c79bcef9 https://git.kernel.org/stable/c/cb549925875fa06dd155e49db4ac2c5044c30f9c https://git.kernel.org/stable/c/777d02efe3d630cca4c1b63962cec17c57711325 https://git.kernel.org/stable/c/f62a218a946b19bb59abdd5361da85fa4606b96b