{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-27404","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-02-25T13:47:42.681Z","datePublished":"2024-05-17T11:40:21.607Z","dateUpdated":"2026-08-05T11:29:36.752Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:29:36.752Z"},"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."}],"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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mptcp/pm_netlink.c","net/mptcp/subflow.c"],"versions":[{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","lessThan":"e64148635509bf13eea851986f5a0b150e5bd066","status":"affected","versionType":"git"},{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","lessThan":"2dba5774e8ed326a78ad4339d921a4291281ea6e","status":"affected","versionType":"git"},{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","lessThan":"987c3ed7297e5661bc7f448f06fc366e497ac9b2","status":"affected","versionType":"git"},{"version":"bedee0b561138346967cf1443f2afd1b48b3148f","lessThan":"967d3c27127e71a10ff5c083583a038606431b61","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mptcp/pm_netlink.c","net/mptcp/subflow.c"],"versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","status":"unaffected","versionType":"semver"},{"version":"6.1.81","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.19","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.7","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"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"}]}]}],"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"}],"title":"mptcp: fix data races on remote_id","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"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"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-17T17:43:55.610Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T00:34:52.192Z"},"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"]}]}]}}