mptcp: pm: only decrement add_addr_accepted for MPJ req (Linux Linux)

CVE-2024-45009
HIGH 8.2

En bref

Source
NVD
EPSS
EPSS 0.52 % · centile 44 ()
É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: only decrement add_addr_accepted for MPJ req Adding the following warning ... WARN_ON_ONCE(msk->pm.add_addr_accepted == 0) ... before decrementing the add_addr_accepted counter helped to find a bug when running the "remove single subflow" subtest from the mptcp_join.sh selftest. Removing a 'subflow' endpoint will first trigger a RM_ADDR, then the subflow closure. Before this patch, and upon the reception of the RM_ADDR, the other peer will then try to decrement this add_addr_accepted. That's not correct because the attached subflows have not been created upon the reception of an ADD_ADDR. A way to solve that is to decrement the counter only if the attached subflow was an MP_JOIN to a remote id that was not 0, and initiated by the host receiving the RM_ADDR.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HLinux
CVSS 3.1HIGH 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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 d0876b2284cf8b34dd214b2d0aa21071c345da59 < 35b31f5549ede4070566b949781e83495906b43d ; affected d0876b2284cf8b34dd214b2d0aa21071c345da59 < 85b866e4c4e63a1d7afb58f1e24273caad03d0b7 ; affected d0876b2284cf8b34dd214b2d0aa21071c345da59 < d20bf2c96d7ffd171299b32f562f70e5bf5dc608 ; affected d0876b2284cf8b34dd214b2d0aa21071c345da59 < 2060f1efab370b496c4903b840844ecaff324c3c ; affected d0876b2284cf8b34dd214b2d0aa21071c345da59 < 1c1f721375989579e46741f59523e39ec9b2a9bd
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.15.167 ≤ 5.15.* ; unaffected 6.1.107 ≤ 6.1.* ; unaffected 6.6.48 ≤ 6.6.* ; unaffected 6.10.7 ≤ 6.10.*

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