7.1

CVE-2025-40286: smb/server: fix possible memory leak in smb2_read()

Deferred
AliasesUBUNTU-CVE-2025-40286DEBIAN-CVE-2025-40286
Published 06-12-2025Last modified 11-05-2026

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.

Priority
Routine

Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.20%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 18 · Related 15

Timeline

  1. 06-12-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last 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 version

EPSS 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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

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

References

24 links
Show all 24 references