Skip to content
Heist/ feed
Back to feed
HighFix available

mptcp: cope racing subflow creation in mptcp_rcv_space_adjust

Type: advisorySources: OSV

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().

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.174, 6.1.119, 6.11.10, 6.6.63
CVEs
CVE-2024-53122
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:35 UTC · Revision 1

Source evidence

mptcp: cope racing subflow creation in mptcp_rcv_space_adjust

core-osv · Original source

Published 2 Dec 2024, 13:44 UTC

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().

osv:CVE-2024-53122

Kernel

Fixed versions: 5.15.174, 6.1.119, 6.6.63, 6.11.10

Complete source record
{
  "id": "aabc998862a1c75079deef2c04806848cf885bd065a52caa770688362e82b5a2",
  "url": "https://osv.dev/vulnerability/CVE-2024-53122",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mptcp: cope racing subflow creation in mptcp_rcv_space_adjust",
    "summary": "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().",
    "evidence": "osv:CVE-2024-53122",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.174",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.119",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.63",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-53122",
      "aliases": [
        "CVE-2024-53122"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c76c6956566f974bac2470bd72fc22fb923e04a1"
                },
                {
                  "fixed": "0a9a182ea5c7bb0374e527130fd85024ace7279b"
                },
                {
                  "fixed": "24995851d58c4a205ad0ffa7b2f21e479a9c8527"
                },
                {
                  "fixed": "ff825ab2f455299c0c7287550915a8878e2a66e0"
                },
                {
                  "fixed": "aad6412c63baa39dd813e81f16a14d976b3de2e8"
                },
                {
                  "fixed": "ce7356ae35943cc6494cc692e62d51a734062b7d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53122.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.10.0"
                },
                {
                  "fixed": "5.15.174"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.119"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.63"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.11.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53122.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.824770619Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0a9a182ea5c7bb0374e527130fd85024ace7279b",
        "https://git.kernel.org/stable/c/24995851d58c4a205ad0ffa7b2f21e479a9c8527",
        "https://git.kernel.org/stable/c/aad6412c63baa39dd813e81f16a14d976b3de2e8",
        "https://git.kernel.org/stable/c/ce7356ae35943cc6494cc692e62d51a734062b7d",
        "https://git.kernel.org/stable/c/ff825ab2f455299c0c7287550915a8878e2a66e0",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53122.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-53122",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53122.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-53122",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504065,
  "published_at": "2024-12-02T13:44:52.678+00:00"
}