CVE-2026-23203
Unknown Unknown - Not Provided
Race Condition in Linux Kernel CPSW netdev RX Mode Handling

Publication date: 2026-02-14

Last updated on: 2026-03-19

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: net: cpsw_new: Execute ndo_set_rx_mode callback in a work queue Commit 1767bb2d47b7 ("ipv6: mcast: Don't hold RTNL for IPV6_ADD_MEMBERSHIP and MCAST_JOIN_GROUP.") removed the RTNL lock for IPV6_ADD_MEMBERSHIP and MCAST_JOIN_GROUP operations. However, this change triggered the following call trace on my BeagleBone Black board: WARNING: net/8021q/vlan_core.c:236 at vlan_for_each+0x120/0x124, CPU#0: rpcbind/496 RTNL: assertion failed at net/8021q/vlan_core.c (236) Modules linked in: CPU: 0 UID: 997 PID: 496 Comm: rpcbind Not tainted 6.19.0-rc6-next-20260122-yocto-standard+ #8 PREEMPT Hardware name: Generic AM33XX (Flattened Device Tree) Call trace: unwind_backtrace from show_stack+0x28/0x2c show_stack from dump_stack_lvl+0x30/0x38 dump_stack_lvl from __warn+0xb8/0x11c __warn from warn_slowpath_fmt+0x130/0x194 warn_slowpath_fmt from vlan_for_each+0x120/0x124 vlan_for_each from cpsw_add_mc_addr+0x54/0xd8 cpsw_add_mc_addr from __hw_addr_ref_sync_dev+0xc4/0xec __hw_addr_ref_sync_dev from __dev_mc_add+0x78/0x88 __dev_mc_add from igmp6_group_added+0x84/0xec igmp6_group_added from __ipv6_dev_mc_inc+0x1fc/0x2f0 __ipv6_dev_mc_inc from __ipv6_sock_mc_join+0x124/0x1b4 __ipv6_sock_mc_join from do_ipv6_setsockopt+0x84c/0x1168 do_ipv6_setsockopt from ipv6_setsockopt+0x88/0xc8 ipv6_setsockopt from do_sock_setsockopt+0xe8/0x19c do_sock_setsockopt from __sys_setsockopt+0x84/0xac __sys_setsockopt from ret_fast_syscall+0x0/0x5 This trace occurs because vlan_for_each() is called within cpsw_ndo_set_rx_mode(), which expects the RTNL lock to be held. Since modifying vlan_for_each() to operate without the RTNL lock is not straightforward, and because ndo_set_rx_mode() is invoked both with and without the RTNL lock across different code paths, simply adding rtnl_lock() in cpsw_ndo_set_rx_mode() is not a viable solution. To resolve this issue, we opt to execute the actual processing within a work queue, following the approach used by the icssg-prueth driver.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-14
Last Modified
2026-03-19
Generated
2026-05-07
AI Q&A
2026-02-14
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 9 associated CPEs
Vendor Product Version / Range
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel From 6.17 (inc) to 6.18.10 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability involves the Linux kernel's network subsystem, specifically the cpsw_new driver and its handling of the ndo_set_rx_mode callback.

A recent change removed the RTNL lock for certain IPv6 multicast operations, which caused a call trace and assertion failure because cpsw_ndo_set_rx_mode expects the RTNL lock to be held when calling vlan_for_each().

Since the locking behavior is inconsistent and modifying vlan_for_each() to work without the RTNL lock is complex, the fix was to move the processing into a work queue to avoid the locking issue.


How can this vulnerability impact me? :

This vulnerability can cause kernel warnings and assertion failures leading to instability or crashes in the network stack on affected devices, such as the BeagleBone Black.

Such instability could disrupt network functionality, potentially causing denial of service or degraded performance in systems relying on the affected Linux kernel network drivers.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability manifests as a kernel warning and call trace related to the RTNL lock assertion failure in the vlan_core.c file. Specifically, you may observe messages similar to the following in your system logs or dmesg output:

  • WARNING: net/8021q/vlan_core.c:236 at vlan_for_each+0x120/0x124
  • RTNL: assertion failed at net/8021q/vlan_core.c (236)
  • Call trace involving cpsw_add_mc_addr, __dev_mc_add, igmp6_group_added, and ipv6_setsockopt

To detect this on your system, you can check the kernel logs using commands such as:

  • dmesg | grep vlan_core.c
  • journalctl -k | grep vlan_core.c
  • grep -i 'RTNL: assertion failed' /var/log/kern.log

Monitoring these logs for the specific warning and call trace will help identify if the vulnerability is triggered on your system.


What immediate steps should I take to mitigate this vulnerability?

The vulnerability is resolved by changing the execution context of the ndo_set_rx_mode callback to a work queue instead of executing it directly, which avoids the RTNL lock assertion failure.

Immediate mitigation steps include:

  • Update your Linux kernel to a version that includes the fix implementing the work queue execution for cpsw_new's ndo_set_rx_mode callback.
  • Avoid running network operations or configurations that trigger the ndo_set_rx_mode callback on affected hardware or kernel versions until patched.
  • Monitor kernel logs for the warning messages to detect if the issue occurs.

Since the fix involves kernel code changes, applying the updated kernel is the recommended and effective mitigation.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart