CVE-2025-71220
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-71220 is a missing error-handling vulnerability in the Linux kernel's SMB/server (ksmbd) module, specifically in the create_smb2_pipe() function. When ksmbd_iov_pin_rsp() fails, the function omits a required call to ksmbd_session_rpc_close(), resulting in improper RPC session cleanup and potential resource leaks. The vulnerability affects Linux kernel versions 5.15.145–5.15.199, 6.1.71–6.1.162, 6.6–6.6.123, 6.7–6.12.69, and 6.13–6.18.9, as well as release candidates 6.19-rc1 through rc3. It carries a CVSS v3.1 base score of 7.8 (High) (Feedly).

Technical details

The root cause is improper resource cleanup (CWE-404 / missing error handling) in the ksmbd SMB server implementation within the Linux kernel. When ksmbd_iov_pin_rsp() returns an error in create_smb2_pipe(), the code path exits without invoking ksmbd_session_rpc_close(), leaving the associated RPC session handle open and uncleaned. This local attack vector requires low privileges and no user interaction, and can be triggered by a local user interacting with the SMB server subsystem in a way that causes ksmbd_iov_pin_rsp() to fail. Patches addressing this issue are available in the upstream kernel stable trees (Kernel Patches).

Impact

A local attacker with low privileges could exploit this vulnerability to cause resource leaks, denial of service conditions, or system instability on affected Linux systems running the ksmbd SMB server. The improper RPC session handling may lead to memory exhaustion over time or state corruption within the SMB server, potentially affecting confidentiality, integrity, and availability of the system. The vulnerability's scope is limited to the local system and does not directly enable remote code execution or lateral movement (Feedly).

Mitigation and workarounds

Upgrade to a patched Linux kernel version: 5.15.200 or later, 6.1.163 or later, 6.6.124 or later, 6.12.70 or later, or 6.18.10 or later, depending on the active kernel branch. Debian and Ubuntu have issued security advisories and updated packages addressing this vulnerability. For systems that cannot be immediately patched, restrict local user access and consider disabling the ksmbd SMB server module if it is not required. Monitor SMB/CIFS server activity for anomalous patterns as a compensating control (Feedly, Debian LTS Announce, Ubuntu USN-8278-1).

Community reactions

Debian issued security advisories (DSA-6141-1, DSA-6163-1, DLA-4499-1) and Ubuntu published multiple security notices (USN-8278-1, USN-8278-2, USN-8289-1, USN-8289-2, USN-8296-1, USN-8296-2, USN-8393-1) addressing this and related kernel vulnerabilities. No notable independent researcher commentary or significant social media discussion specific to this CVE has been identified (Debian LTS Announce, Ubuntu USN-8278-1).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management