All vulnerabilities

Servers and applications

CVE-2026-97556

smb: client: avoid leaking refcount when cifs_sb_tlink() fails

Severity
Unrated
Published
25 Sept 2026
Last changed
30 Oct 2026
Added to UpHeron
30 Oct 2026
Fixed in
6.1.189, 6.5, 6.6.158, 6.12.111, 6.18.53, 7.2.7
Exploit chance
0.2% in the next 30 daysHigher than 11% of CVEs. EPSS by FIRST, 19 Nov 2026
Sources
CVE Program

Description

In the Linux kernel, the following vulnerability has been resolved:

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.

From the CVE Program.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.2.7
  • From 6.13 before 6.18.53
  • From 6.7 before 6.12.111
  • From 6.5 before 5.15.224
All 9 release lines
  • From 5.15.128 before 5.15.224
  • From 5.16 before 6.1.189
  • From 6.1.47 before 6.1.189
  • From 6.2 before 6.6.158
  • From 6.4.12 before 6.5
  • From 6.5 before 5.15.224
  • From 6.7 before 6.12.111
  • From 6.13 before 6.18.53
  • From 6.19 before 7.2.7

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-97556