CVE-2026-31679
openvswitch: validate MPLS set/set_masked payload length
- State
- Published
- Severity
- 7.1 High
- Published
- Apr 25, 2026
- Updated
- Oct 19, 2026
- Reserved
- Mar 9, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.1 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | Linux |
Weaknesses
- CWE-20 Improper Input Validation
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f
- https://git.kernel.org/stable/c/4cae986225f8b8679ad86b924918e7d75a96aa61
- https://git.kernel.org/stable/c/8ed7b9930cbc3bc71f868fa79a68700ac88d586a
- https://git.kernel.org/stable/c/c1f97152df8dfb17e855ddf0fc409b7bd13e9700
- https://git.kernel.org/stable/c/98de18d327ef8cbbb704980e359e4872d8c28997
- https://git.kernel.org/stable/c/bd50c7484c3bb34097571c1334174fb8b7408036
- https://git.kernel.org/stable/c/2ca33b88a79ca42f017ae0f7011280325655438e
- https://git.kernel.org/stable/c/546b68ac893595877ffbd7751e5c55fd1c43ede6
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.