AZL-118445: CVE-2026-143266 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
netfilter: xtables: check target name before accessing verdict
Non-standard targets may contain only struct xtentrytarget. marksourcechains() nevertheless reads the target as an xtstandardtarget before checking its name, potentially reading four bytes beyond a header-only target.
Check that the target is standard before reading its verdict. Non-standard targets remain handled as fallthrough rules.
See the following KASAN trace:
BUG: KASAN: slab-out-of-bounds in translatetable+0x1660/0x1a40 [ip6tables] Read of size 4 at addr ffff88800ed56ff8 by task rep/432
Call Trace: kasanreport+0xfa/0x120 translatetable+0x1660/0x1a40 [ip6tables] doip6tsetctl+0x667/0xa76 [ip6tables] nfsetsockopt+0x77/0xd0 dosocksetsockopt+0x118/0x490 syssetsockopt+0xe4/0x160 x64syssetsockopt+0xbd/0x190 dosyscall64+0xde/0x4f0 entrySYSCALL64afterhwframe+0x77/0x7f
Allocated by task 432: kasansavestack+0x2f/0x50 kasankmalloc+0x7f/0x90 kvmallocnodenoprof+0x1b1/0x5c0 xtalloctableinfo+0x3c/0xa0 doip6tsetctl+0x5ee/0xa76 [ip6tables] nfsetsockopt+0x77/0xd0 dosocksetsockopt+0x118/0x490 syssetsockopt+0xe4/0x160 x64syssetsockopt+0xbd/0x190 dosyscall64+0xde/0x4f0 entrySYSCALL64afterhwframe+0x77/0x7f
Affected Software
Event History
Frequently Asked Questions
What access would an attacker need to trigger this issue?
The trace shows the vulnerable path is reached through a netfilter setsockopt call while installing an IPv6 iptables table. The provided data does not state the required privileges or whether an unprivileged local user can invoke this path.
What kind of rule data triggers the out-of-bounds read?
A non-standard target containing only the xt_entry_target header can trigger the issue. The affected code interprets the target as an xt_standard_target and reads its verdict before confirming that the target is standard, causing a four-byte read beyond the header.
How could this issue be detected during testing or investigation?
Kernel AddressSanitizer can report a slab out-of-bounds read in translate_table in the ip6_tables module. The supplied trace shows this occurring through do_ip6t_set_ctl, nf_setsockopt, and setsockopt.