CVE-2022-49325

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

State
Published
Severity
7.5 High
Published
Feb 26, 2025
Updated
Aug 5, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5d424d5a674f782d0659a3b66d951f412901faee to before 3308676ec525901bf1656014003c443a60730a04Affected
  • 5d424d5a674f782d0659a3b66d951f412901faee to before 5aba0ad44fb4a7fb78c5076c313456de199a3c29Affected
  • 5d424d5a674f782d0659a3b66d951f412901faee to before 41e191fe72282e193a7744e2fc1786b23156c9e4Affected
  • 5d424d5a674f782d0659a3b66d951f412901faee to before 40570375356c874b1578e05c1dcc3ff7c1322dbeAffected
LinuxLinux
  • 2.6.17Affected
  • before 2.6.17Not affected
  • 5.15.47 through 5.15.*Not affected
  • 5.17.15 through 5.17.*Not affected
  • 5.18.4 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.