divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8400 Comm: syz-executor479 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 Code: ef 4c 01 eb 41 0f 92 c7 48 89 de e8 c8 bb 20 fa 4d 85 ff 0f 85 97 02 00 00 e8 7a b5 20 fa 4c 0f af f3 45 89 ed 31 d2 4c 89 f0 <49> f7 f5 49 89 c6 e8 63 b5 20 fa 48 8d 7d 48 48 b8 00 00 00 00 00 RSP: 0018:ffffc9000184f188 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000200000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff875340e6 RDI: 0000000000000003 RBP: ffff88801c4f7108 R08: 0000200000000000 R09: 0000000000000000 R10: ffffffff875340d8 R11: 0000000000000000 R12: ffffc9000184f260 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 000000000070e300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200001c4 CR3: 0000000025e0f000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_tables_newexpr net/netfilter/nf_tables_api.c:2726 [inline] nft_expr_init+0x145/0x2d0 net/netfilter/nf_tables_api.c:2764 nft_set_elem_expr_alloc+0x27/0x280 net/netfilter/nf_tables_api.c:5166 nf_tables_newset+0x1aa8/0x3110 net/netfilter/nf_tables_api.c:4347 nfnetlink_rcv_batch+0xa09/0x24b0 net/netfilter/nfnetlink.c:488 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:612 [inline] nfnetlink_rcv+0x3af/0x420 net/netfilter/nfnetlink.c:630 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x43f289 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff011f31c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000400488 RCX: 000000000043f289 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 0000000000403270 R08: 0000000000000024 R09: 0000000000400488 R10: 0000000000000074 R11: 0000000000000246 R12: 0000000000403300 R13: 0000000000000000 R14: 00000000004ad018 R15: 0000000000400488 Modules linked in: ---[ end trace f4b1e2e1f343d8b6 ]--- 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 Code: ef 4c 01 eb 41 0f 92 c7 48 89 de e8 c8 bb 20 fa 4d 85 ff 0f 85 97 02 00 00 e8 7a b5 20 fa 4c 0f af f3 45 89 ed 31 d2 4c 89 f0 <49> f7 f5 49 89 c6 e8 63 b5 20 fa 48 8d 7d 48 48 b8 00 00 00 00 00 RSP: 0018:ffffc9000184f188 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000200000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff875340e6 RDI: 0000000000000003 RBP: ffff88801c4f7108 R08: 0000200000000000 R09: 0000000000000000 R10: ffffffff875340d8 R11: 0000000000000000 R12: ffffc9000184f260 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 000000000070e300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa2c1d216c0 CR3: 0000000025e0f000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400