Fixed
Created: Jul 3, 2025
Updated: Sep 1, 2025
Resolved Date: Jul 10, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel
In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]af_packet: move notifier's packet_dev_mc out of rcu critical section[EOL][EOL]Syzkaller reports the following issue:[EOL][EOL] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:578[EOL] __mutex_lock+0x106/0xe80 kernel/locking/mutex.c:746[EOL] team_change_rx_flags+0x38/0x220 drivers/net/team/team_core.c:1781[EOL] dev_change_rx_flags net/core/dev.c:9145 [inline][EOL] __dev_set_promiscuity+0x3f8/0x590 net/core/dev.c:9189[EOL] netif_set_promiscuity+0x50/0xe0 net/core/dev.c:9201[EOL] dev_set_promiscuity+0x126/0x260 net/core/dev_api.c:286 packet_dev_mc net/packet/af_packet.c:3698 [inline][EOL] packet_dev_mclist_delete net/packet/af_packet.c:3722 [inline][EOL] packet_notifier+0x292/0xa60 net/packet/af_packet.c:4247[EOL] notifier_call_chain+0x1b3/0x3e0 kernel/notifier.c:85[EOL] call_netdevice_notifiers_extack net/core/dev.c:2214 [inline][EOL] call_netdevice_notifiers net/core/dev.c:2228 [inline][EOL] unregister_netdevice_many_notify+0x15d8/0x2330 net/core/dev.c:11972[EOL] rtnl_delete_link net/core/rtnetlink.c:3522 [inline][EOL] rtnl_dellink+0x488/0x710 net/core/rtnetlink.c:3564[EOL] rtnetlink_rcv_msg+0x7cf/0xb70 net/core/rtnetlink.c:6955[EOL] netlink_rcv_skb+0x219/0x490 net/netlink/af_netlink.c:2534[EOL][EOL]Calling `PACKET_ADD_MEMBERSHIP` on an ops-locked device can trigger[EOL]the `NETDEV_UNREGISTER` notifier, which may require disabling promiscuous[EOL]and/or allmulti mode. Both of these operations require acquiring[EOL]the netdev instance lock.[EOL][EOL]Move the call to `packet_dev_mc` outside of the RCU critical section.[EOL]The `mclist` modifications (add, del, flush, unregister) are protected by[EOL]the RTNL, not the RCU. The RCU only protects the `sklist` and its[EOL]associated `sks`. The delayed operation on the `mclist` entry remains[EOL]within the RTNL.
CREATE(Triage):(User=lchen-cn) [CVE-2025-38150 (https://nvd.nist.gov/vuln/detail/CVE-2025-38150)