mptcp: cope racing subflow creation in mptcp_rcv_space_adjust
In the Linux kernel, the following vulnerability has been resolved: mptcp: cope racing subflow creation in mptcp_rcv_space_adjust Additional active subflows - i.e. created by the in kernel path manager - are included into the subflow list before starting the 3whs. A racing recvmsg() spooling data received on an already established subflow would unconditionally call tcp_cleanup_rbuf() on all the current subflows, potentially hitting a divide by zero error on the newly created ones. Explicitly check that the subflow is in a suitable state before invoking tcp_cleanup_rbuf().
CVE-2024-53122
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2024-53122
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "c76c6956566f974bac2470bd72fc22fb923e04a1",
"lessThan": "0a9a182ea5c7bb0374e527130fd85024ace7279b",
"versionType": "git"
},
{
"status": "affected",
"version": "c76c6956566f974bac2470bd72fc22fb923e04a1",
"lessThan": "24995851d58c4a205ad0ffa7b2f21e479a9c8527",
"versionType": "git"
},
{
"status": "affected",
"version": "c76c6956566f974bac2470bd72fc22fb923e04a1",
"lessThan": "ff825ab2f455299c0c7287550915a8878e2a66e0",
"versionType": "git"
},
{
"status": "affected",
"version": "c76c6956566f974bac2470bd72fc22fb923e04a1",
"lessThan": "aad6412c63baa39dd813e81f16a14d976b3de2e8",
"versionType": "git"
},
{
"status": "affected",
"version": "c76c6956566f974bac2470bd72fc22fb923e04a1",
"lessThan": "ce7356ae35943cc6494cc692e62d51a734062b7d",
"versionType": "git"
}
],
"programFiles": [
"net/mptcp/protocol.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.10"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.10",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.15.174",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.119",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.63",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.11.10",
"versionType": "semver",
"lessThanOrEqual": "6.11.*"
},
{
"status": "unaffected",
"version": "6.12",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/mptcp/protocol.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2024-53122
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #30385 · Revision 1
- Added to Heist Feed
- Publisher date