Vulnary
← back to the feed
Critical· 9.8official fix available

CVE-2025-40320

A flaw in the Linux kernel's SMB client allows for a 'use-after-free' error during specific network operations. This occurs when the system tries to reuse information that has already been cleared from memory.

publishedDec 8, 2025
last modifiedJul 30, 2026
sourcesNVD
severity · cvss
9.8
critical · how bad it is
exploitation · epss
<1%
30th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Aug 29, 2026

An official fix is available, so this entry is kept for 30 days and then removed automatically.

01

Who is affected

Users running a Linux kernel that utilizes the SMB client for network file sharing.

02

Real-world impact

An attacker could potentially exploit this to cause a system crash or execute unauthorized code by manipulating how the kernel handles memory during file system queries.

03

Why this severity

The critical score reflects that the vulnerability is easy to exploit remotely over a network without requiring user interaction or special privileges, and it can lead to a total loss of confidentiality, integrity, and availability.

04

What to do about it

official fix available
recommended steps
  1. 01Update the Linux kernel to the version containing the fix for smb2_query_info_compound.

NVD-referenced vendor advisory

05

Timeline

  1. Dec 8, 2025 · Dec 8, 2025
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Jul 30, 2026 · 6d ago
    Advisory updated
    The NVD record was last revised.
  3. Jul 30, 2026 · 6d ago
    Official fix available
    A vendor patch or mitigation now exists — see the remediation steps above.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityLow
Privileges requiredNone
User interactionNone needed
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →