{"id":"CVE-2024-27404","state":"PUBLISHED","title":"mptcp: fix data races on remote_id","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmptcp: fix data races on remote_id\n\nSimilar to the previous patch, address the data race on\nremote_id, adding the suitable ONCE annotations.","publishedAt":"2024-05-17T11:40:21.607Z","updatedAt":"2026-08-05T11:29:36.752Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","status":"affected","lessThan":"e64148635509bf13eea851986f5a0b150e5bd066","versionType":"git"},{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","status":"affected","lessThan":"2dba5774e8ed326a78ad4339d921a4291281ea6e","versionType":"git"},{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","status":"affected","lessThan":"987c3ed7297e5661bc7f448f06fc366e497ac9b2","versionType":"git"},{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","status":"affected","lessThan":"967d3c27127e71a10ff5c083583a038606431b61","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mptcp/pm_netlink.c","net/mptcp/subflow.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.81","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.19","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.7","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mptcp/pm_netlink.c","net/mptcp/subflow.c"]}],"references":["https://git.kernel.org/stable/c/e64148635509bf13eea851986f5a0b150e5bd066","https://git.kernel.org/stable/c/2dba5774e8ed326a78ad4339d921a4291281ea6e","https://git.kernel.org/stable/c/987c3ed7297e5661bc7f448f06fc366e497ac9b2","https://git.kernel.org/stable/c/967d3c27127e71a10ff5c083583a038606431b61"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/27xxx/CVE-2024-27404.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-27404","state":"PUBLISHED","datePublished":"2024-05-17T11:40:21.607Z","dateUpdated":"2026-08-05T11:29:36.752Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-25T13:47:42.681Z"},"containers":{"cna":{"title":"mptcp: fix data races on remote_id","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmptcp: fix data races on remote_id\n\nSimilar to the previous patch, address the data race on\nremote_id, adding the suitable ONCE annotations."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","status":"affected","lessThan":"e64148635509bf13eea851986f5a0b150e5bd066","versionType":"git"},{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","status":"affected","lessThan":"2dba5774e8ed326a78ad4339d921a4291281ea6e","versionType":"git"},{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","status":"affected","lessThan":"987c3ed7297e5661bc7f448f06fc366e497ac9b2","versionType":"git"},{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","status":"affected","lessThan":"967d3c27127e71a10ff5c083583a038606431b61","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mptcp/pm_netlink.c","net/mptcp/subflow.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.81","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.19","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.7","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mptcp/pm_netlink.c","net/mptcp/subflow.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e64148635509bf13eea851986f5a0b150e5bd066"},{"url":"https://git.kernel.org/stable/c/2dba5774e8ed326a78ad4339d921a4291281ea6e"},{"url":"https://git.kernel.org/stable/c/987c3ed7297e5661bc7f448f06fc366e497ac9b2"},{"url":"https://git.kernel.org/stable/c/967d3c27127e71a10ff5c083583a038606431b61"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","baseScore":8.2,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - Both sides of the race are driven by remote MPTCP protocol data — the peer's MP_JOIN SYN-ACK writes `remote_id` from softirq via `subflow_finish_connect()`, while the peer's RM_ADDR/ADD_ADDR options drive the concurrent path-manager reads in `mptcp_pm_nl_rm_addr_or_subflow()` and `fill_remote_addresses_vec()`. No local access is needed.\nAC:L - The remote peer controls both racing sides and their timing: it chooses when to emit the MP_JOIN SYN-ACK carrying `join_id` and when to send RM_ADDR/ADD_ADDR that schedules the PM worker, and it can repeat this across many subflows and connections until the window is hit.\nPR:N - An MPTCP-enabled listening service accepts connections from any unauthenticated remote peer, and subflow creation plus ADD_ADDR/RM_ADDR signalling occur as part of normal protocol operation with no credentials required.\nUI:N - The MPTCP option exchange and path-manager subflow handling happen automatically inside the kernel once a connection is accepted; no local user action is involved.\nS:U - The unsynchronized access and all resulting effects are confined to the kernel networking stack's own security authority, with no crossing of a VM, IOMMU, or sandbox boundary.\nC:N - `remote_id` is a u8 that is never used as an array index or pointer, and the only value exposed is the peer's own address ID via diag/netlink; no kernel memory contents are disclosed.\nI:L - Inconsistent reads let the path manager act on a wrong subflow identity — bypassing the `deny_id0` join restriction in `fill_remote_addresses_vec()` and underflowing the u8 `pm.add_addr_accepted`/`pm.local_addr_used` counters — which is limited, non-arbitrary modification of kernel connection state.\nA:H - A mismatched `remote_id` compare in `mptcp_pm_nl_rm_addr_or_subflow()` causes `mptcp_subflow_shutdown()` and `mptcp_close_ssk()` to tear down subflows the peer did not ask to remove — potentially the last remaining one, collapsing the MPTCP connection — and this is remotely and repeatably triggerable without authentication."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:29:36.752Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1.81"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.7.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-17T17:39:39.256806Z","id":"CVE-2024-27404","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-17T17:43:55.610Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/e64148635509bf13eea851986f5a0b150e5bd066","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/2dba5774e8ed326a78ad4339d921a4291281ea6e","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/987c3ed7297e5661bc7f448f06fc366e497ac9b2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/967d3c27127e71a10ff5c083583a038606431b61","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:34:52.192Z"}}]}}}