Messages in this thread | | | Date | Sat, 6 Jan 2018 23:52:12 +0100 | From | Pablo Neira Ayuso <> | Subject | Re: [PATCH] netfilter: fix int overflow in xt_alloc_table_info() |
| |
On Thu, Dec 28, 2017 at 09:48:54AM +0100, Dmitry Vyukov wrote: > syzkaller triggered OOM kills by passing ipt_replace.size = -1 > to IPT_SO_SET_REPLACE. The root cause is that SMP_ALIGN() in > xt_alloc_table_info() causes int overflow and the size check passes > when it should not. SMP_ALIGN() is no longer needed leftover. > > Remove SMP_ALIGN() call in xt_alloc_table_info().
Applied, thanks.
| |