---
id: "CVE-2026-98565"
kind: "vulnerability"
aliases: ["CVE-2026-98565"]
title: "Linux kernel: MT7530 DSA driver crashes on unbind for MT7531 and MT7621"
severity: "low"
cvss: null
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["embedded", "linux-kernel", "mediatek-mt7531", "mediatek-mt7621", "routers", "runtime"]
not_affected_if: ["driver-never-unbound", "no-mt7621-or-mt7531-switch"]
published_at: "2026-10-18T16:17:08+00:00"
first_seen_at: "2026-10-23T21:57:15+00:00"
updated_at: "2026-10-25T05:23:19+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98565", "first_seen_at": "2026-10-23T21:57:15+00:00"}]
---

# Linux kernel: MT7530 DSA driver crashes on unbind for MT7531 and MT7621

The Linux kernel's mt7530 network switch driver dereferences a NULL regulator pointer when the device is unbound on MT7531 and MT7621 chips. An attacker with local rights to unbind the driver, or an administrator unloading the module, causes a kernel NULL pointer crash.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether the host uses an MT7621 or MT7531 switch with the mt7530 DSA driver, for example with `lspci` or the device tree.
- Check the running kernel with `uname -r` and compare it to the fixed stable release in the kernel commit.

## Fix

- Update the Linux kernel to a release that includes the mt7530 unbind fix (version unknown from the sources).

## Timeline

- 2026-10-23T21:57:15+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-98565

## From the sources

In the Linux kernel, the following vulnerability has been resolved:

net: dsa: mt7530: fix NULL dereference on unbind of MT7531 and MT7621

The core and io supplies are only requested for ID_MT7530: both the
devm_regulator_get() in probe and the regulator_enable() in
mt7530_setup() are guarded by the switch id, but mt7530_remove()
disables them unconditionally. On an MT7621 or an MT7531 both pointers
are still NULL from devm_kzalloc(), so rmmod or a sysfs unbind calls
regulator_disable() on NULL.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
