CVE-2026-99200

net: hisilicon: hisi_femac: Move setting of netops to fix crash

Published Oct 28, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: hisilicon: hisi_femac: Move setting of netops to fix crash

hisi_femac_drv_probe() connects the PHY before dev->netdev_ops is
assigned. phy_attach_direct() -> phy_link_topo_add_phy() reads
dev->netdev_ops through netdev_need_ops_lock() since the commit in
question, so probing crashes with a NULL pointer dereference when
CONFIG_NET_SHAPER is enabled.

phy_link_topo_add_phy from phy_attach_direct+0xec/0x37c
of_phy_get_and_connect from hisi_femac_drv_probe+0x1f4/0x558
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Assign netdev_ops before the PHY attach, as was done for emac in commit
7c9f391ec89c ("net: emac: move setting of netops to fix crash").

Analysis

AI-generated

Technical impact

An uninitialized netdev_ops pointer in the hisi_femac driver triggers a null‑pointer dereference during the PHY probe phase. When CONFIG_NET_SHAPER is enabled, phy_attach_direct() calls netdev_need_ops_lock() before dev->netdev_ops is set, causing a kernel panic that kills init. The crash effectively brings the host down, as shown by the kernel log excerpt. The vulnerability is a CWE‑476 type error: dereferencing a null pointer.

Affected Systems

The fault exists in any Linux kernel that includes the hisi_femac driver before commit 06ef5b084b150c538bc84148e5d710eee012413c. Hosts with a Hisilicon femac NIC and the CONFIG_NET_SHAPER configuration option enabled are most impacted. All earlier kernel versions with that driver configuration are vulnerable.

Risk and Exploitability

The CVSS score of 4.4 indicates moderate severity, but the outcome—a kernel panic—constitutes a denial of service that can crash the system. The EPSS score is below 1 %, and the CVE is not listed in the CISA KEV catalog. The flaw requires the driver to load or a PHY probe to be triggered, so the attack surface is local to the machine. An attacker with access to the NIC or who can force a probe can cause a crash, effectively rebooting the host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes commit 06ef5b084b150c538bc84148e5d710eee012413c, which assigns netdev_ops before the PHY attaches.
  • If an upgrade is not feasible, rebuild the kernel with CONFIG_NET_SHAPER disabled or remove that option to eliminate the crash path.
  • As a temporary workaround, unload or blacklist the hisi_femac module to prevent it from loading until a patch is applied, noting that this will disable networking on that interface.

Generated by OpenCVE AI on October 29, 2026 at 16:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: hisilicon: hisi_femac: Move setting of netops to fix crash hisi_femac_drv_probe() connects the PHY before dev->netdev_ops is assigned. phy_attach_direct() -> phy_link_topo_add_phy() reads dev->netdev_ops through netdev_need_ops_lock() since the commit in question, so probing crashes with a NULL pointer dereference when CONFIG_NET_SHAPER is enabled. phy_link_topo_add_phy from phy_attach_direct+0xec/0x37c of_phy_get_and_connect from hisi_femac_drv_probe+0x1f4/0x558 Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b Assign netdev_ops before the PHY attach, as was done for emac in commit 7c9f391ec89c ("net: emac: move setting of netops to fix crash").
Title net: hisilicon: hisi_femac: Move setting of netops to fix crash
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 28, 2026, 10:35 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 28, 2026, 11:17 AM
Severity
Moderate
Public date
Oct 28, 2026, 12:00 AM