CVE-2026-31679
JSON

7.1high

openvswitch: validate MPLS set/set_masked payload length

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: openvswitch: validate MPLS set/set_masked payload length validate_set() accepted OVS_KEY_ATTR_MPLS as variable-sized payload for SET/SET_MASKED actions. In action handling, OVS expects fixed-size MPLS key data (struct ovs_key_mpls). Use the already normalized key_len (masked case included) and reject non-matching MPLS action key sizes. Reject invalid MPLS action payload lengths early.

Affected

Product or packageVersionsReported by
Linux Linuxfrom fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f, from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 4cae986225f8b8679ad86b924918e7d75a96aa61, from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 8ed7b9930cbc3bc71f868fa79a68700ac88d586a, from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before c1f97152df8dfb17e855ddf0fc409b7bd13e9700, from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 98de18d327ef8cbbb704980e359e4872d8c28997, from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before bd50c7484c3bb34097571c1334174fb8b7408036, from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 2ca33b88a79ca42f017ae0f7011280325655438e, from fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 before 546b68ac893595877ffbd7751e5c55fd1c43ede6 and 1 more
Not affected: before 5.5, from 5.10.253 up to 5.10.*, from 5.15.203 up to 5.15.*, from 6.1.168 up to 6.1.*, from 6.6.131 up to 6.6.*, from 6.12.80 up to 6.12.*
CVE List
linux linux_kernelfrom 5.5 before 5.10.253, from 5.11 before 5.15.203, from 5.16 before 6.1.168, from 6.2 before 6.6.131, from 6.7 before 6.12.80, from 6.13 before 6.18.21, from 6.19 before 6.19.11, 7.0NVD

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: openvswitch: validate MPLS set/set_masked payload length validate_set() accepted OVS_KEY_ATTR_MPLS as variable-sized payload for SET/SET_MASKED actions. In action handling, OVS expects fixed-size MPLS key data (struct ovs_key_mpls). Use the already normalized key_len (masked case included) and reject non-matching MPLS action key sizes. Reject invalid MPLS action payload lengths early.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: openvswitch: validar la longitud de la carga útil MPLS set/set_masked validate_set() aceptaba OVS_KEY_ATTR_MPLS como carga útil de tamaño variable para las acciones SET/SET_MASKED. En el manejo de acciones, OVS espera datos de clave MPLS de tamaño fijo (estructura ovs_key_mpls). Usar la key_len ya normalizada (caso enmascarado incluido) y rechazar los tamaños de clave de acción MPLS que no coincidan. Rechazar las longitudes de carga útil de acción MPLS no válidas temprano.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31679 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-31679 changed 2026-11-11Public domain