CVE-2025-71220 smb/server: call ksmbd_session_rpc_close() on error path in create_smb2_pipe()
A missing cleanup call in the Linux kernel SMB server error path can lead to resource leaks and potential denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-71220?
CVE-2025-71220 is a high-severity vulnerability in Linux kernel, published on 14 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
smb/server: call ksmbd_session_rpc_close() on error path in create_smb2_pipe()
When ksmbd_iov_pin_rsp() fails, we should call ksmbd_session_rpc_close().
Which versions are affected by CVE-2025-71220?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-71220?
Apply the vendor's patch.
Is CVE-2025-71220 being exploited?
There is no known exploitation of CVE-2025-71220 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-71220, DEBIAN-CVE-2025-71220, GHSA-6hxq-g3f7-5m89, ROOT-OS-DEBIAN-12-CVE-2025-71220, ROOT-OS-DEBIAN-13-CVE-2025-71220, ROOT-OS-UBUNTU-2204-CVE-2025-71220 and 2 more.