Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-44974
HistorySep 04, 2024 - 7:54 p.m.

CVE-2024-44974 mptcp: pm: avoid possible UaF when selecting endp

2024-09-0419:54:26
Linux
github.com
2
linux kernel
vulnerability
cve-2024-44974
mptcp
use-after-free
endpoint
rcu protection

AI Score

7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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.

AI Score

7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-44974