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

- 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-01)
- Published: 2026-10-18T15:18:31.836Z
- Modified: 2026-10-19T10:19:14.337Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from ddda1ac116c852bb969541ed53cffef7255c4961 before bd172580e624bac00d83abd5c4320d2e14d853bc; from ddda1ac116c852bb969541ed53cffef7255c4961 before e9a5298532780ecdd05c3220f3e1e3067b3537c3; from ddda1ac116c852bb969541ed53cffef7255c4961 before 62c0e38b2e5034184d4502ce77bd178b29e59b83; from ddda1ac116c852bb969541ed53cffef7255c4961 before aae2a1f1e3a0ac5eeb439262a2328a2a392413ac; from ddda1ac116c852bb969541ed53cffef7255c4961 before c2cdef41e0b4d8ed23a5b41e6ad4e64594e055e4; 5.1 (not affected: before 5.1; 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/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>

## Sources

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

---

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