CVE-2025-38271 Information
Description
In the Linux kernel the following vulnerability has been resolved:
net: prevent a NULL deref in rtnl_create_link()
At the time rtnl_create_link() is running dev->netdev_ops is NULL we must not use netdev_lock_ops() or risk a NULL deref if CONFIG_NET_SHAPER is defined.
Use netif_set_group() instead of dev_set_group().
RIP: 0010:netdev_need_ops_lock include/net/netdev_lock.h:33 [inline]
RIP: 0010:netdev_lock_ops include/net/netdev_lock.h:41 [inline]
RIP: 0010:dev_set_group+0xc0/0x230 net/core/dev_api.c:82
Call Trace:
Reference
https://git.kernel.org/stable/c/8a29ae8428a5c26f0b4471c2057d9e9415c53109 https://git.kernel.org/stable/c/feafc73f3e6ae73371777a037d41d2e31c929636
Related CNNVD
CNNVD-202507-1393 (Published: 2025-07-10)
Share on: