Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-38628

5.5 · MEDIUM
Published Aug 22, 2025 linux CWE-908 EPSS 0.16% (5th pctl)

Overview

CVE-2025-38628 is a medium-severity vulnerability affecting linux linux_kernel. It was published on August 22, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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:

vdpa/mlx5: Fix release of uninitialized resources on error path

The commit in the fixes tag made sure that mlx5_vdpa_free()

is the single entrypoint for removing the vdpa device resources

added in mlx5_vdpa_dev_add(), even in the cleanup path of

mlx5_vdpa_dev_add().

This means that all functions from mlx5_vdpa_free() should be able to

handle uninitialized resources. This was not the case though:

mlx5_vdpa_destroy_mr_resources() and mlx5_cmd_cleanup_async_ctx()

were not able to do so. This caused the splat below when adding

a vdpa device without a MAC address.

This patch fixes these remaining issues:

- Makes mlx5_vdpa_destroy_mr_resources() return early if called on

uninitialized resources.

- Moves mlx5_cmd_init_async_ctx() early on during device addition

because it can't fail. This means that mlx5_cmd_cleanup_async_ctx()

also can't fail. To mirror this, move the call site of

mlx5_cmd_cleanup_async_ctx() i

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.12.1, < 6.12.42 Affected

Frequently Asked Questions

What is CVE-2025-38628?

CVE-2025-38628 is a medium-severity vulnerability affecting linux linux_kernel. It was published on August 22, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-38628?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-38628?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-38628?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-38628 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.