CVE-2025-37962

Medium

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix memory leak in parse_lease_state() The previous patch that added bounds check for create lease context introduced a memory leak. When the bounds check fails, the function returns NULL without freeing the previously allocated lease_ctx_info structure. This patch fixes the issue by adding kfree(lreq) before returning NULL in both boundary check cases.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedMay 20, 2025
First seenMay 20, 2025

How to fix

Update
  • linux linux_kernel6.1.139, 6.6.91, 6.12.29, 6.14, 6.14.7 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.1.134 ≤ v < 6.1.139, 6.6.87 ≤ v < 6.6.91, 6.12.23 ≤ v < 6.12.29, 6.13.11 ≤ v < 6.14, 6.14.2 ≤ v < 6.14.7, 6.156.1.139, 6.6.91, 6.12.29, 6.14, 6.14.7
debian debian_linux11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-37962 · Linux Kernel · Dark Radar