Menu

Star on GitHub · 3.2k

CVE-2025-38109

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix ECVF vports unload on shutdown flow Fix shutdown flow UAF when a virtual function is created on the embedded chip…

Published Jul 3, 2025CWE-416EPSS 0.19%

Overview

CVE-2025-38109 is a high-severity vulnerability. It was published on July 3, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: Fix ECVF vports unload on shutdown flow

Fix shutdown flow UAF when a virtual function is created on the embedded

chip (ECVF) of a BlueField device. In such case the vport acl ingress

table is not properly destroyed.

ECVF functionality is independent of ecpf_vport_exists capability and

thus functions mlx5_eswitch_(enable|disable)_pf_vf_vports() should not

test it when enabling/disabling ECVF vports.

kernel log:

[] refcount_t: underflow; use-after-free.

[] WARNING: CPU: 3 PID: 1 at lib/refcount.c:28

refcount_warn_saturate+0x124/0x220

----------------

[] Call trace:

[] refcount_warn_saturate+0x124/0x220

[] tree_put_node+0x164/0x1e0 [mlx5_core]

[] mlx5_destroy_flow_table+0x98/0x2c0 [mlx5_core]

[] esw_acl_ingress_table_destroy+0x28/0x40 [mlx5_core]

[] esw_acl_ingress_lgcy_cleanup+0x80/0xf4 [mlx5_core]

[] esw_legacy_vport_acl_cleanup+0x44/0x60 [mlx5_core]

[] esw_vport_cleanup+0x64/0x90 [mlx5_core]

[] mlx5_es

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-38109?

CVE-2025-38109 is a high-severity vulnerability. It was published on July 3, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-38109?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38109?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38109?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-38109 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all