CVE-2026-80636: netfilter: conntrack: revert ct extension genid infrastructure
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
netfilter: conntrack: revert ct extension genid infrastructure
This infrastructure is not used anymore after moving ct timeout and helper to use datapath refcount to track object use.
Revert commit c56716c69ce1 ("netfilter: extensions: introduce extension genid count") this patch disables all ct extensions (leading to NULL) for unconfirmed conntracks, when this is only targeted at ct helper and ct timeout. There is also codebase that dereferences the ct extension without checking for NULL which could lead to crash.
The Linux kernel CVE team has assigned CVE-2026-80636 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.19 with commit c56716c69ce1ac320432fb1ea5654196ba24d2f8 and fixed in 6.6.145 with commit 6bba4846f196d081bf553391d12b5a73dcc48685 Issue introduced in 5.19 with commit c56716c69ce1ac320432fb1ea5654196ba24d2f8 and fixed in 6.12.97 with commit 61eab1d0237eb513fe73e391a5926ee70092c325 Issue introduced in 5.19 with commit c56716c69ce1ac320432fb1ea5654196ba24d2f8 and fixed in 6.18.40 with commit d53eecbca16f056abba274075cb15120ab062518 Issue introduced in 5.19 with commit c56716c69ce1ac320432fb1ea5654196ba24d2f8 and fixed in 7.1.5 with commit a052a94bcc629acaecc2ce42a4af77f8fa399757 Issue introduced in 5.19 with commit c56716c69ce1ac320432fb1ea5654196ba24d2f8 and fixed in 7.2 with commit 35e21a4dccc5c255ba59ccfbfeb4629ed21da972
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-80636
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:
include/net/netfilter/nf_conntrack_extend.h net/netfilter/nf_conntrack_core.c net/netfilter/nf_conntrack_extend.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/6bba4846f196d081bf553391d12b5a73dcc48685 https://git.kernel.org/stable/c/61eab1d0237eb513fe73e391a5926ee70092c325 https://git.kernel.org/stable/c/d53eecbca16f056abba274075cb15120ab062518 https://git.kernel.org/stable/c/a052a94bcc629acaecc2ce42a4af77f8fa399757 https://git.kernel.org/stable/c/35e21a4dccc5c255ba59ccfbfeb4629ed21da972