{"id":"CVE-2026-99197","state":"PUBLISHED","title":"net: mv643xx: move setting of netops to fix crash","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mv643xx: move setting of netops to fix crash\n\nmv643xx_eth_probe() connects the PHY before dev->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\").","publishedAt":"2026-10-28T10:35:52.987Z","updatedAt":"2026-10-28T10:35:52.987Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"bfb1ca89e9f6efa26c8a4a5b9de46541a222abc9","versionType":"git"},{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"a3eef3d2cca032d8768b5eb07aab0f46b79bfd8a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/mv643xx_eth.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/mv643xx_eth.c"]}],"references":["https://git.kernel.org/stable/c/bfb1ca89e9f6efa26c8a4a5b9de46541a222abc9","https://git.kernel.org/stable/c/a3eef3d2cca032d8768b5eb07aab0f46b79bfd8a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99197.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99197","state":"PUBLISHED","datePublished":"2026-10-28T10:35:52.987Z","dateUpdated":"2026-10-28T10:35:52.987Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.400Z"},"containers":{"cna":{"title":"net: mv643xx: move setting of netops to fix crash","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mv643xx: move setting of netops to fix crash\n\nmv643xx_eth_probe() connects the PHY before dev->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\")."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"bfb1ca89e9f6efa26c8a4a5b9de46541a222abc9","versionType":"git"},{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"a3eef3d2cca032d8768b5eb07aab0f46b79bfd8a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/mv643xx_eth.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/mv643xx_eth.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/bfb1ca89e9f6efa26c8a4a5b9de46541a222abc9"},{"url":"https://git.kernel.org/stable/c/a3eef3d2cca032d8768b5eb07aab0f46b79bfd8a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-28T10:35:52.987Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.2.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}