CVE-2025-71220

smb/server: call ksmbd_session_rpc_close() on error path in create_smb2_pipe()

No CVSS score yet EPSS 0.18%

Published 14 Feb 2026 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2025-71220

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-71220 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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().

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.29% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f2283680a80571ca82d710bc6ecd8f8beac67d63, before a2c68e256fb7a4ac34154c6e865a1389acca839f
affected from 9f297df20d93411c0b4ddad7f88ba04a7cd36e77, before 2b7b4df87fe6f2db6ee45f475de6b37b8b8e5d29
affected from e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d, before 04dd114b682a4ccaeba2c2bad049c8b50ce740d8
affected from e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d, before ac18761b530b5dd40f59af8a25902282e5512854
affected from e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d, before fdda836fcee6fdbcccc24e3679097efb583f581f
affected from e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d, before 7c28f8eef5ac5312794d8a52918076dcd787e53b
affected from 5.15.145, before 5.15.200
affected from 6.1.71, before 6.1.163
Other versions: unaffected
Linux
affected 6.6
unaffected before 6.6
unaffected from 5.15.200 up to and including 5.15.*
unaffected from 6.1.163 up to and including 6.1.*
unaffected from 6.6.124 up to and including 6.6.*
unaffected from 6.12.70 up to and including 6.12.*
unaffected from 6.18.10 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-71220 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-71220

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-71220
trivy image --scanners vuln IMAGE | grep CVE-2025-71220

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-71220 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.