CVE-2025-71150 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix refcount leak when invalid session is found on session lookup When a session is found but its state is not SMB2_SESSION_VALID, It indicates that no valid session was found, but it is missing to decrement the reference count acquired by the session lookup, which results in a reference count leak. This patch fixes the issue by explicitly calling ksmbd_user_session_put to release the reference to the session.
A reference count leak vulnerability has been identified in the Linux kernel's KSMBD (Kernel SMB Daemon) component. This issue arises during session lookups when a session is found but its state is not valid. The invalid state indicates that no valid session exists, yet the reference count from the session lookup is not properly decremented, leading to a leak. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed in the Linux kernel stable tree by explicitly calling 'ksmbd_user_session_put' to release the reference to the session, thereby fixing the reference count leak.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/02e06785e85b4bd86ef3d23b7c8d87acc76773d5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/0fb87b28cafae71e9c8248432cc3a6a1fd759efc | kernel.org | Patch |
| https://git.kernel.org/stable/c/11fe566b442e3bc2774191740fd377739a87a1c0 | kernel.org | |
| https://git.kernel.org/stable/c/8cabcb4dd3dc85dd83a37d26efcc59a66a4074d7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cafb57f7bdd57abba87725eb4e82bbdca4959644 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e54fb2a4772545701766cba08aab20de5eace8cd | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15.176, < 5.16 >= 6.1.121, < 6.1.160 >= 6.6.67, < 6.6.120 >= 6.12.6, < 6.12.64 >= 6.13.1, < 6.18.3 6.13 - 6.13 rc3 6.13 rc4 6.13 rc5 6.13 rc6 6.13 rc7 6.19 rc1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 18, 2026 | CVE Modified | kernel.org |
| Feb 26, 2026 | Initial Analysis | [email protected] |
| Jan 23, 2026 | New CVE Received | kernel.org |