CVE-2026-23393: bridge: cfm: Fix race condition in peer_mep deletion
In the Linux kernel, the following vulnerability has been resolved:
bridge: cfm: Fix race condition in peermep deletion
When a peer MEP is being deleted, canceldelayedworksync() is called on ccmrxdwork before freeing. However, brcfmframerx() runs in softirq context under rcureadlock (without RTNL) and can re-schedule ccmrxdwork via ccmrxtimerstart() between canceldelayedworksync() returning and kfreercu() being called.
The following is a simple race scenario:
cpu0 cpu1
mepdeleteimplementation() canceldelayedworksync(ccmrxdwork); brcfmframerx() // peermep still in hlist if (peermep->ccmdefect) ccmrxtimerstart() queuedelayedwork(ccmrxdwork) hlistdelrcu(&peermep->head); kfreercu(peermep, rcu); ccmrxworkexpired() // on freed peermep
To prevent this, canceldelayedworksync() is replaced with disabledelayedworksync() in both peer MEP deletion paths, so that subsequent queuedelayedwork() calls from brcfmframerx() are silently rejected.
The ccpeerdisable() helper retains canceldelayedworksync() because it is also used for the CC enable/disable toggle path where the work must remain re-schedulable.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1 - Upgrade
Upgrade
ubuntu/linux-nvidia-tegrato a version that resolves this vulnerability.Fixed in 6.8.0-1035.38 - Compensating control
In both peer MEP deletion paths, replace cancel_delayed_work_sync() with disable_delayed_work_sync() for ccm_rx_dwork so subsequent queue_delayed_work() calls are rejected.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23393?
CVE-2026-23393 has been assessed with a severity level that indicates a potential risk to Linux kernel stability.
How do I fix CVE-2026-23393?
To fix CVE-2026-23393, apply the latest patches provided by the Linux kernel maintainers that address the race condition in peer_mep deletion.
What systems are affected by CVE-2026-23393?
CVE-2026-23393 affects certain versions of the Linux kernel that utilize the bridge component for network management.
What are the potential impacts of CVE-2026-23393?
The impact of CVE-2026-23393 could include network instability or unexpected behavior in systems relying on the affected bridge features.
Who should be concerned about CVE-2026-23393?
Administrators and users of systems running the affected versions of the Linux kernel should be concerned about CVE-2026-23393.