Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-80668

netfilter: nf_conntrack_expect: use conntrack GC to reap expectations
Back to all
CVE

CVE-2026-80668

netfilter: nf_conntrack_expect: use conntrack GC to reap expectations

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nfconntrackexpect: use conntrack GC to reap expectations

This patch replaces the timer API by GC worker approach for

expectations, as it already happened in many other subsystems.

Use the existing conntrack GC worker to iterate over the local list of

expectations in the master conntrack to reap expired expectations.

Check IPSHELPERBIT to run GC for expectations, set it on for nft_ct

expectation which nevers sets it. Hold the expectation spinlock while

iterating over the master conntrack expectation list to synchronize with

nfctremove_expectations(). This also performs runtime packet path

garbage collection through the expectation insertion and lookup

functions while walking over one of the chains of the global expectation

hashtables. Unconfirmed conntrack entries are skipped since ct->ext can

be reallocated and dying are skipped since those will be gone soon.

Set on IPSHELPERBIT if the helper ct extension is added, then the new

GC worker does not need to bump the ct refcount to check if the ct->ext

helper is available.

This removes the extra bump on the refcount for expectation timers, this

allows to remove several nfctexpect_put() calls after the unlink,

after this update only refcount remains at 1 while on the expectation

hashes.

This patch implicitly addresses a race with the existing timer API

allowing an expectation to access a stale exp->master pointer which has

been already released when expectation removal loses races with an

expiring timer, ie. timer_del() reporting false.

Add a new NFCTEXPECT_DEAD flag to reap this expectation via GC. This

is needed by nfconntrackunexpect_related() which is called in error

paths to invalidate newly created expectations that has been added into

the hashes. These expectactions cannot be inmediately released as GC or

nfctremove_expectations() could race to make it. On expectation

insert, the runtime GC reaps stale expectations before checking the

expectation limit set by policy.

Set current timestamp in nfctexpect_alloc(), then add the expectation

policy timeout (or custom timeout specified added on top of this) to

specify the expectation lifetime.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/7ec786f4230c2a9b2eaf97a2d45368933b49d2b2, https://git.kernel.org/stable/c/b8b09dc2bf35a00d4e0556b5d6308c7b917ebda2, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80668.json, https://nvd.nist.gov/vuln/detail/CVE-2026-80668, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00553%
EPSS Percentile
0.44474%
Introduced Version
bffcaad9afdfe45d7fc777397d3b83c1e3ebffe5,6.1.176,6.6.143,6.12.94,6.18.24,6.19.14,9e1196d27ef496f404c76f7a9d03761142d991c4,5e1c1d22268ae710c238342c8030c21daf298168,d52fa1fa7440676b8c238037a050ab008c22737f,f338ced0473849c9f6ed0b77ca99f1aab5826787,497f99b26fffdc5635706d1b4811f1ed8ee21a5b,7.0.0,0
Fix Available
b8b09dc2bf35a00d4e0556b5d6308c7b917ebda2,6.2,6.7,6.13,6.19,6.20,7.1.5,7.0.0-38.38,7.0.0-1014.14,7.0.0-1017.17,7.0.0-1016.16,7.0.0-1008.9,7.0.0-1015.15,7.0.0-1013.13,7.0.0-38.38.1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading