CVE-2025-40286: smb/server: fix possible memory leak in smb2_read()
Vulnerability summary
CVE-2025-40286 is a high (CVSS 7.1) vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.1% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 18 · Related 15Timeline
- 06-12-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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().
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.19% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu155 products
- linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.159-1 | < 6.12.63-1 | < 6.17.9-1
Linux1 product
- linux≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 0797c6cf3b857cc229ab2bc69552938dcd738d78 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 63d8706a2c09a0c29b8b0e8a44bc7a1339685de9 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < f1305587731886da37a214cda812ade246c653b0 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < bfda5422a16651d0bf864ec468b1c216e1b10d91 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 6fced056d2cc8d01b326e6fcfabaacb9850b71a4 | 5.15
3 vendors · 157 products