PT-2026-167128

CVE-2026-143270

·

تاريخ النشر

2026-12-03

·

تاريخ التحديث

2026-12-03

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

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: 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.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾