CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's xfrm subsystem, specifically the xfrmi_changelink() function, which improperly checks administrative capabilities, allowing a privileged user in one network namespace to modify network interfaces in another namespace without appropriate permissions. This could lead to unauthorized changes in network configurations, potentially compromising network security and stability. Organizations using Linux in multi-namespace environments should prioritize addressing this vulnerability to mitigate risks associated with unauthorized network access and manipulation.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: xfrm: xfrm_interface: require CAP_NET_ADMIN in the device netns for changelink xfrmi_changelink() operates on at most two netns, dev_net(dev) and the interface link netns xi->net. They differ once the device is created in or moved to a netns other than the one the request runs in. The rtnl changelink path checks CAP_NET_ADMIN only against dev_net(dev), so a caller privileged there but not in xi->net can rewrite an interface that lives in xi->net. Gate xfrmi_changelink() on rtnl_dev_link_net_capable() at its top, before any attribute is parsed.