ipvs: fix integer overflow in ftp helper port/address parsing (Linux Linux)

CVE-2026-90141
HIGH 7.3

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: ipvs: fix integer overflow in ftp helper port/address parsing ip_vs_ftp_get_addrport() accumulates decimal digits into a __u16 (hport) and into unsigned char (p[]) without checking for overflow. A crafted FTP PASV/EPSV response with an over-long port or address octet wraps the value, so the helper configures the data connection with a truncated port/address. The netfilter conntrack FTP helper had the same defect, fixed in commit 2b413fc689ba ("netfilter: nf_conntrack_ftp: avoid u16 overflows"). Apply the equivalent fix here: widen the port accumulator to u32 and reject values above 65535, and reject address octets above 255.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LLinux
CVSS 3.1HIGH 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d02de9a7a7e2484da0cf37e50614840623b98a62 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fc1493c905d7e0bc8830c1d83915cb7831daf1a1 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 50cb9b7263a2ed01f7d2f97818a800c2ee05f661 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < deaa88fa010ba0dfc554d09e006ddd1ce9945c82 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 00bcc6d679262ea42688fba1d7819ea6e56f12ef ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4aed450adaee3a021db27be94c61fe025b0d05ff
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

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