CVE-2025-37789
JSON

7.8high

net: openvswitch: fix nested key length validation in the set() action

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: fix nested key length validation in the set() action It's not safe to access nla_len(ovs_key) if the data is smaller than the netlink header. Check that the attribute is OK first.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ccb1352e76cff0524e7ccb2074826a092dd13016 before 54c6957d1123a2032099b9eab51c314800f677ce, from ccb1352e76cff0524e7ccb2074826a092dd13016 before 7fcaec0b2ab8fa5fbf0b45e5512364a168f445bd, from ccb1352e76cff0524e7ccb2074826a092dd13016 before a27526e6b48eee9e2d82efff502c4f272f1a91d4, from ccb1352e76cff0524e7ccb2074826a092dd13016 before 1489c195c8eecd262aa6712761ba5288203e28ec, from ccb1352e76cff0524e7ccb2074826a092dd13016 before 824a7c2df5127b2402b68a21a265d413e78dcad7, from ccb1352e76cff0524e7ccb2074826a092dd13016 before be80768d4f3b6fd13f421451cc3fee8778aba8bc, from ccb1352e76cff0524e7ccb2074826a092dd13016 before 03d7262dd53e8c404da35cc81aaa887fd901f76b, from ccb1352e76cff0524e7ccb2074826a092dd13016 before 65d91192aa66f05710cfddf6a14b5a25ee554dba and 1 more
Not affected: before 3.3, from 5.4.293 up to 5.4.*, from 5.10.237 up to 5.10.*, from 5.15.181 up to 5.15.*, from 6.1.135 up to 6.1.*, from 6.6.88 up to 6.6.*
CVE List
linux linux_kernelfrom 3.3 before 5.4.293, from 5.5 before 5.10.237, from 5.11 before 5.15.181, from 5.16 before 6.1.135, from 6.2 before 6.6.88, from 6.7 before 6.12.25, from 6.13 before 6.14.4, 6.15NVD
debian debian_linux11.0NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: fix nested key length validation in the set() action It's not safe to access nla_len(ovs_key) if the data is smaller than the netlink header. Check that the attribute is OK first.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: openvswitch: corrección de la validación de la longitud de la clave anidada en la acción set(). No es seguro acceder a nla_len(ovs_key) si los datos son menores que el encabezado netlink. Compruebe primero que el atributo esté correcto.

References

https://git.kernel.org/stable/c/54c6957d1123a2032099b9eab51c314800f677cepatch
https://git.kernel.org/stable/c/7fcaec0b2ab8fa5fbf0b45e5512364a168f445bdpatch
https://git.kernel.org/stable/c/a27526e6b48eee9e2d82efff502c4f272f1a91d4patch
https://git.kernel.org/stable/c/1489c195c8eecd262aa6712761ba5288203e28ecpatch
https://git.kernel.org/stable/c/824a7c2df5127b2402b68a21a265d413e78dcad7patch
https://git.kernel.org/stable/c/be80768d4f3b6fd13f421451cc3fee8778aba8bcpatch
https://git.kernel.org/stable/c/03d7262dd53e8c404da35cc81aaa887fd901f76bpatch
https://git.kernel.org/stable/c/65d91192aa66f05710cfddf6a14b5a25ee554dbapatch
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.htmlmailing-list, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-37789 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-37789 changed 2026-07-30Public domain