CVE-2026-98881: net: bridge: remove stale rcu_barrier() in br_multicast_dev_del()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: bridge: remove stale rcu_barrier() in br_multicast_dev_del()
This rcu_barrier() came from a time call_rcu() calls were used in net/bridge/br_multicast.c.
Now kfree_rcu() is there, we can remove this problematic rcu_barrier() which causes extreme RTNL pressure in many syzbot reports.
INFO: task syz-executor:77945 is blocked on a mutex likely owned by task kworker/u1024:5:36537. task:kworker/u1024:5 state:D stack:24616 pid:36537 tgid:36537 ppid:2 task_flags:0x4208060 flags:0x00080000 last_sleep:612797637337 Workqueue: netns cleanup_net Call Trace: <TASK> [<ffffffff81914eaa>] context_switch+0xf2a/0x1730 kernel/sched/core.c:6483 [<ffffffff81201143>] __schedule+0x1133/0x43a0 kernel/sched/core.c:8411 [<ffffffff8120446b>] __schedule_loop kernel/sched/core.c:8514 [inline] [<ffffffff8120446b>] schedule+0xab/0x260 kernel/sched/core.c:8529 [<ffffffff8121a093>] schedule_timeout+0xc3/0x2b0 kernel/time/sleep_timeout.c:75 [<ffffffff81205347>] do_wait_for_common kernel/sched/completion.c:100 [inline] [<ffffffff81205347>] __wait_for_common kernel/sched/completion.c:121 [inline] [<ffffffff81205347>] wait_for_common kernel/sched/completion.c:132 [inline] [<ffffffff81205347>] wait_for_completion+0x2c7/0x5d0 kernel/sched/completion.c:153 [<ffffffff81b8f27f>] rcu_barrier+0x49f/0x620 kernel/rcu/tree.c:3888 [<ffffffff860091b3>] br_multicast_dev_del+0x303/0x350 net/bridge/br_multicast.c:4459 [<ffffffff85fb5dbc>] br_dev_uninit+0x1c/0x40 net/bridge/br_device.c:157 [<ffffffff8568058c>] unregister_netdevice_many_notify+0x1c1c/0x2300 net/core/dev.c:12599 [<ffffffff8562be43>] ops_exit_rtnl_list net/core/net_namespace.c:187 [inline] [<ffffffff8562be43>] ops_undo_list+0x3d3/0x940 net/core/net_namespace.c:248
The Linux kernel CVE team has assigned CVE-2026-98881 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.271 with commit 35f9f11740515a10b084adfb1ce691351f2452ab Fixed in 5.15.222 with commit 0443f6aac6bf6a91e406273fdda11497cef6ad07 Fixed in 6.1.189 with commit ac0e823a228f94ad9d7a3d876cc07e59a7afb806 Fixed in 6.6.158 with commit f0018acf0b66f93a292667c9a9c2a26c570cf270 Fixed in 6.12.111 with commit 372ee8fbe0f796031c60f676ec90f0788c26523d Fixed in 6.18.53 with commit 39679927fa7aaf4601119f7234342d1b5d4f6f84 Fixed in 7.2 with commit 25ae123db10ba9ab890b56bcdb0a4363aee8529a
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98881
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/bridge/br_multicast.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/35f9f11740515a10b084adfb1ce691351f2452ab https://git.kernel.org/stable/c/0443f6aac6bf6a91e406273fdda11497cef6ad07 https://git.kernel.org/stable/c/ac0e823a228f94ad9d7a3d876cc07e59a7afb806 https://git.kernel.org/stable/c/f0018acf0b66f93a292667c9a9c2a26c570cf270 https://git.kernel.org/stable/c/372ee8fbe0f796031c60f676ec90f0788c26523d https://git.kernel.org/stable/c/39679927fa7aaf4601119f7234342d1b5d4f6f84 https://git.kernel.org/stable/c/25ae123db10ba9ab890b56bcdb0a4363aee8529a