{"id":"CVE-2026-31679","summary":"openvswitch: validate MPLS set/set_masked payload length","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenvswitch: validate MPLS set/set_masked payload length\n\nvalidate_set() accepted OVS_KEY_ATTR_MPLS as variable-sized payload for\nSET/SET_MASKED actions. In action handling, OVS expects fixed-size\nMPLS key data (struct ovs_key_mpls).\n\nUse the already normalized key_len (masked case included) and reject\nnon-matching MPLS action key sizes.\n\nReject invalid MPLS action payload lengths early.","modified":"2026-04-26T04:22:21.947798Z","published":"2026-04-25T08:46:55.584Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31679.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2ca33b88a79ca42f017ae0f7011280325655438e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4cae986225f8b8679ad86b924918e7d75a96aa61"},{"type":"WEB","url":"https://git.kernel.org/stable/c/546b68ac893595877ffbd7751e5c55fd1c43ede6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68f32ef0683c8d1c05cd2e4f16818fa63ff59c6f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ed7b9930cbc3bc71f868fa79a68700ac88d586a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98de18d327ef8cbbb704980e359e4872d8c28997"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd50c7484c3bb34097571c1334174fb8b7408036"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c1f97152df8dfb17e855ddf0fc409b7bd13e9700"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31679.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31679"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}