CVE-2024-41007

tcp: avoid too many retransmit packets

HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.77 % · percentile 56 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1LOW 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected b701a99e431db784714c32fc6b68123045714679 < 7bb7670f92bfbd05fc41a8f9a8f358b7ffed65f4 ; affected b701a99e431db784714c32fc6b68123045714679 < d2346fca5bed130dc712f276ac63450201d52969 ; affected b701a99e431db784714c32fc6b68123045714679 < 5d7e64d70a11d988553a08239c810a658e841982 ; affected b701a99e431db784714c32fc6b68123045714679 < 04317a2471c2f637b4c49cbd0e9c0d04a519f570 ; affected b701a99e431db784714c32fc6b68123045714679 < e113cddefa27bbf5a79f72387b8fbd432a61a466 ; affected b701a99e431db784714c32fc6b68123045714679 < dfcdd7f89e401d2c6616be90c76c2fac3fa98fde
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 4.19.318 ≤ 4.19.* ; unaffected 5.4.280 ≤ 5.4.* ; unaffected 5.10.222 ≤ 5.10.* ; unaffected 5.15.163 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD