{"id":"CVE-2026-143368","summary":"netfilter: nft_reject: prevent unbounded recursion in output hooks","details":"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.","modified":"2026-12-03T11:02:11.379367670Z","published":"2026-12-03T09:22:19.394Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143368.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/380edcd3213277c566a82c822b6c97fadeacb45f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de55924b1ed4225331131ace2ece42da8a58ff34"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5802700d0764d44be8a805e882c518c18138005"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143368.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143368"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bee11dc78fc8a41299be5ce04b1c76b0057af450"},{"fixed":"380edcd3213277c566a82c822b6c97fadeacb45f"},{"fixed":"f5802700d0764d44be8a805e882c518c18138005"},{"fixed":"de55924b1ed4225331131ace2ece42da8a58ff34"},{"fixed":"d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143368.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.14.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143368.json"}}],"schema_version":"1.9.2"}