CVE-2024-45009

CVE-2024-45009

High · published September 11, 2024

CVSS v3.1
8.2
EPSS
1%
Percentile
43.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00523 · 43.5th percentile
Published
2024-09-11T20:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 5.10, < 5.15.1675.15.167
linux/linux_kernel≥ 5.16, < 6.1.1076.1.107
linux/linux_kernel≥ 6.2, < 6.6.486.6.48
linux/linux_kernel≥ 6.7, < 6.10.76.10.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 11 SEP 15:13Z
    mptcp: pm: only decrement add_addr_accepted for MPJ req
    cvelistv5