# CVE-2026-98620: net: ethernet: mtk_eth_soc: unregister net_devices in case of probe failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-02)
- Published: 2026-10-18T15:19:40.320Z
- Modified: 2026-10-19T10:19:26.120Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8a8a9e89f801ce5d3d1d57ac48db678caf072147 before 245bea0c7ab278150c70366bdeb69b901327133c; from 8a8a9e89f801ce5d3d1d57ac48db678caf072147 before ab3bde3b3e56331b4f53a1f6cf4e5e9d1c14c1a0; from 8a8a9e89f801ce5d3d1d57ac48db678caf072147 before 7254b702e556158e34b4d7c168b5d8e7da5978af; from 8a8a9e89f801ce5d3d1d57ac48db678caf072147 before 0fdb944d4df02223c67d5e65c4c134ecb57a5668; from 8a8a9e89f801ce5d3d1d57ac48db678caf072147 before 310d1ac61a4d5a2ca8356a3a48d263acf54503ce; 4.9 (not affected: before 4.9; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-98620](https://www.cve.org/CVERecord?id=CVE-2026-98620), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98620](https://nvd.nist.gov/vuln/detail/CVE-2026-98620), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98620 · Whole record: https://cve.day/CVE-2026-98620.json · Rebuilt by cve.day 2026-11-25T22:59:45.247Z
