7.5high
tcp: add accessors to read/set tp->snd_cwnd
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.64% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | before 5.15.47, from 5.16 before 5.17.15, from 5.18 before 5.18.4 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tcp: agregar descriptores de acceso para leer/establecer tp->snd_cwnd Tuvimos varios errores a lo largo de los años con código que rompía la suposición de que tp->snd_cwnd es mayor que cero. Últimamente, syzbot informó que se puede activar WARN_ON_ONCE(!tp->prior_cwnd) agregado en el commit 8b8a321ff72c ("tcp: corregir cwnd cero en tcp_cwnd_reduction"), y sin una reproducción tendríamos que dedicar un tiempo considerable a encontrar el error. En lugar de quejarnos demasiado tarde, queremos detectar dónde y cuándo tp->snd_cwnd se establece en un valor ilegal.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49325 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2022-49325 changed 2026-08-04 | Public domain |