CVE-2025-40286smb/server: fix possible memory leak in smb2_read()
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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().
- CVSS
- Not yet scored
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Deferred
- Record last updated
- May 11, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 0797c6cf3b857cc229ab2bc69552938dcd738d78; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 63d8706a2c09a0c29b8b0e8a44bc7a1339685de9; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before f1305587731886da37a214cda812ade246c653b0; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before bfda5422a16651d0bf864ec468b1c216e1b10d91; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 6fced056d2cc8d01b326e6fcfabaacb9850b71a4 | CNA record |
References
- https://git.kernel.org/stable/c/0797c6cf3b857cc229ab2bc69552938dcd738d78
- https://git.kernel.org/stable/c/63d8706a2c09a0c29b8b0e8a44bc7a1339685de9
- https://git.kernel.org/stable/c/f1305587731886da37a214cda812ade246c653b0
- https://git.kernel.org/stable/c/bfda5422a16651d0bf864ec468b1c216e1b10d91
- https://git.kernel.org/stable/c/6fced056d2cc8d01b326e6fcfabaacb9850b71a4
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.