CVE-2025-21761 openvswitch: use RCU protection in ovs_vport_cmd_fill_info()
A use-after-free vulnerability in the Linux kernel's Open vSwitch module allows attackers to potentially execute code or escalate privileges.
- 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-21761?
CVE-2025-21761 is a high-severity use after free vulnerability in Linux kernel, published on 27 Feb 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:
openvswitch: use RCU protection in ovs_vport_cmd_fill_info()
ovs_vport_cmd_fill_info() can be called without RTNL or RCU.
Use RCU protection and dev_net_rcu() to avoid potential UAF.
Weakness: CWE-416
Which versions are affected by CVE-2025-21761?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21761?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-21761 being exploited?
There is no known exploitation of CVE-2025-21761 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-59058, AZL-59082, BELL-CVE-2025-21761, DEBIAN-CVE-2025-21761, GHSA-q6cq-g5qv-hwc8, ROOT-OS-UBUNTU-2404-CVE-2025-21761 and 1 more.