Skip to main content

Linux Kernel EUVDEUVD-2025-201647

| CVE-2025-40297 HIGH
2025-12-08 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local CAP_NET_ADMIN on bridge host
  2. Delivery
    Enable MST with VLAN filtering off
  3. Exploit
    Drive traffic to trigger FDB learning
  4. Install
    Concurrently delete the bridge port
  5. C2
    Race learning against port teardown
  6. Execute
    Trigger use-after-free on expired FDB
  7. Impact
    Kernel memory corruption / privilege escalation

Vulnerability Assessment

Exploitation Conditions

Requires the Linux software bridge to have MST (Multiple Spanning Tree) mode enabled AND VLAN filtering disabled - both non-default conditions that together allow FDB learning to bypass the port's disabled state. The attacker must also win a timing race between ongoing FDB learning and bridge port deletion (port state toggled to disabled and FDBs flushed). Limiting factors: local access only (AV:L), requires privileges to configure/delete bridge ports (typically CAP_NET_ADMIN, matching PR:L), no remote reachability, and the race window is narrow, making reliable exploitation difficult. Not exploitable against a default bridge configuration or where VLAN filtering is on.

Impact

The signals point to a real but low-priority issue for most environments. The CVSS 3.1 base score of 7.8 (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H) reflects high local impact, but that vector understates exploitation difficulty: the bug is a narrow timing race requiring precise concurrency between FDB learning and port deletion, so AC:L is arguably optimistic - a race-condition UAF is closer to AC:H. EPSS is very low (0.04%) and there is no CISA KEV listing, consistent with a syzbot-discovered kernel race that has no known weaponization. Exploitation also requires a non-default configuration (MST enabled AND VLAN filtering disabled) plus local access to manipulate bridge ports, which sharply limits the realistic attack surface. The 'Authentication Bypass' tag in the feed is misleading - this is an MST port-state bypass leading to memory corruption, not an authentication bypass.

Exploit ScenarioDerived

On a host running a Linux bridge with MST enabled and VLAN filtering disabled, a local attacker with network-admin capability rapidly deletes a bridge port while traffic continues to arrive on it, racing FDB learning against the port teardown. Winning the race causes an FDB entry to be learned on a half-deleted port, and its later expiry/deletion dereferences freed memory, corrupting the kernel heap for potential privilege escalation or denial of service. No public exploit is identified at time of analysis; the bug was surfaced by syzbot.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 30, 2026

Local privilege-level attackers can trigger a use-after-free in the Linux kernel's network bridge (net/bridge) MST implementation when a bridge port is deleted concurrently with FDB learning. The flaw stems from Multiple Spanning Tree (MST) mode bypassing the port's disabled state check, allowing FDB entries to be learned while a port is being torn down. EPSS is low (0.04%, 11th percentile) and there is no public exploit identified at time of analysis; the issue was found by syzbot fuzzing rather than in-the-wild exploitation.

Earlier versions of this analysis (1)
v1 Mar 15, 2026 - 17:54

RemediationAI

Vendor-released patch: upgrade to a fixed stable kernel - 6.1.159, 6.6.117, 6.12.58, 6.17.8, or 6.18 (or later within each series) - using the appropriate stable commit from git.kernel.org (e.g., 3b60ce334c1c, e19085b2a862). Distribution users should apply their vendor update; Ubuntu ships the fix via USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1). As a compensating control on unpatched hosts, disable MST mode on the affected bridge (or enable VLAN filtering on the bridge, since the fix path and the race both depend on VLAN filtering being off) to avoid the port-state bypass - the trade-off is loss of per-VLAN spanning-tree behavior or a change in VLAN handling semantics, which must be validated against the network design. Restricting who can configure bridge ports (CAP_NET_ADMIN) further reduces exposure.

Affected VersionsENISA

Linux patch: 6.17.8
Linux patch: 6.6.117
Linux ec7328b59176227216c461601c6bd0e922232a9b <3b60ce334c1ce8b3fad7e02dcd5ed9f6646477c8
Linux patch: 6.18
Linux ec7328b59176227216c461601c6bd0e922232a9b <991fbe1680cd41a5f97c92cd3a3496315df36e4b
Linux ec7328b59176227216c461601c6bd0e922232a9b <e19085b2a86addccff33ab8536fc67ebd9d52198
Linux ec7328b59176227216c461601c6bd0e922232a9b <bf3843183bc3158e5821b46f330c438ae9bd6ddb
Linux 5.18
Linux ec7328b59176227216c461601c6bd0e922232a9b <8dca36978aa80bab9d4da130c211db75c9e00048
Linux patch: 6.1.159
Linux patch: 6.12.58
Linux patch: 0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the Linux bridge forwarding subsystem, specifically the forwarding database (FDB) learning path interacting with MST (Multiple Spanning Tree, per-VLAN spanning-tree instances) port state handling. Normally a port toggled to the disabled state stops learning new FDB entries, but MST mode intentionally bypasses the generic port state to apply per-MST-instance state instead. Combined with VLAN filtering disabled (which is required because deleting a port flushes its VLANs and would otherwise halt learning), a race window opens where the port's FDBs have already been flushed and the port is mid-deletion, yet learning still adds an entry - leading to a use-after-free when an expired FDB is later deleted. This is a classic race-condition-induced use-after-free (CWE-416, though the feed reports CWE as N/A); the fix adds a NULL check on the port's VLAN group pointer (set to NULL during deletion) to re-close the state bypass, with negligible fast-path cost since the pointer is cache-hot.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local-only race in bridge port teardown requires CAP_NET_ADMIN (PR:L) and winning a narrow timing window (AC:H); UAF yields full memory-corruption impact (C/I/A:H).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch released
Mar 25, 2026 - 19:32 nvd
Patch available
CVE Published
Dec 08, 2025 - 01:16 cve.org
HIGH 7.8
CVE Published
Dec 08, 2025 - 01:16 nvd
N/A

DescriptionCVE.org

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] https://syzkaller.appspot.com/bug?extid=dd280197f0f7ab3917be

Executive ViewAI

Why It Matters

A high-severity privilege escalation vulnerability (CVE-2025-40297) exists in the Linux kernel's network bridge implementation, affecting systems using Multiple Spanning Tree (MST) mode. Local attackers can exploit a use-after-free race condition to escalate privileges, potentially compromising container hosts, virtualization platforms, and network infrastructure relying on kernel-level bridging.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel bridge is present across virtually all Linux deployments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.115 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.0/toolbox:latest Affected

References

Advisories & patches
ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2025-40297 ADVISORY https://ubuntu.com/security/notices/USN-8126-1 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0278/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0281/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0293/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0315/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0939/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0940/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0941/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0943/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0944/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0946/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0951/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1073/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1083/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1089/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1096/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1099/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1100/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1101/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1125/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1132/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1136/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20207/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20220/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20228/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20477/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20479/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20498/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20520/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20564/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20772/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20773/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20774/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20775/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20776/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20777/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20778/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20779/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20780/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20781/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20782/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20783/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20784/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20785/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20786/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20787/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20788/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20789/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20790/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20791/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20792/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20794/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20798/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20799/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20800/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20801/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20802/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20803/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20804/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20805/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20806/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20807/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20808/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20809/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20810/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20811/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20812/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20813/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20814/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20815/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20816/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20817/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20828/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20829/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20831/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20832/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20837/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20840/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20841/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20842/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20845/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20847/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20848/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20849/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20850/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20851/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20852/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20853/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20854/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20855/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20856/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20857/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20858/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20859/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20860/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20861/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20862/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20863/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20864/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20865/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20866/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20876/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20880/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20881/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20882/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20883/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20884/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20885/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20886/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20887/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20888/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20889/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20891/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20892/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20893/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20894/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20895/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20896/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20897/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20898/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20899/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20900/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20944/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20945/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20946/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20947/ REF https://git.kernel.org/stable/c/3b60ce334c1ce8b3fad7e02dcd5ed9f6646477c8 REF https://git.kernel.org/stable/c/8dca36978aa80bab9d4da130c211db75c9e00048 REF https://git.kernel.org/stable/c/991fbe1680cd41a5f97c92cd3a3496315df36e4b REF https://git.kernel.org/stable/c/bf3843183bc3158e5821b46f330c438ae9bd6ddb REF https://git.kernel.org/stable/c/e19085b2a86addccff33ab8536fc67ebd9d52198

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy