Menu

Star on GitHub · 3.2k

CVE-2025-38590

7.5 · HIGH

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Remove skb secpath if xfrm state is not found Hardware returns a unique identifier for a decrypted packet's xfrm sta…

Published Aug 19, 2025CWE-401EPSS 0.37%

Overview

CVE-2025-38590 is a high-severity vulnerability. It was published on August 19, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

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

net/mlx5e: Remove skb secpath if xfrm state is not found

Hardware returns a unique identifier for a decrypted packet's xfrm

state, this state is looked up in an xarray. However, the state might

have been freed by the time of this lookup.

Currently, if the state is not found, only a counter is incremented.

The secpath (sp) extension on the skb is not removed, resulting in

sp->len becoming 0.

Subsequently, functions like __xfrm_policy_check() attempt to access

fields such as xfrm_input_state(skb)->xso.type (which dereferences

sp->xvec[sp->len - 1]) without first validating sp->len. This leads to

a crash when dereferencing an invalid state pointer.

This patch prevents the crash by explicitly removing the secpath

extension from the skb if the xfrm state is not found after hardware

decryption. This ensures downstream functions do not operate on a

zero-length secpath.

BUG: unable to handle page fault for address: ffff

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-38590?

CVE-2025-38590 is a high-severity vulnerability. It was published on August 19, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2025-38590?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

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-38590?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-38590 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