CVE-2024-53122 mptcp: cope racing subflow creation in mptcp_rcv_space_adjust

High 7.5 Published Updated

A race condition in the Linux kernel MPTCP implementation can cause a divide-by-zero error, leading to a 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-2024-53122?

CVE-2024-53122 is a high-severity vulnerability in Linux kernel, published on 2 Dec 2024. 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:

mptcp: cope racing subflow creation in mptcp_rcv_space_adjust

Additional active subflows - i.e. created by the in kernel path manager - are included into the subflow list before starting the 3whs.

A racing recvmsg() spooling data received on an already established subflow would unconditionally call tcp_cleanup_rbuf() on all the current subflows, potentially hitting a divide by zero error on the newly created ones.

Explicitly check that the subflow is in a suitable state before invoking tcp_cleanup_rbuf().

Weakness: CWE-362

Which versions are affected by CVE-2024-53122?

It affects 1 product.

Linux distribution packages (40)
kpatch-patch-4_18_0-553 Red Hat:enterprise_linux:8::baseosAll versions0:1-3.el8_10
kpatch-patch-4_18_0-553-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1-3.el8_10
kpatch-patch-4_18_0-553-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:1-3.el8_10
kpatch-patch-4_18_0-553_16_1 Red Hat:enterprise_linux:8::baseosAll versions0:1-2.el8_10
kpatch-patch-4_18_0-553_16_1-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1-2.el8_10
kpatch-patch-4_18_0-553_16_1-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:1-2.el8_10
kpatch-patch-4_18_0-553_30_1 Red Hat:enterprise_linux:8::baseosAll versions0:1-1.el8_10
kpatch-patch-4_18_0-553_30_1-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1-1.el8_10
kpatch-patch-4_18_0-553_30_1-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:1-1.el8_10
kpatch-patch-5_14_0-503_15_1 Red Hat:enterprise_linux:9::baseosAll versions0:1-1.el9_5
kpatch-patch-5_14_0-503_15_1-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:1-1.el9_5
kpatch-patch-5_14_0-503_15_1-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:1-1.el9_5
bpftool Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
bpftool-debuginfo Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-abi-stablelists Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-core Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-debug Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-debug-core Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-debug-debuginfo Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-debug-devel Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-debug-modules Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-debug-modules-extra Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-debuginfo Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-devel Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-doc Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-modules Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-modules-extra Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-tools Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-tools-debuginfo Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
kernel-tools-libs Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
perf Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
perf-debuginfo Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
python3-perf Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
python3-perf-debuginfo Red Hat:rhel_aus:8.4::baseosAll versions0:4.18.0-305.148.1.el8_4
bpftool Red Hat:rhel_aus:8.6::baseosAll versions0:4.18.0-372.134.1.el8_6
bpftool-debuginfo Red Hat:rhel_aus:8.6::baseosAll versions0:4.18.0-372.134.1.el8_6
kernel Red Hat:rhel_aus:8.6::baseosAll versions0:4.18.0-372.134.1.el8_6
kernel-abi-stablelists Red Hat:rhel_aus:8.6::baseosAll versions0:4.18.0-372.134.1.el8_6

Products include Linux kernel.

How do I fix CVE-2024-53122?

Apply the vendor's patch.

Is CVE-2024-53122 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-54209, AZL-54255, BELL-CVE-2024-53122, DEBIAN-CVE-2024-53122, GHSA-x34g-xjxv-fc48, RHSA-2025:0049 and 14 more.

Is CVE-2024-53122 in your software?

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

Check your SBOMs for free