{"id":"CVE-2024-26809","state":"PUBLISHED","title":"netfilter: nft_set_pipapo: release elements in clone only from destroy path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_set_pipapo: release elements in clone only from destroy path\n\nClone already always provides a current view of the lookup table, use it\nto destroy the set, otherwise it is possible to destroy elements twice.\n\nThis fix requires:\n\n 212ed75dc5fb (\"netfilter: nf_tables: integrate pipapo into commit protocol\")\n\nwhich came after:\n\n 9827a0e6e23b (\"netfilter: nft_set_pipapo: release elements in clone from abort path\").","publishedAt":"2024-04-04T09:51:51.245Z","updatedAt":"2026-08-05T11:27:28.080Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4a6430b99f67842617c7208ca55a411e903ba03a","status":"affected","lessThan":"b36b83297ff4910dfc8705402c8abffd4bbf8144","versionType":"git"},{"version":"5ccecafc728b0df48263d5ac198220bcd79830bc","status":"affected","lessThan":"362508506bf545e9ce18c72a2c48dcbfb891ab9c","versionType":"git"},{"version":"9827a0e6e23bf43003cd3d5b7fb11baf59a35e1e","status":"affected","lessThan":"5ad233dc731ab64cdc47b84a5c1f78fff6c024af","versionType":"git"},{"version":"9827a0e6e23bf43003cd3d5b7fb11baf59a35e1e","status":"affected","lessThan":"ff90050771412b91e928093ccd8736ae680063c2","versionType":"git"},{"version":"9827a0e6e23bf43003cd3d5b7fb11baf59a35e1e","status":"affected","lessThan":"821e28d5b506e6a73ccc367ff792bd894050d48b","versionType":"git"},{"version":"9827a0e6e23bf43003cd3d5b7fb11baf59a35e1e","status":"affected","lessThan":"9384b4d85c46ce839f51af01374062ce6318b2f2","versionType":"git"},{"version":"9827a0e6e23bf43003cd3d5b7fb11baf59a35e1e","status":"affected","lessThan":"b0e256f3dd2ba6532f37c5c22e07cb07a36031ee","versionType":"git"},{"version":"d2b18d110685ce46ca1633b8ec586c685e243a51","status":"affected","versionType":"git"},{"version":"5.10.130","status":"affected","lessThan":"5.10.214","versionType":"semver"},{"version":"5.15.54","status":"affected","lessThan":"5.15.153","versionType":"semver"},{"version":"5.18.11","status":"affected","lessThan":"5.19","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nft_set_pipapo.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"5.10.214","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.153","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.83","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.23","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.11","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8.2","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nft_set_pipapo.c"]}],"references":["https://git.kernel.org/stable/c/b36b83297ff4910dfc8705402c8abffd4bbf8144","https://git.kernel.org/stable/c/362508506bf545e9ce18c72a2c48dcbfb891ab9c","https://git.kernel.org/stable/c/5ad233dc731ab64cdc47b84a5c1f78fff6c024af","https://git.kernel.org/stable/c/ff90050771412b91e928093ccd8736ae680063c2","https://git.kernel.org/stable/c/821e28d5b506e6a73ccc367ff792bd894050d48b","https://git.kernel.org/stable/c/9384b4d85c46ce839f51af01374062ce6318b2f2","https://git.kernel.org/stable/c/b0e256f3dd2ba6532f37c5c22e07cb07a36031ee","https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26809.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-26809","state":"PUBLISHED","datePublished":"2024-04-04T09:51:51.245Z","dateUpdated":"2026-08-05T11:27:28.080Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-19T14:20:24.179Z"},"containers":{"cna":{"title":"netfilter: nft_set_pipapo: release elements in clone only from destroy path","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_set_pipapo: release elements in clone only from destroy path\n\nClone already always provides a current view of the lookup table, use it\nto destroy the set, otherwise it is possible to destroy elements twice.\n\nThis fix requires:\n\n 212ed75dc5fb (\"netfilter: nf_tables: integrate pipapo into commit protocol\")\n\nwhich came after:\n\n 9827a0e6e23b (\"netfilter: nft_set_pipapo: release elements in clone from abort path\")."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4a6430b99f67842617c7208ca55a411e903ba03a","status":"affected","lessThan":"b36b83297ff4910dfc8705402c8abffd4bbf8144","versionType":"git"},{"version":"5ccecafc728b0df48263d5ac198220bcd79830bc","status":"affected","lessThan":"362508506bf545e9ce18c72a2c48dcbfb891ab9c","versionType":"git"},{"version":"9827a0e6e23bf43003cd3d5b7fb11baf59a35e1e","status":"affected","lessThan":"5ad233dc731ab64cdc47b84a5c1f78fff6c024af","versionType":"git"},{"version":"9827a0e6e23bf43003cd3d5b7fb11baf59a35e1e","status":"affected","lessThan":"ff90050771412b91e928093ccd8736ae680063c2","versionType":"git"},{"version":"9827a0e6e23bf43003cd3d5b7fb11baf59a35e1e","status":"affected","lessThan":"821e28d5b506e6a73ccc367ff792bd894050d48b","versionType":"git"},{"version":"9827a0e6e23bf43003cd3d5b7fb11baf59a35e1e","status":"affected","lessThan":"9384b4d85c46ce839f51af01374062ce6318b2f2","versionType":"git"},{"version":"9827a0e6e23bf43003cd3d5b7fb11baf59a35e1e","status":"affected","lessThan":"b0e256f3dd2ba6532f37c5c22e07cb07a36031ee","versionType":"git"},{"version":"d2b18d110685ce46ca1633b8ec586c685e243a51","status":"affected","versionType":"git"},{"version":"5.10.130","status":"affected","lessThan":"5.10.214","versionType":"semver"},{"version":"5.15.54","status":"affected","lessThan":"5.15.153","versionType":"semver"},{"version":"5.18.11","status":"affected","lessThan":"5.19","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nft_set_pipapo.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"5.10.214","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.153","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.83","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.23","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.11","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8.2","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nft_set_pipapo.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b36b83297ff4910dfc8705402c8abffd4bbf8144"},{"url":"https://git.kernel.org/stable/c/362508506bf545e9ce18c72a2c48dcbfb891ab9c"},{"url":"https://git.kernel.org/stable/c/5ad233dc731ab64cdc47b84a5c1f78fff6c024af"},{"url":"https://git.kernel.org/stable/c/ff90050771412b91e928093ccd8736ae680063c2"},{"url":"https://git.kernel.org/stable/c/821e28d5b506e6a73ccc367ff792bd894050d48b"},{"url":"https://git.kernel.org/stable/c/9384b4d85c46ce839f51af01374062ce6318b2f2"},{"url":"https://git.kernel.org/stable/c/b0e256f3dd2ba6532f37c5c22e07cb07a36031ee"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerability is reached exclusively through the nfnetlink/nftables netlink socket (NFNL_SUBSYS_NFTABLES batch transactions), which requires local system access. There is no network-facing path into the pipapo set destroy code.\nAC:L - The double free is fully deterministic — a single netlink batch that modifies elements of a pipapo set and deletes that set in the same transaction leaves priv->dirty set (nft_set_commit_update skips dead sets), guaranteeing elements are destroyed from both priv->match and priv->clone. No race, no memory-layout precondition beyond ordinary attacker-controlled heap grooming.\nPR:L - nfnetlink_rcv_batch() checks netlink_net_capable(skb, CAP_NET_ADMIN), which is evaluated against the socket's network-namespace user namespace, so an unprivileged local user obtains it via unshare -Urn and can create tables, pipapo sets and elements freely. pipapo is compiled unconditionally into nf_tables and is the default backend for concatenated-range sets.\nUI:N - The attacker triggers the entire sequence themselves with one nftables transaction batch from their own process. No victim action or interaction of any kind is needed.\nS:U - The corruption occurs in kernel slab memory and is exploited to gain kernel privileges within the same security authority. No hypervisor, IOMMU, or other security-boundary crossing is involved.\nC:H - The double free of the element allocation yields a dangling reference to a reallocated slab object, letting the attacker read back kernel data (including data reclaimed into the same kmalloc-cg cache) and ultimately obtain an arbitrary-read primitive.\nI:H - A controlled double free of an attacker-sized, attacker-content object is a strong exploitation primitive: reclaiming the freed chunk with a second live allocation gives type confusion and an arbitrary-write path, compounded by the duplicated nft_set_elem_expr_destroy() dropping set/object reference counts twice and causing refcount underflow.\nA:H - Even without full exploitation, freeing the same nft_pipapo_elem twice corrupts slab freelists and double-destroys element expressions, producing immediate kernel oops/panic (or KASAN double-free BUG). The attacker can trigger it repeatedly and at will."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:27:28.080Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.130","versionEndExcluding":"5.10.214"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.54","versionEndExcluding":"5.15.153"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.1.83"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.6.23"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.7.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.8.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/b36b83297ff4910dfc8705402c8abffd4bbf8144","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/362508506bf545e9ce18c72a2c48dcbfb891ab9c","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/5ad233dc731ab64cdc47b84a5c1f78fff6c024af","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ff90050771412b91e928093ccd8736ae680063c2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/821e28d5b506e6a73ccc367ff792bd894050d48b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/9384b4d85c46ce839f51af01374062ce6318b2f2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/b0e256f3dd2ba6532f37c5c22e07cb07a36031ee","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:14:13.546Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-26809","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:50:40.137148Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:44.659Z"}}]}}}