CVE-2025-37789 net: openvswitch: fix nested key length validation in the set() action

High 7.8 Published Updated

A missing length check in the Linux kernel's Open vSwitch module can lead to a null pointer dereference and system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-37789?

CVE-2025-37789 is a high-severity vulnerability in Debian Debian Linux, published on 1 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2025-37789?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-37789?

Apply the vendor's patch.

Is CVE-2025-37789 being exploited?

There is no known exploitation of CVE-2025-37789 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-37789, DEBIAN-CVE-2025-37789, GHSA-f3p5-h83r-f8vf, ROOT-OS-DEBIAN-12-CVE-2025-37789, ROOT-OS-UBUNTU-2204-CVE-2025-37789, ROOT-OS-UBUNTU-2404-CVE-2025-37789 and 1 more.

Is CVE-2025-37789 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free