All reports
Medium

kernel: tcp: add accessors to read/set tp->snd_cwnd

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49325

Probability of exploitation in the next 30 days: 0.64%

FIRST EPSS · 2026-11-19

Description

In the Linux kernel, the following vulnerability has been resolved: tcp: add accessors to read/set tp->snd_cwnd We had various bugs over the years with code breaking the assumption that tp->snd_cwnd is greater than zero. Lately, syzbot reported the WARN_ON_ONCE(!tp->prior_cwnd) added in commit 8b8a321ff72c ("tcp: fix zero cwnd in tcp_cwnd_reduction") can trigger, and without a repro we would have to spend considerable time finding the bug. Instead of complaining too late, we want to catch where and when tp->snd_cwnd is set to an illegal value.

A flaw was found in the Linux kernel's TCP (Transmission Control Protocol) subsystem. A local user can manipulate network sockets to set the TCP congestion window—the mechanism controlling network data transmission rates—to an invalid value. This improper state can trigger kernel warnings and lead to network instability or a denial of service (DoS).