# CVE-2026-97558: smb: client: fix cifsFileInfo reference leak in deferred close

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2026-09-25T10:21:48.277Z
- **Modified:** 2026-10-30T13:21:07.977Z

## Who should check

- Anyone running Linux \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 645a7359c1f740152464edf84f1030e0cad42c9d; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 525c225e23d61694091f2806de553a69362a78ff; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< a6767712902beb0f53238be485971c9a83ea1079; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< ea93759d6c2789924f4e557aed5be532207715ea; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 5520e89a5a4f834bced64cf2ac927001cc513a40
- Anyone running Linux 5.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix cifsFileInfo reference leak in deferred close

When cifs\_close() defers a close, it hands the cifsFileInfo reference
of the closing struct file to the queued work. Each execution of
smb2\_deferred\_work\_close() drops one such reference.

deferred\_close\_scheduled can be false while the work is pending: the
workqueue clears PENDING when the callback starts to run, before the
callback clears the flag under deferred\_lock. A close in that
interval requeues the running work, and the callback then clears the
flag, leaving the requeued work pending with the flag down. A later
cifs\_open() can reuse the handle and its cifs\_close() reaches the
same branch: queue\_delayed\_work() fails because the work is still
pending, but cifs\_close() returns without dropping the closing file's
reference. The cifsFileInfo count stays pinned and its tlink, dentry
and server handle are leaked.

Check the return value and hand off the reference only when work was
actually queued. Otherwise, use the shared \_cifsFileInfo\_put(), like
the mod\_delayed\_work() branch above: the pending execution already
owns its reference.

This issue was found by an in-house static analysis tool.

## Affected and fixed versions

- Linux: \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 645a7359c1f740152464edf84f1030e0cad42c9d; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 525c225e23d61694091f2806de553a69362a78ff; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< a6767712902beb0f53238be485971c9a83ea1079; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< ea93759d6c2789924f4e557aed5be532207715ea; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 5520e89a5a4f834bced64cf2ac927001cc513a40 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 5520e89a5a4f834bced64cf2ac927001cc513a40 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97558. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97558.md
Affected: Linux >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 645a7359c1f740152464edf84f1030e0cad42c9d; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 525c225e23d61694091f2806de553a69362a78ff; >= c3f207ab29f793b8c942ce8…
Fixed in: Linux 645a7359c1f740152464edf84f1030e0cad42c9d, Linux 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2, Linux 525c225e23d61694091f2806de553a69362a78ff, Linux 5520e89a5a4f834bced64cf2ac927001cc513a40

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97558 being exploited?

There is no confirmed exploitation: CVE-2026-97558 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97558?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97558?

Linux \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 645a7359c1f740152464edf84f1030e0cad42c9d; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 525c225e23d61694091f2806de553a69362a78ff; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< a6767712902beb0f53238be485971c9a83ea1079; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< ea93759d6c2789924f4e557aed5be532207715ea; \>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, \< 5520e89a5a4f834bced64cf2ac927001cc513a40; Linux 5.13.

### Is there a fix for CVE-2026-97558?

Yes. Fixed in Linux 645a7359c1f740152464edf84f1030e0cad42c9d, Linux 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2, Linux 525c225e23d61694091f2806de553a69362a78ff, Linux 5520e89a5a4f834bced64cf2ac927001cc513a40. Upgrade Linux to 5520e89a5a4f834bced64cf2ac927001cc513a40 or later.

### How do I check if I'm affected by CVE-2026-97558?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/645a7359c1f740152464edf84f1030e0cad42c9d>
- other: <https://git.kernel.org/stable/c/46d98be6c34a52182ea3c2f849a3ea0e9419eaf2>
- other: <https://git.kernel.org/stable/c/525c225e23d61694091f2806de553a69362a78ff>
- other: <https://git.kernel.org/stable/c/bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6>
- other: <https://git.kernel.org/stable/c/a6767712902beb0f53238be485971c9a83ea1079>
- other: <https://git.kernel.org/stable/c/ea93759d6c2789924f4e557aed5be532207715ea>
- other: <https://git.kernel.org/stable/c/5520e89a5a4f834bced64cf2ac927001cc513a40>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97558>

HTML: <https://flawdb.com/CVE-2026-97558> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97558>
