CVE-2026-98620

Source
https://cve.org/CVERecord?id=CVE-2026-98620
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98620.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98620
Downstream
Published
2026-10-18T15:19:40Z
Modified
2026-10-19T02:46:57Z
Summary
net: ethernet: mtk_eth_soc: unregister net_devices in case of probe failure
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98620.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8a8a9e89f801ce5d3d1d57ac48db678caf072147
Fixed
245bea0c7ab278150c70366bdeb69b901327133c
Fixed
ab3bde3b3e56331b4f53a1f6cf4e5e9d1c14c1a0
Fixed
7254b702e556158e34b4d7c168b5d8e7da5978af
Fixed
0fdb944d4df02223c67d5e65c4c134ecb57a5668
Fixed
310d1ac61a4d5a2ca8356a3a48d263acf54503ce

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98620.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.9.0
Fixed
6.6.158
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98620.json"