{"id":"CVE-2026-143266","state":"PUBLISHED","title":"netfilter: x_tables: check target name before accessing verdict","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: x_tables: check target name before accessing verdict\n\nNon-standard targets may contain only struct xt_entry_target.\nmark_source_chains() nevertheless reads the target as an\nxt_standard_target before checking its name, potentially reading four\nbytes beyond a header-only target.\n\nCheck that the target is standard before reading its verdict.\nNon-standard targets remain handled as fallthrough rules.\n\nSee the following KASAN trace:\n\nBUG: KASAN: slab-out-of-bounds in translate_table+0x1660/0x1a40 [ip6_tables]\nRead of size 4 at addr ffff88800ed56ff8 by task rep/432\n\nCall Trace:\n kasan_report+0xfa/0x120\n translate_table+0x1660/0x1a40 [ip6_tables]\n do_ip6t_set_ctl+0x667/0xa76 [ip6_tables]\n nf_setsockopt+0x77/0xd0\n do_sock_setsockopt+0x118/0x490\n __sys_setsockopt+0xe4/0x160\n __x64_sys_setsockopt+0xbd/0x190\n do_syscall_64+0xde/0x4f0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nAllocated by task 432:\n kasan_save_stack+0x2f/0x50\n __kasan_kmalloc+0x7f/0x90\n __kvmalloc_node_noprof+0x1b1/0x5c0\n xt_alloc_table_info+0x3c/0xa0\n do_ip6t_set_ctl+0x5ee/0xa76 [ip6_tables]\n nf_setsockopt+0x77/0xd0\n do_sock_setsockopt+0x118/0x490\n __sys_setsockopt+0xe4/0x160\n __x64_sys_setsockopt+0xbd/0x190\n do_syscall_64+0xde/0x4f0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f","publishedAt":"2026-12-03T09:21:09.884Z","updatedAt":"2026-12-03T09:21:09.884Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"b0576f2c406237170fb1e6878ecd3d701703f55b","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"dc52bbdaa3de8a6e5c377ada07039d88cc4e967e","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"f430dfe58e8c2d3eb26763f0b6147319e5f3387f","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"bf18b0ec873c80e921d7955dc9ebcfa463264cfb","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"f865566da51a39ff4ead49ded3f79c03f32376a5","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"364b200285bb2cc518e3c5efe6591951c05b8e01","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/netfilter/arp_tables.c","net/ipv4/netfilter/ip_tables.c","net/ipv6/netfilter/ip6_tables.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.12","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/netfilter/arp_tables.c","net/ipv4/netfilter/ip_tables.c","net/ipv6/netfilter/ip6_tables.c"]}],"references":["https://git.kernel.org/stable/c/b0576f2c406237170fb1e6878ecd3d701703f55b","https://git.kernel.org/stable/c/dc52bbdaa3de8a6e5c377ada07039d88cc4e967e","https://git.kernel.org/stable/c/f430dfe58e8c2d3eb26763f0b6147319e5f3387f","https://git.kernel.org/stable/c/bf18b0ec873c80e921d7955dc9ebcfa463264cfb","https://git.kernel.org/stable/c/f865566da51a39ff4ead49ded3f79c03f32376a5","https://git.kernel.org/stable/c/364b200285bb2cc518e3c5efe6591951c05b8e01"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143266.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143266","state":"PUBLISHED","datePublished":"2026-12-03T09:21:09.884Z","dateUpdated":"2026-12-03T09:21:09.884Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.363Z"},"containers":{"cna":{"title":"netfilter: x_tables: check target name before accessing verdict","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: x_tables: check target name before accessing verdict\n\nNon-standard targets may contain only struct xt_entry_target.\nmark_source_chains() nevertheless reads the target as an\nxt_standard_target before checking its name, potentially reading four\nbytes beyond a header-only target.\n\nCheck that the target is standard before reading its verdict.\nNon-standard targets remain handled as fallthrough rules.\n\nSee the following KASAN trace:\n\nBUG: KASAN: slab-out-of-bounds in translate_table+0x1660/0x1a40 [ip6_tables]\nRead of size 4 at addr ffff88800ed56ff8 by task rep/432\n\nCall Trace:\n kasan_report+0xfa/0x120\n translate_table+0x1660/0x1a40 [ip6_tables]\n do_ip6t_set_ctl+0x667/0xa76 [ip6_tables]\n nf_setsockopt+0x77/0xd0\n do_sock_setsockopt+0x118/0x490\n __sys_setsockopt+0xe4/0x160\n __x64_sys_setsockopt+0xbd/0x190\n do_syscall_64+0xde/0x4f0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nAllocated by task 432:\n kasan_save_stack+0x2f/0x50\n __kasan_kmalloc+0x7f/0x90\n __kvmalloc_node_noprof+0x1b1/0x5c0\n xt_alloc_table_info+0x3c/0xa0\n do_ip6t_set_ctl+0x5ee/0xa76 [ip6_tables]\n nf_setsockopt+0x77/0xd0\n do_sock_setsockopt+0x118/0x490\n __sys_setsockopt+0xe4/0x160\n __x64_sys_setsockopt+0xbd/0x190\n do_syscall_64+0xde/0x4f0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"b0576f2c406237170fb1e6878ecd3d701703f55b","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"dc52bbdaa3de8a6e5c377ada07039d88cc4e967e","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"f430dfe58e8c2d3eb26763f0b6147319e5f3387f","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"bf18b0ec873c80e921d7955dc9ebcfa463264cfb","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"f865566da51a39ff4ead49ded3f79c03f32376a5","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"364b200285bb2cc518e3c5efe6591951c05b8e01","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/netfilter/arp_tables.c","net/ipv4/netfilter/ip_tables.c","net/ipv6/netfilter/ip6_tables.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.12","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/netfilter/arp_tables.c","net/ipv4/netfilter/ip_tables.c","net/ipv6/netfilter/ip6_tables.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b0576f2c406237170fb1e6878ecd3d701703f55b"},{"url":"https://git.kernel.org/stable/c/dc52bbdaa3de8a6e5c377ada07039d88cc4e967e"},{"url":"https://git.kernel.org/stable/c/f430dfe58e8c2d3eb26763f0b6147319e5f3387f"},{"url":"https://git.kernel.org/stable/c/bf18b0ec873c80e921d7955dc9ebcfa463264cfb"},{"url":"https://git.kernel.org/stable/c/f865566da51a39ff4ead49ded3f79c03f32376a5"},{"url":"https://git.kernel.org/stable/c/364b200285bb2cc518e3c5efe6591951c05b8e01"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:09.884Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}