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

CVE record · `CVE-2025-71220`

- **Identifiers:** `CVE-2025-71220`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 14 Feb 2026
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 14 Feb 2026, 16:27 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `f2283680a80571ca82d710bc6ecd8f8beac67d63 to before a2c68e256fb7a4ac34154c6e865a1389acca839f` (git)
  - affected: `9f297df20d93411c0b4ddad7f88ba04a7cd36e77 to before 2b7b4df87fe6f2db6ee45f475de6b37b8b8e5d29` (git)
  - affected: `e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d to before 04dd114b682a4ccaeba2c2bad049c8b50ce740d8` (git)
  - affected: `e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d to before ac18761b530b5dd40f59af8a25902282e5512854` (git)
  - affected: `e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d to before fdda836fcee6fdbcccc24e3679097efb583f581f` (git)
  - affected: `e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d to before 7c28f8eef5ac5312794d8a52918076dcd787e53b` (git)
  - affected: `5.15.145 to before 5.15.200` (semver)
  - affected: `6.1.71 to before 6.1.163` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.6`
  - unaffected: `before 6.6` (semver)
  - unaffected: `5.15.200 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.163 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.124 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.70 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.10 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's ksmbd SMB server can skip cleanup of an SMB2 pipe session RPC when a response buffer fails to pin in create_smb2_pipe(). The source gives few details on what an attacker needs or what they could do. Upgrade to 5.15.200, 6.1.163, 6.6.124, 6.12.70, or a later release in those series.

Written 17 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0015, the 4th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 14 Feb 2026, 16:27 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-71220)
- 14 Feb 2026, 17:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-71220)

## Sources

- [CVE List: CVE-2025-71220](https://www.cve.org/CVERecord?id=CVE-2025-71220)
- [NVD: CVE-2025-71220](https://nvd.nist.gov/vuln/detail/CVE-2025-71220)

### References from the CNA

- <https://git.kernel.org/stable/c/a2c68e256fb7a4ac34154c6e865a1389acca839f>
- <https://git.kernel.org/stable/c/2b7b4df87fe6f2db6ee45f475de6b37b8b8e5d29>
- <https://git.kernel.org/stable/c/04dd114b682a4ccaeba2c2bad049c8b50ce740d8>
- <https://git.kernel.org/stable/c/ac18761b530b5dd40f59af8a25902282e5512854>
- <https://git.kernel.org/stable/c/fdda836fcee6fdbcccc24e3679097efb583f581f>
- <https://git.kernel.org/stable/c/7c28f8eef5ac5312794d8a52918076dcd787e53b>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-71220>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-71220/>. Everything for agents: <https://agentprime.io/llms.txt>.
