Bug 2348023 (CVE-2022-49325) - CVE-2022-49325 kernel: tcp: add accessors to read/set tp->snd_cwnd
Summary: CVE-2022-49325 kernel: tcp: add accessors to read/set tp->snd_cwnd
Keywords:
Status: NEW
Alias: CVE-2022-49325
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:14 UTC by OSIDB Bzimport
Modified: 2025-02-26 15:46 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:14:56 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 11:16:29 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022638-CVE-2022-49325-a2ac@gregkh/T

Comment 4 Avinash Hanwate 2025-02-26 15:46:10 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022638-CVE-2022-49325-a2ac@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.