Junglewise Threat Intelligence

CVE-2025-38470: Linux Kernel memory leak and denial of service in 802.1q VLAN filtering

CVE-2025-38470 · Severity: medium · CVSS 5.5 · Published 2025-07-28

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's networking component could allow a local user to cause a system crash or memory leak. The issue occurs when specific network interface settings (VLAN filtering) are changed while the system is running. This can lead to operational instability or a complete denial of service for the affected server.

Technical details

A vulnerability exists in the Linux kernel's net/8021q module due to a refcount imbalance for VLAN 0. When the 'rx-vlan-filter' feature is toggled during runtime, the kernel may fail to properly track whether VLAN 0 was automatically added or removed during administrative state changes (UP/DOWN). This leads to two scenarios: a memory leak if the filter is disabled while the device is running, or a null-pointer dereference/BUG_ON crash if the filter is re-enabled and the device is subsequently brought down. The fix involves tracking the 'auto_vid0' state within the VLAN info structure to ensure consistent cleanup regardless of the current filtering feature state.

Affected products

  • Linux Linux Kernel 6.16-rc1 to 6.16-rc3

Timeline

  • 2025-07-16: patched: Initial patch submitted by Huawei engineers
  • 2025-07-28: advisory: CVE-2025-38470 published

References

Related threats