# CVE-2026-23393: bridge: cfm: Fix race condition in peer_mep deletion

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-03-25T10:33:17.407Z
- Modified: 2026-08-05T12:21:24.386Z
- Weaknesses: CWE-362
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

bridge: cfm: Fix race condition in peer_mep deletion

When a peer MEP is being deleted, cancel_delayed_work_sync() is called
on ccm_rx_dwork before freeing. However, br_cfm_frame_rx() runs in
softirq context under rcu_read_lock (without RTNL) and can re-schedule
ccm_rx_dwork via ccm_rx_timer_start() between cancel_delayed_work_sync()
returning and kfree_rcu() being called.

The following is a simple race scenario:

           cpu0                                     cpu1

mep_delete_implementation()
  cancel_delayed_work_sync(ccm_rx_dwork);
                                           br_cfm_frame_rx()
                                             // peer_mep still in hlist
                                             if (peer_mep->ccm_defect)
                                               ccm_rx_timer_start()
                                                 queue_delayed_work(ccm_rx_dwork)
  hlist_del_rcu(&peer_mep->head);
  kfree_rcu(peer_mep, rcu);
                                           ccm_rx_work_expired()
                                             // on freed peer_mep

To prevent this, cancel_delayed_work_sync() is replaced with
disable_delayed_work_sync() in both peer MEP deletion paths, so
that subsequent queue_delayed_work() calls from br_cfm_frame_rx()
are silently rejected.

The cc_peer_disable() helper retains cancel_delayed_work_sync()
because it is also used for the CC enable/disable toggle path where
the work must remain re-schedulable.

(As written by CVE List.)

## Affected

- Linux Linux: from dc32cbb3dbd7da38c700d6e0fc6354df24920525 before e89dbd2736a45f0507949af4748cbbf3ff793146; from dc32cbb3dbd7da38c700d6e0fc6354df24920525 before d8f35767bacb3c7769d470a41cf161e3f3c07e70; from dc32cbb3dbd7da38c700d6e0fc6354df24920525 before 1fd81151f65927fd9edb8ecd12ad45527dbbe5ab; from dc32cbb3dbd7da38c700d6e0fc6354df24920525 before 3715a00855316066cdda69d43648336367422127; 5.11 (not affected: before 5.11; from 6.12.78 up to 6.12.*; from 6.18.20 up to 6.18.*; from 6.19.10 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.11.1 before 6.12.78; from 6.13 before 6.18.20; from 6.19 before 6.19.10; 5.11; 7.0

## References

- <https://git.kernel.org/stable/c/e89dbd2736a45f0507949af4748cbbf3ff793146> (patch)
- <https://git.kernel.org/stable/c/d8f35767bacb3c7769d470a41cf161e3f3c07e70> (patch)
- <https://git.kernel.org/stable/c/1fd81151f65927fd9edb8ecd12ad45527dbbe5ab> (patch)
- <https://git.kernel.org/stable/c/3715a00855316066cdda69d43648336367422127> (patch)

## Sources

- CVE List: [CVE-2026-23393](https://www.cve.org/CVERecord?id=CVE-2026-23393), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-23393](https://nvd.nist.gov/vuln/detail/CVE-2026-23393), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23393 · Whole record: https://cve.day/CVE-2026-23393.json · Rebuilt by cve.day 2026-11-25T22:59:16.709Z
