Skip to content
Threat Brief

← All advisories

CVE-2026-97558

High 7.1No known exploitationFix available

smb: client: fix cifsFileInfo reference leak in deferred close

Record last updated

CVSS score

7.1

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 14% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

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

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom c3f207ab29f793b8c942ce8067ed123f18d5b81b before a6767712902beb0f53238be485971c9a83ea1079a6767712902beb0f53238be485971c9a83ea1079CVE Program
LinuxLinuxfrom c3f207ab29f793b8c942ce8067ed123f18d5b81b before ea93759d6c2789924f4e557aed5be532207715eaea93759d6c2789924f4e557aed5be532207715eaCVE Program
LinuxLinuxfrom c3f207ab29f793b8c942ce8067ed123f18d5b81b before 5520e89a5a4f834bced64cf2ac927001cc513a405520e89a5a4f834bced64cf2ac927001cc513a40CVE Program
LinuxLinuxfrom c3f207ab29f793b8c942ce8067ed123f18d5b81b before 645a7359c1f740152464edf84f1030e0cad42c9d645a7359c1f740152464edf84f1030e0cad42c9dCVE Program
LinuxLinuxfrom c3f207ab29f793b8c942ce8067ed123f18d5b81b before 46d98be6c34a52182ea3c2f849a3ea0e9419eaf246d98be6c34a52182ea3c2f849a3ea0e9419eaf2CVE Program
LinuxLinuxfrom c3f207ab29f793b8c942ce8067ed123f18d5b81b before 525c225e23d61694091f2806de553a69362a78ff525c225e23d61694091f2806de553a69362a78ffCVE Program
LinuxLinuxfrom c3f207ab29f793b8c942ce8067ed123f18d5b81b before bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6bbeb7a42c9ea656e17ddcbdc2d7917aa853383a6CVE Program
LinuxLinux5.13Not documentedCVE Program
Microsoftazl3 kernel 6.6.157.1-1 on Azure Linux 3.0Not documentedNot documentedMicrosoft MSRC
Microsoftazl3 kernel 6.6.159.1-1 on Azure Linux 3.0Not documented6.6.161.1-1Microsoft MSRC
Microsoftazl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0Not documented0:6.18.57-1.1.azl4Microsoft MSRC
LinuxLinux (unaffected)from 5.15.224 up to and including 5.15.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.1.191 up to and including 6.1.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.12.113 up to and including 6.12.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.18.54 up to and including 6.18.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.6.160 up to and including 6.6.*Not documentedCVE Program
LinuxLinux (unaffected)from 7.2.7 up to and including 7.2.*Not documentedCVE Program
LinuxLinux (unaffected)7.3Not documentedCVE Program
LinuxLinux (unaffected)all versions before 5.13Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Advisory change

    Microsoft advisory revised (2.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  4. Advisory change

    Microsoft advisory revised (3.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  5. Advisory change

    Microsoft advisory revised (4.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  6. Advisory change

    Microsoft advisory revised (5.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  7. Advisory change

    Microsoft advisory revised (6.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  8. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references