Advisory Published
Updated

CVE-2024-45009: mptcp: pm: only decrement add_addr_accepted for MPJ req

First published: Wed Sep 11 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: only decrement add_addr_accepted for MPJ req Adding the following warning ... WARN_ON_ONCE(msk->pm.add_addr_accepted == 0) ... before decrementing the add_addr_accepted counter helped to find a bug when running the "remove single subflow" subtest from the mptcp_join.sh selftest. Removing a 'subflow' endpoint will first trigger a RM_ADDR, then the subflow closure. Before this patch, and upon the reception of the RM_ADDR, the other peer will then try to decrement this add_addr_accepted. That's not correct because the attached subflows have not been created upon the reception of an ADD_ADDR. A way to solve that is to decrement the counter only if the attached subflow was an MP_JOIN to a remote id that was not 0, and initiated by the host receiving the RM_ADDR.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel>=5.10<5.15.167
Linux Kernel>=5.16<6.1.107
Linux Kernel>=6.2<6.6.48
Linux Kernel>=6.7<6.10.7
Linux Kernel=6.11-rc1
Linux Kernel=6.11-rc2
Linux Kernel=6.11-rc3
Linux Kernel=6.11-rc4
debian/linux<=5.10.223-1<=5.10.226-1
6.1.123-1
6.1.119-1
6.12.11-1
6.12.12-1
debian/linux-6.1
6.1.119-1~deb11u1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-45009?

    The severity of CVE-2024-45009 is determined by its impact on the Linux kernel and its vulnerability to exploitation.

  • How do I fix CVE-2024-45009?

    To fix CVE-2024-45009, update your Linux kernel to version 6.1.123-1 or one of the other remedied versions listed.

  • Which Linux kernel versions are affected by CVE-2024-45009?

    CVE-2024-45009 affects Linux kernel versions between 5.10.223-1 and 5.10.226-1 as well as versions up to 5.15.167.

  • What component of the Linux kernel does CVE-2024-45009 impact?

    CVE-2024-45009 impacts the MultiPath TCP (MPTCP) implementation in the Linux kernel.

  • Is CVE-2024-45009 related to potential denial of service vulnerabilities?

    CVE-2024-45009 may be related to denial of service vulnerabilities due to issues in handling MPTCP address acceptance.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203