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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to < ddee5b4b6a1cc03c1e9921cf34382e094c2009f1affected01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to < f2c865e9e3ca44fc06b5f73b29a954775e4dbb38affected01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to < 2b4f46f9503633dade75cb796dd1949d0e6581a1affected01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to < 9a9afbbc3fbfca4975eea4aa5b18556db5a0c0b8affected01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to < 0201d65d9806d287a00e0ba96f0321835631f63faffected01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to < 48e50dcbcbaaf713d82bf2da5c16aeced94ad07daffected
Linux Linux
Default version status: affected
5.7affected0 to < 5.7unaffected5.10.226 to ≤ 5.10.*unaffected5.15.167 to ≤ 5.15.*unaffected6.1.109 to ≤ 6.1.*unaffected6.6.48 to ≤ 6.6.*unaffected6.10.7 to ≤ 6.10.*unaffected6.11 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/ddee5b4b6a1cc03c1e9921cf34382e094c2009f1 ↗
- https://git.kernel.org/stable/c/f2c865e9e3ca44fc06b5f73b29a954775e4dbb38 ↗
- https://git.kernel.org/stable/c/2b4f46f9503633dade75cb796dd1949d0e6581a1 ↗
- https://git.kernel.org/stable/c/9a9afbbc3fbfca4975eea4aa5b18556db5a0c0b8 ↗
- https://git.kernel.org/stable/c/0201d65d9806d287a00e0ba96f0321835631f63f ↗
- https://git.kernel.org/stable/c/48e50dcbcbaaf713d82bf2da5c16aeced94ad07d ↗
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html ↗
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html ↗