Critical Vulnerability in Linux Kernel: Open vSwitch Conntrack Label Handling

linux Updated 02 Oct 2025

Summary

01/04/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-21958: In the Linux kernel, the following vulnerability has been resolved: Revert "openvswitch: switch to per-action label counting in conntrack" Currently, ovs_ct_set_labels() is only called for confirmed conntrack entries (ct... Affects linux versions < 6.12.20-1. Fixed in 6.12.20-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It supports a wide range of functionalities, including process management, memory management, and networking. The Open vSwitch (OVS) is a multilayer virtual switch designed to enable network automation while supporting standard management interfaces and protocols. This vulnerability specifically affects the conntrack label handling within OVS, which is crucial for tracking network connections.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified related to the Open vSwitch (OVS) conntrack label handling. The issue arises when the function ovs_ct_set_labels() is called for confirmed conntrack entries that lack the labels_ext extension. This situation triggers a warning in nf_ct_ext_add() due to the attempt to allocate labels for a conntrack entry created externally. The problem has been exacerbated by a previous commit that altered the label counting mechanism, leading to potential instability and warnings in the kernel. If left unaddressed, this vulnerability could disrupt network operations and impact applications relying on OVS for connection tracking.

How To Fix

Minimum fixed version

6.12.20-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there is no straightforward workaround to fully resolve this issue. However, reverting the specific commit that introduced the problem can help avoid breaking existing use cases. This can be done by applying a patch that reverts the changes made in commit fcb1aa5163b1.

Conclusion

In summary, a critical vulnerability has been identified in the Linux kernel related to Open vSwitch conntrack label handling. Users are advised to update their systems to the patched version to mitigate potential risks. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves improper handling of conntrack labels in Open vSwitch, leading to warnings and potential instability.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without signup.

Failure to address this vulnerability may lead to network disruptions and instability in applications relying on Open vSwitch for connection tracking.

Yes, a patched version of the Linux kernel (6.12.20-1) is available. Updating to this version will resolve the vulnerability.

Open vSwitch is a multilayer virtual switch designed to enable network automation and support standard management interfaces and protocols.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.20-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback