CVE-2026-99199

net: hisilicon: hip04_eth: 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: hip04_eth: Move setting of netops to fix crash

hip04_mac_probe() calls of_phy_connect() before ndev->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.

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

The vulnerability occurs in the Linux kernel’s hisilicon hip04_eth network driver when the device is probed. The driver calls of_phy_connect() before assigning netdev_ops. Because phy_attach_direct() later reads netdev_ops, a NULL pointer dereference occurs, causing a kernel panic. This leads to a denial of service as the affected host crashes or reboots. The weakness is a classic null pointer dereference.

Affected Systems

All versions of the Linux kernel that include the unpatched hip04_eth driver and are compiled with CONFIG_NET_SHAPER enabled are affected. The issue is present in kernel releases prior to the patch that assigns netdev_ops before the PHY attachment.

Risk and Exploitability

The CVSS score of 4.4 indicates a moderate severity, primarily reflecting a denial‑of‑service impact. The EPSS score of < 1% suggests very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local or requires privileged access during driver initialization or through crafted traffic that triggers device probing; remote exploitation is not explicitly supported by the description.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the patch moving netdev_ops assignment before PHY attachment, or manually apply the patch from the vendor’s repository.
  • If a kernel update cannot be performed immediately, disable the CONFIG_NET_SHAPER configuration option to prevent the null pointer dereference during probing.
  • As a temporary measure, remove or unload the hisilicon hip04_eth driver from the system until the patch can be applied, to avoid triggerable crashes.

Generated by OpenCVE AI on October 29, 2026 at 18:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-690
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
Weaknesses CWE-690
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: hisilicon: hip04_eth: Move setting of netops to fix crash hip04_mac_probe() calls of_phy_connect() before ndev->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. 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: hip04_eth: 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