CVE-2026-31679
kernel: openvswitch: validate MPLS set/set_masked payload length
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 25, 2026
Updated · July 3, 2026
Description
A flaw was found in the Linux kernel's openvswitch component. This vulnerability arises from improper validation of Multiprotocol Label Switching (MPLS) payload lengths during SET/SET_MASKED actions. An attacker could potentially exploit this by providing malformed MPLS key data, leading to unexpected behavior or a denial of service (DoS) condition within the kernel.
Statement
OVS MPLS set/masked actions now validate payload lengths before memcpy, closing OOB setup paths. Red Hat advises OVS dataplane deployments to patch promptly.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the openvswitch module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-1284 · Improper Validation of Specified Quantity in Input