tcp: clamp route advmss to TCP_MIN_MSS (Linux Linux)

CVE-2026-80847
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: tcp: clamp route advmss to TCP_MIN_MSS tcp_select_initial_window() assumes that callers never pass an MSS smaller than 1, but route-derived advmss values can violate that assumption. A too-small explicit RTAX_ADVMSS is one way to get there, but it is not the only one. The same divide-by-zero can also be reached through the "default advmss" path when RTAX_ADVMSS is left at 0 and the effective advmss is later driven down by route MTU and min_adv_mss. Introduce a tcp_dst_advmss() helper that clamps route advmss to TCP_MIN_MSS before TCP consumes it, and use it in the TCP paths that derive advmss from dst metrics. This keeps the effective MSS from dropping to zero before tcp_select_initial_window() rounds the receive window.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1aedef9ca04aad427a077c7c427ffd89768038bc ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 788fbbf7d61f9742298417c207c91b6db159fbbc ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < eaf4af9bd6975c2eff8d48820937c83032d968dc ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cfb44c6028e6f979720315e0772bbd0d4d33ed61 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6b8c20bf61924dfc38fefb145c9f7406d73fae53 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 31cf2349361902769dc323e4dbf4b449795ec288
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.111 ≤ 6.12.* ; unaffected 6.18.51 ≤ 6.18.*

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