CVE-2025-40286 Details
Description
In the Linux kernel, the following vulnerability has been resolved: smb/server: fix possible memory leak in smb2_read() Memory leak occurs when ksmbd_vfs_read() fails. Fix this by adding the missing kvfree().
A memory leak vulnerability has been identified in the Linux kernel's SMB2 read function. This issue arises in the SMB server component when the 'ksmbd_vfs_read' operation fails, leading to a failure to release allocated memory. The vulnerability is present in the stable version of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that resolves this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 6, 2025References 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/0797c6cf3b857cc229ab2bc69552938dcd738d78 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/63d8706a2c09a0c29b8b0e8a44bc7a1339685de9 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6fced056d2cc8d01b326e6fcfabaacb9850b71a4 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/bfda5422a16651d0bf864ec468b1c216e1b10d91 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f1305587731886da37a214cda812ade246c653b0 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 6, 2025 | New CVE Received | kernel.org |
Volerion