Kernel memory corruption via uninitialized XFRM pointers
Published Aug 22, 2025 · Updated Aug 5, 2026
Use of uninitialized memory in affected Linux kernel versions allows local users to read or corrupt kernel memory through the IPsec transmit path. During a preemptible xfrm_state_find lookup, CPU migration can select another CPU's cached state and enter the acquire block before state_ptrs is initialized. A local user with CAP_NET_ADMIN in a user namespace can repeatedly trigger the race, causing a kernel crash or steering kernel control flow through corrupted state handling.
Summary
What happened
Use of uninitialized memory in affected Linux kernel versions allows local users to read or corrupt kernel memory through the IPsec transmit path. During a preemptible xfrm_state_find lookup, CPU migration can select another CPU's cached state and enter the acquire block before state_ptrs is initialized. A local user with CAP_NET_ADMIN in a user namespace can repeatedly trigger the race, causing a kernel crash or steering kernel control flow through corrupted state handling.
The record
- CVE
- CVE-2025-38675
- Published
- Aug 22, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 22, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.12.13 <6.12.41
- Affected versionversion=6.13.2 <6.14
- Affected versionversion=6.14
- Affected versionversion=6.6.120 <6.7
- Affected versionversion=a16871c7832ea6435abb6e0b58289ae7dcb7e4fc <6bf2daafc51bcb9272c0fdff2afd38217337d0d3
- Affected versionversion=b86dc510308d7a8955f3f47a4fea4bef887653e4
- Affected versionversion=dd4c2a174994238d55ab54da2545543d36f4e0d0
- Affected versionversion=e952837f3ddb0ff726d5b582aa1aad9aa38d024d <463562f9591742be62ddde3b426a0533ed496955
- Affected versionversion=e952837f3ddb0ff726d5b582aa1aad9aa38d024d <94d077c331730510d5611b438640a292097341f0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo