Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability exists in the Linux kernel's handling of MACB (Media Access Controller Bus) devices, specifically in the device removal process. The issue arises because the driver calls 'phy_exit()' to detach the physical layer before 'unregister_netdev()', which leads to a warning from the kernel's filesystem. This warning indicates that the system cannot remove a linked directory because the network device is still registered. The improper order of operations causes the physical layer to be disconnected while the network device is active, disrupting the expected cleanup process. The vulnerability affects the Linux kernel stable tree.
The vulnerability can cause a warning to be issued during the device removal process, indicating a failure to properly manage the device's physical layer and network registration. This warning can disrupt normal operations and potentially lead to improper device management.
To reproduce this vulnerability, remove a MACB device from the system. The driver will issue a warning because it attempts to disconnect the physical layer before properly unregistering the network device, leading to a failure in the cleanup process.
The vulnerability has been addressed by modifying the MACB device removal process to ensure that 'unregister_netdev()' is called before 'phy_exit()'. Users should update to the latest version of the Linux kernel where this fix has been applied.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.