CVEvulnerability
CVE-2022-49325
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-02-26
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-617
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 configurations
• linux linux kernel (< 5.15.47)
• linux linux kernel (>= 5.16 < 5.17.15)
• linux linux kernel (>= 5.18 < 5.18.4)
Related
Weakness · CWE (1)
- CWE-617 Reachable Assertion weakness
References
- https://git.kernel.org/stable/c/3308676ec525901bf1656014003c443a60730a04 Patch
- https://git.kernel.org/stable/c/40570375356c874b1578e05c1dcc3ff7c1322dbe Patch
- https://git.kernel.org/stable/c/41e191fe72282e193a7744e2fc1786b23156c9e4 Patch
- https://git.kernel.org/stable/c/5aba0ad44fb4a7fb78c5076c313456de199a3c29 Patch