CVE-2026-97556
smb: client: avoid leaking refcount when cifs_sb_tlink() fails
Check your servers for CVE-2026-97556
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97556 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
smb: client: avoid leaking refcount when cifs_sb_tlink() fails
cifs_oplock_break() takes over the reference that cifs_queue_oplock_break() acquired when it queued the work, and drops it with _cifsFileInfo_put() once the break has been processed.
Only in setups with "-o multiuser", cifs_sb_tlink() may fail, at which point cifs_oplock_break() returns without putting the file reference, mirroring the reference leak we already fixed in the companion patch to cifs_queue_oplock_break().
This would trigger a crash due to busy inodes on the next unmount:
BUG: Dentry ... still in use (1) [unmount of cifs cifs] VFS: Busy inodes after unmount of cifs (cifs)
Drop the reference on that path as well. Doing so before the out label mirrors the normal path, which also puts the reference before cifs_done_oplock_break().
Found by Sashiko code review. The failure path was not exercised at runtime.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.90% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b99f490ea87ebcca3a429fd8837067feb56a4c7c, before f1fd8a84181b3af03c508e0b02b4877945dd070a affected from 5ee28bcfbaacf289eb25c662a2862542ea6ce6a7, before 55c5f095d4df14271b238f826e1392fda7b6e60e affected from e8f5f849ffce24490eb9449e98312b66c0dba76f, before e9c5bcc88b8337157e480c85a6d2f326bc265012 affected from e8f5f849ffce24490eb9449e98312b66c0dba76f, before 9ec991e148368e3207e98134c509a625097f7693 affected from e8f5f849ffce24490eb9449e98312b66c0dba76f, before dd03fd658ea59821505e0e643b6b7cbdf51c4e1d affected from e8f5f849ffce24490eb9449e98312b66c0dba76f, before 1d1b0f1d812a4011a57bc6c70492c34a2e46c6dd affected from e8f5f849ffce24490eb9449e98312b66c0dba76f, before 23b26f4408ac3f35a482d2e5cf6fc865d4201b71 affected 6b67a6d2e50634fe127e656147c81915955e9f5e affected from 5.15.128, before 5.15.224 affected from 6.1.47, before 6.1.189 affected from 6.4.12, before 6.5
Other versions: unaffected
|
| Linux |
affected 6.5 unaffected before 6.5 unaffected from 5.15.224 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97556 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97556
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-97556
trivy image --scanners vuln IMAGE | grep CVE-2026-97556
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f1fd8a84181b3af03c508e0b02b4877945dd070a git.kernel.org
- https://git.kernel.org/stable/c/55c5f095d4df14271b238f826e1392fda7b6e60e git.kernel.org
- https://git.kernel.org/stable/c/e9c5bcc88b8337157e480c85a6d2f326bc265012 git.kernel.org
- https://git.kernel.org/stable/c/9ec991e148368e3207e98134c509a625097f7693 git.kernel.org
- https://git.kernel.org/stable/c/dd03fd658ea59821505e0e643b6b7cbdf51c4e1d git.kernel.org
- https://git.kernel.org/stable/c/1d1b0f1d812a4011a57bc6c70492c34a2e46c6dd git.kernel.org
- https://git.kernel.org/stable/c/23b26f4408ac3f35a482d2e5cf6fc865d4201b71 git.kernel.org
Source: the record CVE-2026-97556 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse