CVE-2025-68262: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68262 is a double-free vulnerability in the Linux kernel's crypto/zstd module, occurring during per-CPU stream cleanup. The bug is triggered when multiple cryptographic transform (tfm) instances are allocated and freed, causing each tfm's exit routine (zstd_exit()) to attempt freeing the same shared per-CPU zstd streams multiple times. Affected software is the Linux kernel across multiple stable branches, with patches applied to stable commits. It was disclosed on December 16, 2025, and carries a CVSS category estimate of Medium (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause is improper lifecycle management of per-CPU zstd stream contexts (CWE-415: Double Free). The zstd_streams per-CPU data structures are freed inside zstd_exit(), which is called on every tfm destruction rather than being managed at the module level. When multiple tfms share the same per-CPU streams and are destroyed concurrently or sequentially, each destruction attempt frees already-freed memory, corrupting kernel page state. The resulting kernel stack trace shows the call path: crypto_acomp_free_streams → crypto_acomp_exit_tfm → crypto_destroy_tfm, ultimately triggering a BUG: Bad page state kernel error (Red Hat Bugzilla). The fix changes the lifecycle of zstd_streams so they are freed only once during module-level cleanup rather than per-tfm teardown.

Impact

Successful triggering of this vulnerability causes kernel memory corruption, manifesting as bad page state errors and potential kernel panics, which directly impacts system availability. Systems using the crypto/zstd module — particularly those running workloads like Btrfs with zstd compression that allocate multiple concurrent cryptographic transforms — are at risk of unpredictable kernel crashes. There is no evidence of confidentiality or integrity impact beyond the memory corruption and resulting instability (Red Hat CVE, Red Hat Bugzilla).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is very low at 0.017%, reflecting minimal exploitation probability. The bug is triggered by a specific kernel usage pattern (multiple tfm allocations/frees with the zstd crypto module) rather than by external attacker input, limiting its exploitability to local or privileged contexts (Red Hat CVE).

Indicators of compromise

  • Logs: Kernel log entries containing BUG: Bad page state in process with references to pfn values and nonzero entire_mapcount; stack traces involving crypto_acomp_free_streams, crypto_acomp_exit_tfm, or crypto_destroy_tfm.
  • Process: Kernel worker processes (e.g., kworker/u16:1) associated with Btrfs delalloc workqueues (btrfs-delalloc btrfs_work_helper) crashing or producing tainted kernel messages (Tainted: G B).
  • System Behavior: Unexpected kernel panics or system reboots on hosts using Btrfs with zstd compression or other workloads that allocate multiple zstd crypto transforms simultaneously.

Mitigation and workarounds

The fix has been committed to multiple Linux kernel stable branches (commits 48bc9da3c97c, dc0f4509b0ed, e983feaa79de), modifying zstd_streams lifecycle management to free streams only once at module cleanup. Users should update to the latest patched kernel version for their distribution. Ubuntu has released fixes in security notices USN-8094-1 through USN-8094-5 and USN-8152-1 (Ubuntu USN-8094-1, Ubuntu USN-8152-1). As a temporary workaround, minimizing workloads that create and destroy multiple concurrent zstd cryptographic transforms (e.g., limiting Btrfs zstd compression under heavy I/O) can reduce exposure until patching is complete (Red Hat Bugzilla).

Community reactions

Red Hat tracked the issue via their security response process and assigned it medium severity, with the bug filed in their Bugzilla system on December 16, 2025 (Red Hat Bugzilla). Ubuntu issued multiple security notices (USN-8094-1 through USN-8094-5, USN-8152-1) addressing this and related kernel vulnerabilities (Ubuntu USN-8094-1). No significant broader media coverage or notable researcher commentary has been identified beyond standard distribution security advisories.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

sid

linux: 6.17.12-1

Fixed

trixie

linux

Fixed

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-8

Affected

RHEL 8

kernel-rt.src

Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99082HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesOct 23, 2026
CVE-2026-99081HIGH7.5
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-kvm
NoYesOct 23, 2026
CVE-2026-99087NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-abi-stablelists
NoYesOct 23, 2026
CVE-2026-99086NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesOct 23, 2026
CVE-2026-99085NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.12
NoYesOct 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management