{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99603",
  "modified": "2026-11-24T05:30:02Z",
  "upstream": [
    "CVE-2026-99603"
  ],
  "published": "2026-11-20T05:52:17Z",
  "summary": "mptcp: pm: kernel: use RCU to free endpoint listeners",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmptcp: pm: kernel: use RCU to free endpoint listeners\n\nmptcp_pm_nl_create_listen_socket() starts the TCP listener directly\ninstead of going through mptcp_listen(). It consequently misses setting\nSOCK_RCU_FREE on the parent MPTCP socket.\n\ntcp_child_process() can invoke the listener's subflow_data_ready()\ncallback without holding the MPTCP parent lock or a reference to the\nparent. An authenticated MP_JOIN racing with endpoint teardown can\ntherefore access the parent after its last reference has been dropped.\nThe ADD_ADDR error path can also close an already published listener.\n\nSet SOCK_RCU_FREE before __inet_listen_sk() publishes the TCP listener,\nmatching mptcp_listen(). This protects the parent on every subsequent\nclose path, including a failed endpoint addition.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4",
        "1:6.12.115-1+rpt1"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.12.115+rpt-rpi-2712",
            "binary_version": "1:6.12.115-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.12.115+rpt-rpi-v8",
            "binary_version": "1:6.12.115-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.12.115+rpt-rpi-v8-rt",
            "binary_version": "1:6.12.115-1+rpt1"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.193",
            "compiled_filter": false
          },
          "1:6.12.115-1+rpt1": {
            "linux_commit": "2569533d6c33c15231fbc21704c87fcebc67173c",
            "upstream_version": "6.12.115",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.12.118"
          }
        }
      }
    },
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:13",
        "name": "linux"
      },
      "versions": [
        "1:6.18.29-1+rpt1",
        "1:6.18.33-1+rpt1",
        "1:6.18.34-1+rpt1",
        "1:6.18.39-1+rpt1",
        "1:6.18.50-1+rpt1",
        "1:6.18.60-1+rpt1"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-2712",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-v8",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-2712",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-v8",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-2712",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-v8",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-2712",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-v8",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.50+rpt-rpi-2712",
            "binary_version": "1:6.18.50-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.50+rpt-rpi-v8",
            "binary_version": "1:6.18.50-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.50+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.50-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.60+rpt-rpi-2712",
            "binary_version": "1:6.18.60-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.60+rpt-rpi-v8",
            "binary_version": "1:6.18.60-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.60+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.60-1+rpt1"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.18.29-1+rpt1": {
            "linux_commit": "66318c5b5cd8145a662303af12ed39ac07eb27cc",
            "upstream_version": "6.18.29",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.64"
          },
          "1:6.18.33-1+rpt1": {
            "linux_commit": "95b85bebbedcaedfa7ca79116ed38b7376fba412",
            "upstream_version": "6.18.33",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.64"
          },
          "1:6.18.34-1+rpt1": {
            "linux_commit": "c8c7494100e99ee05b11aaa4f0588a223a63d1af",
            "upstream_version": "6.18.34",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.64"
          },
          "1:6.18.39-1+rpt1": {
            "linux_commit": "60ea684a8ace97bb0db1a16e20753bdd6ab371ff",
            "upstream_version": "6.18.39",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.64"
          },
          "1:6.18.50-1+rpt1": {
            "linux_commit": "cff533aec2fa601846766b32ff57204e0a61bed7",
            "upstream_version": "6.18.50",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.64"
          },
          "1:6.18.60-1+rpt1": {
            "linux_commit": "0b41724521c9adf5399409d02aece6c1df0a4432",
            "upstream_version": "6.18.60",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.64"
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-99603"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/30355edfe074f72feafb4470a3937c8c460be589"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c05dca67e7475a4e576582f4ed19f67ae92a982d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fc7675944ae787f4fb3cb0ba3db2447eb006d153"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2004c8fdb1b588188f6a17398782da4551f22be5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c457824f76e95e10356c35c61ffc9d79b8c54228"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/78856ded7ec7995e8a05cdc9d08df4c5a62479aa"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/49b09ae0bf57b4230187d4cdd0a370558e44a6e8"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-23T08:12:11Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - mptcp_pm_nl_create_listen_socket() publishes the endpoint TCP listener from MPTCP_PM_CMD_ADD_ADDR, and __mptcp_pm_release_addr_entry() frees the parent on MPTCP_PM_CMD_DEL_ADDR, flush, or the failed-add path in mptcp_pm_nl_add_addr_doit(). The MP_JOIN third ACK reaches subflow_data_ready() only via tcp_child_process() and does not drop that reference, so the freeing actor is local.\nAC:L - That same user-namespace CAP_NET_ADMIN task calls mptcp_pm_nl_del_addr_doit() while its own MP_JOIN third ACK is inside tcp_v4_rcv(). It decides when sock_release() runs and when the handshake completes, so the race is not an administrator action or a device state it cannot induce.\nPR:L - mptcp_pm_nl_ops sets GENL_UNS_ADMIN_PERM on MPTCP_PM_CMD_ADD_ADDR and MPTCP_PM_CMD_DEL_ADDR, and genl_family_rcv_msg() requires netlink_ns_capable(net->user_ns, CAP_NET_ADMIN). mptcp_genl_family.netnsok is true, so unshare -Urn is enough and init-namespace root is not.\nUI:N - The attacker adds the signal endpoint with a port, completes the MP_JOIN to the listener created by mptcp_pm_nl_create_listen_socket(), and deletes the endpoint. No other user mounts media or accepts a prompt.\nS:U - The use-after-free is of the listener struct mptcp_sock in the kernel hosting the attacker. It does not cross a KVM guest/host boundary or an IOMMU isolation boundary.\nC:H - Without SOCK_RCU_FREE, sk_destruct() frees the parent as soon as the last sock_put() in the close path runs. subflow_data_ready() still reads subflow->conn and, after mptcp_check_listen_stop() sets the subflow TCP_CLOSE, __mptcp_check_fallback() reads msk->flags on that freed object, which the mptcp slab can reuse immediately.\nI:H - On that TCP_CLOSE path, mptcp_data_ready() takes mptcp_data_lock() and move_skbs_to_msk() can WRITE_ONCE msk->ack_seq and queue skbs on the dangling parent. Those stores hit freed or same-cache-reused mptcp_sock memory, not a NULL sk_data_ready.\nA:H - tcp_child_process() calls the listener's subflow_data_ready() with no reference on the MPTCP parent. After __mptcp_pm_release_addr_entry() drops the last reference, that callback dereferences the freed socket and oopses the kernel."
    }
  }
}
