We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-45009

mptcp: pm: only decrement add_addr_accepted for MPJ req



Description

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.

Reserved 2024-08-21 | Published 2024-09-11 | Updated 2024-11-05 | Assigner Linux

Product status

Default status
unaffected

d0876b2284cf before 35b31f5549ed
affected

d0876b2284cf before 85b866e4c4e6
affected

d0876b2284cf before d20bf2c96d7f
affected

d0876b2284cf before 2060f1efab37
affected

d0876b2284cf before 1c1f72137598
affected

Default status
affected

5.10
affected

Any version before 5.10
unaffected

5.15.167
unaffected

6.1.107
unaffected

6.6.48
unaffected

6.10.7
unaffected

6.11
unaffected

References

git.kernel.org/...c/35b31f5549ede4070566b949781e83495906b43d

git.kernel.org/...c/85b866e4c4e63a1d7afb58f1e24273caad03d0b7

git.kernel.org/...c/d20bf2c96d7ffd171299b32f562f70e5bf5dc608

git.kernel.org/...c/2060f1efab370b496c4903b840844ecaff324c3c

git.kernel.org/...c/1c1f721375989579e46741f59523e39ec9b2a9bd

cve.org (CVE-2024-45009)

nvd.nist.gov (CVE-2024-45009)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-45009

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.