A vulnerability in the Linux kernel's Hisilicon hip04 Ethernet driver caused a crash due to a NULL pointer dereference when CONFIG_NET_SHAPER is enabled. The issue arises because netdev_ops is not assigned before a PHY attach call, leading to a crash during probing. This has been fixed by moving the assignment of netdev_ops before the PHY attach, following a similar fix applied to the emac driver.