Linux Kernel Open vSwitch Negative Interface Index Vulnerability

Vulnerability

A vulnerability in the Linux kernel's Open vSwitch (OVS) component allows the creation of network devices with negative interface index values. This issue arises because OVS does not properly validate interface index inputs. Recent changes in the kernel's net-next branch refactored how pre-assigned interface indexes are handled, exposing this latent problem. The vulnerability can be reproduced using the YNL tool by specifying a negative interface index value when creating a new virtual port.

Impact

Exploitation of this vulnerability could lead to the creation of network devices with invalid negative interface indexes, potentially causing unexpected behavior in network management and operations.

Reproduction

The vulnerability can be reproduced by using the YNL tool to create a new Open vSwitch datapath and then adding a virtual port with a negative interface index value. This process involves sending specific JSON payloads that include the negative index value, which OVS will accept due to the lack of validation.

Remediation

Users can update to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for updating the kernel can be found in the official Linux documentation.

Added: Dec 9, 2025, 9:31 PM
Updated: Dec 9, 2025, 9:31 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
1.4
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.