On Fri, Apr 09, 2021 at 08:49:39AM -0700, Eric Dumazet wrote: > From: Eric Dumazet <edumazet@xxxxxxxxxx> > > div_u64() divides u64 by u32. > > nft_limit_init() wants to divide u64 by u64, use the appropriate > math function (div64_u64) > > divide error: 0000 [#1] PREEMPT SMP KASAN > CPU: 1 PID: 8390 Comm: syz-executor188 Not tainted 5.12.0-rc4-syzkaller #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 > RIP: 0010:div_u64_rem include/linux/math64.h:28 [inline] > RIP: 0010:div_u64 include/linux/math64.h:127 [inline] > RIP: 0010:nft_limit_init+0x2a2/0x5e0 net/netfilter/nft_limit.c:85 Applied to nf.git, thanks