{"id":"CVE-2026-143368","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:18:26.480","lastModified":"2026-12-03T10:18:26.480","vulnStatus":"Received","cveTags":[],"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","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","versions":[{"version":"bee11dc78fc8a41299be5ce04b1c76b0057af450","lessThan":"380edcd3213277c566a82c822b6c97fadeacb45f","versionType":"git","status":"affected"},{"version":"bee11dc78fc8a41299be5ce04b1c76b0057af450","lessThan":"f5802700d0764d44be8a805e882c518c18138005","versionType":"git","status":"affected"},{"version":"bee11dc78fc8a41299be5ce04b1c76b0057af450","lessThan":"de55924b1ed4225331131ace2ece42da8a58ff34","versionType":"git","status":"affected"},{"version":"bee11dc78fc8a41299be5ce04b1c76b0057af450","lessThan":"d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","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","versions":[{"version":"3.14","status":"affected"},{"version":"0","lessThan":"3.14","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/380edcd3213277c566a82c822b6c97fadeacb45f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/de55924b1ed4225331131ace2ece42da8a58ff34","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f5802700d0764d44be8a805e882c518c18138005","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}