CVE-2026-31679

Source
https://cve.org/CVERecord?id=CVE-2026-31679
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31679.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-31679
Downstream
Published
2026-04-25T08:46:55.584Z
Modified
2026-04-26T04:22:21.947798Z
Summary
openvswitch: validate MPLS set/set_masked payload length
Details

In the Linux kernel, the following vulnerability has been resolved:

openvswitch: validate MPLS set/set_masked payload length

validateset() accepted OVSKEYATTRMPLS as variable-sized payload for SET/SETMASKED actions. In action handling, OVS expects fixed-size MPLS key data (struct ovskey_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31679.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3
Fixed
68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f
Fixed
4cae986225f8b8679ad86b924918e7d75a96aa61
Fixed
8ed7b9930cbc3bc71f868fa79a68700ac88d586a
Fixed
c1f97152df8dfb17e855ddf0fc409b7bd13e9700
Fixed
98de18d327ef8cbbb704980e359e4872d8c28997
Fixed
bd50c7484c3bb34097571c1334174fb8b7408036
Fixed
2ca33b88a79ca42f017ae0f7011280325655438e
Fixed
546b68ac893595877ffbd7751e5c55fd1c43ede6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31679.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.253
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.203
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.168
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.131
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.80
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.21
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.11

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31679.json"