Linux · Linux Kernel · CVE-2025-37865
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
A vulnerability in the Linux kernel has been resolved, related to the deletion of VLANs when MST is unsupported. The issue arises from the `mv88e6xxx port vlan leave()` function, which attempts to find an MST entry associated with the SID but fails and returns -ENOENT. This is because some chip implementations do not populate `vlan.sid`, leading to the use of garbage SID values. The fix involves testing for `sid == 0` to cover non-bridge VLANs or bridge VLANs mapped to the default MSTI, and adding a test for `mv88e6xxx has stu()` inside `mv88e6xxx mst put()` to avoid accessing uninitialized memory.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.