CVE-2026-143270
Received Received - Intake

Linux Bridge MRP Port Use-After-Free Vulnerability

Vulnerability report for CVE-2026-143270, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: net: bridge: disable MRP ports before the FDB flush in del_nbp() del_nbp() flushes the port's FDB entries before it unregisters the RX handler. For a normal port, br_stp_disable_port() moves the port to BR_STATE_DISABLED before this cleanup. That does not hold for an MRP ring port. br_set_state() ignores state changes while BR_MRP_AWARE_BIT is set, so br_stp_disable_port() leaves the port state alone. br_mrp_port_del() then restores forwarding when the bridge is up before clearing the bit. A frame received between br_fdb_cleanup_by_dst() and netdev_rx_handler_unregister() can therefore create a new FDB entry referencing the dying port. Nothing removes that entry before destroy_nbp_rcu() frees the port, so a later frame to the learned MAC can be forwarded through the freed port. Remove the MRP and CFM instances before disabling the port, so that br_stp_disable_port() actually transitions it to BR_STATE_DISABLED. With CONFIG_BRIDGE_VLAN_FILTERING=y, synchronize_net() in nbp_vlan_group_unpublish() also drains receive paths that could still learn with the old state before the final FDB cleanup. Found through an LLM-assisted source code analysis workflow and reproduced on net with KASAN and CONFIG_BRIDGE_VLAN_FILTERING=y in QEMU. A diagnostic switchdev module accepts MRP objects and delays the NETDEV_CHANGEUPPER callback for 1.5 s, holding del_nbp() after the FDB cleanup and before RX handler removal. The reproducer floods the MRP port with rotating source MACs, waits for the port's RCU callback through the module's rcu_barrier(), then sends frames to those MACs from another port. The unpatched kernel reports: BUG: KASAN: slab-use-after-free in br_forward+0xb1/0x820 Call Trace: <IRQ> br_forward+0xb1/0x820 br_handle_frame_finish+0x148b/0x1e50 br_handle_frame+0x90a/0x15c0 With this patch, three runs of six cycles each reach the delay without a KASAN report.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a use-after-free vulnerability in the Linux kernel's bridge networking subsystem. It occurs when a Media Redundancy Protocol (MRP) port is deleted. The issue arises because the port's forwarding database (FDB) entries are flushed before the RX handler is unregistered, allowing a frame to create a new FDB entry referencing the freed port. Later, traffic sent to that MAC address can be incorrectly forwarded through the freed port, causing a use-after-free error.

Detection Guidance

This vulnerability is specific to the Linux kernel's bridge networking subsystem and involves MRP (Media Redundancy Protocol) ports. Detection requires kernel-level analysis and may involve checking for slab-use-after-free errors in bridge forwarding. Use KASAN (Kernel Address Sanitizer) during kernel compilation to detect memory corruption. Monitor bridge port states and FDB entries for inconsistencies. No direct user-space commands detect this issue; kernel debugging and logging are required.

Impact Analysis

This vulnerability can cause kernel crashes due to slab-use-after-free errors. An attacker on the local network could exploit it to trigger a denial-of-service condition by sending specially crafted frames, potentially leading to system instability or requiring a reboot.

Mitigation Strategies

Apply the kernel patch that resolves this issue by modifying the bridge MRP port handling logic. Ensure your Linux kernel is updated to a version containing this fix. If using a custom kernel, rebuild it with the patch applied. Disable MRP on affected systems if the patch cannot be immediately applied. Monitor kernel logs for bridge-related errors or crashes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143270. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...