CVE-2022-49325

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

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:10 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.6%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.472.6.17 ≤ v < 5.15.472.6.17 ≤ v < 5.17.152.6.17 ≤ v < 5.18.42.6.17 ≤ v < 5.195.16 ≤ v < 5.17.155.18 ≤ v < 5.18.42.6.175d424d5a674f782d0659a3b66d951f412901faee
Vendor states this is fixed in 3308676ec525901bf1656014003c443a60730a04 (fixed)
Vendor states this is fixed in 40570375356c874b1578e05c1dcc3ff7c1322dbe (fixed)
Vendor states this is fixed in 41e191fe72282e193a7744e2fc1786b23156c9e4 (fixed)
Vendor states this is fixed in 5aba0ad44fb4a7fb78c5076c313456de199a3c29 (fixed)
Vendor states this is fixed in 2.6.17 (unaffected)
Vendor states this is fixed in 5.15.47 (unaffected)
Vendor states this is fixed in 5.17.15 (unaffected)
Vendor states this is fixed in 5.18.4 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3308676ec525901bf1656014003c443a60730a04
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/40570375356c874b1578e05c1dcc3ff7c1322dbe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/41e191fe72282e193a7744e2fc1786b23156c9e4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5aba0ad44fb4a7fb78c5076c313456de199a3c29

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-617

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card