{"id":"CVE-2024-45009","aliases":["CVE-2024-45009"],"related":[],"kind":"vulnerability","state":"published","title":"mptcp: pm: only decrement add_addr_accepted for MPJ req","summary":"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->pm.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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->pm.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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mptcp: pm: solo decrementar add_addr_accepted para solicitud MPJ Agregar la siguiente advertencia ... WARN_ON_ONCE(msk-&gt;pm.add_addr_accepted == 0) ... antes de decrementar el contador add_addr_accepted ayudó a encontrar un error al ejecutar la subprueba \"eliminar un solo subflujo\" de la autoprueba mptcp_join.sh. Eliminar un endpoint de 'subflujo' primero activará un RM_ADDR, luego el cierre del subflujo. Antes de este parche, y tras la recepción del RM_ADDR, el otro par intentará decrementar este add_addr_accepted. Eso no es correcto porque los subflujos adjuntos no se han creado tras la recepción de un ADD_ADDR. Una forma de resolver esto es disminuir el contador solo si el subflujo adjunto fue un MP_JOIN a una identificación remota que no era 0, e iniciado por el host que recibió el RM_ADDR.","source":"nvd"}],"published":"2024-09-11T15:13:47.719Z","modified":"2026-08-05T11:37:39.508Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d0876b2284cf8b34dd214b2d0aa21071c345da59","fixed":"35b31f5549ede4070566b949781e83495906b43d","status":"affected"},{"type":"git","introduced":"d0876b2284cf8b34dd214b2d0aa21071c345da59","fixed":"85b866e4c4e63a1d7afb58f1e24273caad03d0b7","status":"affected"},{"type":"git","introduced":"d0876b2284cf8b34dd214b2d0aa21071c345da59","fixed":"d20bf2c96d7ffd171299b32f562f70e5bf5dc608","status":"affected"},{"type":"git","introduced":"d0876b2284cf8b34dd214b2d0aa21071c345da59","fixed":"2060f1efab370b496c4903b840844ecaff324c3c","status":"affected"},{"type":"git","introduced":"d0876b2284cf8b34dd214b2d0aa21071c345da59","fixed":"1c1f721375989579e46741f59523e39ec9b2a9bd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.15.167","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.107","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.48","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.7","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"5.15.167"},{"status":"affected","introduced":"5.16","fixed":"6.1.107"},{"status":"affected","introduced":"6.2","fixed":"6.6.48"},{"status":"affected","introduced":"6.7","fixed":"6.10.7"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/35b31f5549ede4070566b949781e83495906b43d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/85b866e4c4e63a1d7afb58f1e24273caad03d0b7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d20bf2c96d7ffd171299b32f562f70e5bf5dc608","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2060f1efab370b496c4903b840844ecaff324c3c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c1f721375989579e46741f59523e39ec9b2a9bd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-29T15:51:12.192Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45009","url":"https://www.cve.org/CVERecord?id=CVE-2024-45009","licence":"CVE Terms of Use","modified":"2026-08-05T11:37:39.508Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45009","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45009","licence":"Public domain","modified":"2026-08-04T11:20:09.870Z"}],"updatedAt":"2026-11-25T22:58:45.305Z","epss":{"score":0.00518,"percentile":0.45565,"date":"2026-12-02T12:00:21.000Z"}}