{"id":"CVE-2026-99194","state":"PUBLISHED","title":"net: ethernet: aeroflex: move setting of netops to fix crash","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: aeroflex: move setting of netops to fix crash\n\ngreth_of_probe() calls greth_mdio_init(), which connects the PHY,\nbefore dev->netdev_ops is assigned. phy_attach_direct() ->\nphy_link_topo_add_phy() reads dev->netdev_ops through\nnetdev_need_ops_lock() since the commit in question, so probing crashes\nwith a NULL pointer dereference when CONFIG_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:50.670Z","updatedAt":"2026-10-28T10:35:50.670Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"5293e376e9d6cdb945db11f71821bb57d415631d","versionType":"git"},{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"d71483f0716e7ae98578817bfdc8a5b822d250f8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/aeroflex/greth.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/aeroflex/greth.c"]}],"references":["https://git.kernel.org/stable/c/5293e376e9d6cdb945db11f71821bb57d415631d","https://git.kernel.org/stable/c/d71483f0716e7ae98578817bfdc8a5b822d250f8"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99194.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99194","state":"PUBLISHED","datePublished":"2026-10-28T10:35:50.670Z","dateUpdated":"2026-10-28T10:35:50.670Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.400Z"},"containers":{"cna":{"title":"net: ethernet: aeroflex: move setting of netops to fix crash","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: aeroflex: move setting of netops to fix crash\n\ngreth_of_probe() calls greth_mdio_init(), which connects the PHY,\nbefore dev->netdev_ops is assigned. phy_attach_direct() ->\nphy_link_topo_add_phy() reads dev->netdev_ops through\nnetdev_need_ops_lock() since the commit in question, so probing crashes\nwith a NULL pointer dereference when CONFIG_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":"5293e376e9d6cdb945db11f71821bb57d415631d","versionType":"git"},{"version":"ded86da4bbb78cad74cecc368fee3ae3a296e2ca","status":"affected","lessThan":"d71483f0716e7ae98578817bfdc8a5b822d250f8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/aeroflex/greth.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/aeroflex/greth.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5293e376e9d6cdb945db11f71821bb57d415631d"},{"url":"https://git.kernel.org/stable/c/d71483f0716e7ae98578817bfdc8a5b822d250f8"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-28T10:35:50.670Z"},"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"}}}}}