mptcp: pm: avoid possible UaF when selecting endp (Linux Linux)

CVE-2024-44974
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.27 % · centile 20 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 < ddee5b4b6a1cc03c1e9921cf34382e094c2009f1 ; affected 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 < f2c865e9e3ca44fc06b5f73b29a954775e4dbb38 ; affected 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 < 2b4f46f9503633dade75cb796dd1949d0e6581a1 ; affected 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 < 9a9afbbc3fbfca4975eea4aa5b18556db5a0c0b8 ; affected 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 < 0201d65d9806d287a00e0ba96f0321835631f63f ; affected 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 < 48e50dcbcbaaf713d82bf2da5c16aeced94ad07d
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.226 ≤ 5.10.* ; unaffected 5.15.167 ≤ 5.15.* ; unaffected 6.1.109 ≤ 6.1.* ; unaffected 6.6.48 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD