Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.237, 5.15.181, 5.4.293, 6.1.135, 6.12.25, 6.14.4, 6.6.88
CVEs
CVE-2025-37789
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:15 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 1 May 2025, 13:07 UTC

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.

osv:CVE-2025-37789

Kernel

Fixed versions: 5.4.293, 5.10.237, 5.15.181, 6.1.135, 6.6.88, 6.12.25, 6.14.4

Complete source record
{
  "id": "8f897601638097d93803fe5bb8ef5bb521009f3939409a77732f52b8a777c42c",
  "url": "https://osv.dev/vulnerability/CVE-2025-37789",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: openvswitch: fix nested key length validation in the set() action",
    "summary": "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.",
    "evidence": "osv:CVE-2025-37789",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.293",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.237",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.181",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.135",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.88",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.25",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.14.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-37789",
      "aliases": [
        "CVE-2025-37789"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ccb1352e76cff0524e7ccb2074826a092dd13016"
                },
                {
                  "fixed": "54c6957d1123a2032099b9eab51c314800f677ce"
                },
                {
                  "fixed": "7fcaec0b2ab8fa5fbf0b45e5512364a168f445bd"
                },
                {
                  "fixed": "a27526e6b48eee9e2d82efff502c4f272f1a91d4"
                },
                {
                  "fixed": "1489c195c8eecd262aa6712761ba5288203e28ec"
                },
                {
                  "fixed": "824a7c2df5127b2402b68a21a265d413e78dcad7"
                },
                {
                  "fixed": "be80768d4f3b6fd13f421451cc3fee8778aba8bc"
                },
                {
                  "fixed": "03d7262dd53e8c404da35cc81aaa887fd901f76b"
                },
                {
                  "fixed": "65d91192aa66f05710cfddf6a14b5a25ee554dba"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37789.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.3.0"
                },
                {
                  "fixed": "5.4.293"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.237"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.181"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.135"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.88"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.25"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.14.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37789.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.591781100Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/03d7262dd53e8c404da35cc81aaa887fd901f76b",
        "https://git.kernel.org/stable/c/1489c195c8eecd262aa6712761ba5288203e28ec",
        "https://git.kernel.org/stable/c/54c6957d1123a2032099b9eab51c314800f677ce",
        "https://git.kernel.org/stable/c/65d91192aa66f05710cfddf6a14b5a25ee554dba",
        "https://git.kernel.org/stable/c/7fcaec0b2ab8fa5fbf0b45e5512364a168f445bd",
        "https://git.kernel.org/stable/c/824a7c2df5127b2402b68a21a265d413e78dcad7",
        "https://git.kernel.org/stable/c/a27526e6b48eee9e2d82efff502c4f272f1a91d4",
        "https://git.kernel.org/stable/c/be80768d4f3b6fd13f421451cc3fee8778aba8bc",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37789.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-37789",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37789.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-37789",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504572,
  "published_at": "2025-05-01T13:07:22.809+00:00"
}