VDB

CVE-2026-97558

CVE-2026-97558 PUBLISHED

smb: client: fix cifsFileInfo reference leak in deferred close

Reported by linux · Published September 25, 2026

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.

EPSS 0.23% · 13.7th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-headersAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-headersAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12Amazon Linux1:6.12.113-138.209.amzn2023
perf6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.113-138.209.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-develAmazon Linux1:6.12.113-138.209.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel-livepatch-6.12.113-138.209Amazon Linux1:1.0-0.amzn2023

2 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.23%
13.7th percentile

Affected products

VendorProductVersions
LinuxLinuxc3f207ab29f793b8c942ce8067ed123f18d5b81b, c3f207ab29f793b8c942ce8067ed123f18d5b81b, c3f207ab29f793b8c942ce8067ed123f18d5b81b
LinuxLinux5.13, 0, 5.15.224
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.120
amazon:2023perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra0
linuxlinux_kernel5.13, 5.13, 5.13
amazon:2023kernel6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023bpftool6.180

…and 7 more

Timeline

  • Sep 25, 2026 Coalition ESS Score
  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (13 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97558
vulnetix vdb fixes CVE-2026-97558

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97558/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›