CVE-2024-40931
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-40931 affects the Linux kernel's MPTCP (Multipath TCP) implementation. The vulnerability was discovered on July 12, 2024, and involves an uninitialized variable issue in the MPTCP connection handling. Specifically, the snd_una variable is left uninitialized during connection establishment, which can be triggered by syzkaller during retransmission after fallback and before processing any incoming packets (NVD).

Technical details

The vulnerability is classified as CWE-908 (Use of Uninitialized Resource) with a CVSS v3.1 base score of 5.5 (Medium). The issue occurs in the mptcpstreamconnect function where snduna is not properly initialized together with sndnxt and write_seq during connection establishment. This vulnerability affects multiple versions of the Linux kernel, including versions from 5.16 to 6.9.6 (NVD).

Impact

The vulnerability has been rated with a Medium severity impact. While there is no direct impact on confidentiality or integrity, it can affect the availability of the system. The uninitialized variable could lead to unexpected behavior during MPTCP connection handling (NVD).

Mitigation and workarounds

The issue has been fixed by explicitly initializing snduna together with sndnxt and write_seq during connection establishment. The fix has been implemented in various Linux kernel versions, including 6.8.0-44.44 for Ubuntu 24.04 LTS and 5.15.0-121.131 for Ubuntu 22.04 LTS (Ubuntu).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management