]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: Fix oversized kvmalloc() calls
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 13 Sep 2021 18:38:52 +0000 (20:38 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 21 Sep 2021 01:46:55 +0000 (03:46 +0200)
commitf8262af024643b3e44d9682a943a709aea1b4d4c
treef207a007e9f7ad4fce0aca38b0342a796dc9e119
parent54910b5e7c62db26a02b2b3d7ac071e69abb94eb
netfilter: nf_tables: Fix oversized kvmalloc() calls

The commit 7376f3330a82 ("mm: don't allow oversized kvmalloc() calls")
limits the max allocatable memory via kvmalloc() to MAX_INT.

Reported-by: syzbot+cd43695a64bcd21b8596@syzkaller.appspotmail.com
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c