{"id":"CVE-2026-99199","revision":"e570170e91824098856350cb425a01f3","records":[{"revision":"e570170e91824098856350cb425a01f3","observedAt":"2026-10-28T11:27:43.363+00:00","statement":{"source":"cve-program","id":"CVE-2026-99199","aliases":[],"title":"net: hisilicon: hip04_eth: Move setting of netops to fix crash","description":"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->netdev_ops is\nassigned. phy_attach_direct() -> phy_link_topo_add_phy() reads\ndev->netdev_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\").","state":0,"publishedAt":"2026-10-28T10:35:54.538+00:00","modifiedAt":"2026-10-28T10:35:54.538+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/hisilicon/hip04_eth.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"ded86da4bbb78cad74cecc368fee3ae3a296e2ca\",\n                            \"lessThan\": \"1c2f9c3a63baabfb965a23a00f026f3ddcaadb24\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"ded86da4bbb78cad74cecc368fee3ae3a296e2ca\",\n                            \"lessThan\": \"0d9342701f14ec0a9465772b7cd5d515c1ecd818\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/hisilicon/hip04_eth.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"7.2\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.13\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/1c2f9c3a63baabfb965a23a00f026f3ddcaadb24","https://git.kernel.org/stable/c/0d9342701f14ec0a9465772b7cd5d515c1ecd818"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99199","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-99199","identifiers":["CVE-2026-99199"]},"retained":false,"historicalAffected":[]}],"coverage":[]}