{"id":"CVE-2026-99199","summary":"net: hisilicon: hip04_eth: Move setting of netops to fix crash","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hisilicon: hip04_eth: Move setting of netops to fix crash\n\nhip04_mac_probe() calls of_phy_connect() before ndev-\u003enetdev_ops is\nassigned. phy_attach_direct() -\u003e phy_link_topo_add_phy() reads\ndev-\u003enetdev_ops through netdev_need_ops_lock() since the commit in\nquestion, so probing crashes with a NULL pointer dereference when\nCONFIG_NET_SHAPER is enabled.\n\nAssign netdev_ops before the PHY attach, as was done for emac in commit\n7c9f391ec89c (\"net: emac: move setting of netops to fix crash\").","modified":"2026-10-30T02:47:24.205366504Z","published":"2026-10-28T10:35:54.538Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99199.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0d9342701f14ec0a9465772b7cd5d515c1ecd818"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c2f9c3a63baabfb965a23a00f026f3ddcaadb24"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99199.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99199"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca"},{"fixed":"1c2f9c3a63baabfb965a23a00f026f3ddcaadb24"},{"fixed":"0d9342701f14ec0a9465772b7cd5d515c1ecd818"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99199.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99199.json"}}],"schema_version":"1.9.2"}