CVE-2025-40286
smb/server: fix possible memory leak in smb2_read()
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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().
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Dec 6, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 0797c6cf3b857cc229ab2bc69552938dcd738d78 e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 63d8706a2c09a0c29b8b0e8a44bc7a1339685de9 e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < f1305587731886da37a214cda812ade246c653b0 e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < bfda5422a16651d0bf864ec468b1c216e1b10d91 e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 6fced056d2cc8d01b326e6fcfabaacb9850b71a4
Linux / Linux
5.15
References
git.kernel.org: https://git.kernel.org/stable/c/0797c6cf3b857cc229ab2bc69552938dcd738d78 git.kernel.org: https://git.kernel.org/stable/c/63d8706a2c09a0c29b8b0e8a44bc7a1339685de9 git.kernel.org: https://git.kernel.org/stable/c/f1305587731886da37a214cda812ade246c653b0 git.kernel.org: https://git.kernel.org/stable/c/bfda5422a16651d0bf864ec468b1c216e1b10d91 git.kernel.org: https://git.kernel.org/stable/c/6fced056d2cc8d01b326e6fcfabaacb9850b71a4