{"id":"CVE-2024-45009","summary":"mptcp: pm: only decrement add_addr_accepted for MPJ req","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmptcp: pm: only decrement add_addr_accepted for MPJ req\n\nAdding the following warning ...\n\n  WARN_ON_ONCE(msk-\u003epm.add_addr_accepted == 0)\n\n... before decrementing the add_addr_accepted counter helped to find a\nbug when running the \"remove single subflow\" subtest from the\nmptcp_join.sh selftest.\n\nRemoving a 'subflow' endpoint will first trigger a RM_ADDR, then the\nsubflow closure. Before this patch, and upon the reception of the\nRM_ADDR, the other peer will then try to decrement this\nadd_addr_accepted. That's not correct because the attached subflows have\nnot been created upon the reception of an ADD_ADDR.\n\nA way to solve that is to decrement the counter only if the attached\nsubflow was an MP_JOIN to a remote id that was not 0, and initiated by\nthe host receiving the RM_ADDR.","modified":"2026-04-02T12:18:38.741829Z","published":"2024-09-11T15:13:47.719Z","related":["SUSE-SU-2025:0784-1","SUSE-SU-2025:0847-1","SUSE-SU-2025:0856-1","SUSE-SU-2025:0955-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45009.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1c1f721375989579e46741f59523e39ec9b2a9bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2060f1efab370b496c4903b840844ecaff324c3c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35b31f5549ede4070566b949781e83495906b43d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/85b866e4c4e63a1d7afb58f1e24273caad03d0b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d20bf2c96d7ffd171299b32f562f70e5bf5dc608"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45009.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45009"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d0876b2284cf8b34dd214b2d0aa21071c345da59"},{"fixed":"35b31f5549ede4070566b949781e83495906b43d"},{"fixed":"85b866e4c4e63a1d7afb58f1e24273caad03d0b7"},{"fixed":"d20bf2c96d7ffd171299b32f562f70e5bf5dc608"},{"fixed":"2060f1efab370b496c4903b840844ecaff324c3c"},{"fixed":"1c1f721375989579e46741f59523e39ec9b2a9bd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45009.json"}}],"schema_version":"1.7.5"}