[PATCH net-next 0/3] tcp: fix a few divide-by-zero in congestion control modules

From: Jiayuan Chen

Date: Wed Sep 30 2026 - 06:13:22 EST


Patch 1 and 2 were reported by VEGA <vega@xxxxxxxxxx>.

Patch 3 was found while reviewing the other TCP congestion control
modules for the same kind of divide-by-zero on module parameters.

Jiayuan Chen (3):
tcp_bic: fix divide by zero on max_increment == 0
tcp_hybla: fix divide by zero on rtt0 == 0
tcp_cubic: fix divide by zero and endless loop on bad module params

net/ipv4/tcp_bic.c | 14 ++++++++++++--
net/ipv4/tcp_cubic.c | 7 ++++++-
net/ipv4/tcp_hybla.c | 16 ++++++++++++++--
3 files changed, 32 insertions(+), 5 deletions(-)

--
2.43.0