CVE-2026-23175
published high CVSS 3.1 · 7.0net: cpsw: Execute ndo_set_rx_mode callback in a work queue
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1767bb2d47b715a106287a8f963d9ec6cbab4e69 to < 488009aa62bb1217ea0624fd5108b79adef4e148 · 1767bb2d47b715a106287a8f963d9ec6cbab4e69 to < 0b8c878d117319f2be34c8391a77e0f4d5c94d79 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.10 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: net: cpsw: 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/481 RTNL: assertion failed at net/8021q/vlan_core.c (236) Modules linked in: CPU: 0 UID: 997 PID: 481 Comm: rpcbind Not tainted 6.19.0-rc7-next-20260130-yocto-standard+ #35 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/0x98 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/0x54 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. Please note: To reproduce this issue, I manually reverted the changes to am335x-bone-common.dtsi from commit c477358e66a3 ("ARM: dts: am335x-bone: switch to new cpsw switch drv") in order to revert to the legacy cpsw driver.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is triggered via the setsockopt(IPV6_ADD_MEMBERSHIP) syscall, requiring local access to the system with a CPSW Ethernet interface. AC:H - While the WARN_ONCE is deterministic, the actual exploitable UAF requires a race between the attacker's multicast join and concurrent VLAN modification (vlan_vid_del), which requires CAP_NET_ADMIN privileges the attacker does not control. PR:L - Any unprivileged local user can create an IPv6 socket and call setsockopt with IPV6_ADD_MEMBERSHIP — no capability or privilege checks exist along the call path. UI:N - No user interaction is required; the attacker triggers the vulnerability entirely through their own socket operations. S:U - The vulnerability stays within the kernel security context; there is no crossing of a security boundary such as VM escape or IOMMU bypass. C:H - If the race condition is won, the use-after-free on the vlan_info structure allows reading freed/reallocated memory, potentially exposing arbitrary kernel memory contents. I:H - A use-after-free on the vlan_info structure enables heap spraying to control the freed object's contents, providing arbitrary write primitives for control flow hijacking. A:H - The use-after-free causes a kernel crash (oops/panic) when accessing freed memory, and even the WARN_ONCE alone causes a panic on systems with panic_on_warn enabled (common in embedded/industrial CPSW deployments).
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1767bb2d47b715a106287a8f963d9ec6cbab4e69 to < 488009aa62bb1217ea0624fd5108b79adef4e148 (affected · git)1767bb2d47b715a106287a8f963d9ec6cbab4e69 to < 0b8c878d117319f2be34c8391a77e0f4d5c94d79 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.10 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
net: cpsw: Execute ndo_set_rx_mode callback in a work queue
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dcae2fe778ba5d4e0f309b33b08c09b98ad2e939e0a9459b1840b236c66eb094
- Ingested
- 23 Sep 2026, 09:05:46 UTC
- Source record
- Official CVE record