CVE-2025-37962

MEDIUM

Linux kernel - Memory Corruption

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0009
EPSS Percentile 25.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (7)
debian/debian_linux 11.0
linux/Kernel 6.1.134 - 6.1.139linux
linux/Kernel 6.12.23 - 6.12.29linux
linux/Kernel 6.14.2 - 6.14.7linux
linux/Kernel 6.6.87 - 6.6.91linux
linux/linux_kernel 6.15 rc1 (5 CPE variants)
linux/linux_kernel 6.1.134 - 6.1.139
Published May 20, 2025
Tracked Since Feb 18, 2026