CVE-2025-39941
Linux Debian vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2025-39941) has been identified related to a race condition in the zram subsystem. The issue involves parallel concurrent writes to the same zram index resulting in leaked zsmalloc handles. This vulnerability was recently published to the CVE List and has been included in the NVD dataset as of October 4, 2025 (NVD).

Technical details

The vulnerability stems from a slot write race condition in the zram component. When parallel concurrent writes occur to the same zram index, a race condition emerges where either CPU0 or CPU1 zsmalloc handle will leak because zs_free() is executed too early. The issue occurs because the zram entry needs to be reset right before setting its new handle, all under the same slot lock scope (NVD).

Impact

The primary impact of this vulnerability is memory leakage in the Linux kernel. When exploited, the vulnerability results in leaked zsmalloc handles, which could lead to memory resource exhaustion over time (NVD).

Mitigation and workarounds

The vulnerability has been resolved in the Linux kernel through patches that correct the slot write race condition. The fix ensures proper handling of zram entry resets and handle assignments under the same slot lock scope (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-53687N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel
NoYesOct 07, 2025
CVE-2023-53686N/AN/A
  • Linux KernelLinux Kernel
  • kernel-tools-libs
NoYesOct 07, 2025
CVE-2023-53685N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-extra
NoYesOct 07, 2025
CVE-2023-53684N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug
NoYesOct 07, 2025
CVE-2023-53683N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoYesOct 07, 2025

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

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