# CVE-2022-49325: tcp: add accessors to read/set tp->snd_cwnd

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2025-02-26T02:10:48.158Z
- Modified: 2026-08-05T08:54:43.711Z
- Weaknesses: CWE-617
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5d424d5a674f782d0659a3b66d951f412901faee before 3308676ec525901bf1656014003c443a60730a04; from 5d424d5a674f782d0659a3b66d951f412901faee before 5aba0ad44fb4a7fb78c5076c313456de199a3c29; from 5d424d5a674f782d0659a3b66d951f412901faee before 41e191fe72282e193a7744e2fc1786b23156c9e4; from 5d424d5a674f782d0659a3b66d951f412901faee before 40570375356c874b1578e05c1dcc3ff7c1322dbe; 2.6.17 (not affected: before 2.6.17; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3308676ec525901bf1656014003c443a60730a04> (patch)
- <https://git.kernel.org/stable/c/5aba0ad44fb4a7fb78c5076c313456de199a3c29> (patch)
- <https://git.kernel.org/stable/c/41e191fe72282e193a7744e2fc1786b23156c9e4> (patch)
- <https://git.kernel.org/stable/c/40570375356c874b1578e05c1dcc3ff7c1322dbe> (patch)

## Sources

- CVE List: [CVE-2022-49325](https://www.cve.org/CVERecord?id=CVE-2022-49325), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49325](https://nvd.nist.gov/vuln/detail/CVE-2022-49325), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49325 · Whole record: https://cve.day/CVE-2022-49325.json · Rebuilt by cve.day 2026-11-25T22:58:20.407Z
