CVE-2024-41007
tcp: avoid too many retransmit packets
Reported by linux · Published July 15, 2024
In the Linux kernel, the following vulnerability has been resolved: tcp: avoid too many retransmit packets If a TCP socket is using TCP_USER_TIMEOUT, and the other peer retracted its window to zero, tcp_retransmit_timer() can retransmit a packet every two jiffies (2 ms for HZ=1000), for about 4 minutes after TCP_USER_TIMEOUT has 'expired'. The fix is to make sure tcp_rtx_probe0_timed_out() takes icsk->icsk_user_timeout into account. Before blamed commit, the socket would not timeout after icsk->icsk_user_timeout, but would use standard exponential backoff for the retransmits. Also worth noting that before commit e89688e3e978 ("net: tcp: fix unexcepted socket die when snd_wnd is 0"), the issue would last 2 minutes instead of 4.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-livepatch-6.1.102-108.177 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.102-108.177.amzn2023 |
| perf | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.102-108.177.amzn2023 |
| bpftool | Amazon Linux | 6.1.102-108.177.amzn2023 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b701a99e431db784714c32fc6b68123045714679, b701a99e431db784714c32fc6b68123045714679, b701a99e431db784714c32fc6b68123045714679 |
| Linux | Linux | 4.19, 0, 4.19.318 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-livepatch-6.1.102-108.177 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| Linux | Linux | *, 5.4.280, 5.10.222 |
| amazon:2023 | python3-perf | 0 |
| linux | linux_kernel | 4.19, 4.19, 4.19 |
Timeline
- Jul 14, 2024 CVE Published
- Jul 16, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- Jan 7, 2026 Security Advisory (293 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (196 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-41007
vulnetix vdb fixes CVE-2024-41007
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-41007/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart