netfilter: x_tables: enforce nul-terminated table name from getsockopt GET_ENTRIES
commit b301f253 upstream. Make sure the table names via getsockopt GET_ENTRIES is nul-terminated in ebtables and all the x_tables variants and their respective compat code. Uncovered by KASAN. Reported-by:Baozeng Ding <sploving1@gmail.com> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org> Cc: Zubin Mithra <zsm@chromium.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: I4b7439a48a2e392730cd0502b68d52ff808798ec
Loading
Please sign in to comment