CVE-2025-21958: Revert "openvswitch: switch to per-action label counting in conntrack"

Published Apr 1, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Revert "openvswitch: switch to per-action label counting in conntrack"

Currently, ovsctsetlabels() is only called for confirmed conntrack entries (ct) within ovsctcommit(). However, if the conntrack entry does not have the labelsext extension, attempting to allocate it in ovsctgetconnlabels() for a confirmed entry triggers a warning in nfctextadd():

WARNON(nfctisconfirmed(ct));

This happens when the conntrack entry is created externally before OVS increments net->ct.labelsused. The issue has become more likely since commit fcb1aa5163b1 ("openvswitch: switch to per-action label counting in conntrack"), which changed to use per-action label counting and increment net->ct.labelsused when a flow with ct action is added.

Since there’s no straightforward way to fully resolve this issue at the moment, this reverts the commit to avoid breaking existing use cases.

Affected Software

10 affected components
Linux Kernel
Open vSwitch Open vSwitch
Linux Linux kernel>=6.12<6.12.20
Linux Linux kernel>=6.13<6.13.8
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3
Linux Linux kernel=6.14-rc4
Linux Linux kernel=6.14-rc5
Linux Linux kernel=6.14-rc6

Event History

Apr 1, 2025
CVE Published
via MITRE·03:46 PM
Data Sourced
via MITRE·03:46 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-21958?

CVE-2025-21958 is classified as a high-severity vulnerability affecting the Linux kernel and Open vSwitch.

2

How do I fix CVE-2025-21958?

To fix CVE-2025-21958, update your Linux kernel or Open vSwitch software to the latest patched version.

3

Which versions of Linux kernel are affected by CVE-2025-21958?

CVE-2025-21958 affects specific versions of the Linux kernel that implemented the vulnerable conntrack functionality.

4

What kind of systems are impacted by CVE-2025-21958?

Systems running vulnerable versions of the Linux kernel or Open vSwitch are at risk due to CVE-2025-21958.

5

What is the nature of the vulnerability in CVE-2025-21958?

CVE-2025-21958 is a vulnerability related to improper label counting in connection tracking within the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203