{"id":"CVE-2024-45010","state":"PUBLISHED","title":"mptcp: pm: only mark 'subflow' endp as available","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmptcp: pm: only mark 'subflow' endp as available\n\nAdding the following warning ...\n\n  WARN_ON_ONCE(msk->pm.local_addr_used == 0)\n\n... before decrementing the local_addr_used counter helped to find a bug\nwhen running the \"remove single address\" subtest from the mptcp_join.sh\nselftests.\n\nRemoving a 'signal' endpoint will trigger the removal of all subflows\nlinked to this endpoint via mptcp_pm_nl_rm_addr_or_subflow() with\nrm_type == MPTCP_MIB_RMSUBFLOW. This will decrement the local_addr_used\ncounter, which is wrong in this case because this counter is linked to\n'subflow' endpoints, and here it is a 'signal' endpoint that is being\nremoved.\n\nNow, the counter is decremented, only if the ID is being used outside\nof mptcp_pm_nl_rm_addr_or_subflow(), only for 'subflow' endpoints, and\nif the ID is not 0 -- local_addr_used is not taking into account these\nones. This marking of the ID as being available, and the decrement is\ndone no matter if a subflow using this ID is currently available,\nbecause the subflow could have been closed before.","publishedAt":"2024-09-11T15:13:48.358Z","updatedAt":"2026-05-11T20:33:42.788Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"06faa22710342bca5e9c249634199c650799fce6","status":"affected","lessThan":"7fdc870d08960961408a44c569f20f50940e7d4f","versionType":"git"},{"version":"06faa22710342bca5e9c249634199c650799fce6","status":"affected","lessThan":"43cf912b0b0fc7b4fd12cbc735d1f5afb8e1322d","versionType":"git"},{"version":"06faa22710342bca5e9c249634199c650799fce6","status":"affected","lessThan":"9849cfc67383ceb167155186f8f8fe8a896b60b3","versionType":"git"},{"version":"06faa22710342bca5e9c249634199c650799fce6","status":"affected","lessThan":"322ea3778965da72862cca2a0c50253aacf65fe6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mptcp/pm_netlink.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"6.1.108","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.48","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.7","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","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"]}],"references":["https://git.kernel.org/stable/c/7fdc870d08960961408a44c569f20f50940e7d4f","https://git.kernel.org/stable/c/43cf912b0b0fc7b4fd12cbc735d1f5afb8e1322d","https://git.kernel.org/stable/c/9849cfc67383ceb167155186f8f8fe8a896b60b3","https://git.kernel.org/stable/c/322ea3778965da72862cca2a0c50253aacf65fe6","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/45xxx/CVE-2024-45010.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-45010","state":"PUBLISHED","datePublished":"2024-09-11T15:13:48.358Z","dateUpdated":"2026-05-11T20:33:42.788Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-21T05:34:56.681Z"},"containers":{"cna":{"title":"mptcp: pm: only mark 'subflow' endp as available","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmptcp: pm: only mark 'subflow' endp as available\n\nAdding the following warning ...\n\n  WARN_ON_ONCE(msk->pm.local_addr_used == 0)\n\n... before decrementing the local_addr_used counter helped to find a bug\nwhen running the \"remove single address\" subtest from the mptcp_join.sh\nselftests.\n\nRemoving a 'signal' endpoint will trigger the removal of all subflows\nlinked to this endpoint via mptcp_pm_nl_rm_addr_or_subflow() with\nrm_type == MPTCP_MIB_RMSUBFLOW. This will decrement the local_addr_used\ncounter, which is wrong in this case because this counter is linked to\n'subflow' endpoints, and here it is a 'signal' endpoint that is being\nremoved.\n\nNow, the counter is decremented, only if the ID is being used outside\nof mptcp_pm_nl_rm_addr_or_subflow(), only for 'subflow' endpoints, and\nif the ID is not 0 -- local_addr_used is not taking into account these\nones. This marking of the ID as being available, and the decrement is\ndone no matter if a subflow using this ID is currently available,\nbecause the subflow could have been closed before."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"06faa22710342bca5e9c249634199c650799fce6","status":"affected","lessThan":"7fdc870d08960961408a44c569f20f50940e7d4f","versionType":"git"},{"version":"06faa22710342bca5e9c249634199c650799fce6","status":"affected","lessThan":"43cf912b0b0fc7b4fd12cbc735d1f5afb8e1322d","versionType":"git"},{"version":"06faa22710342bca5e9c249634199c650799fce6","status":"affected","lessThan":"9849cfc67383ceb167155186f8f8fe8a896b60b3","versionType":"git"},{"version":"06faa22710342bca5e9c249634199c650799fce6","status":"affected","lessThan":"322ea3778965da72862cca2a0c50253aacf65fe6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mptcp/pm_netlink.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"6.1.108","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.48","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.7","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","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"]}],"references":[{"url":"https://git.kernel.org/stable/c/7fdc870d08960961408a44c569f20f50940e7d4f"},{"url":"https://git.kernel.org/stable/c/43cf912b0b0fc7b4fd12cbc735d1f5afb8e1322d"},{"url":"https://git.kernel.org/stable/c/9849cfc67383ceb167155186f8f8fe8a896b60b3"},{"url":"https://git.kernel.org/stable/c/322ea3778965da72862cca2a0c50253aacf65fe6"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:33:42.788Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.1.108"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.6.48"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.10.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-29T15:50:56.116338Z","id":"CVE-2024-45010","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-09-29T15:51:10.555Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:15:16.770Z"}}]}}}