VDB

CVE-2025-39941

CVE-2025-39941 PUBLISHED CVSS 4.699999809265137 MEDIUM

In the Linux kernel, the following vulnerability has been resolved: zram: fix slot write race condition Parallel concurrent writes to the same zram index result in leaked zsmalloc handles. Schematically we can have something like this: CPU0 CPU1 zram_slot_lock() zs_free(handle) zram_slot_lock() zram_slot_lock() zs_free(handle) zram_slot_lock() compress compress handle = zs_malloc() handle = zs_malloc() zram_slot_lock zram_set_handle(handle) zram_slot_lock zram_slot_lock zram_set_handle(handle) zram_slot_lock Either CPU0 or CPU1 zsmalloc handle will leak because zs_free() is done too early. In fact, we need to reset zram entry right before we set its new handle, all under the same slot lock scope.

EPSS 0.01% · 1.7th percentile

Risk Scores

CVSS v3.1
4.699999809265137
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score
0.01%
1.7th percentile

Affected Products

VendorProductVersions
linuxlinux_kernel6.14, 6.14, 6.14
LinuxLinux71268035f5d734ad6373d953298bd5779985497a, 71268035f5d734ad6373d953298bd5779985497a, 6.14

Timeline

  • Jan 21, 1970 Security Advisory
  • Oct 4, 2025 EPSS Score
  • Oct 4, 2025 CVE Published
  • Oct 4, 2025 PoC Published
  • Oct 6, 2025 Coalition ESS Score
  • Oct 10, 2025 EPSS Score
  • Oct 17, 2025 EPSS Score
  • Oct 23, 2025 EPSS Score
  • Oct 30, 2025 EPSS Score
  • Nov 5, 2025 EPSS Score
  • Nov 12, 2025 EPSS Score
  • Nov 18, 2025 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›