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-44974

mptcp: pm: avoid possible UaF when selecting endp



Description

In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: avoid possible UaF when selecting endp select_local_address() and select_signal_address() both select an endpoint entry from the list inside an RCU protected section, but return a reference to it, to be read later on. If the entry is dereferenced after the RCU unlock, reading info could cause a Use-after-Free. A simple solution is to copy the required info while inside the RCU protected section to avoid any risk of UaF later. The address ID might need to be modified later to handle the ID0 case later, so a copy seems OK to deal with.

Reserved 2024-08-21 | Published 2024-09-04 | Updated 2024-12-19 | Assigner Linux

Product status

Default status
unaffected

01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 before ddee5b4b6a1cc03c1e9921cf34382e094c2009f1
affected

01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 before f2c865e9e3ca44fc06b5f73b29a954775e4dbb38
affected

01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 before 2b4f46f9503633dade75cb796dd1949d0e6581a1
affected

01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 before 9a9afbbc3fbfca4975eea4aa5b18556db5a0c0b8
affected

01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 before 0201d65d9806d287a00e0ba96f0321835631f63f
affected

01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 before 48e50dcbcbaaf713d82bf2da5c16aeced94ad07d
affected

Default status
affected

5.7
affected

Any version before 5.7
unaffected

5.10.226
unaffected

5.15.167
unaffected

6.1.109
unaffected

6.6.48
unaffected

6.10.7
unaffected

6.11
unaffected

References

git.kernel.org/...c/ddee5b4b6a1cc03c1e9921cf34382e094c2009f1

git.kernel.org/...c/f2c865e9e3ca44fc06b5f73b29a954775e4dbb38

git.kernel.org/...c/2b4f46f9503633dade75cb796dd1949d0e6581a1

git.kernel.org/...c/9a9afbbc3fbfca4975eea4aa5b18556db5a0c0b8

git.kernel.org/...c/0201d65d9806d287a00e0ba96f0321835631f63f

git.kernel.org/...c/48e50dcbcbaaf713d82bf2da5c16aeced94ad07d

cve.org (CVE-2024-44974)

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

Download JSON

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

Support options

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