Linux kernel use-after-free in MRP-enabled bridge ports
Affects Linux kernel bridges that use MRP ring ports. No fixed version is named; the fix is upstream patch 37dfd0efbfffc20a57e41c2eb349ac49b1ca1ff8.
- Exploited
- No known exploitation
- Fix
- Vendor patch: 37dfd0efbfffc20a57e41c2eb349ac49b1ca1ff8
- Who is exposed
- Specific setups only
Summary
Written by a model
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.
Who should check
Teams running Linux kernels that use bridges with MRP ring ports (IFLA_BRIDGE_MRP), including Linux kernel stacks where bridge ports are added and removed at runtime.
“That does not hold for an MRP ring port.”
What to do
Check whether your setup matches what the bug needs.
The bridge port is an MRP ring port (MRP-aware), so its state is not moved to disabled before its FDB entries are flushed on removal. A frame must be received on the port during the removal window, after FDB cleanup and before the RX handler is removed.Apply the vendor's patch: 37dfd0efbfffc20a57e41c2eb349ac49b1ca1ff8.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-143270 (net: bridge: disable MRP ports before the FDB flush in del_nbp()), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-143270 (entry last updated 2026-12-04):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 5.8
Vendor patches: 37dfd0efbfffc20a57e41c2eb349ac49b1ca1ff8 (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6231bf3403117eaaeb8dfa5690da13218cfc5395). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- The bridge port is an MRP ring port (MRP-aware), so its state is not moved to disabled before its FDB entries are flushed on removal. (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6231bf3403117eaaeb8dfa5690da13218cfc5395)
- A frame must be received on the port during the removal window, after FDB cleanup and before the RX handler is removed. (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6231bf3403117eaaeb8dfa5690da13218cfc5395)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-143270 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-143270 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/6231bf3403117eaaeb8dfa5690da13218cfc5395
- https://git.kernel.org/stable/c/55dde2d87b03dc30f983c6966dcc100ff5d992d6
- https://git.kernel.org/stable/c/2aebcdfe5fe8c35baa9f32014093c848cfafffce
- https://git.kernel.org/stable/c/df3390c2f9ef17a5916905df2abe9a1f236e483f
- https://git.kernel.org/stable/c/37dfd0efbfffc20a57e41c2eb349ac49b1ca1ff8
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6231bf3403117eaaeb8dfa5690da13218cfc5395
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-143270
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-143270"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux5.8
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity7.8/10CVSS 7.8
- No patch0/5No signal
What would change the score
- Would score about 83 if added to CISA KEV
- Would score about 78 if CISA's SSVC rates exploitation active
- Would score about 43 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 7
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-143270 |
| Record | NVD · CVE-2026-143270 |
| Other links 5 | |
| Link | git.kernel.org · stable/c/6231bf3403117eaaeb8dfa5690da13218cfc5395 |
| Link | git.kernel.org · stable/c/55dde2d87b03dc30f983c6966dcc100ff5d992d6 |
| Link | git.kernel.org · stable/c/2aebcdfe5fe8c35baa9f32014093c848cfafffce |
| Link | git.kernel.org · stable/c/df3390c2f9ef17a5916905df2abe9a1f236e483f |
| Link | git.kernel.org · stable/c/37dfd0efbfffc20a57e41c2eb349ac49b1ca1ff8 |
Questions about CVE-2026-143270
Is CVE-2026-143270 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
When an MRP ring port is removed from a bridge, a frame received in a short window can be processed after the port's forwarding entries are flushed. This causes a use-after-free in the bridge forwarding path, which can crash the kernel or disclose memory contents.
Source: git.kernel.org, cve.org
Which versions are affected by CVE-2026-143270?
Linux: version 5.8.
Source: cve.now feed data
Am I affected, and how do I check?
The affected setup is a Linux kernel bridge with MRP ring ports, meaning ports that are MRP-aware. The available facts do not give version ranges, so check whether MRP is configured on any bridge port.
Source: git.kernel.org, cve.org
How do I fix CVE-2026-143270?
Apply upstream patch 37dfd0efbfffc20a57e41c2eb349ac49b1ca1ff8, which removes the MRP and CFM instances before the port is disabled. No fixed kernel version is named in the facts.
Source: git.kernel.org, cve.org
Related
- CVE-2026-143401net: virtio: validate outer protocol of UDP tunnel GSO packets
- CVE-2026-143400virtio_net: check RX buffer length before DMA sync
- CVE-2026-143399udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat()
- CVE-2026-143398Input: destroy force-feedback device on input unregistration
- CVE-2026-1433979p: use fc->net_ns for network namespace in RDMA and socket transports
- CVE-2026-143396net/9p/usbg: fix descriptor cleanup use-after-free
No corrections so far. Something wrong on this page? Report an error.