Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-97558

UNSCOREDEPSS 8%

smb: client: fix cifsFileInfo reference leak in deferred close

Mitigation

  • Upgrade Linux to 5520e89a5a4f834bced64cf2ac927001cc513a40 or later.

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

Vulnerability facts

Affected
Linux >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 645a7359c1f740152464edf84f1030e0cad42c9d; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 525c225e23d61694091f2806de553a69362a78ff; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < a6767712902beb0f53238be485971c9a83ea1079; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < ea93759d6c2789924f4e557aed5be532207715ea; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 5520e89a5a4f834bced64cf2ac927001cc513a40; Linux 5.13
Fixed in
Linux 645a7359c1f740152464edf84f1030e0cad42c9d, Linux 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2, Linux 525c225e23d61694091f2806de553a69362a78ff, Linux 5520e89a5a4f834bced64cf2ac927001cc513a40
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

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

Package / productAffectedFixedSource
Linux>= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 645a7359c1f740152464edf84f1030e0cad42c9d; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 525c225e23d61694091f2806de553a69362a78ff; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < a6767712902beb0f53238be485971c9a83ea1079; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < ea93759d6c2789924f4e557aed5be532207715ea; >= c3f207ab29f793b8c942ce8067ed123f18d5b81b, < 5520e89a5a4f834bced64cf2ac927001cc513a40—cvelist
Linux5.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors