Vulnerability record
netfilter: x_tables: check target name before accessing verdict
In the Linux kernel, the following vulnerability has been resolved:
netfilter: x_tables: check target name before accessing verdict
Non-standard targets may contain only struct xt_entry_target. mark_source_chains() nevertheless reads the target as an xt_standard_target 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 translate_table+0x1660/0x1a40 [ip6_tables] Read of…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources