CVE-2024-40931 mptcp: ensure snd_una is properly initialized on connect

Medium 5.5 Published Updated

An attacker can trigger a denial of service in the Linux kernel by exploiting an uninitialized variable in the MPTCP subsystem during connection setup.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-40931?

CVE-2024-40931 is a medium-severity vulnerability in Linux kernel, published on 12 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

mptcp: ensure snd_una is properly initialized on connect

This is strictly related to commit fb7a0d334894 ("mptcp: ensure snd_nxt is properly initialized on connect"). It turns out that syzkaller can trigger the retransmit after fallback and before processing any other incoming packet - so that snd_una is still left uninitialized.

Address the issue explicitly initializing snd_una together with snd_nxt and write_seq.

Weakness: CWE-908

Which versions are affected by CVE-2024-40931?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-40931?

Apply the vendor's patch.

Is CVE-2024-40931 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-40931, DEBIAN-CVE-2024-40931, GHSA-c6gv-gfxc-vrwh, UBUNTU-CVE-2024-40931.

Is CVE-2024-40931 in your software?

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

Check your SBOMs for free