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

High 7.5 Published Updated

A bug in the Linux kernel TCP implementation could trigger a warning or crash due to invalid congestion window values, potentially causing denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-49325?

CVE-2022-49325 is a high-severity denial of service vulnerability in Linux kernel, published on 26 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-617

Which versions are affected by CVE-2022-49325?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49325?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-49325 being exploited?

There is no known exploitation of CVE-2022-49325 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49325, GHSA-qwqp-8pr4-72vm, ROOT-OS-DEBIAN-11-CVE-2022-49325, UBUNTU-CVE-2022-49325.

Is CVE-2022-49325 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free