CVE-2024-44974

mptcp: pm: avoid possible UaF when selecting endp

State
Published
Severity
7.8 High
Published
Sep 4, 2024
Updated
Aug 5, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to before ddee5b4b6a1cc03c1e9921cf34382e094c2009f1Affected
  • 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to before f2c865e9e3ca44fc06b5f73b29a954775e4dbb38Affected
  • 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to before 2b4f46f9503633dade75cb796dd1949d0e6581a1Affected
  • 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to before 9a9afbbc3fbfca4975eea4aa5b18556db5a0c0b8Affected
  • 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to before 0201d65d9806d287a00e0ba96f0321835631f63fAffected
  • 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 to before 48e50dcbcbaaf713d82bf2da5c16aeced94ad07dAffected
LinuxLinux
  • 5.7Affected
  • before 5.7Not affected
  • 5.10.226 through 5.10.*Not affected
  • 5.15.167 through 5.15.*Not affected
  • 6.1.109 through 6.1.*Not affected
  • 6.6.48 through 6.6.*Not affected
  • 6.10.7 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.