CVE-2025-38675

Medium

In the Linux kernel, the following vulnerability has been resolved: xfrm: state: initialize state_ptrs earlier in xfrm_state_find In case of preemption, xfrm_state_look_at will find a different pcpu_id and look up states for that other CPU. If we matched a state for CPU2 in the state_cache while the lookup started on CPU1, we will jump to "found", but the "best" state that we got will be ignored and we will enter the "acquire" block. This block uses state_ptrs, which isn't initialized at this point. Let's initialize state_ptrs just after taking rcu_read_lock. This will also prevent a possible misuse in the future, if someone adjusts this function.

Package Linux Kernel
Published 2025-08-22
Last modified 2025-11-25
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

4.7

out of 10
Medium
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-362

CVE-2025-38675 is a Race Condition vulnerability

What is Race Condition?

The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE

Affected versions

Linux kernel versions 6.12.13, 6.6.120, 6.13.2, 6.14 and later are affected. Fixed in 6.12.41, 6.15.9, 6.16 and their respective stable series.

Affected from
≥ 6.12.13 ≥ 6.6.120 ≥ 6.13.2 ≥ 6.14
Fixed in
✓ 6.12.41 6.12.x ✓ 6.15.9 6.15.x ✓ 6.16

References

The following references provide additional information about CVE-2025-38675 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2025-38675?

    CVE-2025-38675 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 6.12.13 onward and has been patched in 6.12.41, 6.15.9 and 6.16. CVE-2025-38675 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2025-38675?

    CVE-2025-38675 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2025-38675?

    Yes — CVE-2025-38675 has been patched. Fixed versions include 6.12.41, 6.15.9 and 6.16. If you are running Linux kernel 6.12.13 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2025-38675 actively exploited?

    No — CVE-2025-38675 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

  • What is Race Condition (CWE-362)?

    The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →