Files
linux-stable-mirror/net/ipv4
Eric Dumazet 5aea79b910 icmp: prevent possible overflow in icmp_global_allow()
[ Upstream commit 034bbd8062 ]

Following expression can overflow
if sysctl_icmp_msgs_per_sec is big enough.

sysctl_icmp_msgs_per_sec * delta / HZ;

Fixes: 4cdf507d54 ("icmp: add a global rate limitation")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260216142832.3834174-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:20:39 -05:00
..
2025-12-12 18:37:17 +01:00
2025-02-08 09:57:23 +01:00
2024-07-30 18:35:12 -07:00
2025-12-18 13:55:22 +01:00
2025-04-10 14:39:34 +02:00