CVE-2026-99200: net: hisilicon: hisi_femac: Move setting of netops to fix crash
In the Linux kernel, the following vulnerability has been resolved:
net: hisilicon: hisifemac: Move setting of netops to fix crash
hisifemacdrvprobe() connects the PHY before dev->netdevops is assigned. phyattachdirect() -> phylinktopoaddphy() reads dev->netdevops through netdevneedopslock() since the commit in question, so probing crashes with a NULL pointer dereference when CONFIGNETSHAPER is enabled.
phylinktopoaddphy from phyattachdirect+0xec/0x37c ofphygetandconnect from hisifemacdrvprobe+0x1f4/0x558 Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
Assign netdevops before the PHY attach, as was done for emac in commit 7c9f391ec89c ("net: emac: move setting of netops to fix crash").
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Patch 7c9f391ec89c