CVE-2026-98565

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

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ddda1ac116c852bb969541ed53cffef7255c4961 to before bd172580e624bac00d83abd5c4320d2e14d853bcAffected
  • ddda1ac116c852bb969541ed53cffef7255c4961 to before e9a5298532780ecdd05c3220f3e1e3067b3537c3Affected
  • ddda1ac116c852bb969541ed53cffef7255c4961 to before 62c0e38b2e5034184d4502ce77bd178b29e59b83Affected
  • ddda1ac116c852bb969541ed53cffef7255c4961 to before aae2a1f1e3a0ac5eeb439262a2328a2a392413acAffected
  • ddda1ac116c852bb969541ed53cffef7255c4961 to before c2cdef41e0b4d8ed23a5b41e6ad4e64594e055e4Affected
LinuxLinux
  • 5.1Affected
  • before 5.1Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.