CVE-2026-97558
High 7.1No known exploitationFix availablesmb: client: fix cifsFileInfo reference leak in deferred close
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 14% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from c3f207ab29f793b8c942ce8067ed123f18d5b81b before a6767712902beb0f53238be485971c9a83ea1079 | a6767712902beb0f53238be485971c9a83ea1079 | CVE Program |
| Linux | Linux | from c3f207ab29f793b8c942ce8067ed123f18d5b81b before ea93759d6c2789924f4e557aed5be532207715ea | ea93759d6c2789924f4e557aed5be532207715ea | CVE Program |
| Linux | Linux | from c3f207ab29f793b8c942ce8067ed123f18d5b81b before 5520e89a5a4f834bced64cf2ac927001cc513a40 | 5520e89a5a4f834bced64cf2ac927001cc513a40 | CVE Program |
| Linux | Linux | from c3f207ab29f793b8c942ce8067ed123f18d5b81b before 645a7359c1f740152464edf84f1030e0cad42c9d | 645a7359c1f740152464edf84f1030e0cad42c9d | CVE Program |
| Linux | Linux | from c3f207ab29f793b8c942ce8067ed123f18d5b81b before 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2 | 46d98be6c34a52182ea3c2f849a3ea0e9419eaf2 | CVE Program |
| Linux | Linux | from c3f207ab29f793b8c942ce8067ed123f18d5b81b before 525c225e23d61694091f2806de553a69362a78ff | 525c225e23d61694091f2806de553a69362a78ff | CVE Program |
| Linux | Linux | from c3f207ab29f793b8c942ce8067ed123f18d5b81b before bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6 | bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6 | CVE Program |
| Linux | Linux | 5.13 | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl3 kernel 6.6.159.1-1 on Azure Linux 3.0 | Not documented | 6.6.161.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 5.15.224 up to and including 5.15.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.1.191 up to and including 6.1.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.113 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.54 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.6.160 up to and including 6.6.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.7 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 5.13 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Advisory change
Microsoft advisory revised (6.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/46d98be6c34a52182ea3c2f849a3ea0e9419eaf2 (opens in a new tab)
- https://git.kernel.org/stable/c/525c225e23d61694091f2806de553a69362a78ff (opens in a new tab)
- https://git.kernel.org/stable/c/5520e89a5a4f834bced64cf2ac927001cc513a40 (opens in a new tab)
- https://git.kernel.org/stable/c/645a7359c1f740152464edf84f1030e0cad42c9d (opens in a new tab)
- https://git.kernel.org/stable/c/a6767712902beb0f53238be485971c9a83ea1079 (opens in a new tab)
- https://git.kernel.org/stable/c/bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6 (opens in a new tab)
- https://git.kernel.org/stable/c/ea93759d6c2789924f4e557aed5be532207715ea (opens in a new tab)