CVE-2025-21675
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21675 affects the Linux kernel's net/mlx5 component, specifically related to port select structure handling. The vulnerability was discovered on January 31, 2025, and involves a NULL pointer dereference issue that occurs when failing to properly clear port select structures during LAG (Link Aggregation) operations. This vulnerability affects Linux kernel versions from 5.16 up to (excluding) 6.1.127, 6.2 to 6.6.74, 6.7 to 6.12.11, and various 6.13 release candidates (NVD).

Technical details

The vulnerability stems from a failure to clear the port select structure when an error occurs during LAG definer creation. The issue manifests when mlx5lagdestroydefiners() attempts to destroy all lag definers in the ttmap, leading to a double-destroy scenario. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, and is classified as CWE-476 (NULL Pointer Dereference). The issue can trigger a kernel crash due to inability to handle kernel NULL pointer dereference at virtual address 0x0000000000000008 (NVD).

Impact

The vulnerability can result in a kernel crash due to NULL pointer dereference, potentially causing system instability and denial of service. The impact is primarily focused on availability, with no direct effects on confidentiality or integrity of the system (NVD).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel. The fix involves clearing the port select structure on error to prevent stale values from remaining after definers are destroyed. The patch has been applied to multiple kernel versions and is available through various distribution security updates. Debian has released security update DSA-5860-1 to address this issue (Debian Security Tracker).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management