CVE-2024-41007
tcp: avoid too many retransmit packets
Check your servers for CVE-2024-41007
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-41007 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.78%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 57.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b701a99e431db784714c32fc6b68123045714679, before 7bb7670f92bfbd05fc41a8f9a8f358b7ffed65f4 affected from b701a99e431db784714c32fc6b68123045714679, before d2346fca5bed130dc712f276ac63450201d52969 affected from b701a99e431db784714c32fc6b68123045714679, before 5d7e64d70a11d988553a08239c810a658e841982 affected from b701a99e431db784714c32fc6b68123045714679, before 04317a2471c2f637b4c49cbd0e9c0d04a519f570 affected from b701a99e431db784714c32fc6b68123045714679, before e113cddefa27bbf5a79f72387b8fbd432a61a466 affected from b701a99e431db784714c32fc6b68123045714679, before dfcdd7f89e401d2c6616be90c76c2fac3fa98fde affected from b701a99e431db784714c32fc6b68123045714679, before 66cb64a1d2239cd0309f9b5038b05462570a5be1 affected from b701a99e431db784714c32fc6b68123045714679, before 97a9063518f198ec0adb2ecb89789de342bb8283
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 4.19.318 up to and including 4.19.* unaffected from 5.4.280 up to and including 5.4.* unaffected from 5.10.222 up to and including 5.10.* unaffected from 5.15.163 up to and including 5.15.* unaffected from 6.1.100 up to and including 6.1.* unaffected from 6.6.41 up to and including 6.6.* unaffected from 6.9.10 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-41007 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-41007
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-41007
trivy image --scanners vuln IMAGE | grep CVE-2024-41007
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7bb7670f92bfbd05fc41a8f9a8f358b7ffed65f4 git.kernel.org
- https://git.kernel.org/stable/c/d2346fca5bed130dc712f276ac63450201d52969 git.kernel.org
- https://git.kernel.org/stable/c/5d7e64d70a11d988553a08239c810a658e841982 git.kernel.org
- https://git.kernel.org/stable/c/04317a2471c2f637b4c49cbd0e9c0d04a519f570 git.kernel.org
- https://git.kernel.org/stable/c/e113cddefa27bbf5a79f72387b8fbd432a61a466 git.kernel.org
- https://git.kernel.org/stable/c/dfcdd7f89e401d2c6616be90c76c2fac3fa98fde git.kernel.org
- https://git.kernel.org/stable/c/66cb64a1d2239cd0309f9b5038b05462570a5be1 git.kernel.org
- https://git.kernel.org/stable/c/97a9063518f198ec0adb2ecb89789de342bb8283 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-41007 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse