{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80668","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-26T14:34:25.782Z","datePublished":"2026-08-28T06:49:09.877Z","dateUpdated":"2026-08-29T06:21:55.167Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-29T06:21:55.167Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_conntrack_expect: use conntrack GC to reap expectations\n\nThis patch replaces the timer API by GC worker approach for\nexpectations, as it already happened in many other subsystems.\n\nUse the existing conntrack GC worker to iterate over the local list of\nexpectations in the master conntrack to reap expired expectations.\nCheck IPS_HELPER_BIT to run GC for expectations, set it on for nft_ct\nexpectation which nevers sets it. Hold the expectation spinlock while\niterating over the master conntrack expectation list to synchronize with\nnf_ct_remove_expectations(). This also performs runtime packet path\ngarbage collection through the expectation insertion and lookup\nfunctions while walking over one of the chains of the global expectation\nhashtables. Unconfirmed conntrack entries are skipped since ct->ext can\nbe reallocated and dying are skipped since those will be gone soon.\nSet on IPS_HELPER_BIT if the helper ct extension is added, then the new\nGC worker does not need to bump the ct refcount to check if the ct->ext\nhelper is available.\n\nThis removes the extra bump on the refcount for expectation timers, this\nallows to remove several nf_ct_expect_put() calls after the unlink,\nafter this update only refcount remains at 1 while on the expectation\nhashes.\n\nThis patch implicitly addresses a race with the existing timer API\nallowing an expectation to access a stale exp->master pointer which has\nbeen already released when expectation removal loses races with an\nexpiring timer, ie. timer_del() reporting false.\n\nAdd a new NF_CT_EXPECT_DEAD flag to reap this expectation via GC. This\nis needed by nf_conntrack_unexpect_related() which is called in error\npaths to invalidate newly created expectations that has been added into\nthe hashes. These expectactions cannot be inmediately released as GC or\nnf_ct_remove_expectations() could race to make it. On expectation\ninsert, the runtime GC reaps stale expectations before checking the\nexpectation limit set by policy.\n\nSet current timestamp in nf_ct_expect_alloc(), then add the expectation\npolicy timeout (or custom timeout specified added on top of this) to\nspecify the expectation lifetime."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - Remote attackers can create expectations via conntrack ALG helpers (FTP, SIP, H.323, etc.) on internet-facing NAT/firewalls when processing attacker packets in nf_confirm, then trigger the timer-vs-teardown race during master connection expiry.\nAC:L - The attacker controls both sides of the race by opening/closing the master connection and timing traffic against the expectation timer; parallel sessions allow reliable retries without depending on uncontrollable layout or victim state.\nPR:N - Only initial helper/NAT configuration needs admin privilege; exploitation requires no kernel credentials—a remote protocol client can create expectations and drive teardown on typical edge gateways and VoIP/NAT deployments.\nUI:N - No victim interaction beyond the attacker's own network sessions; triggering helper-driven expectation creation and subsequent connection teardown does not require any local user action.\nS:U - Impact is kernel heap use-after-free within the same host security domain and does not cross VM, container, or IOMMU boundaries absent separate escalation.\nC:H - nf_ct_unlink_expect and nf_ct_find_expectation dereference exp->master after the master nf_conn is freed when timer_delete fails, a classic slab UAF enabling arbitrary kernel memory disclosure via heap grooming.\nI:H - Freed struct nf_conn reuse lets an attacker corrupt kernel heap metadata or object contents, defensibly enabling arbitrary write or control-flow hijack beyond the immediate stale pointer dereference.\nA:H - Accessing the freed master conntrack in the expectation timeout or lookup path can cause immediate kernel oops/panic, and UAF corruption can crash or hang the system even during failed exploit attempts."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/netfilter/nf_conntrack_expect.h","include/uapi/linux/netfilter/nf_conntrack_common.h","net/netfilter/nf_conntrack_core.c","net/netfilter/nf_conntrack_expect.c","net/netfilter/nf_conntrack_h323_main.c","net/netfilter/nf_conntrack_helper.c","net/netfilter/nf_conntrack_netlink.c","net/netfilter/nf_conntrack_sip.c","net/netfilter/nft_ct.c"],"versions":[{"version":"bffcaad9afdfe45d7fc777397d3b83c1e3ebffe5","lessThan":"7ec786f4230c2a9b2eaf97a2d45368933b49d2b2","status":"affected","versionType":"git"},{"version":"bffcaad9afdfe45d7fc777397d3b83c1e3ebffe5","lessThan":"b8b09dc2bf35a00d4e0556b5d6308c7b917ebda2","status":"affected","versionType":"git"},{"version":"9e1196d27ef496f404c76f7a9d03761142d991c4","status":"affected","versionType":"git"},{"version":"5e1c1d22268ae710c238342c8030c21daf298168","status":"affected","versionType":"git"},{"version":"d52fa1fa7440676b8c238037a050ab008c22737f","status":"affected","versionType":"git"},{"version":"f338ced0473849c9f6ed0b77ca99f1aab5826787","status":"affected","versionType":"git"},{"version":"497f99b26fffdc5635706d1b4811f1ed8ee21a5b","status":"affected","versionType":"git"},{"version":"6.1.176","lessThan":"6.2","status":"affected","versionType":"semver"},{"version":"6.6.143","lessThan":"6.7","status":"affected","versionType":"semver"},{"version":"6.12.94","lessThan":"6.13","status":"affected","versionType":"semver"},{"version":"6.18.24","lessThan":"6.19","status":"affected","versionType":"semver"},{"version":"6.19.14","lessThan":"6.20","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/netfilter/nf_conntrack_expect.h","include/uapi/linux/netfilter/nf_conntrack_common.h","net/netfilter/nf_conntrack_core.c","net/netfilter/nf_conntrack_expect.c","net/netfilter/nf_conntrack_h323_main.c","net/netfilter/nf_conntrack_helper.c","net/netfilter/nf_conntrack_netlink.c","net/netfilter/nf_conntrack_sip.c","net/netfilter/nft_ct.c"],"versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.176"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.143"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.94"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.24"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19.14"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/7ec786f4230c2a9b2eaf97a2d45368933b49d2b2"},{"url":"https://git.kernel.org/stable/c/b8b09dc2bf35a00d4e0556b5d6308c7b917ebda2"}],"title":"netfilter: nf_conntrack_expect: use conntrack GC to reap expectations","x_generator":{"engine":"bippy-1.2.0"}}}}