{"api_version":"1","generated_at":"2026-12-04T04:55:09+00:00","cve":"CVE-2026-143368","urls":{"html":"https://cve.report/CVE-2026-143368","api":"https://cve.report/api/cve/CVE-2026-143368.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143368","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143368"},"summary":{"title":"netfilter: nft_reject: prevent unbounded recursion in output hooks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_reject: prevent unbounded recursion in output hooks\n\nnftables payload-mangling rules can rewrite packet contents (such as TCP\nflags) before they are evaluated by reject targets. This defeats the\ncontent-based loop guards, allowing unbounded hook recursion that leads\nto kernel stack exhaustion and panics.\n\nFix this by extracting the per-CPU xmit recursion limit previously used\nby the netdev duplication/forwarding paths into a shared header, and\napply it to the inet and inet6 reject transmit functions. It disables BH\nwhile transmitting the skb to address a possible migration to different\nCPU leading to imbalanced decrementation of the recursion counters.\n\nNote that the dev_queue_xmit() path used when CONFIG_BRIDGE_NETFILTER is\nenabled does not require this recursion guard. In that scenario, the\ngenerated reset packet is transmitted directly at Layer 2. Because the\npacket egresses from a different hook, it cannot synchronously loop. In\naddition nf_send_unreach() and nf_send_unreach6() are safe as the ICMP\ntransmit functions are protected against recursion by the\nicmp_xmit_lock() and icmpv6_xmit_lock() guards.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:26","updated_at":"2026-12-03 10:18:26"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866","name":"https://git.kernel.org/stable/c/d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f5802700d0764d44be8a805e882c518c18138005","name":"https://git.kernel.org/stable/c/f5802700d0764d44be8a805e882c518c18138005","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/de55924b1ed4225331131ace2ece42da8a58ff34","name":"https://git.kernel.org/stable/c/de55924b1ed4225331131ace2ece42da8a58ff34","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/380edcd3213277c566a82c822b6c97fadeacb45f","name":"https://git.kernel.org/stable/c/380edcd3213277c566a82c822b6c97fadeacb45f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143368","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143368","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bee11dc78fc8a41299be5ce04b1c76b0057af450 380edcd3213277c566a82c822b6c97fadeacb45f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bee11dc78fc8a41299be5ce04b1c76b0057af450 f5802700d0764d44be8a805e882c518c18138005 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bee11dc78fc8a41299be5ce04b1c76b0057af450 de55924b1ed4225331131ace2ece42da8a58ff34 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bee11dc78fc8a41299be5ce04b1c76b0057af450 d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143368","cve":"CVE-2026-143368","epss":"0.002090000","percentile":"0.116420000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["include/linux/netdevice_xmit.h","include/net/netfilter/nf_dup_netdev.h","include/net/netfilter/nf_recursion.h","net/ipv4/netfilter/nf_reject_ipv4.c","net/ipv6/netfilter/nf_reject_ipv6.c","net/netfilter/nf_dup_netdev.c","net/netfilter/nft_fwd_netdev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"380edcd3213277c566a82c822b6c97fadeacb45f","status":"affected","version":"bee11dc78fc8a41299be5ce04b1c76b0057af450","versionType":"git"},{"lessThan":"f5802700d0764d44be8a805e882c518c18138005","status":"affected","version":"bee11dc78fc8a41299be5ce04b1c76b0057af450","versionType":"git"},{"lessThan":"de55924b1ed4225331131ace2ece42da8a58ff34","status":"affected","version":"bee11dc78fc8a41299be5ce04b1c76b0057af450","versionType":"git"},{"lessThan":"d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866","status":"affected","version":"bee11dc78fc8a41299be5ce04b1c76b0057af450","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/linux/netdevice_xmit.h","include/net/netfilter/nf_dup_netdev.h","include/net/netfilter/nf_recursion.h","net/ipv4/netfilter/nf_reject_ipv4.c","net/ipv6/netfilter/nf_reject_ipv6.c","net/netfilter/nf_dup_netdev.c","net/netfilter/nft_fwd_netdev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.14"},{"lessThan":"3.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"3.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_reject: prevent unbounded recursion in output hooks\n\nnftables payload-mangling rules can rewrite packet contents (such as TCP\nflags) before they are evaluated by reject targets. This defeats the\ncontent-based loop guards, allowing unbounded hook recursion that leads\nto kernel stack exhaustion and panics.\n\nFix this by extracting the per-CPU xmit recursion limit previously used\nby the netdev duplication/forwarding paths into a shared header, and\napply it to the inet and inet6 reject transmit functions. It disables BH\nwhile transmitting the skb to address a possible migration to different\nCPU leading to imbalanced decrementation of the recursion counters.\n\nNote that the dev_queue_xmit() path used when CONFIG_BRIDGE_NETFILTER is\nenabled does not require this recursion guard. In that scenario, the\ngenerated reset packet is transmitted directly at Layer 2. Because the\npacket egresses from a different hook, it cannot synchronously loop. In\naddition nf_send_unreach() and nf_send_unreach6() are safe as the ICMP\ntransmit functions are protected against recursion by the\nicmp_xmit_lock() and icmpv6_xmit_lock() guards."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:22:19.394Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/380edcd3213277c566a82c822b6c97fadeacb45f"},{"url":"https://git.kernel.org/stable/c/f5802700d0764d44be8a805e882c518c18138005"},{"url":"https://git.kernel.org/stable/c/de55924b1ed4225331131ace2ece42da8a58ff34"},{"url":"https://git.kernel.org/stable/c/d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866"}],"title":"netfilter: nft_reject: prevent unbounded recursion in output hooks","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143368","datePublished":"2026-12-03T09:22:19.394Z","dateReserved":"2026-12-03T03:10:28.371Z","dateUpdated":"2026-12-03T09:22:19.394Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:26","lastModifiedDate":"2026-12-03 10:18:26","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143368","Ordinal":"1","Title":"netfilter: nft_reject: prevent unbounded recursion in output hoo","CVE":"CVE-2026-143368","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143368","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_reject: prevent unbounded recursion in output hooks\n\nnftables payload-mangling rules can rewrite packet contents (such as TCP\nflags) before they are evaluated by reject targets. This defeats the\ncontent-based loop guards, allowing unbounded hook recursion that leads\nto kernel stack exhaustion and panics.\n\nFix this by extracting the per-CPU xmit recursion limit previously used\nby the netdev duplication/forwarding paths into a shared header, and\napply it to the inet and inet6 reject transmit functions. It disables BH\nwhile transmitting the skb to address a possible migration to different\nCPU leading to imbalanced decrementation of the recursion counters.\n\nNote that the dev_queue_xmit() path used when CONFIG_BRIDGE_NETFILTER is\nenabled does not require this recursion guard. In that scenario, the\ngenerated reset packet is transmitted directly at Layer 2. Because the\npacket egresses from a different hook, it cannot synchronously loop. In\naddition nf_send_unreach() and nf_send_unreach6() are safe as the ICMP\ntransmit functions are protected against recursion by the\nicmp_xmit_lock() and icmpv6_xmit_lock() guards.","Type":"Description","Title":"netfilter: nft_reject: prevent unbounded recursion in output hoo"}]}}}