Skip to main content
Network Thinking Solutions Logo

CVE-2025-38675

Linux kernel: xfrm: state: initialize state_ptrs earlier in xfrm_state_find

All CVEs
CVE-2025-38675Published 8/22/2025

Linux kernel: xfrm: state: initialize state_ptrs earlier in xfrm_state_find

Vendor advisory
CVSS7.8High

Overview

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.

Published
8/22/2025
Last modified
10/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.12.13, < 6.12.41

Verify advisory

Source
linux kernel
linux
≥ 6.13.2, < 6.15.9

Verify advisory

Source
linux kernel
linux
6.16

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ a16871c7832ea6435abb6e0b58289ae7dcb7e4fc, < 6bf2daafc51bcb9272c0fdff2afd38217337d0d3

Verify advisory

Source
Linux
Linux
≥ e952837f3ddb0ff726d5b582aa1aad9aa38d024d, < 463562f9591742be62ddde3b426a0533ed496955

Verify advisory

Source
Linux
Linux
≥ e952837f3ddb0ff726d5b582aa1aad9aa38d024d, < 94d077c331730510d5611b438640a292097341f0

Verify advisory

Source
Linux
Linux
80610185e9dd2ef7c0a4818a47390a8655b3dc27

Verify advisory

Source
Linux
Linux
b86dc510308d7a8955f3f47a4fea4bef887653e4

Verify advisory

Source
Linux
Linux
dd4c2a174994238d55ab54da2545543d36f4e0d0

Verify advisory

Source
Linux
Linux
≥ 6.12.13, < 6.12.41

Verify advisory

Source
Linux
Linux
≥ 6.1.191, < 6.2

Verify advisory

Source
Linux
Linux
≥ 6.6.120, < 6.7

Verify advisory

Source
Linux
Linux
≥ 6.13.2, < 6.14

Verify advisory

Source
Linux
Linux
6.14

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.