Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-40297

7.8 · HIGH
Published Dec 8, 2025 EPSS 0.16% (5th pctl)

Overview

CVE-2025-40297 is a high-severity vulnerability. It was published on December 8, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

net: bridge: fix use-after-free due to MST port state bypass

syzbot reported[1] a use-after-free when deleting an expired fdb. It is

due to a race condition between learning still happening and a port being

deleted, after all its fdbs have been flushed. The port's state has been

toggled to disabled so no learning should happen at that time, but if we

have MST enabled, it will bypass the port's state, that together with VLAN

filtering disabled can lead to fdb learning at a time when it shouldn't

happen while the port is being deleted. VLAN filtering must be disabled

because we flush the port VLANs when it's being deleted which will stop

learning. This fix adds a check for the port's vlan group which is

initialized to NULL when the port is getting deleted, that avoids the port

state bypass. When MST is enabled there would be a minimal new overhead

in the fast-path because the port's vlan group pointer is cache-hot.

[1

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently Asked Questions

What is CVE-2025-40297?

CVE-2025-40297 is a high-severity vulnerability. It was published on December 8, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-40297?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-40297?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40297?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40297 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.