CVE
CVE-2026-31679
CNA 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 versions
All Linux kernel vulnerabilities →
- 7.0-rc5This version only
- 7.0-rc4This version only
- 7.0-rc3This version only
- 7.0-rc2This version only
- 7.0-rc1This version only
- ≥ 6.19, < 6.19.11Fixed in 6.19.11
- ≥ 6.13, < 6.18.21Fixed in 6.18.21
- ≥ 6.7, < 6.12.80Fixed in 6.12.80
- ≥ 6.2, < 6.6.131Fixed in 6.6.131
- ≥ 5.16, < 6.1.168Fixed in 6.1.168
- ≥ 5.11, < 5.15.203Fixed in 5.15.203
- ≥ 5.5, < 5.10.253Fixed in 5.10.253
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/2ca33b88a79ca42f017ae0f7011280325655438e · Patch
- git.kernel.org/stable/c/4cae986225f8b8679ad86b924918e7d75a96aa61 · Patch
- git.kernel.org/stable/c/546b68ac893595877ffbd7751e5c55fd1c43ede6 · Patch
- git.kernel.org/stable/c/68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f · Patch
- git.kernel.org/stable/c/8ed7b9930cbc3bc71f868fa79a68700ac88d586a · Patch
- git.kernel.org/stable/c/98de18d327ef8cbbb704980e359e4872d8c28997 · Patch
- git.kernel.org/stable/c/bd50c7484c3bb34097571c1334174fb8b7408036 · Patch
- git.kernel.org/stable/c/c1f97152df8dfb17e855ddf0fc409b7bd13e9700 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.