mptcp: fix data re-injection from stale subflow
In the Linux kernel, the following vulnerability has been resolved: mptcp: fix data re-injection from stale subflow When the MPTCP PM detects that a subflow is stale, all the packet scheduler must re-inject all the mptcp-level unacked data. To avoid acquiring unneeded locks, it first try to check if any unacked data is present at all in the RTX queue, but such check is currently broken, as it uses TCP-specific helper on an MPTCP socket. Funnily enough fuzzers and static checkers are happy, as the accessed memory still belongs to the mptcp_sock struct, and even from a functional perspective the recovery completed successfully, as the short-cut test always failed. A recent unrelated TCP change - commit d5fed5addb2b ("tcp: reorganize tcp_sock fast path variables") - exposed the issue, as the tcp field reorganization makes the mptcp code always skip the re-inection. Fix the issue dropping the bogus call: we are on a slow path, the early optimization proved once again to be evil.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.149, 6.1.79, 6.6.18, 6.7.6
- CVEs
- CVE-2024-26826
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 06:52 UTC · Revision 1
Source evidence
mptcp: fix data re-injection from stale subflow
core-osv · Original sourcePublished 17 Apr 2024, 09:43 UTC
In the Linux kernel, the following vulnerability has been resolved: mptcp: fix data re-injection from stale subflow When the MPTCP PM detects that a subflow is stale, all the packet scheduler must re-inject all the mptcp-level unacked data. To avoid acquiring unneeded locks, it first try to check if any unacked data is present at all in the RTX queue, but such check is currently broken, as it uses TCP-specific helper on an MPTCP socket. Funnily enough fuzzers and static checkers are happy, as the accessed memory still belongs to the mptcp_sock struct, and even from a functional perspective the recovery completed successfully, as the short-cut test always failed. A recent unrelated TCP change - commit d5fed5addb2b ("tcp: reorganize tcp_sock fast path variables") - exposed the issue, as the tcp field reorganization makes the mptcp code always skip the re-inection. Fix the issue dropping the bogus call: we are on a slow path, the early optimization proved once again to be evil.
osv:CVE-2024-26826
Kernel
Fixed versions: 5.15.149, 6.1.79, 6.6.18, 6.7.6
Complete source record
{
"id": "95a913a6cf14bac3a9eb0457c0e97159b9928464eebbb1c158be2e331bf038ec",
"url": "https://osv.dev/vulnerability/CVE-2024-26826",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "mptcp: fix data re-injection from stale subflow",
"summary": "In the Linux kernel, the following vulnerability has been resolved: mptcp: fix data re-injection from stale subflow When the MPTCP PM detects that a subflow is stale, all the packet scheduler must re-inject all the mptcp-level unacked data. To avoid acquiring unneeded locks, it first try to check if any unacked data is present at all in the RTX queue, but such check is currently broken, as it uses TCP-specific helper on an MPTCP socket. Funnily enough fuzzers and static checkers are happy, as the accessed memory still belongs to the mptcp_sock struct, and even from a functional perspective the recovery completed successfully, as the short-cut test always failed. A recent unrelated TCP change - commit d5fed5addb2b (\"tcp: reorganize tcp_sock fast path variables\") - exposed the issue, as the tcp field reorganization makes the mptcp code always skip the re-inection. Fix the issue dropping the bogus call: we are on a slow path, the early optimization proved once again to be evil.",
"evidence": "osv:CVE-2024-26826",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.149",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.79",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.18",
"evidence": "/affected/1/ranges"
},
{
"value": "6.7.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-26826",
"aliases": [
"CVE-2024-26826"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "1e1d9d6f119c55c05e8ea78ed3e49046690abffd"
},
{
"fixed": "6f95120f898b40d13fd441225ef511307853c9c2"
},
{
"fixed": "6673d9f1c2cd984390550dbdf7d5ae07b20abbf8"
},
{
"fixed": "b609c783c535493aa3fca22c7e40a120370b1ca5"
},
{
"fixed": "624902eab7abcb8731b333ec73f206d38d839cd8"
},
{
"fixed": "b6c620dc43ccb4e802894e54b651cf81495e9598"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26826.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.15.0"
},
{
"fixed": "5.15.149"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.79"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.18"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.7.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26826.json"
}
}
],
"modified": "2026-10-28T02:30:26.676054257Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/624902eab7abcb8731b333ec73f206d38d839cd8",
"https://git.kernel.org/stable/c/6673d9f1c2cd984390550dbdf7d5ae07b20abbf8",
"https://git.kernel.org/stable/c/6f95120f898b40d13fd441225ef511307853c9c2",
"https://git.kernel.org/stable/c/b609c783c535493aa3fca22c7e40a120370b1ca5",
"https://git.kernel.org/stable/c/b6c620dc43ccb4e802894e54b651cf81495e9598",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26826.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-26826",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26826.json"
}
},
"related_cves": [
{
"value": "CVE-2024-26826",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493144,
"published_at": "2024-04-17T09:43:51.741+00:00"
}