CVE-2025-37962

MEDIUM

Linux Kernel 6.1.134-6.1.138, 6.6.87-6.6.90, 6.12.23-6.12.28, 6.14.2-6.14.6 - Use-After-Free in ksmbd

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.0015
EPSS Percentile 4.4%
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 (18)
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 6.1.134 - 6.1.139
Linux/Linux 6.12.23 - 6.12.29
Linux/Linux 6.13.11 - 6.14
Linux/Linux 6.14.2 - 6.14.7
Linux/Linux 6.6.87 - 6.6.91
... and 8 more
Published May 20, 2025
Tracked Since Feb 18, 2026