Skip to main content
VulnerabilityPublished

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

Source GCVE Database

0
Compare

Not known to be exploited.

Data as of 25 Nov 2026, 04:13 UTC

Severity
Low

Rated Low by Threat Radar's AI analysis · No CVSS score from NVD or the CNA

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

AI-suggested

A fix has been implemented to address the memory leak by adding the missing kvfree() call. Users should apply the updated Linux kernel version containing this fix once it is available. No additional mitigation steps are indicated.

Description

A memory leak vulnerability in the Linux kernel's SMB server component (smb2_read function) was fixed. The issue occurred when the ksmbd_vfs_read() call failed, leading to missing memory deallocation. The fix involved adding the missing kvfree() call to properly free allocated memory.

References

Community reviews

Loading reviews…