CVE-2026-98873: netfilter: nf_conntrack_expect: zero at allocation time
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_conntrack_expect: zero at allocation time
There are occasional LLM hints wrt. leaking uninitialized data to userspace via ctnetlink. Just zero at allocation time, expectations are not frequently used these days.
Intentionally keeps _init as-is because we could theoretically support re-init, so add the missing exp->dir there.
The Linux kernel CVE team has assigned CVE-2026-98873 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.271 with commit 39cb6ff947c16a576ea68c5f272e634acdcb0085 Fixed in 5.15.222 with commit 90545aa07a183887e9d72ce573c18e08f62e2c91 Fixed in 6.1.189 with commit 9c11d7ea5ff4dbe162e79f00188814ef5483c295 Fixed in 6.6.158 with commit b7f3ee925aee9f1f547d539bc03c35433c238958 Fixed in 6.12.111 with commit 824397af7bfe14edad374c64253dae0187ca623d Fixed in 6.18.53 with commit a39ecb856514274c80d0fac4d128dba6b266a8ed Fixed in 7.2 with commit 241ccd2fed9051db443aadce248fc0ab30f55e97
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-98873
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_conntrack_expect.c
net/netfilter/nf_conntrack_netlink.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/39cb6ff947c16a576ea68c5f272e634acdcb0085 https://git.kernel.org/stable/c/90545aa07a183887e9d72ce573c18e08f62e2c91 https://git.kernel.org/stable/c/9c11d7ea5ff4dbe162e79f00188814ef5483c295 https://git.kernel.org/stable/c/b7f3ee925aee9f1f547d539bc03c35433c238958 https://git.kernel.org/stable/c/824397af7bfe14edad374c64253dae0187ca623d https://git.kernel.org/stable/c/a39ecb856514274c80d0fac4d128dba6b266a8ed https://git.kernel.org/stable/c/241ccd2fed9051db443aadce248fc0ab30f55e97